国外MOSE官网
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

204 lines
4.9 KiB

4 days ago
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .ranking-page.data-v-bffc62c8 {
  28. min-height: 100vh;
  29. background-color: #f5f5f5;
  30. }
  31. .back-button.data-v-bffc62c8 {
  32. position: absolute;
  33. top: 60rpx;
  34. left: 30rpx;
  35. width: 60rpx;
  36. height: 60rpx;
  37. display: flex;
  38. align-items: center;
  39. justify-content: center;
  40. z-index: 10;
  41. }
  42. .back-button.data-v-bffc62c8:active {
  43. background-color: rgba(0, 0, 0, 0.5);
  44. }
  45. .ranking-background.data-v-bffc62c8 {
  46. position: relative;
  47. width: 100%;
  48. height: 600rpx;
  49. }
  50. .ranking-background .bg-image.data-v-bffc62c8 {
  51. width: 100%;
  52. height: 100%;
  53. }
  54. .ranking-background .back-button.data-v-bffc62c8 {
  55. position: absolute;
  56. top: 60rpx;
  57. left: 30rpx;
  58. width: 60rpx;
  59. height: 60rpx;
  60. display: flex;
  61. align-items: center;
  62. justify-content: center;
  63. z-index: 10;
  64. }
  65. .ranking-background .back-button.data-v-bffc62c8:active {
  66. background-color: rgba(0, 0, 0, 0.5);
  67. }
  68. .ranking-background .top-three.data-v-bffc62c8 {
  69. position: absolute;
  70. top: 0;
  71. left: 0;
  72. width: 100%;
  73. height: 100%;
  74. display: flex;
  75. align-items: flex-end;
  76. justify-content: center;
  77. padding-bottom: 80rpx;
  78. }
  79. .ranking-background .top-three .rank-item.data-v-bffc62c8 {
  80. position: relative;
  81. display: flex;
  82. flex-direction: column;
  83. align-items: center;
  84. margin: 0 40rpx;
  85. }
  86. .ranking-background .top-three .rank-item .rank-badge.data-v-bffc62c8 {
  87. width: 60rpx;
  88. height: 60rpx;
  89. margin-bottom: 10rpx;
  90. }
  91. .ranking-background .top-three .rank-item .avatar.data-v-bffc62c8 {
  92. width: 80rpx;
  93. height: 80rpx;
  94. border-radius: 50%;
  95. margin-bottom: 10rpx;
  96. border: 4rpx solid #fff;
  97. }
  98. .ranking-background .top-three .rank-item .name.data-v-bffc62c8 {
  99. font-size: 24rpx;
  100. color: #fff;
  101. margin-bottom: 5rpx;
  102. font-weight: bold;
  103. }
  104. .ranking-background .top-three .rank-item .score.data-v-bffc62c8 {
  105. font-size: 20rpx;
  106. color: #fff;
  107. opacity: 0.9;
  108. }
  109. .ranking-background .top-three .rank-first.data-v-bffc62c8 {
  110. -webkit-transform: translateY(-40rpx);
  111. transform: translateY(-40rpx);
  112. }
  113. .ranking-background .top-three .rank-first .avatar.data-v-bffc62c8 {
  114. width: 100rpx;
  115. height: 100rpx;
  116. }
  117. .ranking-background .top-three .rank-first .rank-badge.data-v-bffc62c8 {
  118. width: 80rpx;
  119. height: 80rpx;
  120. }
  121. .ranking-background .top-three .rank-second.data-v-bffc62c8 {
  122. order: -1;
  123. }
  124. .ranking-background .top-three .rank-third.data-v-bffc62c8 {
  125. order: 1;
  126. }
  127. .my-ranking.data-v-bffc62c8 {
  128. background: #e1f2ff;
  129. border-radius: 12rpx;
  130. margin: 20rpx 30rpx 20rpx 30rpx;
  131. padding: 30rpx;
  132. display: flex;
  133. align-items: center;
  134. position: relative;
  135. z-index: 5;
  136. }
  137. .my-ranking .my-rank-number.data-v-bffc62c8 {
  138. font-size: 48rpx;
  139. font-weight: bold;
  140. color: #000;
  141. margin-right: 15rpx;
  142. }
  143. .my-ranking .my-rank-label.data-v-bffc62c8 {
  144. font-size: 24rpx;
  145. color: #1488DB;
  146. opacity: 0.9;
  147. margin-right: 20rpx;
  148. }
  149. .my-ranking .my-avatar.data-v-bffc62c8 {
  150. width: 60rpx;
  151. height: 60rpx;
  152. border-radius: 50%;
  153. margin-right: 15rpx;
  154. }
  155. .my-ranking .my-name.data-v-bffc62c8 {
  156. font-size: 28rpx;
  157. color: #000;
  158. font-weight: 500;
  159. margin-right: 20rpx;
  160. }
  161. .my-ranking .my-score.data-v-bffc62c8 {
  162. font-size: 28rpx;
  163. color: #1488DB;
  164. }
  165. .ranking-list.data-v-bffc62c8 {
  166. padding: 40rpx 30rpx;
  167. background-color: #fff;
  168. margin-top: -40rpx;
  169. border-radius: 40rpx 40rpx 0 0;
  170. }
  171. .ranking-list .list-item.data-v-bffc62c8 {
  172. display: flex;
  173. align-items: center;
  174. padding: 30rpx 0;
  175. border-bottom: 1rpx solid #f0f0f0;
  176. }
  177. .ranking-list .list-item.data-v-bffc62c8:last-child {
  178. border-bottom: none;
  179. }
  180. .ranking-list .list-item .rank-number.data-v-bffc62c8 {
  181. width: 60rpx;
  182. font-size: 32rpx;
  183. font-weight: bold;
  184. color: #333;
  185. text-align: center;
  186. }
  187. .ranking-list .list-item .list-avatar.data-v-bffc62c8 {
  188. width: 80rpx;
  189. height: 80rpx;
  190. border-radius: 50%;
  191. margin: 0 30rpx;
  192. }
  193. .ranking-list .list-item .user-info.data-v-bffc62c8 {
  194. flex: 1;
  195. }
  196. .ranking-list .list-item .user-info .user-name.data-v-bffc62c8 {
  197. font-size: 28rpx;
  198. color: #333;
  199. font-weight: 500;
  200. }
  201. .ranking-list .list-item .user-score.data-v-bffc62c8 {
  202. font-size: 28rpx;
  203. color: #218CDD;
  204. }