order-result.less 14 KB

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