order-result.less 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840
  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. align-items: center;
  89. padding-top: 12rpx;
  90. .goods-name {
  91. flex: 1 auto;
  92. white-space: nowrap;
  93. overflow: hidden;
  94. font-weight: 600;
  95. font-size: 30rpx;
  96. color: #333;
  97. line-height: 50rpx;
  98. text-overflow: ellipsis;
  99. max-width: 280rpx;
  100. }
  101. .goods-current-price {
  102. font-weight: bold;
  103. font-family: DINAlternate, DINAlternate;
  104. font-size: 28rpx;
  105. color: #131415;
  106. line-height: 48rpx;
  107. text {
  108. font-size: 36rpx;
  109. padding-left: 4rpx;
  110. }
  111. }
  112. }
  113. .goods-price {
  114. flex-shrink: 0;
  115. font-family: DINAlternate, DINAlternate;
  116. font-weight: bold;
  117. color: #131415;
  118. line-height: 48rpx;
  119. font-size: 28px;
  120. text {
  121. padding-left: 2rpx;
  122. font-size: 36rpx
  123. }
  124. .stuff {
  125. font-size: 28rpx;
  126. padding-right: 4rpx;
  127. }
  128. .priceZ {
  129. font-size: 40rpx;
  130. }
  131. .priceF {
  132. font-size: 32rpx;
  133. }
  134. }
  135. .goods-current-price {
  136. font-weight: bold;
  137. font-family: DINAlternate, DINAlternate;
  138. font-size: 28rpx;
  139. color: #131415;
  140. line-height: 48rpx;
  141. text {
  142. font-size: 36rpx;
  143. padding-left: 4rpx;
  144. }
  145. }
  146. .origin-price {
  147. font-weight: 400;
  148. font-size: 24rpx;
  149. color: #6D4718;
  150. line-height: 1;
  151. }
  152. .goods-type {
  153. display: flex;
  154. align-items: center;
  155. padding-top: 10rpx;
  156. justify-content: space-between;
  157. .goods-card {
  158. background: #FFF1E0;
  159. border-radius: 6rpx;
  160. font-size: 26rpx;
  161. color: #FE4600;
  162. line-height: 40rpx;
  163. padding: 0 12rpx;
  164. }
  165. .goods-num {
  166. font-size: 26rpx;
  167. color: #AAA;
  168. line-height: 36rpx;
  169. }
  170. }
  171. }
  172. .goodsInfos {
  173. margin-top: 30rpx;
  174. // border-top: 2rpx solid #F2F2F2;
  175. .qrcode-line {
  176. position: relative;
  177. // background: linear-gradient(to right, transparent 50%, rgba(219, 219, 219, 1) 50%) repeat-x; // 设置水平方向的线性渐变,透明与半透明色交替,模拟虚线线段
  178. // background-size: 10px 1px; // 设置背景大小,控制虚线的线段长度和粗细,这里线段长度为10px,粗细为1px
  179. background-color: #F2F2F2;
  180. height: 2rpx; // 元素高度,可根据实际需求调整,用于展示虚线效果的高度范围
  181. margin: 24rpx 0 28rpx;
  182. // &::before,
  183. // &::after {
  184. // content: '';
  185. // position: absolute;
  186. // top: -20rpx;
  187. // display: block;
  188. // width: 40rpx;
  189. // height: 40rpx;
  190. // background-color: #F4F4F4;
  191. // border-radius: 50%;
  192. // }
  193. // &::before {
  194. // left: -50rpx;
  195. // }
  196. // &::after {
  197. // right: -50rpx;
  198. // }
  199. }
  200. }
  201. .goodsInfo-item {
  202. display: flex;
  203. justify-content: space-between;
  204. align-items: center;
  205. padding-top: 28rpx;
  206. &:first-child {
  207. padding-top: 0;
  208. .title {
  209. color: #777;
  210. }
  211. }
  212. .title {
  213. font-weight: 400;
  214. font-size: 28rpx;
  215. color: #FE2451;
  216. line-height: 40rpx;
  217. }
  218. .goods-price {
  219. flex-shrink: 0;
  220. font-family: DINAlternate, DINAlternate;
  221. font-weight: bold;
  222. color: #131415;
  223. line-height: 48rpx;
  224. .stuff {
  225. font-size: 28rpx;
  226. padding-right: 4rpx;
  227. }
  228. .priceZ {
  229. font-size: 32rpx;
  230. }
  231. .priceF {
  232. font-size: 24rpx;
  233. }
  234. }
  235. .calc-price {
  236. // font-weight: bold;
  237. // font-size: 28rpx;
  238. color: #FF0047;
  239. // line-height: 32rpx;
  240. }
  241. }
  242. .goodsInfo-count {
  243. display: flex;
  244. justify-content: flex-end;
  245. .goods-price {
  246. flex-shrink: 0;
  247. font-family: DINAlternate, DINAlternate;
  248. font-weight: bold;
  249. color: #131415;
  250. // line-height: 48rpx;
  251. display: flex;
  252. align-items: flex-end;
  253. .before {
  254. font-weight: 400;
  255. font-size: 24rpx;
  256. color: #777777;
  257. vertical-align: middle;
  258. padding-right: 6rpx;
  259. }
  260. .red {
  261. color: #FE4600;
  262. }
  263. .stuff {
  264. font-size: 28rpx;
  265. padding-right: 4rpx;
  266. line-height: 1.1;
  267. }
  268. .priceZ {
  269. font-size: 36rpx;
  270. line-height: 1;
  271. color: #FE4600;
  272. }
  273. .priceF {
  274. font-size: 24rpx;
  275. color: #FE4600;
  276. }
  277. .afterTxt {
  278. font-weight: 400;
  279. font-size: 24rpx;
  280. color: #777777;
  281. vertical-align: middle;
  282. padding-left: 12rpx;
  283. }
  284. .afterPrice {
  285. color: #333333;
  286. font-size: 36rpx;
  287. line-height: 1;
  288. }
  289. }
  290. }
  291. .addBuyer {
  292. position: relative;
  293. margin: 26rpx;
  294. background: #fff;
  295. border-radius: 20rpx;
  296. display: flex;
  297. align-items: center;
  298. justify-content: space-between;
  299. padding: 24rpx;
  300. overflow: hidden;
  301. .addressTop {
  302. position: absolute;
  303. z-index: 1;
  304. top: 0;
  305. left: 0;
  306. width: 100%;
  307. }
  308. .icon-man {
  309. width: 44rpx;
  310. height: 44rpx;
  311. margin-right: 16rpx;
  312. flex-shrink: 0;
  313. &.selected {
  314. width: 36rpx;
  315. height: 36rpx;
  316. }
  317. }
  318. .addBuyer-left {
  319. display: flex;
  320. width: 100%;
  321. }
  322. .users {
  323. display: flex;
  324. font-weight: 600;
  325. font-size: 32rpx;
  326. color: #131415;
  327. line-height: 44rpx;
  328. // width: 540rpx;
  329. // white-space: nowrap;
  330. // overflow: hidden;
  331. // text-overflow: ellipsis;
  332. }
  333. .address {
  334. padding-bottom: 16rpx;
  335. font-size: 28rpx;
  336. color: #333333;
  337. font-weight: bold;
  338. line-height: 40rpx;
  339. display: flex;
  340. align-items: center;
  341. text {
  342. padding-right: 24rpx;
  343. &:last-child {
  344. color: #777777;
  345. font-weight: 400;
  346. }
  347. }
  348. }
  349. .selected {
  350. width: 100%;
  351. .users {
  352. font-weight: 400;
  353. font-size: 28rpx;
  354. color: #131415;
  355. display: block;
  356. // width: 600rpx;
  357. word-wrap: break-word;
  358. word-break: break-all;
  359. }
  360. .address {
  361. display: flex;
  362. // flex-direction: column;
  363. .userName {
  364. max-width: 300rpx;
  365. white-space: nowrap;
  366. overflow: hidden;
  367. text-overflow: ellipsis;
  368. }
  369. }
  370. }
  371. .arrow-right {
  372. width: 24rpx;
  373. height: 24rpx;
  374. }
  375. }
  376. .goodsInfos {
  377. margin-top: 30rpx;
  378. // border-top: 2rpx solid #F2F2F2;
  379. .qrcode-line {
  380. position: relative;
  381. // background: linear-gradient(to right, transparent 50%, rgba(219, 219, 219, 1) 50%) repeat-x; // 设置水平方向的线性渐变,透明与半透明色交替,模拟虚线线段
  382. // background-size: 10px 1px; // 设置背景大小,控制虚线的线段长度和粗细,这里线段长度为10px,粗细为1px
  383. background-color: #F2F2F2;
  384. height: 2rpx; // 元素高度,可根据实际需求调整,用于展示虚线效果的高度范围
  385. margin: 24rpx 0 28rpx;
  386. // &::before,
  387. // &::after {
  388. // content: '';
  389. // position: absolute;
  390. // top: -20rpx;
  391. // display: block;
  392. // width: 40rpx;
  393. // height: 40rpx;
  394. // background-color: #F4F4F4;
  395. // border-radius: 50%;
  396. // }
  397. // &::before {
  398. // left: -50rpx;
  399. // }
  400. // &::after {
  401. // right: -50rpx;
  402. // }
  403. }
  404. }
  405. .goodsInfo-item {
  406. display: flex;
  407. justify-content: space-between;
  408. align-items: center;
  409. padding-top: 28rpx;
  410. &:first-child {
  411. padding-top: 0;
  412. .title {
  413. color: #777;
  414. }
  415. }
  416. .title {
  417. font-weight: 400;
  418. font-size: 28rpx;
  419. color: #FE2451;
  420. line-height: 40rpx;
  421. }
  422. .goods-price {
  423. flex-shrink: 0;
  424. font-family: DINAlternate, DINAlternate;
  425. font-weight: bold;
  426. color: #131415;
  427. line-height: 48rpx;
  428. .stuff {
  429. font-size: 28rpx;
  430. padding-right: 4rpx;
  431. }
  432. .priceZ {
  433. font-size: 32rpx;
  434. }
  435. .priceF {
  436. font-size: 24rpx;
  437. }
  438. }
  439. .calc-price {
  440. // font-weight: bold;
  441. // font-size: 28rpx;
  442. color: #FF0047;
  443. // line-height: 32rpx;
  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. }