/* pages/contest/ranking/ranking.wxss */ Page { background-color: #4EB3F9; } .bg { width: 100%; height: 100vh; position: absolute; z-index: 0; } .home { width: 40rpx; height: 40rpx; position: absolute; top: 70rpx; left: 50rpx; z-index: 99; } .page-title { position: relative; z-index: 1; width: 100%; font-size: 32rpx; font-weight: 400; color: #FFFFFF; padding-top: 68rpx; text-align: center; } .content { position: relative; z-index: 1; margin-top: 42rpx; } .navList { display: flex; justify-content: space-around; } .navList > view { width: 210rpx; height: 60rpx; line-height: 60rpx; border-radius: 38rpx; border: 2rpx solid rgba(255, 255, 255,.6); font-weight: 600; color: #FFFFFF; font-size: 28rpx; text-align: center; } .navList .active { background: #F4B622; border-color: #F4B622; } .ranking-top { display: flex; justify-content: space-around; margin-top: 64rpx; margin-bottom: 60rpx; padding: 0 40rpx; } .ranking-top > view { display: flex; align-items: center; flex-direction: column; } .second, .third { width: 160rpx; margin-top: 60rpx; } .second > image, .third > image { width: 120rpx; height: 120rpx; border-radius: 60rpx; background: rgb(187, 181, 181); } .first > image { background: rgb(187, 181, 181); width: 140rpx; height: 140rpx; border-radius: 70rpx; } .num { margin-top:-18rpx ; width: 40rpx; height: 40rpx; border-radius: 20rpx; text-align: center; line-height: 40rpx; font-weight: 800; color: #000000; font-size: 28rpx; margin-bottom: 10rpx; } .second .num { background: #31B5FF; } .first .num { background: #F4B622; } .third .num { background: #E66F6F; } .nickname { font-size: 32rpx; font-weight: 600; color: #FFFFFF; line-height: 44rpx; } .ranking-top .fraction { margin-top: 6rpx; width: 160rpx; height: 40rpx; border-radius: 20rpx; text-align: center; font-size: 24rpx; font-weight: 800; line-height: 40rpx; color: #FFF431; background: rgba(0, 0, 0,.15); } .ranking-item { border-top: 2rpx rgba(255, 255, 255,.1) solid; display: flex; align-items: center; height: 144rpx; } .order-num { width: 40rpx; font-size: 32rpx; color: #FFFFFF; text-align: center; margin: 0 38rpx 0 34rpx; } .top-three { width: 80rpx; height: 100rpx; padding: 0 14rpx 0 16rpx; } .ranking-item .avatar { width: 88rpx; height: 88rpx; border-radius: 44rpx; background: rgb(187, 181, 181); margin-right: 36rpx; } .page-icon-2 { width: 26rpx; height: 54rpx; margin: 0 54rpx 0 44rpx; } .page-icon-3 { width: 56rpx; height: 56rpx; margin: 0 32rpx 0 36rpx; } .ranking-item .nickname { width: 400rpx; /* margin-right: 100rpx; */ } .school-tag { padding: 7rpx 16rpx; height: 38rpx; background: #4283F3; border-radius: 24rpx; font-size: 24rpx; font-weight: 400; color: #EAF1FD; margin-top: 6rpx; } .ranking-item .fraction { font-size: 24rpx; font-weight: 800; line-height: 40rpx; color: #FFF431; } .help { position: absolute; top: 482rpx; right: 43rpx; display: flex; flex-direction: column; align-items: flex-end; } .help-icon { width: 42rpx; height: 42rpx; position: relative; right: 22rpx; z-index: 99; } .help-message { margin-top: 6rpx; position: relative; } .help-message > image { width: 396rpx; height: 196rpx; position: absolute; z-index: 99; } .message { width: 396rpx; padding: 22rpx 14rpx 18rpx 18rpx; box-sizing: border-box; position: relative; z-index: 999; } .message-title { font-weight: 500; color: #FFFFFF; font-size: 28rpx; text-align: end; padding-right: 12rpx; margin-bottom: 10rpx; } .message-test { font-weight: 400; color: #D1D8EB; font-size: 24rpx; line-height: 34rpx; text-align: end; }