/**index.wxss**/ page{ background: #F4F6F8; } .container { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; box-sizing: border-box; background: #fff; margin-bottom: 16rpx; } ec-canvas { width: 100%; height: 50vh; } .title{ border-left: 4px solid #FF5151; color: #FF5151; font-size: 32rpx; font-weight: 500; padding-left: 20rpx; padding-right: 40rpx; margin-bottom: 20rpx; position: relative; } .part{ background: #fff; padding: 30rpx 0; margin-bottom: 16rpx; } .title image{ position: absolute; right: 0; top: -15rpx; width: 210rpx; } .rank{ position: absolute; top: -15rpx; right: 0rpx; color: #FF5151; padding-right: 24rpx; } .rank text{ font-size: 48rpx; margin-right: 20rpx; color: #FF5151; position: relative; top: 6rpx; } .part1{ padding: 30rpx; margin-bottom: 1px; } .item{ margin-bottom: 20rpx; font-weight: 500; } .item text{ font-weight: 400; margin-right: 20rpx; } .item .tag{ display: inline-block; color: #FFF; font-size: 20rpx; background: #333; border-radius: 4rpx; padding: 0 3px; } .item .red{ background: #FF5151; } .item .blue{ background: #4587FF; } .item .border{ background: #fff; border: 1px solid #333; color: #333; } .list{ display: inline-block; width: 85%; vertical-align: top; } .list view{ display: inline-block; padding: 16rpx; background: #F4F6F8; border-radius: 8rpx; margin-bottom: 10rpx; margin-right: 10rpx; } .list text{ display: block; color: #999; }