/* pages/mine/mine.wxss */ .bg{ position: relative; } .bg image{ width: 100%; max-height: 200px; } .bg>view{ width: 100%; position: absolute; top: 0; left: 0; text-align: center; } .photo{ width: 120rpx; height: 120rpx; border-radius: 100%; display: block; margin: 50rpx auto 10rpx; overflow: hidden; } .nickname{ color: #fff; font-size: 32rpx; } .info{ margin: 25px 0; padding: 0 130rpx; position: relative; } .info view{ color: #333; font-size: 32rpx; } .info text{ color: #999; font-size: 24rpx; } .icon{ width: 80rpx; position: absolute; left: 30rpx; top: 0; bottom: 0; margin: auto; } .goto{ width: 48rpx; position: absolute; right: 30rpx; top: 0; bottom: 0; margin: auto; }