other-detail.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  1. @import "../../../../themes/t.cell.scss";
  2. @import "../../../../themes/page.scss";
  3. @import "../../assets/iconfont/iconfont.wxss";
  4. /* module/order/pages/order-detail/order-detail.wxss */
  5. .page-scroll__container {
  6. flex: 0 1 auto;
  7. height: var(--page-container-safeHeight, 100vh);
  8. background: #f7f8fa;
  9. }
  10. .service-package-placeholder {
  11. width: 160rpx;
  12. height: 160rpx;
  13. border-radius: 8rpx;
  14. margin-right: 20rpx;
  15. background-color: #f5f5f5;
  16. border: 1px solid #e8e8e8;
  17. display: flex;
  18. align-items: center;
  19. justify-content: center;
  20. flex-shrink: 0;
  21. }
  22. .price-total-wrapper {
  23. padding: 0 20rpx 24rpx;
  24. margin-top: -24rpx;
  25. }
  26. .price-total {
  27. display: flex;
  28. justify-content: flex-end;
  29. align-items: baseline;
  30. background: #fff;
  31. // border: 2rpx solid #ff4444;
  32. border-radius: 10rpx;
  33. padding: 32rpx;
  34. // box-shadow: 0 2rpx 8rpx rgba(255, 68, 68, 0.1);
  35. .price-value {
  36. font-size: 40rpx;
  37. color: black;
  38. font-weight: 600;
  39. }
  40. }
  41. .goods-list {
  42. background: transparent;
  43. margin-bottom: 24rpx;
  44. padding: 0 20rpx;
  45. }
  46. .category-title {
  47. padding: 24rpx 32rpx;
  48. font-size: 32rpx;
  49. font-weight: 600;
  50. color: #333;
  51. background: #fff;
  52. position: sticky;
  53. top: 0;
  54. z-index: 10;
  55. border-radius: 16rpx 16rpx 0 0;
  56. margin-bottom: 0;
  57. text-align: center;
  58. }
  59. .offline-title {
  60. padding-left: 32rpx;
  61. font-size: 32rpx;
  62. font-weight: 600;
  63. color: #333;
  64. background: #fff;
  65. position: sticky;
  66. top: 0;
  67. z-index: 10;
  68. text-align: left;
  69. }
  70. .goods-item-wrapper {
  71. background: #fff;
  72. &:last-child .goods-item {
  73. border-radius: 0 0 16rpx 16rpx;
  74. border-bottom: none;
  75. }
  76. }
  77. .goods-item {
  78. display: flex;
  79. align-items: flex-start;
  80. padding: 10rpx 32rpx;
  81. background: #fff;
  82. border-radius: 0 0 16rpx 16rpx;
  83. transition: all 0.3s ease;
  84. &:not(:last-child) {
  85. border-bottom: 1rpx solid #f0f0f0;
  86. }
  87. &:active {
  88. background: #f7f8fa;
  89. }
  90. }
  91. .goods-checkbox {
  92. margin-right: 24rpx;
  93. margin-top: 8rpx;
  94. flex-shrink: 0;
  95. }
  96. .goods-image {
  97. width: 160rpx;
  98. height: 160rpx;
  99. border-radius: 12rpx;
  100. background: #f5f5f5;
  101. margin-right: 24rpx;
  102. flex-shrink: 0;
  103. border: 1rpx solid #f0f0f0;
  104. overflow: hidden;
  105. }
  106. .goods-info {
  107. flex: 1;
  108. display: flex;
  109. flex-direction: column;
  110. min-width: 0;
  111. // justify-content: space-between;
  112. min-height: 160rpx;
  113. }
  114. .goods-name-row {
  115. display: flex;
  116. align-items: flex-start;
  117. justify-content: space-between;
  118. margin-bottom: 30rpx;
  119. gap: 12rpx;
  120. }
  121. .goods-desc-row {
  122. display: flex;
  123. align-items: center;
  124. justify-content: space-between;
  125. }
  126. .goods-name {
  127. font-size: 30rpx;
  128. font-weight: 500;
  129. color: #333;
  130. flex: 1;
  131. min-width: 0;
  132. line-height: 1.5;
  133. display: -webkit-box;
  134. -webkit-box-orient: vertical;
  135. -webkit-line-clamp: 2;
  136. line-clamp: 2;
  137. overflow: hidden;
  138. text-overflow: ellipsis;
  139. }
  140. .goods-badge {
  141. display: inline-flex;
  142. align-items: center;
  143. justify-content: center;
  144. min-width: 36rpx;
  145. height: 36rpx;
  146. padding: 0 10rpx;
  147. background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  148. color: #333;
  149. font-size: 22rpx;
  150. font-weight: 600;
  151. border-radius: 18rpx;
  152. margin-left: 12rpx;
  153. box-shadow: 0 2rpx 4rpx rgba(255, 215, 0, 0.3);
  154. }
  155. .goods-desc {
  156. font-size: 26rpx;
  157. color: #666;
  158. margin-bottom: 12rpx;
  159. line-height: 1.4;
  160. }
  161. .goods-price-row {
  162. display: flex;
  163. align-items: center;
  164. justify-content: space-between;
  165. margin-top: auto;
  166. margin-bottom: 12rpx;
  167. }
  168. .goods-price {
  169. font-size: 32rpx;
  170. font-weight: 600;
  171. color: #333;
  172. letter-spacing: -0.5rpx;
  173. }
  174. .goods-status {
  175. font-size: 30rpx;
  176. font-weight: 400;
  177. color: #ff9500;
  178. flex-shrink: 0;
  179. white-space: nowrap;
  180. background: white;
  181. padding: 0 30rpx 0 0;
  182. text-align: end;
  183. }
  184. // 快递信息
  185. .express-info {
  186. display: flex;
  187. align-items: center;
  188. justify-content: space-between;
  189. padding: 10rpx 20rpx 0 20rpx;
  190. background: white;
  191. .express-text {
  192. font-size: 28rpx;
  193. color: #333;
  194. // flex: 1;
  195. padding: 8rpx 20rpx;
  196. border-radius: 10rpx;
  197. border: 1px solid lightgray;
  198. display: flex;
  199. align-items: center;
  200. justify-content: center;
  201. }
  202. .express-arrow {
  203. font-size: 32rpx;
  204. color: black;
  205. margin-left: 12rpx;
  206. font-weight: 300;
  207. }
  208. }
  209. // 快递图标样式
  210. .express-icon {
  211. width: 40rpx;
  212. height: 40rpx;
  213. margin-right: 10rpx;
  214. flex-shrink: 0;
  215. }
  216. // 确认收货按钮
  217. .confirm-receipt-btn {
  218. margin-top: 16rpx;
  219. padding: 12rpx 24rpx;
  220. // background: #1d6ff6;
  221. border: 1px solid #1d6ff6;
  222. color: #1d6ff6;
  223. // color: #fff;
  224. font-size: 26rpx;
  225. text-align: center;
  226. border-radius: 8rpx;
  227. align-self: flex-end;
  228. &:active {
  229. background: #1556c4;
  230. opacity: 0.8;
  231. }
  232. }
  233. // 申请售后 + 评价 按钮行(图示样式:左灰底、右白底蓝框)
  234. .action-btns {
  235. display: flex;
  236. flex-direction: row;
  237. align-items: center;
  238. justify-content: flex-end;
  239. margin-top: 16rpx;
  240. }
  241. .btn-aftersale {
  242. padding: 12rpx 28rpx;
  243. border-radius: 12rpx;
  244. font-size: 26rpx;
  245. text-align: center;
  246. background-color: #e8e8e8;
  247. color: #666;
  248. }
  249. .btn-aftersale-status {
  250. padding: 12rpx 10rpx;
  251. border-radius: 12rpx;
  252. font-size: 26rpx;
  253. text-align: center;
  254. color: #fa5151;
  255. font-weight: 600;
  256. }
  257. .btn-review {
  258. padding: 12rpx 28rpx;
  259. border-radius: 12rpx;
  260. font-size: 26rpx;
  261. text-align: center;
  262. background-color: #fff;
  263. color: #1976d2;
  264. border: 1px solid #1976d2;
  265. margin-left: 20rpx;
  266. }
  267. .quantity-selector {
  268. display: flex;
  269. align-items: center;
  270. border: 2rpx solid #e8e8e8;
  271. border-radius: 12rpx;
  272. overflow: hidden;
  273. background: #fff;
  274. box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.04);
  275. }
  276. .quantity-btn {
  277. width: 64rpx;
  278. height: 64rpx;
  279. display: flex;
  280. align-items: center;
  281. justify-content: center;
  282. background: #f8f8f8;
  283. font-size: 36rpx;
  284. font-weight: 500;
  285. color: #333;
  286. user-select: none;
  287. transition: all 0.2s ease;
  288. position: relative;
  289. &.minus {
  290. border-right: 1rpx solid #e8e8e8;
  291. }
  292. &.plus {
  293. border-left: 1rpx solid #e8e8e8;
  294. }
  295. &:active:not(.disabled) {
  296. background: #1d6ff6;
  297. color: #fff;
  298. transform: scale(0.95);
  299. }
  300. &.disabled {
  301. opacity: 0.4;
  302. background: #f5f5f5;
  303. color: #ccc;
  304. cursor: not-allowed;
  305. }
  306. }
  307. .quantity-input {
  308. width: 90rpx;
  309. height: 64rpx;
  310. text-align: center;
  311. font-size: 30rpx;
  312. font-weight: 500;
  313. color: #333;
  314. background: #fff;
  315. border: none;
  316. padding: 0;
  317. &[disabled] {
  318. background: #f8f8f8;
  319. color: #999;
  320. opacity: 0.6;
  321. }
  322. }
  323. .quantity-text {
  324. font-size: 28rpx;
  325. font-weight: 400;
  326. color: #666;
  327. padding: 0;
  328. }
  329. .footer-placeholder {
  330. height: 120rpx;
  331. }
  332. .footer-bar {
  333. position: fixed;
  334. bottom: 0;
  335. left: 0;
  336. right: 0;
  337. width: 100%;
  338. min-height: 100rpx;
  339. background: #fff;
  340. display: flex;
  341. align-items: center;
  342. padding: 20rpx 10rpx 0 0;
  343. box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.08);
  344. z-index: 100;
  345. box-sizing: border-box;
  346. border-top: 1rpx solid #f0f0f0;
  347. }
  348. .footer-left {
  349. flex-shrink: 0;
  350. margin-right: 32rpx;
  351. }
  352. .footer-center {
  353. flex: 1;
  354. display: flex;
  355. align-items: baseline;
  356. font-size: 28rpx;
  357. color: #333;
  358. line-height: 1.4;
  359. padding-left: 20px;
  360. }
  361. .footer-text {
  362. color: #666;
  363. font-size: 26rpx;
  364. }
  365. .footer-price {
  366. color: #ff4444;
  367. font-weight: 700;
  368. font-size: 36rpx;
  369. margin-left: 8rpx;
  370. letter-spacing: -0.5rpx;
  371. }
  372. .footer-right {
  373. flex-shrink: 0;
  374. padding-right: 10px;
  375. }
  376. .checkout-btn {
  377. line-height: 76rpx;
  378. text-align: center;
  379. background: linear-gradient(135deg, #1d6ff6 0%, #4a90ff 100%);
  380. color: #fff;
  381. font-size: 30rpx;
  382. font-weight: 600;
  383. border-radius: 38rpx;
  384. box-shadow: 0 4rpx 12rpx rgba(29, 111, 246, 0.3);
  385. transition: all 0.3s ease;
  386. padding: 0 20px;
  387. user-select: none;
  388. &:active:not(.checkout-btn--loading) {
  389. opacity: 0.9;
  390. transform: scale(0.98);
  391. box-shadow: 0 2rpx 8rpx rgba(29, 111, 246, 0.4);
  392. }
  393. &.checkout-btn--loading {
  394. opacity: 0.7;
  395. pointer-events: none;
  396. cursor: not-allowed;
  397. }
  398. }
  399. .t-checkbox--block {
  400. padding: 0 !important;
  401. }
  402. .info-box {
  403. padding: 10rpx;
  404. }
  405. .delivery-address {
  406. font-weight: 500;
  407. font-size: 30rpx;
  408. color: #333;
  409. padding: 30rpx 20rpx;
  410. }
  411. .order-no {
  412. font-size: 28rpx;
  413. color: black;
  414. margin: 24rpx 0 0 0;
  415. }
  416. .address-card {
  417. background: #fff;
  418. border-radius: 16rpx;
  419. overflow: hidden;
  420. box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
  421. &.address-card--clickable {
  422. cursor: pointer;
  423. transition: all 0.3s ease;
  424. &:active {
  425. opacity: 0.8;
  426. transform: scale(0.98);
  427. }
  428. }
  429. &.address-card--disabled {
  430. opacity: 0.9;
  431. pointer-events: none;
  432. }
  433. }
  434. .address-content {
  435. display: flex;
  436. align-items: flex-start;
  437. padding: 32rpx 24rpx;
  438. position: relative;
  439. }
  440. .address-icon-wrapper {
  441. flex-shrink: 0;
  442. width: 64rpx;
  443. height: 64rpx;
  444. display: flex;
  445. align-items: center;
  446. justify-content: center;
  447. margin-right: 10rpx;
  448. border-radius: 50%;
  449. }
  450. .address-icon {
  451. width: 36rpx;
  452. height: 36rpx;
  453. }
  454. .address-info {
  455. flex: 1;
  456. min-width: 0;
  457. display: flex;
  458. flex-direction: column;
  459. gap: 12rpx;
  460. }
  461. .address-header {
  462. display: flex;
  463. align-items: center;
  464. gap: 24rpx;
  465. flex-wrap: wrap;
  466. }
  467. .address-name {
  468. font-weight: 500;
  469. font-size: 30rpx;
  470. color: #333;
  471. line-height: 1.4;
  472. margin-right: 20rpx;
  473. }
  474. .address-phone {
  475. font-weight: 400;
  476. font-size: 28rpx;
  477. color: #333;
  478. line-height: 1.4;
  479. }
  480. .address-detail {
  481. color: #666;
  482. font-size: 26rpx;
  483. line-height: 1.6;
  484. word-break: break-all;
  485. }
  486. .address-actions {
  487. flex-shrink: 0;
  488. display: flex;
  489. align-items: center;
  490. gap: 20rpx;
  491. margin-left: 16rpx;
  492. }
  493. .edit-icon {
  494. font-size: 32rpx;
  495. color: #666;
  496. opacity: 0.7;
  497. }
  498. .arrow-icon {
  499. font-size: 40rpx;
  500. color: #ccc;
  501. margin-left: 10rpx;
  502. }
  503. // 价格汇总区域
  504. .price-summary-section {
  505. padding: 0 20rpx 20rpx;
  506. background: #f7f8fa;
  507. }
  508. .price-summary-card {
  509. background: #fff;
  510. border-radius: 10rpx;
  511. padding: 32rpx;
  512. display: flex;
  513. gap: 24rpx;
  514. }
  515. .price-row {
  516. justify-content: flex-end;
  517. align-items: baseline;
  518. }
  519. .price-label {
  520. font-size: 30rpx;
  521. color: #333;
  522. font-weight: 400;
  523. }
  524. .payable-value {
  525. font-size: 40rpx;
  526. color: #333;
  527. font-weight: 700;
  528. }
  529. // 订单信息区域
  530. .order-info-section {
  531. padding: 0 20rpx 20rpx;
  532. background: #f7f8fa;
  533. }
  534. .info-card {
  535. background: #fff;
  536. border-radius: 0;
  537. margin-bottom: 0;
  538. padding: 0 32rpx;
  539. overflow: hidden;
  540. margin-top: 20rpx;
  541. border-radius: 10rpx;
  542. &:first-child {
  543. margin-top: 0;
  544. }
  545. }
  546. .info-item {
  547. display: flex;
  548. align-items: center;
  549. justify-content: space-between;
  550. padding: 32rpx 0;
  551. min-height: 88rpx;
  552. box-sizing: border-box;
  553. }
  554. .info-label {
  555. font-size: 28rpx;
  556. color: #333;
  557. font-weight: 400;
  558. flex-shrink: 0;
  559. }
  560. .info-value {
  561. font-size: 28rpx;
  562. color: #333;
  563. text-align: right;
  564. flex: 1;
  565. word-break: break-all;
  566. margin-left: 24rpx;
  567. }
  568. .info-value-row {
  569. display: flex;
  570. align-items: center;
  571. justify-content: flex-end;
  572. flex: 1;
  573. gap: 16rpx;
  574. margin-left: 24rpx;
  575. }
  576. .copy-btn {
  577. font-size: 28rpx;
  578. color: #1d6ff6;
  579. flex-shrink: 0;
  580. margin-left: 10px;
  581. }
  582. .info-divider {
  583. height: 1rpx;
  584. background: #f0f0f0;
  585. margin: 0;
  586. width: 100%;
  587. }
  588. // 备注相关样式
  589. .remark-item {
  590. padding: 32rpx 0;
  591. display: flex;
  592. flex-direction: column;
  593. }
  594. .remark-input-wrapper {
  595. margin-top: 20rpx;
  596. position: relative;
  597. width: 100%;
  598. }
  599. .remark-textarea {
  600. width: 100%;
  601. min-height: 120rpx;
  602. padding: 20rpx;
  603. font-size: 28rpx;
  604. color: #333;
  605. background: #f7f8fa;
  606. border-radius: 8rpx;
  607. box-sizing: border-box;
  608. line-height: 1.6;
  609. border: 1rpx solid #e8e8e8;
  610. &:focus {
  611. border-color: #1d6ff6;
  612. background: #fff;
  613. }
  614. }
  615. .remark-count {
  616. display: flex;
  617. justify-content: flex-end;
  618. margin-top: 12rpx;
  619. }
  620. .remark-count-text {
  621. font-size: 24rpx;
  622. color: #999;
  623. }