.home { width: 100%; height: 100%; } .title { width: 100%; height: 300rpx; background: linear-gradient(0deg, rgba(212, 45, 48, 1) 0%, rgba(221, 83, 70, 1) 100%); display: flex; flex-direction: column; align-items: center; } .title .number { height: 100rpx; font-size: 100rpx; line-height: 100rpx; font-weight: bold; color: rgba(255, 255, 255, 1); margin-top: 100rpx; } .title .name { height: 34rpx; font-size: 34rpx; line-height: 34rpx; font-weight: 500; color: rgba(255, 255, 255, 1); margin-top: 29rpx; } .tab-bar { width: 100%; height: 80rpx; background: #fff; display: flex; justify-content: space-around; position: relative; } .tab-bar .tab { flex: 1; height: 80rpx; line-height: 80rpx; text-align: center; width: 50%; font-size: 32rpx; font-weight: 500; color: rgba(153, 153, 153, 1); } .tab-bar .select-tab { color: #b20004; font-size: 32rpx; font-weight: bold; } .tab-bar .select-bar { width: 40rpx; height: 8rpx; border-radius: 5rpx; background: #b20004; position: absolute; bottom: 0rpx; } .tab-bar .select-bar.tab1 { left: calc(25% - 15rpx); transition: left linear 0.4s; } .tab-bar .select-bar.tab2 { left: calc(75% - 15rpx); transition: left linear 0.4s; } /* 积分记录 */ .jf-title { margin-top: 20rpx; background: #fff; height: 80rpx; width: calc(100% - 40rpx); padding: 0 20rpx; display: flex; align-items: center; } .jf-title .jf-title-item { width: 33.3333%; height: 80rpx; font-size: 30rpx; font-weight: bold; color: rgba(51, 51, 51, 1); line-height: 80rpx; } .jf-list { background: #fff; height: 80rpx; width: calc(100% - 40rpx); padding: 0 20rpx; display: flex; align-items: center; } .jf-list .jf-list-li { width: 33.3333%; height: 80rpx; font-size: 30rpx; font-weight: 500; line-height: 80rpx; } .jf-list .jf-list-li.color1 { color: rgba(51, 51, 51, 1); } .jf-list .jf-list-li.color2 { color: rgba(178, 0, 4, 1); } /* 积分排行 */ .tab-item { margin-top: 20rpx; background: #fff; height: 80rpx; width: calc(100% - 40rpx); padding: 0 20rpx; display: flex; align-items: center; } .tab-item button { position: relative; display: inline-block; margin: 0 42rpx 0 0; flex-shrink: 0; /* width: auto !important; */ width: 208rpx; height: 52rpx; min-height: 52rpx !important; line-height: 52rpx; border-radius: 30rpx; padding: 0 20rpx; } button::after { border: 0rpx; } .tab-item .font-w { font-size: 30rpx; font-weight: bold; color: #fff; background: linear-gradient(to right, #e95027, #db1a1f); } .tab-item .font-b { background: #fff; font-size: 30rpx; font-weight: 500; color: #333; border: 1rpx solid #dbdbdb; } .tab-item .hover-btn { box-shadow: 0px 0px 10px 0px rgba(188, 0, 5, 0.22); } /* 积分排行列表 */ .ph-list { background: #fff; height: 80rpx; width: calc(100% - 140rpx); padding: 0 70rpx; display: flex; flex-direction: row; justify-content: space-between; } .ph-list .left { display: flex; align-items: center; } .left .left-img { position: relative; width: 41rpx; height: 38rpx; } .left .left-img .img-bg { width: 100%; height: 100%; position: absolute; z-index: 10; left: 0; top: 0; } .left .left-img .list-number { position: relative; z-index: 100; width: 100%; height: 20rpx; line-height: 20rpx; text-align: center; font-size: 20rpx; font-weight: 500; color: rgba(255, 255, 255, 1); margin-top: 3rpx; } .left .list-name { font-size: 32rpx; height: 80rpx; line-height: 80rpx; font-weight: 500; color: rgba(51, 51, 51, 1); margin-left: 90rpx; } .ph-list .right { height: 80rpx; line-height: 80rpx; font-size: 32rpx; font-weight: 500; color: rgba(178, 0, 4, 1); }