/* components/user/user.wxss */ .card { height: 300rpx; } .avatar { position: absolute; top: 50rpx; left: 50rpx; height: 200rpx; width: 200rpx; border-radius: 20%; } .nickname { position: absolute; font-size: 50rpx; line-height: 50rpx; top: 100rpx; left: 300rpx; } .location { position: absolute; font-size: 27rpx; line-height: 30rpx; top: 175rpx; left: 300rpx; } .gap { height: 20rpx; } .line { height: 5rpx; } .btn { height: 100rpx; } .btn-hover { background: #c0c0c0; } .btn-icon { position: relative; float: left; top: 28rpx; left: 35rpx; height: 44rpx; width: 44rpx; } .btn-text { position: relative; float: left; left: 50rpx; line-height: 100rpx; font-size: 35rpx; } .btn-arrow { position: relative; float: right; right: 40rpx; line-height: 100rpx; }