.flex { display: flex; align-items: center; } .flex-between { justify-content: space-between; } .head { padding: 60rpx 30rpx; box-sizing: border-box; color: #323232; border-bottom: 20rpx solid #F3F2F8; } .head-left { flex: 1; } .head-avatar { width: 84rpx; height: 84rpx; margin-right: 20rpx; display: block; border-radius: 50%; } .head-name { font-size: 16px; } .head-icon { width: 30rpx; height: 30rpx; margin-right: 10rpx; } .num { display: inline-block; font-size: 14px; } .tomore { width: 28rpx; height: 28rpx; display: inline-block; } .head-icon, .num, .tomore-t, .tomore { vertical-align: middle; } /* tab */ .title-li { padding: 0 30rpx; box-sizing: border-box; } .title-tab { flex: 1; text-align: center; position: relative; padding-top: 36rpx; padding-bottom: 34rpx; margin-bottom: 52rpx; font-size: 14px; color: #323232; } /* .title-tab + .title-tab{margin-left: 55rpx;} */ .ActiveTab { color: #000000; font-weight: bold; } .tab-show { display: none; position: absolute; left: 50%; width: 50%; transform: translateX(-50%); bottom: 0; background-color: #00C7C6; height: 16rpx; border-radius: 8rpx; } .ActiveTab .tab-show { display: block; } /* 列表 */ .section { padding: 36rpx 30rpx 0; } .item { width: 334rpx; display: inline-block; border-radius: 24rpx; box-shadow: 0px 0px 7px 0px rgba(186, 186, 186, 0.5); overflow: hidden; margin-bottom: 36rpx; position: relative; } .item:nth-child(even) { float: right; } .item-img { width: 100%; height: 232rpx; } .item-name { margin: 24rpx 0; padding: 0 20rpx; font-size: 16px; color: #000000; font-weight: bold; } .item-num { text-align: right; padding: 0 20rpx; vertical-align: middle; font-size: 16px; color: #969696; } .item-n { box-sizing: border-box; margin: 24rpx 0; padding: 0 20rpx; } .item-person { font-size: 12px; color: #969696; } .item-btn { float: right; font-size: 12px; color: #00C7C6; border: 1px solid #DDDDDD; border-radius: 40rpx; padding: 10rpx 40rpx; } .btnDis { background-color: rgb(221, 221, 221); color: #323232; } .medal { position: absolute; top: 0; right: 10rpx; width: 60rpx; height: 74rpx; } .level { position: absolute; top: 28rpx; right: 25rpx; font-size: 20rpx; }