order-result.less 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. /* pages/orders/order-detail.wxss */
  2. page {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background: #F5F6F7;
  7. }
  8. .container {
  9. display: flex;
  10. flex-direction: column;
  11. width: 100%;
  12. flex: 1;
  13. overflow-y: auto;
  14. }
  15. .record-list {
  16. flex: 1;
  17. overflow-y: scroll;
  18. box-sizing: border-box;
  19. }
  20. .scroll-container {
  21. padding-bottom: 180rpx;
  22. }
  23. .order-status {
  24. margin: 24rpx 26rpx 0;
  25. background-color: #FFFFFF;
  26. border-radius: 20rpx;
  27. padding: 24rpx 32rpx;
  28. .status {
  29. display: flex;
  30. image {
  31. width: 48rpx;
  32. height: 48rpx;
  33. margin-right: 16rpx;
  34. }
  35. text {
  36. font-weight: 600;
  37. font-size: 36rpx;
  38. color: #131415;
  39. line-height: 48rpx;
  40. }
  41. }
  42. .tips {
  43. padding-top: 24rpx;
  44. font-size: 28rpx;
  45. color: #777777;
  46. line-height: 40rpx;
  47. }
  48. }
  49. .order-content {
  50. margin: 24rpx 26rpx 0;
  51. border-radius: 20rpx;
  52. padding: 28rpx 24rpx;
  53. display: flex;
  54. flex-direction: column;
  55. background-color: #FFFFFF;
  56. }
  57. .item-content {
  58. display: flex;
  59. width: 100%;
  60. .goods-icon {
  61. width: 160rpx;
  62. height: 160rpx;
  63. margin-right: 24rpx;
  64. flex-shrink: 0;
  65. border-radius: 6px;
  66. overflow: hidden;
  67. }
  68. .goods-desc {
  69. flex: 1 auto;
  70. display: flex;
  71. flex-direction: column;
  72. }
  73. .goodsInfo {
  74. display: flex;
  75. justify-content: space-between;
  76. padding-top: 4rpx;
  77. .goods-name {
  78. flex: 1 auto;
  79. white-space: nowrap;
  80. overflow: hidden;
  81. font-weight: 600;
  82. font-size: 30rpx;
  83. text-overflow: ellipsis;
  84. max-width: 310rpx;
  85. }
  86. .goods-price {
  87. flex-shrink: 0;
  88. font-family: DINAlternate, DINAlternate;
  89. font-weight: bold;
  90. font-size: 30rpx;
  91. color: #131415;
  92. line-height: 48rpx;
  93. text {
  94. padding-right: 4rpx;
  95. }
  96. }
  97. }
  98. .goods-type {
  99. display: flex;
  100. justify-content: space-between;
  101. align-items: center;
  102. padding-top: 12rpx;
  103. .goods-card {
  104. background: #FEEDF0;
  105. border-radius: 6rpx;
  106. font-size: 26rpx;
  107. color: #FE2451;
  108. line-height: 40rpx;
  109. padding: 0 12rpx;
  110. }
  111. .goods-num {
  112. font-size: 28rpx;
  113. color: #777777;
  114. line-height: 36rpx;
  115. }
  116. }
  117. }
  118. /* HTML: <div class="loader"></div> */
  119. .loader {
  120. position: absolute;
  121. top: 50%;
  122. left: 50%;
  123. right: 0;
  124. bottom: 0;
  125. margin-top: -50rpx;
  126. margin-left: -50rpx;
  127. z-index: 9;
  128. width: 100rpx;
  129. aspect-ratio: 1;
  130. border-radius: 50%;
  131. background:
  132. radial-gradient(farthest-side,#E8E8E8 94%,#0000) top/8px 8px no-repeat,
  133. conic-gradient(#0000 30%,#E8E8E8);
  134. -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
  135. animation: tempLoading 1s infinite linear;
  136. }
  137. @keyframes tempLoading{
  138. 100%{transform: rotate(1turn)}
  139. }
  140. .only_canvas {
  141. position: absolute;
  142. left: -300rpx;
  143. top: 0;
  144. width: 262rpx;
  145. height: 262rpx;
  146. }
  147. .qrcode-section {
  148. margin-top: 28rpx;
  149. border-top: 2rpx solid #F0F0F0;
  150. padding-top: 60rpx;
  151. padding-bottom: 32rpx;
  152. text-align: center;
  153. .qrcode-wrap {
  154. position: relative;
  155. margin: 0 auto;
  156. border: 3rpx solid #EDEDED;
  157. padding: 10rpx;
  158. display: inline-block;
  159. font-size: 0;
  160. }
  161. .my_draw_canvas {
  162. width: 262rpx;
  163. height: 262rpx;
  164. }
  165. .qrcode-text {
  166. margin-top: 32rpx;
  167. padding: 0 32rpx;
  168. font-weight: 500;
  169. font-size: 28rpx;
  170. color: #131415;
  171. line-height: 40rpx;
  172. &.used {
  173. color: #AAAAAA;
  174. }
  175. }
  176. .qrcode-btn--section {
  177. display: flex;
  178. align-items: center;
  179. justify-content: center;
  180. padding-top: 32rpx;
  181. button {
  182. border-radius: 78rpx;
  183. // line-height: 68rpx;
  184. padding: 14rpx 30rpx;
  185. width: auto;
  186. border-radius: 68rpx;
  187. font-weight: 500;
  188. font-size: 28rpx;
  189. margin: 0 16rpx;
  190. min-width: 200rpx;
  191. box-sizing: border-box;
  192. &[disabled] {
  193. opacity: 0.7;
  194. }
  195. }
  196. .submit {
  197. background: linear-gradient( 270deg, #FF7B57 0%, #FF3460 100%);
  198. color: #FFFFFF;
  199. }
  200. .download {
  201. background: #FEEDF0;
  202. color: #FE2451;
  203. }
  204. }
  205. }
  206. .order-time {
  207. margin: 24rpx 26rpx 0;
  208. border-radius: 20rpx;
  209. padding: 36rpx 24rpx;
  210. background-color: #FFFFFF;
  211. .order-item {
  212. display: flex;
  213. justify-content: space-between;
  214. padding-bottom: 36rpx;
  215. &:last-child {
  216. padding-bottom: 0;
  217. }
  218. .title {
  219. font-size: 28rpx;
  220. color: #131415;
  221. line-height: 40rpx;
  222. }
  223. .value {
  224. font-size: 30rpx;
  225. color: #777777;
  226. line-height: 42rpx;
  227. display: flex;
  228. &.red {
  229. color: #FE2451;
  230. }
  231. .copy {
  232. font-size: 30rpx;
  233. color: #FE2451;
  234. line-height: 42rpx;
  235. display: flex;
  236. align-items: center;
  237. padding-left: 16rpx;
  238. }
  239. }
  240. }
  241. }
  242. .btn-refound {
  243. padding-top: 40rpx;
  244. text-align: center;
  245. font-size: 28rpx;
  246. color: #A7ABAF;
  247. line-height: 40rpx;
  248. }
  249. .order-btn {
  250. position: fixed;
  251. bottom: 0;
  252. left: 0;
  253. width: 100%;
  254. background-color: #FFFFFF;
  255. padding: 20rpx 32rpx 58rpx 40rpx;
  256. display: flex;
  257. justify-content: space-between;
  258. box-sizing: border-box;
  259. .orders {
  260. display: flex;
  261. flex-direction: column;
  262. margin-right: 40rpx;
  263. image {
  264. width: 48rpx;
  265. height: 48rpx;
  266. }
  267. text {
  268. font-weight: 500;
  269. font-size: 22rpx;
  270. color: #131415;
  271. line-height: 32rpx;
  272. text-align: center;
  273. }
  274. }
  275. .price {
  276. display: flex;
  277. align-items: center;
  278. .desc {
  279. font-weight: 500;
  280. font-size: 28rpx;
  281. color: #131415;
  282. line-height: 40rpx;
  283. }
  284. .currentPrice {
  285. font-weight: bold;
  286. color: #FE2451;
  287. font-family: DINAlternate, DINAlternate;
  288. .stuff {
  289. font-size: 32rpx;
  290. }
  291. .priceZ {
  292. font-size: 56rpx;
  293. }
  294. .priceF {
  295. font-size: 32rpx;
  296. }
  297. }
  298. }
  299. button {
  300. margin: 0;
  301. width: 100%;
  302. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  303. border-radius: 78rpx;
  304. padding: 22rpx 84rpx;
  305. font-weight: 500;
  306. font-size: 32rpx;
  307. color: #FFFFFF;
  308. line-height: 44rpx;
  309. &[disabled][type=primary] {
  310. color: #fff;
  311. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  312. opacity: 0.7;
  313. }
  314. }
  315. }