爱简收旧衣按件回收前端代码仓库
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.

173 lines
4.1 KiB

  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. .container.data-v-a0e9f0c4 {
  27. min-height: 100vh;
  28. background: #fff;
  29. }
  30. .nav-bar.data-v-a0e9f0c4 {
  31. display: flex;
  32. align-items: center;
  33. background: linear-gradient(to right, #f68240 0%, #fc8940 10%);
  34. position: fixed;
  35. top: 0;
  36. left: 0;
  37. right: 0;
  38. z-index: 999;
  39. }
  40. .back.data-v-a0e9f0c4 {
  41. padding: 20rpx;
  42. margin-left: -20rpx;
  43. }
  44. .title.data-v-a0e9f0c4 {
  45. flex: 1;
  46. text-align: center;
  47. font-size: 34rpx;
  48. font-weight: 500;
  49. color: #fff;
  50. }
  51. .banner.data-v-a0e9f0c4 {
  52. position: relative;
  53. background: linear-gradient(to right, #f78b49, #fc8940);
  54. overflow: hidden;
  55. border-radius: 0 0 30rpx 30rpx;
  56. margin-top: 0;
  57. }
  58. .banner-bg.data-v-a0e9f0c4 {
  59. position: absolute;
  60. width: 100%;
  61. height: 100%;
  62. }
  63. .banner-content.data-v-a0e9f0c4 {
  64. position: relative;
  65. z-index: 1;
  66. height: 100%;
  67. display: flex;
  68. justify-content: center;
  69. align-items: center;
  70. }
  71. .banner-content .wallet-icon.data-v-a0e9f0c4 {
  72. width: 240rpx;
  73. height: 240rpx;
  74. }
  75. .balance-card.data-v-a0e9f0c4 {
  76. margin: -60rpx 30rpx 0;
  77. padding: 30rpx;
  78. background: #fff;
  79. border-radius: 20rpx;
  80. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.06);
  81. display: flex;
  82. justify-content: space-between;
  83. align-items: center;
  84. position: relative;
  85. z-index: 2;
  86. }
  87. .balance-card .balance-info .label.data-v-a0e9f0c4 {
  88. font-size: 28rpx;
  89. color: #666;
  90. }
  91. .balance-card .balance-info .amount.data-v-a0e9f0c4 {
  92. margin-top: 8rpx;
  93. display: flex;
  94. align-items: baseline;
  95. }
  96. .balance-card .balance-info .amount .symbol.data-v-a0e9f0c4 {
  97. font-size: 32rpx;
  98. color: #333;
  99. }
  100. .balance-card .balance-info .amount .value.data-v-a0e9f0c4 {
  101. font-size: 48rpx;
  102. font-weight: bold;
  103. color: #333;
  104. margin-left: 4rpx;
  105. }
  106. .balance-card .withdraw-btn.data-v-a0e9f0c4 {
  107. width: 160rpx;
  108. height: 70rpx;
  109. background: #FFB74D;
  110. color: #fff;
  111. font-size: 28rpx;
  112. border-radius: 35rpx;
  113. display: flex;
  114. align-items: center;
  115. justify-content: center;
  116. border: none;
  117. }
  118. .balance-card .withdraw-btn.data-v-a0e9f0c4::after {
  119. border: none;
  120. }
  121. .record-tabs.data-v-a0e9f0c4 {
  122. display: flex;
  123. padding: 20rpx 0;
  124. border-bottom: 1rpx solid #f5f5f5;
  125. }
  126. .record-tabs .tab-item.data-v-a0e9f0c4 {
  127. position: relative;
  128. padding: 16rpx 0;
  129. font-size: 28rpx;
  130. color: #666;
  131. flex: 1;
  132. text-align: center;
  133. }
  134. .record-tabs .tab-item.active.data-v-a0e9f0c4 {
  135. color: #333;
  136. font-weight: 500;
  137. }
  138. .record-tabs .tab-item.active.data-v-a0e9f0c4::after {
  139. content: "";
  140. position: absolute;
  141. left: 50%;
  142. transform: translateX(-50%);
  143. bottom: -21rpx;
  144. width: 48rpx;
  145. height: 2rpx;
  146. background: #FFB74D;
  147. }
  148. .record-list.data-v-a0e9f0c4 {
  149. height: calc(100vh - 88rpx - 300rpx + 60rpx - 120rpx - 71rpx);
  150. }
  151. .record-list .record-item.data-v-a0e9f0c4 {
  152. display: flex;
  153. flex-direction: column;
  154. padding: 30rpx;
  155. border-bottom: 1rpx solid rgba(0, 0, 0, 0.05);
  156. }
  157. .record-list .record-item .record-info.data-v-a0e9f0c4 {
  158. display: flex;
  159. justify-content: space-between;
  160. align-items: center;
  161. margin-bottom: 12rpx;
  162. }
  163. .record-list .record-item .record-info .type.data-v-a0e9f0c4 {
  164. font-size: 28rpx;
  165. color: #333;
  166. }
  167. .record-list .record-item .record-info .amount.data-v-a0e9f0c4 {
  168. font-size: 28rpx;
  169. color: #333;
  170. }
  171. .record-list .record-item .date.data-v-a0e9f0c4 {
  172. font-size: 24rpx;
  173. color: #999;
  174. }