order-result.less 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  1. /* pages/orders/order-detail.wxss */
  2. page {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background: #F4F4F4;
  7. }
  8. .container {
  9. display: flex;
  10. flex-direction: column;
  11. }
  12. .record-list {
  13. flex: 1;
  14. overflow-y: scroll;
  15. box-sizing: border-box;
  16. }
  17. .order-status {
  18. margin: 24rpx 26rpx 0;
  19. background-color: #FFFFFF;
  20. border-radius: 20rpx;
  21. padding: 24rpx 32rpx;
  22. .status {
  23. display: flex;
  24. image {
  25. width: 48rpx;
  26. height: 48rpx;
  27. margin-right: 16rpx;
  28. }
  29. text {
  30. font-weight: 600;
  31. font-size: 36rpx;
  32. color: #131415;
  33. line-height: 48rpx;
  34. }
  35. }
  36. .tips {
  37. padding-top: 24rpx;
  38. font-size: 28rpx;
  39. color: #777777;
  40. line-height: 40rpx;
  41. }
  42. }
  43. .order-content {
  44. margin: 24rpx 26rpx 0;
  45. border-radius: 20rpx;
  46. display: flex;
  47. flex-direction: column;
  48. background-color: #FFFFFF;
  49. }
  50. .goods-content {
  51. margin: 24rpx 26rpx 0;
  52. border-radius: 20rpx;
  53. padding: 28rpx 24rpx;
  54. display: flex;
  55. flex-direction: column;
  56. background-color: #FFFFFF;
  57. }
  58. .item-content {
  59. display: flex;
  60. width: 100%;
  61. .goods-icon {
  62. width: 140rpx;
  63. height: 140rpx;
  64. margin-right: 24rpx;
  65. flex-shrink: 0;
  66. border-radius: 6px;
  67. overflow: hidden;
  68. }
  69. .goods-desc {
  70. flex: 1 auto;
  71. display: flex;
  72. flex-direction: column;
  73. }
  74. .goodsInfo {
  75. display: flex;
  76. justify-content: space-between;
  77. padding-top: 4rpx;
  78. .goods-name {
  79. flex: 1 auto;
  80. white-space: nowrap;
  81. overflow: hidden;
  82. font-weight: 600;
  83. font-size: 30rpx;
  84. color: #131415;
  85. text-overflow: ellipsis;
  86. max-width: 360rpx;
  87. }
  88. .goods-price {
  89. flex-shrink: 0;
  90. font-family: DINAlternate, DINAlternate;
  91. font-weight: bold;
  92. font-size: 28rpx;
  93. color: #131415;
  94. line-height: 48rpx;
  95. text {
  96. font-size: 34rpx;
  97. }
  98. }
  99. }
  100. .goods-type {
  101. display: flex;
  102. justify-content: space-between;
  103. align-items: center;
  104. padding-top: 12rpx;
  105. .innerGroup {
  106. display: flex;
  107. position: relative;
  108. }
  109. .innerFree {
  110. margin-left: 8rpx;
  111. font-size: 24rpx;
  112. color: #FF0047;
  113. line-height: 34rpx;
  114. border-radius: 4rpx;
  115. border: 2rpx solid rgba(255,0,71,0.25);
  116. padding: 2rpx 8rpx;
  117. // text {
  118. // font-weight: bold;
  119. // }
  120. }
  121. .goods-card {
  122. background: #FDF2E2;
  123. border-radius: 6rpx;
  124. font-size: 26rpx;
  125. color: #502F00;
  126. line-height: 36rpx;
  127. padding: 2rpx 10rpx;
  128. }
  129. .goods-num {
  130. font-size: 26rpx;
  131. color: #777777;
  132. line-height: 36rpx;
  133. }
  134. }
  135. }
  136. /* HTML: <div class="loader"></div> */
  137. .loader {
  138. position: absolute;
  139. top: 50%;
  140. left: 50%;
  141. right: 0;
  142. bottom: 0;
  143. margin-top: -25rpx;
  144. margin-left: -25rpx;
  145. z-index: 9;
  146. width: 50rpx;
  147. aspect-ratio: 1;
  148. border-radius: 50%;
  149. background:
  150. radial-gradient(farthest-side,#E8E8E8 94%,#0000) top/8rpx 8rpx no-repeat,
  151. conic-gradient(#0000 30%,#E8E8E8);
  152. -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8rpx),#000 0);
  153. animation: tempLoading 1s infinite linear;
  154. }
  155. @keyframes tempLoading{
  156. 100%{transform: rotate(1turn)}
  157. }
  158. .qrcode-title {
  159. padding: 40rpx 24rpx;
  160. font-weight: 600;
  161. font-size: 30rpx;
  162. color: #131415;
  163. line-height: 42rpx;
  164. }
  165. .qrcode-line {
  166. position: relative;
  167. background: linear-gradient(to right, transparent 50%, rgba(219, 219, 219, 1) 50%) repeat-x; // 设置水平方向的线性渐变,透明与半透明色交替,模拟虚线线段
  168. background-size: 10px 1px; // 设置背景大小,控制虚线的线段长度和粗细,这里线段长度为10px,粗细为1px
  169. height: 2rpx; // 元素高度,可根据实际需求调整,用于展示虚线效果的高度范围
  170. margin: 0 24rpx;
  171. &::before, &::after {
  172. content: '';
  173. position: absolute;
  174. top: -20rpx;
  175. display: block;
  176. width: 40rpx;
  177. height: 40rpx;
  178. background-color: #F4F4F4;
  179. border-radius: 50%;
  180. }
  181. &::before {
  182. left: -44rpx;
  183. }
  184. &::after {
  185. right: -44rpx;
  186. }
  187. }
  188. .only_canvas {
  189. position: absolute;
  190. left: -300rpx;
  191. top: 0;
  192. width: 202rpx;
  193. height: 202rpx;
  194. }
  195. .qrcode-text {
  196. font-size: 28rpx;
  197. color: #777;
  198. line-height: 40rpx;
  199. border-radius: 12rpx;
  200. font-size: 26rpx;
  201. border: 2rpx solid #F2F2F2;
  202. padding: 16rpx 12rpx;
  203. text-align: left;
  204. margin: 30rpx 20rpx;
  205. text {
  206. color: #DDA64C;
  207. font-weight: bold;
  208. }
  209. &.used {
  210. // padding: 16rpx 12rpx;
  211. color: #777;
  212. display: flex;
  213. align-items: center;
  214. justify-content: space-between;
  215. }
  216. .free {
  217. color: #FF0047;
  218. }
  219. .bold {
  220. font-weight: bold;
  221. }
  222. }
  223. .qrcode-section {
  224. margin-top: 20rpx;
  225. padding-bottom: 32rpx;
  226. padding: 0 24rpx 28rpx;
  227. .qrcode-block {
  228. display: flex;
  229. margin-top: 20rpx;
  230. background: #FBF5EE;
  231. border-radius: 20rpx;
  232. overflow: hidden;
  233. .left-text {
  234. padding: 0 18rpx 0 22rpx;
  235. background: linear-gradient( 180deg, #544F4A 0%, #302F2B 100%);
  236. display: flex;
  237. align-items: center;
  238. justify-content: center;
  239. writing-mode: vertical-lr;
  240. font-weight: 600;
  241. font-size: 26rpx;
  242. color: #FBEAC9;
  243. line-height: 36rpx;
  244. letter-spacing: 10rpx;
  245. }
  246. }
  247. .qrCodeSection {
  248. flex: 1;
  249. width: 100%;
  250. display: flex;
  251. align-items: center;
  252. flex-direction: column;
  253. }
  254. .qrcode-btn--section {
  255. display: flex;
  256. align-items: center;
  257. padding-bottom: 22rpx;
  258. button {
  259. border-radius: 78rpx;
  260. line-height: 26px;
  261. padding: 5rpx 13rpx;
  262. width: auto;
  263. font-weight: 600;
  264. font-size: 12px;
  265. margin: 0 8rpx;
  266. min-width: 148rpx;
  267. box-sizing: border-box;
  268. }
  269. .submit {
  270. background: linear-gradient( 90deg, #544F4A 0%, #302F2B 100%);
  271. color: #FBEAC9;
  272. }
  273. .download {
  274. border: 1px solid #C8C8C8;
  275. // box-sizing: content-box;
  276. line-height: 24px;
  277. background-color: transparent;
  278. color: #333333;
  279. }
  280. }
  281. .qrcode-wrap {
  282. position: relative;
  283. margin: 22rpx auto 22rpx;
  284. border: 2rpx solid #ECCEA0;
  285. padding: 6rpx;
  286. border-radius: 8rpx;
  287. display: inline-block;
  288. font-size: 0;
  289. &.used {
  290. border: 2rpx solid #EDEDED;
  291. }
  292. }
  293. .my_draw_canvas {
  294. width: 202rpx;
  295. height: 202rpx;
  296. background-color: #fff;
  297. padding: 6rpx;
  298. }
  299. }
  300. .downloadApp {
  301. background: linear-gradient( 90deg, #544F4A 0%, #302F2B 100%);
  302. border-radius: 26rpx;
  303. padding: 4rpx 12rpx;
  304. font-weight: 600;
  305. font-size: 22rpx;
  306. color: #FBEAC9;
  307. line-height: 32rpx;
  308. display: inline-block;
  309. }
  310. .download-task {
  311. padding: 0 24rpx 24rpx;
  312. image {
  313. width: 100%;
  314. }
  315. }
  316. .order-time {
  317. margin: 24rpx 26rpx 0;
  318. border-radius: 20rpx;
  319. // padding: 36rpx 24rpx;
  320. background-color: #FFFFFF;
  321. .order-item {
  322. display: flex;
  323. justify-content: space-between;
  324. // padding-bottom: 36rpx;
  325. padding: 36rpx 0;
  326. margin: 0 24rpx;
  327. border-bottom: 2rpx solid #F0F0F0;
  328. &:last-child {
  329. border-bottom: none;
  330. }
  331. .title {
  332. font-weight: 500;
  333. font-size: 30rpx;
  334. color: #131415;
  335. line-height: 42rpx;
  336. }
  337. .value {
  338. font-size: 30rpx;
  339. color: #777777;
  340. line-height: 42rpx;
  341. display: flex;
  342. &.red {
  343. color: #FE2451;
  344. }
  345. .copy {
  346. font-size: 30rpx;
  347. color: #131415;
  348. line-height: 42rpx;
  349. display: flex;
  350. align-items: center;
  351. &::before {
  352. content: '';
  353. display: block;
  354. width: 2rpx;
  355. height: 22rpx;
  356. background: #DCDCDC;
  357. margin: 0 16rpx;
  358. }
  359. }
  360. }
  361. }
  362. }
  363. .scroll-brank {
  364. height: 184rpx;
  365. width: 100%;
  366. }
  367. .order-btn {
  368. position: fixed;
  369. bottom: 0;
  370. left: 0;
  371. width: 100%;
  372. background-color: #FFFFFF;
  373. padding: 20rpx 32rpx 58rpx 40rpx;
  374. box-shadow: inset 0rpx 2rpx 0rpx 0rpx #F0F0F0;
  375. display: flex;
  376. justify-content: space-between;
  377. box-sizing: border-box;
  378. .orders {
  379. display: flex;
  380. flex-direction: column;
  381. margin-right: 40rpx;
  382. image {
  383. width: 48rpx;
  384. height: 48rpx;
  385. }
  386. text {
  387. font-weight: 500;
  388. font-size: 22rpx;
  389. color: #131415;
  390. line-height: 32rpx;
  391. text-align: center;
  392. }
  393. }
  394. .price {
  395. display: flex;
  396. align-items: center;
  397. .desc {
  398. font-weight: 500;
  399. font-size: 28rpx;
  400. color: #131415;
  401. line-height: 40rpx;
  402. }
  403. .currentPrice {
  404. font-weight: bold;
  405. color: #FE2451;
  406. font-family: DINAlternate, DINAlternate;
  407. .stuff {
  408. font-size: 32rpx;
  409. }
  410. .priceZ {
  411. font-size: 56rpx;
  412. }
  413. .priceF {
  414. font-size: 32rpx;
  415. }
  416. }
  417. }
  418. button {
  419. margin: 0;
  420. width: 100%;
  421. background: linear-gradient( 90deg, #544F4A 0%, #302F2B 100%);
  422. border-radius: 78rpx;
  423. padding: 22rpx 84rpx;
  424. font-weight: 600;
  425. font-size: 32rpx;
  426. color: #FBEAC9;
  427. line-height: 44rpx;
  428. &[disabled][type=primary] {
  429. color: #fff;
  430. background: linear-gradient( 90deg, #544F4A 0%, #302F2B 100%);
  431. opacity: 0.7;
  432. }
  433. }
  434. .refoundWaiteUse {
  435. margin-right: 28rpx;
  436. border: 2rpx solid #DCDCDC;
  437. background: #fff;
  438. border-radius: 78rpx;
  439. color: #333333;
  440. }
  441. }