order-result.less 14 KB

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