order-result.less 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793
  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. .goods-title {
  58. font-weight: 600;
  59. font-size: 30rpx;
  60. color: #502F00;
  61. line-height: 42rpx;
  62. padding: 0 0 32rpx;
  63. }
  64. }
  65. .item-content {
  66. display: flex;
  67. width: 100%;
  68. &+.item-content {
  69. padding-top: 60rpx;
  70. }
  71. .goods-icon {
  72. width: 140rpx;
  73. height: 140rpx;
  74. margin-right: 24rpx;
  75. flex-shrink: 0;
  76. border-radius: 6px;
  77. overflow: hidden;
  78. }
  79. .goods-desc {
  80. flex: 1 auto;
  81. display: flex;
  82. flex-direction: column;
  83. }
  84. .goodsInfo {
  85. display: flex;
  86. justify-content: space-between;
  87. padding-top: 4rpx;
  88. .goods-name {
  89. flex: 1 auto;
  90. white-space: nowrap;
  91. overflow: hidden;
  92. font-weight: 600;
  93. font-size: 30rpx;
  94. color: #131415;
  95. line-height: 50rpx;
  96. text-overflow: ellipsis;
  97. max-width: 480rpx;
  98. }
  99. }
  100. .goods-price {
  101. flex-shrink: 0;
  102. font-family: DINAlternate, DINAlternate;
  103. font-weight: bold;
  104. color: #131415;
  105. line-height: 48rpx;
  106. .stuff {
  107. font-size: 28rpx;
  108. padding-right: 4rpx;
  109. }
  110. .priceZ {
  111. font-size: 40rpx;
  112. }
  113. .priceF {
  114. font-size: 32rpx;
  115. }
  116. }
  117. .origin-price {
  118. font-weight: 400;
  119. font-size: 24rpx;
  120. color: #6D4718;
  121. line-height: 1;
  122. text {
  123. text-decoration: line-through;
  124. }
  125. }
  126. .goods-type {
  127. display: flex;
  128. align-items: center;
  129. padding-top: 28rpx;
  130. .goods-card {
  131. height: 40rpx;
  132. background: #fdf2e2;
  133. border-radius: 6rpx;
  134. font-size: 26rpx;
  135. color: #502f00;
  136. line-height: 40rpx;
  137. padding: 0 12rpx;
  138. }
  139. .goods-num {
  140. font-size: 28rpx;
  141. color: #777;
  142. line-height: 36rpx;
  143. }
  144. }
  145. // .goods-icon {
  146. // width: 140rpx;
  147. // height: 140rpx;
  148. // margin-right: 24rpx;
  149. // flex-shrink: 0;
  150. // border-radius: 6px;
  151. // overflow: hidden;
  152. // }
  153. // .goods-desc {
  154. // flex: 1 auto;
  155. // display: flex;
  156. // flex-direction: column;
  157. // }
  158. // .goodsInfo {
  159. // display: flex;
  160. // justify-content: space-between;
  161. // padding-top: 4rpx;
  162. // .goods-name {
  163. // flex: 1 auto;
  164. // white-space: nowrap;
  165. // overflow: hidden;
  166. // font-weight: 600;
  167. // font-size: 30rpx;
  168. // color: #131415;
  169. // text-overflow: ellipsis;
  170. // max-width: 360rpx;
  171. // }
  172. // .goods-price {
  173. // flex-shrink: 0;
  174. // font-family: DINAlternate, DINAlternate;
  175. // font-weight: bold;
  176. // font-size: 28rpx;
  177. // color: #131415;
  178. // line-height: 48rpx;
  179. // text {
  180. // font-size: 34rpx;
  181. // }
  182. // }
  183. // }
  184. // .goods-type {
  185. // display: flex;
  186. // justify-content: space-between;
  187. // align-items: center;
  188. // padding-top: 12rpx;
  189. // .innerGroup {
  190. // display: flex;
  191. // position: relative;
  192. // }
  193. // .innerFree {
  194. // margin-left: 8rpx;
  195. // font-size: 24rpx;
  196. // color: #FF0047;
  197. // line-height: 34rpx;
  198. // border-radius: 4rpx;
  199. // border: 2rpx solid rgba(255,0,71,0.25);
  200. // padding: 2rpx 8rpx;
  201. // // text {
  202. // // font-weight: bold;
  203. // // }
  204. // }
  205. // .goods-card {
  206. // background: #FDF2E2;
  207. // border-radius: 6rpx;
  208. // font-size: 26rpx;
  209. // color: #502F00;
  210. // line-height: 36rpx;
  211. // padding: 2rpx 10rpx;
  212. // }
  213. // .goods-num {
  214. // font-size: 26rpx;
  215. // color: #777777;
  216. // line-height: 36rpx;
  217. // }
  218. // }
  219. }
  220. .goodsInfos {
  221. margin-top: 32rpx;
  222. // border-top: 2rpx solid #F2F2F2;
  223. .qrcode-line {
  224. position: relative;
  225. background: linear-gradient(to right, transparent 50%, rgba(219, 219, 219, 1) 50%) repeat-x; // 设置水平方向的线性渐变,透明与半透明色交替,模拟虚线线段
  226. background-size: 10px 1px; // 设置背景大小,控制虚线的线段长度和粗细,这里线段长度为10px,粗细为1px
  227. height: 2rpx; // 元素高度,可根据实际需求调整,用于展示虚线效果的高度范围
  228. // margin: 42rpx 0 32rpx;
  229. &::before,
  230. &::after {
  231. content: '';
  232. position: absolute;
  233. top: -20rpx;
  234. display: block;
  235. width: 40rpx;
  236. height: 40rpx;
  237. background-color: #F4F4F4;
  238. border-radius: 50%;
  239. }
  240. &::before {
  241. left: -50rpx;
  242. }
  243. &::after {
  244. right: -50rpx;
  245. }
  246. }
  247. }
  248. .goodsInfo-item {
  249. display: flex;
  250. justify-content: space-between;
  251. align-items: center;
  252. padding-top: 32rpx;
  253. .title {
  254. font-weight: 400;
  255. font-size: 28rpx;
  256. color: #131415;
  257. line-height: 40rpx;
  258. }
  259. .goods-price {
  260. flex-shrink: 0;
  261. font-family: DINAlternate, DINAlternate;
  262. font-weight: bold;
  263. color: #131415;
  264. line-height: 48rpx;
  265. .stuff {
  266. font-size: 32rpx;
  267. padding-right: 4rpx;
  268. }
  269. .priceZ {
  270. font-size: 48rpx;
  271. }
  272. .priceF {
  273. font-size: 32rpx;
  274. }
  275. }
  276. .calc-price {
  277. font-weight: bold;
  278. font-size: 28rpx;
  279. color: #FF0047;
  280. line-height: 32rpx;
  281. }
  282. }
  283. /* HTML: <div class="loader"></div> */
  284. .loader {
  285. position: absolute;
  286. top: 50%;
  287. left: 50%;
  288. right: 0;
  289. bottom: 0;
  290. margin-top: -25rpx;
  291. margin-left: -25rpx;
  292. z-index: 9;
  293. width: 50rpx;
  294. aspect-ratio: 1;
  295. border-radius: 50%;
  296. background:
  297. radial-gradient(farthest-side, #E8E8E8 94%, #0000) top/8rpx 8rpx no-repeat,
  298. conic-gradient(#0000 30%, #E8E8E8);
  299. -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8rpx), #000 0);
  300. animation: tempLoading 1s infinite linear;
  301. }
  302. @keyframes tempLoading {
  303. 100% {
  304. transform: rotate(1turn)
  305. }
  306. }
  307. .qrcode-title {
  308. padding: 40rpx 24rpx;
  309. font-weight: 600;
  310. font-size: 30rpx;
  311. color: #131415;
  312. line-height: 42rpx;
  313. }
  314. // .qrcode-line {
  315. // position: relative;
  316. // background: linear-gradient(to right, transparent 50%, rgba(219, 219, 219, 1) 50%) repeat-x; // 设置水平方向的线性渐变,透明与半透明色交替,模拟虚线线段
  317. // background-size: 10px 1px; // 设置背景大小,控制虚线的线段长度和粗细,这里线段长度为10px,粗细为1px
  318. // height: 2rpx; // 元素高度,可根据实际需求调整,用于展示虚线效果的高度范围
  319. // margin: 0 24rpx;
  320. // &::before,
  321. // &::after {
  322. // content: '';
  323. // position: absolute;
  324. // top: -20rpx;
  325. // display: block;
  326. // width: 40rpx;
  327. // height: 40rpx;
  328. // background-color: #F4F4F4;
  329. // border-radius: 50%;
  330. // }
  331. // &::before {
  332. // left: -44rpx;
  333. // }
  334. // &::after {
  335. // right: -44rpx;
  336. // }
  337. // }
  338. .only_canvas {
  339. position: absolute;
  340. left: -300rpx;
  341. top: 0;
  342. width: 202rpx;
  343. height: 202rpx;
  344. }
  345. .qrcode-text {
  346. font-size: 28rpx;
  347. color: #777;
  348. line-height: 40rpx;
  349. border-radius: 12rpx;
  350. font-size: 26rpx;
  351. border: 2rpx solid #F2F2F2;
  352. padding: 16rpx 12rpx;
  353. text-align: left;
  354. margin: 30rpx 20rpx;
  355. text {
  356. color: #DDA64C;
  357. font-weight: bold;
  358. }
  359. &.used {
  360. // padding: 16rpx 12rpx;
  361. color: #777;
  362. display: flex;
  363. align-items: center;
  364. justify-content: space-between;
  365. }
  366. .free {
  367. color: #FF0047;
  368. }
  369. .bold {
  370. font-weight: bold;
  371. }
  372. }
  373. .qrcode-section {
  374. margin-top: 20rpx;
  375. padding-bottom: 32rpx;
  376. padding: 0 24rpx 28rpx;
  377. .qrcode-block {
  378. display: flex;
  379. margin-top: 20rpx;
  380. background: #FBF5EE;
  381. border-radius: 20rpx;
  382. overflow: hidden;
  383. .left-text {
  384. padding: 0 18rpx 0 22rpx;
  385. background: linear-gradient(180deg, #544F4A 0%, #302F2B 100%);
  386. display: flex;
  387. align-items: center;
  388. justify-content: center;
  389. writing-mode: vertical-lr;
  390. font-weight: 600;
  391. font-size: 26rpx;
  392. color: #FBEAC9;
  393. line-height: 36rpx;
  394. letter-spacing: 10rpx;
  395. }
  396. }
  397. .qrCodeSection {
  398. flex: 1;
  399. width: 100%;
  400. display: flex;
  401. align-items: center;
  402. flex-direction: column;
  403. }
  404. .qrcode-btn--section {
  405. display: flex;
  406. align-items: center;
  407. padding-bottom: 22rpx;
  408. button {
  409. border-radius: 78rpx;
  410. line-height: 26px;
  411. padding: 5rpx 13rpx;
  412. width: auto;
  413. font-weight: 600;
  414. font-size: 12px;
  415. margin: 0 8rpx;
  416. min-width: 148rpx;
  417. box-sizing: border-box;
  418. }
  419. .submit {
  420. background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%);
  421. color: #FBEAC9;
  422. }
  423. .download {
  424. border: 1px solid #C8C8C8;
  425. // box-sizing: content-box;
  426. line-height: 24px;
  427. background-color: transparent;
  428. color: #333333;
  429. }
  430. }
  431. .qrcode-wrap {
  432. position: relative;
  433. margin: 22rpx auto 22rpx;
  434. border: 2rpx solid #ECCEA0;
  435. padding: 6rpx;
  436. border-radius: 8rpx;
  437. display: inline-block;
  438. font-size: 0;
  439. &.used {
  440. border: 2rpx solid #EDEDED;
  441. }
  442. }
  443. .my_draw_canvas {
  444. width: 202rpx;
  445. height: 202rpx;
  446. background-color: #fff;
  447. padding: 6rpx;
  448. }
  449. }
  450. .downloadApp {
  451. background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%);
  452. border-radius: 26rpx;
  453. padding: 4rpx 12rpx;
  454. font-weight: 600;
  455. font-size: 22rpx;
  456. color: #FBEAC9;
  457. line-height: 32rpx;
  458. display: inline-block;
  459. }
  460. .download-task {
  461. padding: 0 24rpx 24rpx;
  462. image {
  463. width: 100%;
  464. }
  465. }
  466. .order-time {
  467. margin: 24rpx 26rpx 0;
  468. border-radius: 20rpx;
  469. // padding: 36rpx 24rpx;
  470. background-color: #FFFFFF;
  471. .order-item {
  472. display: flex;
  473. justify-content: space-between;
  474. // padding-bottom: 36rpx;
  475. padding: 36rpx 0;
  476. margin: 0 24rpx;
  477. border-bottom: 2rpx solid #F0F0F0;
  478. &:last-child {
  479. border-bottom: none;
  480. }
  481. .title {
  482. font-weight: 500;
  483. font-size: 30rpx;
  484. color: #131415;
  485. line-height: 42rpx;
  486. }
  487. .value {
  488. font-size: 30rpx;
  489. color: #777777;
  490. line-height: 42rpx;
  491. display: flex;
  492. &.red {
  493. color: #FE2451;
  494. }
  495. .copy {
  496. font-size: 30rpx;
  497. color: #131415;
  498. line-height: 42rpx;
  499. display: flex;
  500. align-items: center;
  501. &::before {
  502. content: '';
  503. display: block;
  504. width: 2rpx;
  505. height: 22rpx;
  506. background: #DCDCDC;
  507. margin: 0 16rpx;
  508. }
  509. }
  510. }
  511. }
  512. }
  513. .scroll-brank {
  514. height: 44rpx;
  515. width: 100%;
  516. }
  517. .order-btn {
  518. position: fixed;
  519. bottom: 0;
  520. left: 0;
  521. width: 100%;
  522. background-color: #FFFFFF;
  523. padding: 20rpx 32rpx 58rpx 40rpx;
  524. box-shadow: inset 0rpx 2rpx 0rpx 0rpx #F0F0F0;
  525. display: flex;
  526. justify-content: space-between;
  527. box-sizing: border-box;
  528. .orders {
  529. display: flex;
  530. flex-direction: column;
  531. margin-right: 40rpx;
  532. image {
  533. width: 48rpx;
  534. height: 48rpx;
  535. }
  536. text {
  537. font-weight: 500;
  538. font-size: 22rpx;
  539. color: #131415;
  540. line-height: 32rpx;
  541. text-align: center;
  542. }
  543. }
  544. .price {
  545. display: flex;
  546. align-items: center;
  547. .desc {
  548. font-weight: 500;
  549. font-size: 28rpx;
  550. color: #131415;
  551. line-height: 40rpx;
  552. }
  553. .currentPrice {
  554. font-weight: bold;
  555. color: #FE2451;
  556. font-family: DINAlternate, DINAlternate;
  557. .stuff {
  558. font-size: 32rpx;
  559. }
  560. .priceZ {
  561. font-size: 56rpx;
  562. }
  563. .priceF {
  564. font-size: 32rpx;
  565. }
  566. }
  567. }
  568. button {
  569. margin: 0;
  570. width: 100%;
  571. background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%);
  572. border-radius: 78rpx;
  573. padding: 22rpx 84rpx;
  574. font-weight: 600;
  575. font-size: 32rpx;
  576. color: #FBEAC9;
  577. line-height: 44rpx;
  578. &[disabled][type=primary] {
  579. color: #fff;
  580. background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%);
  581. opacity: 0.7;
  582. }
  583. }
  584. .refoundWaiteUse {
  585. margin-right: 28rpx;
  586. border: 2rpx solid #DCDCDC;
  587. background: #fff;
  588. border-radius: 78rpx;
  589. color: #333333;
  590. }
  591. }
  592. .select-section {
  593. margin: 24rpx 26rpx 0;
  594. background: #ffffff;
  595. border-radius: 20rpx;
  596. padding: 24rpx;
  597. display: flex;
  598. align-items: center;
  599. justify-content: space-between;
  600. .name {
  601. font-weight: 600;
  602. font-size: 30rpx;
  603. color: #000000;
  604. line-height: 42rpx;
  605. }
  606. .icon-arrow {
  607. width: 24rpx;
  608. height: 24rpx;
  609. }
  610. .add-buy-btn {
  611. width: 104rpx;
  612. background: linear-gradient(90deg, #544f4a 0%, #302f2b 100%);
  613. border-radius: 26rpx;
  614. margin: 0;
  615. padding: 0;
  616. font-weight: 600;
  617. font-size: 24rpx;
  618. color: #fbeac9;
  619. line-height: 44rpx;
  620. display: flex;
  621. align-items: center;
  622. justify-content: center;
  623. }
  624. }
  625. .select-address {
  626. .address-text {
  627. font-weight: 600;
  628. font-size: 30rpx;
  629. color: #000000;
  630. line-height: 42rpx;
  631. word-break: break-all;
  632. word-wrap: break-word;
  633. }
  634. .address-user {
  635. padding-top: 12rpx;
  636. font-size: 28rpx;
  637. color: #333333;
  638. line-height: 40rpx;
  639. text {
  640. padding-right: 12rpx;
  641. }
  642. }
  643. .icon-arrow {
  644. width: 24rpx;
  645. height: 24rpx;
  646. }
  647. }
  648. .select-buy-user {
  649. flex-direction: column;
  650. padding: 34rpx 24rpx;
  651. .title {
  652. display: flex;
  653. width: 100%;
  654. justify-content: space-between;
  655. padding-bottom: 32rpx;
  656. border-bottom: 2rpx solid #F2F2F2;
  657. .name {
  658. color: #502F00;
  659. }
  660. }
  661. .user-list {
  662. padding-top: 32rpx;
  663. width: 100%;
  664. }
  665. .user-item {
  666. padding-bottom: 32rpx;
  667. font-size: 28rpx;
  668. color: #131415;
  669. line-height: 40rpx;
  670. display: flex;
  671. // align-items: center;
  672. justify-content: space-between;
  673. .left-label {
  674. width: 196rpx;
  675. }
  676. .right-value {
  677. flex: 1;
  678. text-align: right;
  679. word-break: break-all;
  680. word-wrap: break-word;
  681. color: #777777;
  682. }
  683. }
  684. }