order-result.less 14 KB

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