confirme-order.scss 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569
  1. @import "../../../../themes/t.cell.scss";
  2. @import "../../../../themes/page.scss";
  3. /* module/order/pages/confirme-order/confirme-order.wxss */
  4. .page-scroll__container {
  5. flex: 0 1 auto;
  6. height: var(--page-container-safeHeight, 100vh);
  7. background: #f7f8fa;
  8. padding-bottom: 210rpx;
  9. }
  10. .bottom {
  11. padding-bottom: 0;
  12. }
  13. .service-package-placeholder {
  14. width: 160rpx;
  15. height: 160rpx;
  16. border-radius: 8rpx;
  17. margin-right: 20rpx;
  18. background-color: #f5f5f5;
  19. border: 1px solid #e8e8e8;
  20. display: flex;
  21. align-items: center;
  22. justify-content: center;
  23. flex-shrink: 0;
  24. }
  25. .goods-list {
  26. background: transparent;
  27. margin-bottom: 20rpx;
  28. padding: 0 20rpx;
  29. }
  30. .category-title {
  31. padding: 28rpx 32rpx 0rpx;
  32. font-size: 32rpx;
  33. font-weight: 600;
  34. color: #333;
  35. background: #fff;
  36. position: sticky;
  37. top: 0;
  38. z-index: 10;
  39. border-radius: 10rpx 10rpx 0 0;
  40. margin-bottom: 0;
  41. }
  42. .goods-item {
  43. display: flex;
  44. align-items: center;
  45. padding: 32rpx;
  46. // margin: 0 20rpx 20rpx;
  47. background: #fff;
  48. border-radius: 0 0 16rpx 16rpx;
  49. box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
  50. transition: all 0.3s ease;
  51. padding-bottom: 10px;
  52. &:active {
  53. transform: scale(0.98);
  54. box-shadow: 0 1rpx 8rpx rgba(0, 0, 0, 0.06);
  55. }
  56. }
  57. .goods-checkbox {
  58. margin-right: 24rpx;
  59. margin-top: 8rpx;
  60. flex-shrink: 0;
  61. }
  62. .goods-image {
  63. width: 180rpx;
  64. height: 180rpx;
  65. border-radius: 12rpx;
  66. background: #f5f5f5;
  67. margin-right: 24rpx;
  68. flex-shrink: 0;
  69. border: 1rpx solid #f0f0f0;
  70. }
  71. .goods-info {
  72. flex: 1;
  73. display: flex;
  74. flex-direction: column;
  75. min-width: 0;
  76. justify-content: space-between;
  77. min-height: 180rpx;
  78. }
  79. .goods-name-row {
  80. display: flex;
  81. align-items: center;
  82. margin-bottom: 12rpx;
  83. flex-wrap: wrap;
  84. }
  85. .goods-name {
  86. font-size: 32rpx;
  87. font-weight: 600;
  88. color: #333;
  89. flex: 1;
  90. min-width: 0;
  91. line-height: 1.4;
  92. display: -webkit-box;
  93. -webkit-box-orient: vertical;
  94. -webkit-line-clamp: 2;
  95. line-clamp: 2;
  96. overflow: hidden;
  97. text-overflow: ellipsis;
  98. }
  99. .goods-desc {
  100. font-size: 26rpx;
  101. color: #999;
  102. margin-bottom: 20rpx;
  103. line-height: 1.4;
  104. }
  105. .goods-price-row {
  106. display: flex;
  107. align-items: center;
  108. justify-content: space-between;
  109. margin-top: auto;
  110. }
  111. .goods-price-info {
  112. display: flex;
  113. flex-direction: column;
  114. align-items: center;
  115. // justify-content: center;
  116. flex-shrink: 0;
  117. height: 160rpx;
  118. }
  119. .goods-price {
  120. font-size: 36rpx;
  121. font-weight: 700;
  122. color: #ff4444;
  123. letter-spacing: -0.5rpx;
  124. }
  125. .quantity-selector {
  126. display: flex;
  127. align-items: center;
  128. border: 2rpx solid #e8e8e8;
  129. border-radius: 12rpx;
  130. overflow: hidden;
  131. background: #fff;
  132. box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.04);
  133. }
  134. .quantity-btn {
  135. width: 64rpx;
  136. height: 64rpx;
  137. display: flex;
  138. align-items: center;
  139. justify-content: center;
  140. background: #f8f8f8;
  141. font-size: 36rpx;
  142. font-weight: 500;
  143. color: #333;
  144. user-select: none;
  145. transition: all 0.2s ease;
  146. position: relative;
  147. &.minus {
  148. border-right: 1rpx solid #e8e8e8;
  149. }
  150. &.plus {
  151. border-left: 1rpx solid #e8e8e8;
  152. }
  153. &:active:not(.disabled) {
  154. background: #1d6ff6;
  155. color: #fff;
  156. transform: scale(0.95);
  157. }
  158. &.disabled {
  159. opacity: 0.4;
  160. background: #f5f5f5;
  161. color: #ccc;
  162. cursor: not-allowed;
  163. }
  164. }
  165. .quantity-input {
  166. width: 90rpx;
  167. height: 64rpx;
  168. text-align: center;
  169. font-size: 30rpx;
  170. font-weight: 500;
  171. color: #333;
  172. background: #fff;
  173. border: none;
  174. padding: 0;
  175. &[disabled] {
  176. background: #f8f8f8;
  177. color: #999;
  178. opacity: 0.6;
  179. }
  180. }
  181. .quantity-text {
  182. font-size: 26rpx;
  183. font-weight: 400;
  184. color: #666;
  185. }
  186. .footer-placeholder {
  187. height: 120rpx;
  188. }
  189. .footer-bar {
  190. position: fixed;
  191. bottom: 0;
  192. left: 0;
  193. right: 0;
  194. width: 100%;
  195. min-height: 100rpx;
  196. background: #fff;
  197. display: flex;
  198. align-items: center;
  199. padding: 20rpx 10rpx 0 0;
  200. box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.08);
  201. z-index: 100;
  202. box-sizing: border-box;
  203. border-top: 1rpx solid #f0f0f0;
  204. }
  205. .footer-left {
  206. flex-shrink: 0;
  207. margin-right: 32rpx;
  208. }
  209. .footer-center {
  210. flex: 1;
  211. display: flex;
  212. align-items: baseline;
  213. font-size: 28rpx;
  214. color: #333;
  215. line-height: 1.4;
  216. padding-left: 20px;
  217. }
  218. .footer-text {
  219. color: #666;
  220. font-size: 26rpx;
  221. }
  222. .footer-price {
  223. color: #ff4444;
  224. font-weight: 700;
  225. font-size: 36rpx;
  226. margin-left: 8rpx;
  227. letter-spacing: -0.5rpx;
  228. }
  229. .footer-right {
  230. flex-shrink: 0;
  231. padding-right: 10px;
  232. }
  233. .checkout-btn {
  234. line-height: 76rpx;
  235. text-align: center;
  236. background: linear-gradient(135deg, #1d6ff6 0%, #4a90ff 100%);
  237. color: #fff;
  238. font-size: 30rpx;
  239. font-weight: 600;
  240. border-radius: 38rpx;
  241. box-shadow: 0 4rpx 12rpx rgba(29, 111, 246, 0.3);
  242. transition: all 0.3s ease;
  243. padding: 0 20px;
  244. user-select: none;
  245. &:active:not(.checkout-btn--loading) {
  246. opacity: 0.9;
  247. transform: scale(0.98);
  248. box-shadow: 0 2rpx 8rpx rgba(29, 111, 246, 0.4);
  249. }
  250. &.checkout-btn--loading {
  251. opacity: 0.7;
  252. pointer-events: none;
  253. cursor: not-allowed;
  254. }
  255. }
  256. .t-checkbox--block {
  257. padding: 0 !important;
  258. }
  259. // 选择地址的css
  260. .info-box {
  261. padding: 10rpx 20rpx 10rpx 20rpx;
  262. background: #f7f8fa;
  263. }
  264. .show-bttom {
  265. padding: 20rpx;
  266. }
  267. .delivery-address {
  268. font-weight: 500;
  269. font-size: 30rpx;
  270. color: #333;
  271. padding: 23rpx 20rpx;
  272. }
  273. .order-no {
  274. font-size: 28rpx;
  275. color: black;
  276. margin: 24rpx 0 0 0;
  277. }
  278. .address-card {
  279. background: #fff;
  280. border-radius: 16rpx;
  281. overflow: hidden;
  282. box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
  283. &.address-card--clickable {
  284. cursor: pointer;
  285. transition: all 0.3s ease;
  286. &:active {
  287. opacity: 0.8;
  288. transform: scale(0.98);
  289. }
  290. }
  291. &.address-card--disabled {
  292. opacity: 0.9;
  293. pointer-events: none;
  294. }
  295. }
  296. .address-content {
  297. display: flex;
  298. align-items: flex-start;
  299. padding: 25rpx 24rpx;
  300. position: relative;
  301. }
  302. .address-icon-wrapper {
  303. flex-shrink: 0;
  304. width: 64rpx;
  305. height: 64rpx;
  306. display: flex;
  307. align-items: center;
  308. justify-content: center;
  309. margin-right: 10rpx;
  310. border-radius: 50%;
  311. }
  312. .address-icon {
  313. width: 36rpx;
  314. height: 36rpx;
  315. }
  316. .address-info {
  317. flex: 1;
  318. min-width: 0;
  319. display: flex;
  320. flex-direction: column;
  321. gap: 12rpx;
  322. }
  323. .address-header {
  324. display: flex;
  325. align-items: center;
  326. gap: 24rpx;
  327. flex-wrap: wrap;
  328. }
  329. .address-name {
  330. font-weight: 500;
  331. font-size: 30rpx;
  332. color: #333;
  333. line-height: 1.4;
  334. margin-right: 20rpx;
  335. }
  336. .address-phone {
  337. font-weight: 400;
  338. font-size: 28rpx;
  339. color: #333;
  340. line-height: 1.4;
  341. }
  342. .address-detail {
  343. color: #666;
  344. font-size: 26rpx;
  345. line-height: 1.6;
  346. word-break: break-all;
  347. }
  348. .address-actions {
  349. flex-shrink: 0;
  350. display: flex;
  351. align-items: center;
  352. gap: 20rpx;
  353. margin-left: 16rpx;
  354. }
  355. .edit-icon {
  356. font-size: 32rpx;
  357. color: #666;
  358. opacity: 0.7;
  359. }
  360. .arrow-icon {
  361. font-size: 40rpx;
  362. color: #ccc;
  363. margin-left: 10rpx;
  364. }
  365. .price-total-wrapper {
  366. padding: 0 20rpx 24rpx;
  367. margin-top: -24rpx;
  368. }
  369. .price-total {
  370. display: flex;
  371. justify-content: flex-end;
  372. align-items: baseline;
  373. background: #fff;
  374. border-radius: 10rpx;
  375. padding: 32rpx;
  376. .price-value {
  377. font-size: 40rpx;
  378. color: black;
  379. font-weight: 600;
  380. }
  381. }
  382. // 价格汇总区域
  383. .price-summary-section {
  384. padding: 0 20rpx 20rpx;
  385. background: #f7f8fa;
  386. }
  387. .price-summary-card {
  388. background: #fff;
  389. border-radius: 10rpx;
  390. padding: 32rpx;
  391. display: flex;
  392. gap: 24rpx;
  393. }
  394. .price-row {
  395. justify-content: flex-end;
  396. align-items: baseline;
  397. }
  398. .price-label {
  399. font-size: 30rpx;
  400. color: #333;
  401. font-weight: 400;
  402. }
  403. .payable-value {
  404. font-size: 40rpx;
  405. color: #333;
  406. font-weight: 700;
  407. }
  408. // 订单信息区域
  409. .order-info-section {
  410. padding: 0 20rpx 40rpx;
  411. background: #f7f8fa;
  412. margin-bottom: 40rpx;
  413. }
  414. .info-card {
  415. background: #fff;
  416. border-radius: 0;
  417. margin-bottom: 0;
  418. padding: 0 32rpx;
  419. overflow: hidden;
  420. margin-top: 20rpx;
  421. border-radius: 10rpx;
  422. &:first-child {
  423. margin-top: 0;
  424. }
  425. }
  426. .info-item {
  427. display: flex;
  428. align-items: center;
  429. justify-content: space-between;
  430. padding: 32rpx 0;
  431. min-height: 88rpx;
  432. box-sizing: border-box;
  433. }
  434. .info-label {
  435. font-size: 28rpx;
  436. color: #333;
  437. font-weight: 400;
  438. flex-shrink: 0;
  439. }
  440. .info-value {
  441. font-size: 28rpx;
  442. color: #333;
  443. text-align: right;
  444. flex: 1;
  445. word-break: break-all;
  446. margin-left: 24rpx;
  447. }
  448. .info-value-row {
  449. display: flex;
  450. align-items: center;
  451. justify-content: flex-end;
  452. flex: 1;
  453. gap: 16rpx;
  454. margin-left: 24rpx;
  455. }
  456. .copy-btn {
  457. font-size: 28rpx;
  458. color: #1d6ff6;
  459. flex-shrink: 0;
  460. margin-left: 10px;
  461. }
  462. .info-divider {
  463. height: 1rpx;
  464. background: #f0f0f0;
  465. margin: 0;
  466. width: 100%;
  467. }
  468. // 备注相关样式
  469. .remark-item {
  470. padding: 32rpx 0 40rpx;
  471. display: flex;
  472. flex-direction: column;
  473. }
  474. .remark-input-wrapper {
  475. margin-top: 20rpx;
  476. position: relative;
  477. width: 100%;
  478. }
  479. .remark-textarea {
  480. width: 100%;
  481. min-height: 160rpx;
  482. padding: 20rpx;
  483. font-size: 28rpx;
  484. color: #333;
  485. background: #f7f8fa;
  486. border-radius: 8rpx;
  487. box-sizing: border-box;
  488. line-height: 1.6;
  489. border: 1rpx solid #e8e8e8;
  490. &:focus {
  491. border-color: #1d6ff6;
  492. background: #fff;
  493. }
  494. }
  495. .remark-count {
  496. display: flex;
  497. justify-content: flex-end;
  498. margin-top: 12rpx;
  499. }
  500. .remark-count-text {
  501. font-size: 24rpx;
  502. color: #999;
  503. }