.page{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .my-top{ position: absolute; width: 100%; height: 300rpx; /* #ifdef MP */ height: 360rpx; /* #endif */ overflow: hidden; .head{ position: fixed; left: 0; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; 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); .logo-title{ width: 40%; color: #fff; padding-left: 20rpx; image { width: 169rpx; height: 40rpx; margin-left: 10rpx; } } .setting-mess{ width: 20%; 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; } } } } } .main { position: relative; top: 90rpx; /* #ifdef MP */ top: 170rpx; /* #endif */ margin: 0 20rpx; padding-bottom: 150rpx; } /* 用户信息 */ .user-info{ display: flex; align-items: center; padding: 0 0 10rpx 10rpx; .portrait{ width: 120rpx; height: 120rpx; margin-right: 20rpx; box-sizing: border-box; image{ width: 120rpx; height: 120rpx; border-radius: 30rpx; border: 4rpx solid #FFFFFF; box-sizing: border-box; } } .info{ display: flex; flex-direction: column; justify-content: center; width: 74%; height: 100%; .nickname{ width: 100%; margin-bottom: 20rpx; text{ font-size: 28rpx; font-weight: bold; color: #fff; } } .rank{ .rank-box { display: inline-block; background-color:#FFF9EC; border: 2rpx solid #C6A45A; border-radius: 100rpx; padding: 5rpx 20rpx; } image { width: 24rpx; height: 24rpx; margin-right: 4rpx; position: relative; top: 2rpx; } text{ font-size: 24rpx; color: #C6A45A; } } } } .user-right { display: flex; image { width: 28rpx; height: 28rpx; } } .main { position: relative; top: 120rpx; padding-bottom: 150rpx; /* #ifdef MP */ top: 190rpx; padding-bottom: 200rpx; /* #endif */ } .titleall-box { display: flex; justify-content: space-between; padding: 30rpx 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, top top, bottom top, from(#30a738), to(#4dcc56)); background: -o-linear-gradient(top, #30a738, #4dcc56); background: linear-gradient(to top, #30a738, #4dcc56); margin-right: 20rpx; box-shadow: 0 5rpx 10rpx #ace2b0; } } .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: 20rpx 0; 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; image { width: 20rpx; height: 20rpx; } } } } /* 我的服务 */ .my-service-two { padding: 10rpx 0 0 0; .service-list-two{ display: flex; align-items: center; text-align: center; flex-wrap: wrap; .service-list-list-two{ display: flex; flex-direction: column; align-items: center; justify-content: center; width: 33.33%; margin-bottom: 40rpx; .thumb{ font-size: 42rpx; font-weight: bold; margin-bottom: 10rpx; image{ width: 100%; height: 100%; } } .name{ display: flex; align-items: center; justify-content: center; text{ color: #929292; font-size: 28rpx; } } } } } /* 我的服务 */ .my-service { padding: 20rpx 0 40rpx 0; .service-list{ display: flex; align-items: center; text-align: center; flex-wrap: wrap; .service-list-list{ display: flex; flex-direction: column; align-items: center; justify-content: center; width: 25%; .thumb{ width: 60rpx; font-size: 42rpx; font-weight: bold; margin-bottom: 10rpx; image{ width: 100%; height: 100%; } } .name{ display: flex; align-items: center; justify-content: center; text{ color: #929292; font-size: 28rpx; } } } } }