order-result.less 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  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. margin-top: 32rpx;
  155. padding: 0 32rpx;
  156. font-weight: 500;
  157. font-size: 28rpx;
  158. color: #131415;
  159. line-height: 40rpx;
  160. &.used {
  161. color: #AAAAAA;
  162. }
  163. }
  164. .qrcode-btn--section {
  165. display: flex;
  166. align-items: center;
  167. justify-content: center;
  168. padding-top: 32rpx;
  169. button {
  170. border-radius: 78rpx;
  171. // line-height: 68rpx;
  172. padding: 14rpx 30rpx;
  173. width: auto;
  174. border-radius: 68rpx;
  175. font-weight: 500;
  176. font-size: 28rpx;
  177. margin: 0 16rpx;
  178. min-width: 200rpx;
  179. box-sizing: border-box;
  180. &[disabled] {
  181. opacity: 0.7;
  182. }
  183. }
  184. .submit {
  185. background: linear-gradient( 270deg, #FF7B57 0%, #FF3460 100%);
  186. color: #FFFFFF;
  187. }
  188. .download {
  189. background: #FEEDF0;
  190. color: #FE2451;
  191. }
  192. }
  193. }
  194. .order-time {
  195. margin: 24rpx 26rpx 0;
  196. border-radius: 20rpx;
  197. padding: 36rpx 24rpx;
  198. background-color: #FFFFFF;
  199. .order-item {
  200. display: flex;
  201. justify-content: space-between;
  202. padding-bottom: 36rpx;
  203. &:last-child {
  204. padding-bottom: 0;
  205. }
  206. .title {
  207. font-size: 28rpx;
  208. color: #131415;
  209. line-height: 40rpx;
  210. }
  211. .value {
  212. font-size: 30rpx;
  213. color: #777777;
  214. line-height: 42rpx;
  215. display: flex;
  216. &.red {
  217. color: #FE2451;
  218. }
  219. .copy {
  220. font-size: 30rpx;
  221. color: #FE2451;
  222. line-height: 42rpx;
  223. display: flex;
  224. align-items: center;
  225. padding-left: 16rpx;
  226. }
  227. }
  228. }
  229. }
  230. .btn-refound {
  231. padding-top: 40rpx;
  232. text-align: center;
  233. font-size: 28rpx;
  234. color: #A7ABAF;
  235. line-height: 40rpx;
  236. }
  237. .order-btn {
  238. position: fixed;
  239. bottom: 0;
  240. left: 0;
  241. width: 100%;
  242. background-color: #FFFFFF;
  243. padding: 20rpx 32rpx 58rpx 40rpx;
  244. display: flex;
  245. justify-content: space-between;
  246. box-sizing: border-box;
  247. .orders {
  248. display: flex;
  249. flex-direction: column;
  250. margin-right: 40rpx;
  251. image {
  252. width: 48rpx;
  253. height: 48rpx;
  254. }
  255. text {
  256. font-weight: 500;
  257. font-size: 22rpx;
  258. color: #131415;
  259. line-height: 32rpx;
  260. text-align: center;
  261. }
  262. }
  263. .price {
  264. display: flex;
  265. align-items: center;
  266. .desc {
  267. font-weight: 500;
  268. font-size: 28rpx;
  269. color: #131415;
  270. line-height: 40rpx;
  271. }
  272. .currentPrice {
  273. font-weight: bold;
  274. color: #FE2451;
  275. font-family: DINAlternate, DINAlternate;
  276. .stuff {
  277. font-size: 32rpx;
  278. }
  279. .priceZ {
  280. font-size: 56rpx;
  281. }
  282. .priceF {
  283. font-size: 32rpx;
  284. }
  285. }
  286. }
  287. button {
  288. margin: 0;
  289. width: 100%;
  290. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  291. border-radius: 78rpx;
  292. padding: 22rpx 84rpx;
  293. font-weight: 500;
  294. font-size: 32rpx;
  295. color: #FFFFFF;
  296. line-height: 44rpx;
  297. &[disabled][type=primary] {
  298. color: #fff;
  299. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  300. opacity: 0.7;
  301. }
  302. }
  303. }