.page{ position: absolute; width: 100%; // height: 100%; padding-bottom: 100rpx; background-color: #f6f6f6; } .my-top{ position: relative; width: 100%; /* #ifdef MP */ height: 160rpx; /* #endif */ background-color: #fff; border-radius: 0 0 5% 5%; overflow: hidden; .head{ position: fixed; left: 0; top: 0; z-index: 100; display: flex; align-items: center; width: 100%; height: 100rpx; /* #ifdef APP-PLUS */ height: calc(100rpx + var(--status-bar-height)); padding-top: var(--status-bar-height); /* #endif */ /* #ifdef MP */ height: calc(120rpx + var(--status-bar-height)); padding-top: calc(40rpx + var(--status-bar-height)); /* #endif */ background-color: rgba(255,255,255,0); // transition: all 1s; .portrait{ display: flex; width: 60rpx; height: 60rpx; margin-left: 20rpx; image{ width: 100%; height: 100%; } } .title{ display: flex; align-items: center; text{ color: #000; font-size: 30rpx; font-weight: bold; margin-left: 20rpx; } } .setting-mess{ display: flex; align-items: center; height: 100%; margin-right: 20rpx; .setting{ display: flex; justify-content: center; align-items: center; width: 80rpx; height: 100%; text{ font-size: 38rpx; } } .mess{ display: flex; justify-content: center; align-items: center; width: 80rpx; height: 100%; text{ font-size: 38rpx; } } } } /* 用户信息 */ .user-info{ display: flex; align-items: center; padding: 0 20rpx; height: 120rpx; margin-top: 10rpx; .portrait{ width: 120rpx; height: 120rpx; margin-right: 20rpx; box-sizing: border-box; image{ width: 100%; height: 100%; border-radius: 20%; border: 4rpx solid #FFFFFF; box-sizing: border-box; } } .info{ display: flex; flex-direction: column; justify-content: center; width: 74%; height: 100%; .nickname{ width: 100%; padding: 10rpx 0; text{ font-size: 46rpx; font-weight: bold; } } .rank{ display: flex; align-items: center; height: 30rpx; border-radius: 30rpx; image{ width: 24rpx; height: 24rpx; } text{ font-size: 24rpx; } } } } .user-right { image { width: 40rpx; height: 40rpx; } } } .my-banner { margin: 20rpx; image { width: 100%; } } .main { position: relative; top: -80rpx; /* #ifdef MP */ top: -40rpx; /* #endif */ } .titleall-box { display: flex; justify-content: space-between; padding: 20rpx 0; .titleall-left { font-size: 32rpx; font-weight: bold; display: flex; align-items: center; .titleall-left-line { width: 16rpx; height: 36rpx; border-radius: 100rpx; background: -webkit-gradient(linear, left top, right top, from(#527DFE), to(#5D93FE)); background: -o-linear-gradient(left, #527DFE, #5D93FE); background: linear-gradient(to right, #527DFE, #5D93FE); margin-right: 20rpx; } } .titleall-right { color: #C1C1C1; image { width: 20rpx; height: 20rpx; margin-left: 10rpx; } } } .message-list{ padding: 0 4%; background-color: #FFFFFF; border-radius: 0 0 20rpx 20rpx; margin: 0 20rpx; border-radius: 20rpx; .list{ display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100rpx; border-bottom: 2rpx solid #f6f6f6; .icon-data{ display: flex; align-items: center; width: 80%; height: 100%; .icon{ display: flex; align-items: center; justify-content: center; width: 40rpx; height: 40rpx; image{ width: 40rpx; height: 40rpx; } } .data{ margin-left: 20rpx; .title{ display: flex; width: 100%; text{ font-size: 30rpx; color: #000; } } } } .more{ display: flex; align-items: center; text{ font-size: 28rpx; color: #959595; } } } } /* 订单信息 */ .order-info{ display: flex; width: 94%; height: 200rpx; border-radius: 20rpx; background-color: #FFFFFF; margin: 20rpx auto; .list{ display: flex; flex-direction: column; align-items: center; justify-content: center; width: 20%; height: 100%; .icon{ position: relative; display: flex; align-items: center; .iconfont{ font-size: 38rpx; color: #333333; } .num{ position: absolute; right: -20rpx; top: -20rpx; padding: 4rpx; font-size: 18rpx; color: $base; border: 2rpx solid $base; border-radius: 100%; background-color: #FFFFFF; } } .title{ display: flex; align-items: center; margin-top: 10rpx; text{ color: #333333; font-size: 24rpx; } } } } /* 钱包 */ .wallet-info{ display: flex; width: 94%; height: 200rpx; border-radius: 20rpx; background-color: #FFFFFF; margin: 20rpx auto; .list{ display: flex; flex-direction: column; align-items: center; justify-content: center; width: 25%; height: 100%; .icon{ position: relative; display: flex; align-items: center; .iconfont{ font-size: 38rpx; color: $base; } .number{ font-size: 28rpx; color: #212121; font-weight: bold; } } .title{ display: flex; align-items: center; margin-top: 10rpx; text{ color: #333333; font-size: 24rpx; } } } } /* 签到,付款码 */ .integral-payment{ display: flex; justify-content: space-between; width: 94%; height: 180rpx; margin: 20rpx auto; .list{ width: 48%; height: 100%; background-color: #FFFFFF; border-radius: 20rpx; .title{ display: flex; align-items: center; justify-content: center; width: 100%; height: 120rpx; .iconfont{ font-size: 48rpx; margin-right: 10rpx; font-weight: normal; } text{ color: #212121; font-size: 28rpx; font-weight: bold; } } .mess{ display: flex; align-items: center; justify-content: center; width: 100%; text{ color: #C0C0C0; font-size: 26rpx; } } } } /* 我的服务 */ .my-service{ width: 94%; background-color: #FFFFFF; border-radius: 20rpx; margin: 20rpx auto; .title{ display: flex; align-items: center; padding: 0 4%; height: 80rpx; text{ font-size: 28rpx; font-weight: bold; color: #212121; } } .service-list{ display: flex; flex-wrap: wrap; padding: 0 4%; .list{ display: flex; flex-direction: column; align-items: center; justify-content: center; width: 25%; height: 140rpx; .thumb{ width: 40rpx; height: 40rpx; image{ width: 100%; height: 100%; } } .name{ display: flex; align-items: center; justify-content: center; height: 80rpx; text{ color: #212121; font-size: 24rpx; } } } } } /* 为你推荐 */ .recommend-info{ width: 100%; background-color: #f2f2f2; .recommend-title{ display: flex; align-items: center; justify-content: center; width: 100%; height: 100rpx; .title{ display: flex; align-items: center; image{ width: 416rpx; height: 40rpx; } } } .goods-list{ display: flex; flex-wrap: wrap; justify-content: space-between; padding: 0 30rpx; .list{ width: 49%; height: 540rpx; margin-bottom: 20rpx; background-color: #FFFFFF; border-radius: 10rpx; overflow: hidden; .pictrue{ display: flex; justify-content: center; width: 100%; image{ height: 350rpx; } } .title-tag{ // display: flex; height: 100rpx; padding: 20rpx; .tag{ float: left; margin-right: 10rpx; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; font-size: 26rpx; line-height: 40rpx; text{ font-size: 24rpx; color: #FFFFFF; padding: 4rpx 16rpx; background: linear-gradient(to right,$base,$change-clor); border-radius: 6rpx; margin-right: 10rpx; } } } .price-info{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 0 20rpx; height: 80rpx; .user-price{ display: flex; align-items: center; text{ color: $price-clor; } .min{ font-size: 24rpx; } .max{ font-size: 32rpx; } } .vip-price{ display: flex; align-items: center; image{ width: 26rpx; height: 26rpx; margin-right: 10rpx; } text{ color: #fcb735; font-size: 24rpx; } } } } } } /* 客服热线弹窗 */ .serve-hotline{ .cu-dialog{ width: 100%; border-radius: 20rpx 20rpx 0 0 !important; .contact-list{ width: 100%; .list{ display: flex; align-items: center; justify-content: center; width: 100%; height: 100rpx; text{ color: #222222; font-size: 32rpx; } } } } } .my-phone { font-size: 24rpx;; text-align: center; color: #A2A2A2; margin-top: 40rpx; view { margin-bottom: 10rpx; } }