order-result.less 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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: 30rpx;
  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: 30rpx;
  79. color: #131415;
  80. line-height: 48rpx;
  81. text {
  82. padding-right: 4rpx;
  83. }
  84. }
  85. }
  86. .goods-type {
  87. display: flex;
  88. justify-content: space-between;
  89. align-items: center;
  90. padding-top: 12rpx;
  91. .goods-card {
  92. background: #FEEDF0;
  93. border-radius: 6rpx;
  94. font-size: 26rpx;
  95. color: #FE2451;
  96. line-height: 40rpx;
  97. padding: 0 12rpx;
  98. }
  99. .goods-num {
  100. font-size: 28rpx;
  101. color: #777777;
  102. line-height: 36rpx;
  103. }
  104. }
  105. }
  106. /* HTML: <div class="loader"></div> */
  107. .loader {
  108. position: absolute;
  109. top: 50%;
  110. left: 50%;
  111. right: 0;
  112. bottom: 0;
  113. margin-top: -50rpx;
  114. margin-left: -50rpx;
  115. z-index: 9;
  116. width: 100rpx;
  117. aspect-ratio: 1;
  118. border-radius: 50%;
  119. background:
  120. radial-gradient(farthest-side,#E8E8E8 94%,#0000) top/8px 8px no-repeat,
  121. conic-gradient(#0000 30%,#E8E8E8);
  122. -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
  123. animation: tempLoading 1s infinite linear;
  124. }
  125. @keyframes tempLoading{
  126. 100%{transform: rotate(1turn)}
  127. }
  128. .only_canvas {
  129. position: absolute;
  130. left: -300rpx;
  131. top: 0;
  132. width: 262rpx;
  133. height: 262rpx;
  134. }
  135. .qrcode-section {
  136. margin-top: 28rpx;
  137. border-top: 2rpx solid #F0F0F0;
  138. padding-top: 60rpx;
  139. padding-bottom: 32rpx;
  140. text-align: center;
  141. .qrcode-wrap {
  142. position: relative;
  143. margin: 0 auto;
  144. border: 3rpx solid #EDEDED;
  145. padding: 10rpx;
  146. display: inline-block;
  147. font-size: 0;
  148. }
  149. .my_draw_canvas {
  150. width: 262rpx;
  151. height: 262rpx;
  152. }
  153. .qrcode-text {
  154. padding-top: 32rpx;
  155. font-size: 28rpx;
  156. color: #131415;
  157. line-height: 40rpx;
  158. &.used {
  159. color: #AAAAAA;
  160. }
  161. }
  162. }
  163. .order-time {
  164. margin: 24rpx 26rpx 0;
  165. border-radius: 20rpx;
  166. padding: 36rpx 24rpx;
  167. background-color: #FFFFFF;
  168. .order-item {
  169. display: flex;
  170. justify-content: space-between;
  171. padding-bottom: 36rpx;
  172. &:last-child {
  173. padding-bottom: 0;
  174. }
  175. .title {
  176. font-size: 28rpx;
  177. color: #131415;
  178. line-height: 40rpx;
  179. }
  180. .value {
  181. font-size: 30rpx;
  182. color: #777777;
  183. line-height: 42rpx;
  184. display: flex;
  185. &.red {
  186. color: #FE2451;
  187. }
  188. .copy {
  189. font-size: 30rpx;
  190. color: #FE2451;
  191. line-height: 42rpx;
  192. display: flex;
  193. align-items: center;
  194. padding-left: 16rpx;
  195. }
  196. }
  197. }
  198. }
  199. .btn-refound {
  200. padding-top: 40rpx;
  201. text-align: center;
  202. font-size: 28rpx;
  203. color: #A7ABAF;
  204. line-height: 40rpx;
  205. }
  206. .order-btn {
  207. position: fixed;
  208. bottom: 0;
  209. left: 0;
  210. width: 100%;
  211. background-color: #FFFFFF;
  212. padding: 20rpx 32rpx 58rpx 40rpx;
  213. display: flex;
  214. justify-content: space-between;
  215. box-sizing: border-box;
  216. .orders {
  217. display: flex;
  218. flex-direction: column;
  219. margin-right: 40rpx;
  220. image {
  221. width: 48rpx;
  222. height: 48rpx;
  223. }
  224. text {
  225. font-weight: 500;
  226. font-size: 22rpx;
  227. color: #131415;
  228. line-height: 32rpx;
  229. text-align: center;
  230. }
  231. }
  232. .price {
  233. display: flex;
  234. align-items: center;
  235. .desc {
  236. font-weight: 500;
  237. font-size: 28rpx;
  238. color: #131415;
  239. line-height: 40rpx;
  240. }
  241. .currentPrice {
  242. font-weight: bold;
  243. color: #FE2451;
  244. font-family: DINAlternate, DINAlternate;
  245. .stuff {
  246. font-size: 32rpx;
  247. }
  248. .priceZ {
  249. font-size: 56rpx;
  250. }
  251. .priceF {
  252. font-size: 32rpx;
  253. }
  254. }
  255. }
  256. button {
  257. margin: 0;
  258. width: 100%;
  259. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  260. border-radius: 78rpx;
  261. padding: 22rpx 84rpx;
  262. font-weight: 500;
  263. font-size: 32rpx;
  264. color: #FFFFFF;
  265. line-height: 44rpx;
  266. &[disabled][type=primary] {
  267. color: #fff;
  268. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  269. opacity: 0.7;
  270. }
  271. }
  272. }