/* pages/user/user.wxss */ .body{ background-color: #f1f1f1; } .topBar{ width: 100%; height: 270rpx; background-color: #fff; } .userImg{ width: 95%; height: 200rpx; margin: 0rpx auto; display: flex; justify-content: space-around; align-items: center; } .avatar_nickname{ width: 70%; height: 100%; display: flex; justify-content: start; align-items: center; } .avatar{ width: 120rpx; height: 120rpx; border-radius: 50%; } .avatarImg{ width: 120rpx; height: 120rpx; border-radius: 50%; } .nickname{ margin-left: 20rpx; } .qiandao{ width: 90%; height: 70rpx; padding: 0rpx 30rpx; font-size: 32rpx; } .qianText{ float: left; } .icon_{ float: right; } .kefu{ width: 160rpx; height: 50rpx; font-size: 25rpx; border-radius: 25rpx; outline: none; text-align: center; line-height: 50rpx; background-color: #f1f1f1; } /* 选项卡 */ .chioce{ width: 100%; height: auto; background-color: #fff; margin-top:10rpx; font-size: 32rpx; } .choiceItem{ display: flex; width: 90%; height: 60rpx; padding: 20rpx 30rpx; justify-content: space-between; align-items: center; } /* 定时关闭 */ .switch{ width: 100%; height: 500rpx; position: fixed; bottom: 0rpx; z-index: 9999; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; background: #fff; border-top-left-radius: 15rpx; border-top-right-radius: 15rpx; padding-top: 20rpx; } .switch-item{ width: 100%; height: 100rpx; border-bottom: 1rpx solid #f1f1f1; line-height: 100rpx; } .close{ width: 100%; height: 100rpx; text-align: center; line-height: 100rpx; } .scroll-wrapper { white-space: nowrap; -webkit-overflow-scrolling: touch; background: #FFF; padding-left: 20rpx; width: 100%; height: 400rpx; box-sizing: border-box; } ::-webkit-scrollbar { width: 0; height: 0; color: transparent; }