order-result.less 14 KB

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