order-result.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. /* pages/orders/order-detail.wxss */
  2. page {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background: #F5F6F7;
  7. }
  8. .scroll-container {
  9. padding-bottom: 174rpx;
  10. }
  11. .order-status {
  12. margin: 24rpx 26rpx 0;
  13. background-color: #FFFFFF;
  14. border-radius: 20rpx;
  15. padding: 24rpx 32rpx;
  16. .status {
  17. display: flex;
  18. image {
  19. width: 48rpx;
  20. height: 48rpx;
  21. margin-right: 16rpx;
  22. }
  23. text {
  24. font-weight: 600;
  25. font-size: 36rpx;
  26. color: #131415;
  27. line-height: 48rpx;
  28. }
  29. }
  30. .tips {
  31. padding-top: 24rpx;
  32. font-size: 28rpx;
  33. color: #777777;
  34. line-height: 40rpx;
  35. }
  36. }
  37. .order-content {
  38. margin: 24rpx 26rpx 0;
  39. border-radius: 20rpx;
  40. padding: 28rpx 24rpx;
  41. display: flex;
  42. flex-direction: column;
  43. background-color: #FFFFFF;
  44. }
  45. .item-content {
  46. display: flex;
  47. width: 100%;
  48. .goods-icon {
  49. width: 160rpx;
  50. height: 160rpx;
  51. margin-right: 24rpx;
  52. flex-shrink: 0;
  53. border-radius: 6px;
  54. overflow: hidden;
  55. }
  56. .goods-desc {
  57. flex: 1 auto;
  58. display: flex;
  59. flex-direction: column;
  60. }
  61. .goodsInfo {
  62. display: flex;
  63. justify-content: space-between;
  64. padding-top: 4rpx;
  65. .goods-name {
  66. flex: 1 auto;
  67. white-space: nowrap;
  68. overflow: hidden;
  69. font-weight: 600;
  70. font-size: 28rpx;
  71. text-overflow: ellipsis;
  72. max-width: 310rpx;
  73. }
  74. .goods-price {
  75. flex-shrink: 0;
  76. font-family: DINAlternate, DINAlternate;
  77. font-weight: bold;
  78. font-size: 28rpx;
  79. color: #131415;
  80. line-height: 48rpx;
  81. }
  82. }
  83. .goods-type {
  84. display: flex;
  85. justify-content: space-between;
  86. align-items: center;
  87. padding-top: 12rpx;
  88. .goods-card {
  89. background: #FEEDF0;
  90. border-radius: 6rpx;
  91. font-size: 26rpx;
  92. color: #FE2451;
  93. line-height: 40rpx;
  94. padding: 0 12rpx;
  95. }
  96. .goods-num {
  97. font-size: 28rpx;
  98. color: #777777;
  99. line-height: 36rpx;
  100. }
  101. }
  102. }
  103. .only_canvas {
  104. position: absolute;
  105. left: -300rpx;
  106. top: 0;
  107. width: 262rpx;
  108. height: 262rpx;
  109. }
  110. .qrcode-section {
  111. margin-top: 28rpx;
  112. border-top: 2rpx solid #F0F0F0;
  113. padding-top: 60rpx;
  114. padding-bottom: 32rpx;
  115. text-align: center;
  116. .qrcode-wrap {
  117. margin: 0 auto;
  118. border: 3rpx solid #EDEDED;
  119. padding: 10rpx;
  120. display: inline-block;
  121. font-size: 0;
  122. }
  123. .my_draw_canvas {
  124. width: 262rpx;
  125. height: 262rpx;
  126. }
  127. .qrcode-text {
  128. padding-top: 32rpx;
  129. font-size: 28rpx;
  130. color: #131415;
  131. line-height: 40rpx;
  132. &.used {
  133. color: #AAAAAA;
  134. }
  135. }
  136. }
  137. .order-time {
  138. margin: 24rpx 26rpx 0;
  139. border-radius: 20rpx;
  140. padding: 36rpx 24rpx;
  141. background-color: #FFFFFF;
  142. .order-item {
  143. display: flex;
  144. justify-content: space-between;
  145. padding-bottom: 36rpx;
  146. &:last-child {
  147. padding-bottom: 0;
  148. }
  149. .title {
  150. font-size: 28rpx;
  151. color: #131415;
  152. line-height: 40rpx;
  153. }
  154. .value {
  155. font-size: 30rpx;
  156. color: #777777;
  157. line-height: 42rpx;
  158. display: flex;
  159. &.red {
  160. color: #FE2451;
  161. }
  162. .copy {
  163. font-size: 30rpx;
  164. color: #FE2451;
  165. line-height: 42rpx;
  166. display: flex;
  167. align-items: center;
  168. padding-left: 16rpx;
  169. }
  170. }
  171. }
  172. }
  173. .btn-refound {
  174. padding-top: 40rpx;
  175. text-align: center;
  176. font-size: 28rpx;
  177. color: #A7ABAF;
  178. line-height: 40rpx;
  179. }
  180. .order-btn {
  181. position: fixed;
  182. bottom: 0;
  183. left: 0;
  184. width: 100%;
  185. background-color: #FFFFFF;
  186. padding: 20rpx 32rpx 58rpx 40rpx;
  187. display: flex;
  188. justify-content: space-between;
  189. box-sizing: border-box;
  190. .orders {
  191. display: flex;
  192. flex-direction: column;
  193. margin-right: 40rpx;
  194. image {
  195. width: 48rpx;
  196. height: 48rpx;
  197. }
  198. text {
  199. font-weight: 500;
  200. font-size: 22rpx;
  201. color: #131415;
  202. line-height: 32rpx;
  203. text-align: center;
  204. }
  205. }
  206. .price {
  207. display: flex;
  208. align-items: center;
  209. .desc {
  210. font-weight: 500;
  211. font-size: 28rpx;
  212. color: #131415;
  213. line-height: 40rpx;
  214. }
  215. .currentPrice {
  216. font-weight: bold;
  217. color: #FE2451;
  218. font-family: DINAlternate, DINAlternate;
  219. .stuff {
  220. font-size: 32rpx;
  221. }
  222. .priceZ {
  223. font-size: 56rpx;
  224. }
  225. .priceF {
  226. font-size: 32rpx;
  227. }
  228. }
  229. }
  230. button {
  231. margin: 0;
  232. width: 100%;
  233. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  234. border-radius: 78rpx;
  235. padding: 22rpx 84rpx;
  236. font-weight: 500;
  237. font-size: 32rpx;
  238. color: #FFFFFF;
  239. line-height: 44rpx;
  240. }
  241. }