|
|
- @charset "UTF-8";
- /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
- /**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
- /* 颜色变量 */
- /* 行为相关颜色 */
- /* 文字基本颜色 */
- /* 背景颜色 */
- /* 边框颜色 */
- /* 尺寸变量 */
- /* 文字尺寸 */
- /* 图片尺寸 */
- /* Border Radius */
- /* 水平间距 */
- /* 垂直间距 */
- /* 透明度 */
- /* 文章场景相关 */
- .ranking-page.data-v-bffc62c8 {
- min-height: 100vh;
- background-color: #f5f5f5;
- }
- .back-button.data-v-bffc62c8 {
- position: absolute;
- top: 60rpx;
- left: 30rpx;
- width: 60rpx;
- height: 60rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 10;
- }
- .back-button.data-v-bffc62c8:active {
- background-color: rgba(0, 0, 0, 0.5);
- }
- .ranking-background.data-v-bffc62c8 {
- position: relative;
- width: 100%;
- height: 600rpx;
- }
- .ranking-background .bg-image.data-v-bffc62c8 {
- width: 100%;
- height: 100%;
- }
- .ranking-background .back-button.data-v-bffc62c8 {
- position: absolute;
- top: 60rpx;
- left: 30rpx;
- width: 60rpx;
- height: 60rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 10;
- }
- .ranking-background .back-button.data-v-bffc62c8:active {
- background-color: rgba(0, 0, 0, 0.5);
- }
- .ranking-background .top-three.data-v-bffc62c8 {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- display: flex;
- align-items: flex-end;
- justify-content: center;
- padding-bottom: 80rpx;
- }
- .ranking-background .top-three .rank-item.data-v-bffc62c8 {
- position: relative;
- display: flex;
- flex-direction: column;
- align-items: center;
- margin: 0 40rpx;
- }
- .ranking-background .top-three .rank-item .rank-badge.data-v-bffc62c8 {
- width: 60rpx;
- height: 60rpx;
- margin-bottom: 10rpx;
- }
- .ranking-background .top-three .rank-item .avatar.data-v-bffc62c8 {
- width: 80rpx;
- height: 80rpx;
- border-radius: 50%;
- margin-bottom: 10rpx;
- border: 4rpx solid #fff;
- }
- .ranking-background .top-three .rank-item .name.data-v-bffc62c8 {
- font-size: 24rpx;
- color: #fff;
- margin-bottom: 5rpx;
- font-weight: bold;
- }
- .ranking-background .top-three .rank-item .score.data-v-bffc62c8 {
- font-size: 20rpx;
- color: #fff;
- opacity: 0.9;
- }
- .ranking-background .top-three .rank-first.data-v-bffc62c8 {
- -webkit-transform: translateY(-40rpx);
- transform: translateY(-40rpx);
- }
- .ranking-background .top-three .rank-first .avatar.data-v-bffc62c8 {
- width: 100rpx;
- height: 100rpx;
- }
- .ranking-background .top-three .rank-first .rank-badge.data-v-bffc62c8 {
- width: 80rpx;
- height: 80rpx;
- }
- .ranking-background .top-three .rank-second.data-v-bffc62c8 {
- order: -1;
- }
- .ranking-background .top-three .rank-third.data-v-bffc62c8 {
- order: 1;
- }
- .my-ranking.data-v-bffc62c8 {
- background: #e1f2ff;
- border-radius: 12rpx;
- margin: 20rpx 30rpx 20rpx 30rpx;
- padding: 30rpx;
- display: flex;
- align-items: center;
- position: relative;
- z-index: 5;
- }
- .my-ranking .my-rank-number.data-v-bffc62c8 {
- font-size: 48rpx;
- font-weight: bold;
- color: #000;
- margin-right: 15rpx;
- }
- .my-ranking .my-rank-label.data-v-bffc62c8 {
- font-size: 24rpx;
- color: #1488DB;
- opacity: 0.9;
- margin-right: 20rpx;
- }
- .my-ranking .my-avatar.data-v-bffc62c8 {
- width: 60rpx;
- height: 60rpx;
- border-radius: 50%;
- margin-right: 15rpx;
- }
- .my-ranking .my-name.data-v-bffc62c8 {
- font-size: 28rpx;
- color: #000;
- font-weight: 500;
- margin-right: 20rpx;
- }
- .my-ranking .my-score.data-v-bffc62c8 {
- font-size: 28rpx;
- color: #1488DB;
- }
- .ranking-list.data-v-bffc62c8 {
- padding: 40rpx 30rpx;
- background-color: #fff;
- margin-top: -40rpx;
- border-radius: 40rpx 40rpx 0 0;
- }
- .ranking-list .list-item.data-v-bffc62c8 {
- display: flex;
- align-items: center;
- padding: 30rpx 0;
- border-bottom: 1rpx solid #f0f0f0;
- }
- .ranking-list .list-item.data-v-bffc62c8:last-child {
- border-bottom: none;
- }
- .ranking-list .list-item .rank-number.data-v-bffc62c8 {
- width: 60rpx;
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- text-align: center;
- }
- .ranking-list .list-item .list-avatar.data-v-bffc62c8 {
- width: 80rpx;
- height: 80rpx;
- border-radius: 50%;
- margin: 0 30rpx;
- }
- .ranking-list .list-item .user-info.data-v-bffc62c8 {
- flex: 1;
- }
- .ranking-list .list-item .user-info .user-name.data-v-bffc62c8 {
- font-size: 28rpx;
- color: #333;
- font-weight: 500;
- }
- .ranking-list .list-item .user-score.data-v-bffc62c8 {
- font-size: 28rpx;
- color: #218CDD;
- }
|