creativeExpert.vue 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. <template>
  2. <view class="creative-expert-page">
  3. <!-- 等级进度 -->
  4. <view class="level-progress-section">
  5. <view class="current-level">
  6. <image class="level-icon" src="/static/creative/level1.png" />
  7. <text class="level-text">Lv.1</text>
  8. </view>
  9. <view class="exp-bar-wrap">
  10. <view class="exp-bar-bg">
  11. <view class="exp-bar" :style="{ width: '20%' }"></view>
  12. </view>
  13. <view class="exp-info">
  14. 升级到下个等级还需
  15. <text class="exp-num">280</text>点经验
  16. </view>
  17. </view>
  18. <view class="level-labels">
  19. <text class="level-label">Lv.1</text>
  20. <text class="level-label next">Lv.2</text>
  21. </view>
  22. <view class="join-btn">会员加速中</view>
  23. </view>
  24. <!-- 创意达人值说明 -->
  25. <view class="section-title">创意达人值说明</view>
  26. <view class="desc-block">
  27. 创意达人值是萌创星球给用户提供的一个创意设计等级认证说明,代表着用户运营型社团创作能力的直观体现。
  28. <view class="desc-tip">在达标属于摸索力和创造力的环节上,每一个闪光的方案都值得被看见,每一次大胆的尝试都值得被徽章收藏。</view>
  29. 星球的星灵们会根据您的作品数量、作品点赞数、作品评论数、未展示及在作一作品的数量等多维度作为创意达人值的考核标准。
  30. 创意达人值越高,创意达人等级也会越高,不同的创意达人等级会获得专属徽标和权益。每个等级都有自己的专属徽标和权益。
  31. </view>
  32. <!-- 等级表格 -->
  33. <view class="section-title">创意达人等级专属徽标&等级</view>
  34. <view class="level-table">
  35. <view class="table-header">
  36. <view class="th">对应展示</view>
  37. <view class="th">等级</view>
  38. <view class="th">活跃值</view>
  39. </view>
  40. <view class="table-row" v-for="row in levelRows" :key="row.level">
  41. <view class="td">
  42. <image :src="row.icon" class="level-table-icon" />
  43. </view>
  44. <view class="td">{{ row.level }}</view>
  45. <view class="td">{{ row.active }}</view>
  46. </view>
  47. </view>
  48. </view>
  49. </template>
  50. <script>
  51. export default {
  52. data() {
  53. return {
  54. levelRows: [
  55. { icon: '/static/creative/level1.png', level: 'Lv.1', active: '未解锁' },
  56. { icon: '/static/creative/level2.png', level: 'Lv.2', active: '未解锁' },
  57. { icon: '/static/creative/level3.png', level: 'Lv.3', active: '未解锁' },
  58. { icon: '/static/creative/level4.png', level: 'Lv.4', active: '未解锁' },
  59. { icon: '/static/creative/level5.png', level: 'Lv.5', active: '未解锁' },
  60. ]
  61. }
  62. },
  63. methods: {
  64. }
  65. }
  66. </script>
  67. <style scoped>
  68. .creative-expert-page {
  69. background: #181a1f;
  70. min-height: 100vh;
  71. color: #fff;
  72. padding-bottom: 40rpx;
  73. }
  74. .level-progress-section {
  75. background: #23242a;
  76. border-radius: 0 0 32rpx 32rpx;
  77. padding: 48rpx 32rpx 32rpx 32rpx;
  78. text-align: center;
  79. position: relative;
  80. }
  81. .current-level {
  82. display: flex;
  83. align-items: center;
  84. justify-content: center;
  85. margin-bottom: 16rpx;
  86. }
  87. .level-icon {
  88. width: 80rpx;
  89. height: 80rpx;
  90. margin-right: 12rpx;
  91. }
  92. .level-text {
  93. font-size: 36rpx;
  94. font-weight: bold;
  95. color: #ffb86c;
  96. }
  97. .exp-bar-wrap {
  98. margin: 24rpx 0 8rpx 0;
  99. }
  100. .exp-bar-bg {
  101. width: 100%;
  102. height: 16rpx;
  103. background: #2d2e36;
  104. border-radius: 8rpx;
  105. overflow: hidden;
  106. }
  107. .exp-bar {
  108. height: 100%;
  109. background: linear-gradient(90deg, #ffb86c 0%, #ffe7b2 100%);
  110. border-radius: 8rpx;
  111. }
  112. .exp-info {
  113. font-size: 24rpx;
  114. color: #fff;
  115. margin-top: 8rpx;
  116. }
  117. .exp-num {
  118. color: #ffb86c;
  119. font-weight: bold;
  120. }
  121. .level-labels {
  122. display: flex;
  123. justify-content: space-between;
  124. margin-top: 8rpx;
  125. }
  126. .level-label {
  127. font-size: 24rpx;
  128. color: #ffb86c;
  129. }
  130. .level-label.next {
  131. color: #fff;
  132. }
  133. .join-btn {
  134. margin: 24rpx auto 0 auto;
  135. width: 320rpx;
  136. height: 56rpx;
  137. background: linear-gradient(90deg, #ffb86c 0%, #ffe7b2 100%);
  138. color: #23242a;
  139. border-radius: 32rpx;
  140. font-size: 28rpx;
  141. font-weight: bold;
  142. display: flex;
  143. align-items: center;
  144. justify-content: center;
  145. }
  146. .section-title {
  147. font-size: 30rpx;
  148. font-weight: bold;
  149. color: #ffb86c;
  150. margin: 40rpx 0 16rpx 32rpx;
  151. }
  152. .desc-block {
  153. background: #23242a;
  154. border-radius: 24rpx;
  155. margin: 0 32rpx;
  156. padding: 32rpx 24rpx;
  157. font-size: 26rpx;
  158. color: #fff;
  159. line-height: 1.8;
  160. }
  161. .desc-tip {
  162. color: #ffe7b2;
  163. margin: 16rpx 0;
  164. font-size: 26rpx;
  165. }
  166. .level-table {
  167. background: #23242a;
  168. border-radius: 24rpx;
  169. margin: 0 32rpx;
  170. margin-top: 24rpx;
  171. padding: 24rpx 0;
  172. }
  173. .table-header, .table-row {
  174. display: flex;
  175. align-items: center;
  176. padding: 0 24rpx;
  177. }
  178. .table-header {
  179. font-size: 26rpx;
  180. color: #ffe7b2;
  181. font-weight: bold;
  182. border-bottom: 2rpx solid #2d2e36;
  183. height: 60rpx;
  184. }
  185. .th, .td {
  186. flex: 1;
  187. text-align: center;
  188. }
  189. .level-table-icon {
  190. width: 56rpx;
  191. height: 56rpx;
  192. vertical-align: middle;
  193. }
  194. .table-row {
  195. font-size: 26rpx;
  196. color: #fff;
  197. height: 72rpx;
  198. border-bottom: 1rpx solid #23242a;
  199. }
  200. </style>