order.ttss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. /* 引入uView全局scss变量文件 */
  28. page.data-v-127632e4 {
  29. background-color: #f8f8f8;
  30. }
  31. .order-body.data-v-127632e4 {
  32. height: calc(100vh - 100rpx);
  33. }
  34. .empty-data.data-v-127632e4 {
  35. display: flex;
  36. height: 100%;
  37. align-items: center;
  38. justify-content: center;
  39. flex-direction: column;
  40. font-size: 28rpx;
  41. color: #666;
  42. }
  43. .empty-data image.data-v-127632e4 {
  44. width: 50%;
  45. }
  46. .header.data-v-127632e4 {
  47. background-color: #fff;
  48. padding: 20rpx 20rpx 0 20rpx;
  49. }
  50. .header .header-tabs.data-v-127632e4 {
  51. display: flex;
  52. align-items: center;
  53. height: 80rpx;
  54. line-height: 80rpx;
  55. }
  56. .header .header-tabs .tab-item.data-v-127632e4 {
  57. width: 33.333%;
  58. text-align: center;
  59. font-size: 30rpx;
  60. color: #333;
  61. position: relative;
  62. }
  63. .header .header-tabs .tab-item.active.data-v-127632e4 {
  64. color: #fe2c56;
  65. font-weight: bold;
  66. }
  67. .header .header-tabs .tab-item.active.data-v-127632e4::after {
  68. content: "";
  69. position: absolute;
  70. width: 40%;
  71. height: 8rpx;
  72. border-radius: 4rpx;
  73. left: 30%;
  74. bottom: 0;
  75. background-color: #fe2c56;
  76. }
  77. .order-footer.data-v-127632e4 {
  78. display: flex;
  79. text-align: right;
  80. padding: 20rpx 0;
  81. border-top: 2rpx solid #f8f8f8;
  82. align-items: center;
  83. }
  84. .order-footer .footer-l.data-v-127632e4 {
  85. font-size: 28rpx;
  86. color: #666;
  87. }
  88. .order-footer .footer-r.data-v-127632e4 {
  89. display: flex;
  90. margin-left: auto;
  91. margin-right: 0;
  92. flex: 1;
  93. justify-content: end;
  94. gap: 20rpx;
  95. }
  96. .order-footer .btn.data-v-127632e4 {
  97. height: 50rpx;
  98. line-height: 50rpx;
  99. text-align: center;
  100. border: 2rpx solid #ccc;
  101. color: #333;
  102. font-size: 28rpx;
  103. border-radius: 10rpx;
  104. padding: 0 25rpx;
  105. }
  106. .order-footer .btn.danger.data-v-127632e4 {
  107. border: 2rpx solid #fe2c56;
  108. color: #fe2c56;
  109. }
  110. .order-footer .btn.blue.data-v-127632e4 {
  111. border: 2rpx solid #007aff;
  112. color: #007aff;
  113. }
  114. .order-item.data-v-127632e4 {
  115. background-color: #fff;
  116. padding: 0 20rpx;
  117. border-radius: 10rpx;
  118. margin-top: 20rpx;
  119. }
  120. .order-item .item-header.data-v-127632e4 {
  121. display: flex;
  122. align-items: center;
  123. height: 80rpx;
  124. line-height: 80rpx;
  125. border-bottom: 2rpx solid #f8f8f8;
  126. }
  127. .order-item .item-header .order-status.data-v-127632e4 {
  128. font-size: 28rpx;
  129. color: #fe2c56;
  130. }
  131. .order-item .item-header .order-status.success.data-v-127632e4 {
  132. color: #007aff;
  133. }
  134. .order-item .item-header .order-time.data-v-127632e4 {
  135. font-size: 24rpx;
  136. color: #999;
  137. margin-left: auto;
  138. margin-right: 0;
  139. }
  140. .order-item .order-goods.data-v-127632e4 {
  141. display: flex;
  142. align-items: center;
  143. }
  144. .order-item .order-goods image.data-v-127632e4 {
  145. width: 140rpx;
  146. height: 140rpx;
  147. }
  148. .order-item .goods-info.data-v-127632e4 {
  149. margin-left: 20rpx;
  150. font-size: 28rpx;
  151. flex: 1;
  152. padding: 20rpx 0;
  153. position: relative;
  154. }
  155. .order-item .goods-info .name.data-v-127632e4 {
  156. font-size: 30rpx;
  157. color: #333;
  158. }
  159. .order-item .goods-info .desc.data-v-127632e4 {
  160. font-size: 24rpx;
  161. color: #999;
  162. display: flex;
  163. align-items: center;
  164. justify-content: space-between;
  165. margin: 20rpx 0;
  166. }
  167. .order-item .goods-info .total.data-v-127632e4 {
  168. font-size: 30rpx;
  169. color: #333;
  170. text-align: right;
  171. font-weight: bold;
  172. position: absolute;
  173. right: 20rpx;
  174. bottom: 40rpx;
  175. }