%relatedItem { width: 100%; height: 108rpx; border-bottom: 2rpx solid #f1f1f1; @include flex(space-between, null, null); .item-left { @include flex(center, null, 16rpx); image { width: 44rpx; height: 44rpx; display: block; } text { font-size: 28rpx; color: rgba(0, 0, 0, 0.9); } } .item-right { @include flex(center, null, 20rpx); text { font-size: 24rpx; font-weight: 500; color: rgba(0, 0, 0, 0.6); } } } .user { width: 100vw; min-height: 100vh; background-color: rgb(247, 247, 247); position: relative; .pos-box { position: relative; z-index: 2; box-sizing: border-box; .user-top { width: 100%; color: #000000; font-size: 32rpx; @include flex(center, null, null); } .box-container { margin-top: 48rpx; padding: 0 32rpx; box-sizing: border-box; .user-info { width: 100%; @include flex(null, null, 32rpx); position: relative; .info-image { position: relative; .img { width: 128rpx; height: 128rpx; padding: 5rpx; box-sizing: border-box; border-radius: 50%; background-color: rgb(255, 255, 255); @include flex(center); image { width: 118rpx; height: 118rpx; border-radius: 50%; } } .info-switch { width: 32rpx; height: 32rpx; position: absolute; right: 6rpx; bottom: 0; image { width: 100%; height: 100%; } } } .info-text { height: 128rpx; padding-top: 16rpx; box-sizing: border-box; @include flex(space-between, column, null); align-items: flex-start; .text-title { color: rgba(0, 0, 0, 0.9); font-weight: 600; font-size: 36rpx; } .text-name { background: rgba(255, 255, 255, 0.4); padding: 8rpx 16rpx; color: #3d3d3d; font-size: 24rpx; border-radius: 40rpx; text { &:nth-of-type(1) { margin-right: 16rpx; } } } } .notice { width: 48rpx; height: 48rpx; position: absolute; top: 10rpx; right: 8rpx; } } .user-money { width: 100%; height: 260rpx; position: relative; margin-top: 32rpx; border-radius: 16rpx; background: linear-gradient(180deg, #fff4f0 0%, #ffffff 17%); .money-bg { position: absolute; top: 0; left: 0; z-index: 2; width: 100%; height: 260rpx; image { width: 100%; height: 260rpx; } } .money-container { width: 100%; height: 100%; padding: 0 32rpx; box-sizing: border-box; padding-top: 48rpx; box-sizing: border-box; position: relative; z-index: 4; .money-top { @include flex(center, null, null); .top-box { flex: 1; @include flex(center, column, 8rpx); text { &:nth-of-type(1) { font-size: 36rpx; color: #ef530e; font-weight: 600; } &:nth-of-type(2) { font-size: 28rpx; color: rgba(0, 0, 0, 0.4); } } } } .money-bottom { width: 100%; height: 76rpx; border-top: 2rpx solid #f1f1f1; @include flex(space-between, null, null); margin-top: 44rpx; view { font-size: 24rpx; &:nth-of-type(1) { color: rgba(0, 0, 0, 0.9); } &:nth-of-type(2) { @include flex(center, null, 4rpx); color: rgba(0, 0, 0, 0.4); } } } } } .user-account { width: 100%; height: 160rpx; padding: 32rpx; box-sizing: border-box; border-radius: 16rpx; @include flex(space-between, null); background-color: #ffffff; margin-top: 32rpx; .account-item { flex: 1; @include flex(center, column, 20rpx); image { width: 48rpx; height: 48rpx; } text { font-size: 28rpx; color: rgba(0, 0, 0, 0.4); } } } .user-related { margin-top: 32rpx; width: 100%; border-radius: 16rpx; padding: 0 32rpx; box-sizing: border-box; background-color: #ffffff; .related-item { @extend %relatedItem; } } .user-setup { margin-top: 32rpx; width: 100%; border-radius: 16rpx; padding: 0 32rpx; box-sizing: border-box; background-color: #ffffff; .related-item { @extend %relatedItem; } } } } .bg-box { width: 100vw; position: absolute; top: 0; left: 0; image { width: 100vw; } } }