placeOrder.wxss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  1. page {
  2. background: #f6f6f6;
  3. }
  4. .address-content {
  5. padding: 22rpx 20rpx;
  6. background: #fff;
  7. }
  8. .address-content .receiver {
  9. display: flex;
  10. align-items: center;
  11. position: relative;
  12. color: #444;
  13. font-size: 28rpx;
  14. margin-bottom: 20rpx;
  15. font-weight: 500;
  16. }
  17. .address-content .receiver text {
  18. width: 160rpx;
  19. color: #666;
  20. }
  21. .address-content .receiver input, .sel-btn {
  22. /* margin-right: 20rpx; *//* border: 1rpx solid #e3e3e3; */
  23. border-radius: 4rpx;
  24. /* width: 200rpx; */
  25. flex: 1;
  26. height: 52rpx;
  27. line-height: 52rpx;
  28. padding: 5rpx 10rpx;
  29. box-sizing: border-box;
  30. font-weight: bold;
  31. background-color: #f7f7f7;
  32. }
  33. .sel-btn {
  34. color: #999;
  35. }
  36. .address-content .receiver input:nth-child(3) {
  37. width: 280rpx;
  38. }
  39. .address-content p {
  40. color: #999;
  41. font-size: 22rpx;
  42. display: block;
  43. overflow: hidden;
  44. text-overflow: ellipsis;
  45. white-space: nowrap;
  46. }
  47. .address-line {
  48. margin-bottom: 20rpx;
  49. height: 4rpx;
  50. background: #fff;
  51. }
  52. .address-line image {
  53. width: 750rpx;
  54. height: 4rpx;
  55. display: block;
  56. }
  57. .card-content {
  58. margin: 0 auto 20rpx;
  59. }
  60. .card-container {
  61. padding-bottom: 20rpx;
  62. }
  63. .card-header {
  64. font-size: 24rpx;
  65. color: #aaa;
  66. display: flex;
  67. justify-content: space-between;
  68. align-items: center;
  69. padding: 0 30rpx;
  70. height: 84rpx;
  71. border-bottom: 1rpx solid #efefef;
  72. }
  73. .cart-item {
  74. display: flex;
  75. flex-direction: column;
  76. }
  77. .sku-item {
  78. padding: 26rpx;
  79. border-bottom: 1rpx solid #efefef;
  80. display: flex;
  81. align-items: center;
  82. }
  83. .sku-item .sku-img {
  84. width: 120rpx;
  85. height: 120rpx;
  86. margin-right: 20rpx;
  87. }
  88. .sku-item .sku-msg {
  89. width: 510rpx;
  90. }
  91. .sku-item .sku-msg .sku-title {
  92. font-size: 26rpx;
  93. color: #444;
  94. line-height: 32rpx;
  95. margin-bottom: 12rpx;
  96. font-weight: 500;
  97. overflow: hidden;
  98. text-overflow: ellipsis;
  99. white-space: nowrap;
  100. }
  101. .sku-item .sku-msg .sku-spec {
  102. font-size: 22rpx;
  103. line-height: 22rpx;
  104. color: #aaa;
  105. margin-bottom: 12rpx;
  106. }
  107. .sku-item .sku-msg .original-price {
  108. font-size: 22rpx;
  109. line-height: 22rpx;
  110. color: #aaa;
  111. margin-bottom: 20rpx;
  112. }
  113. .sku-item .sku-msg .sku-price {
  114. font-size: 22rpx;
  115. line-height: 26rpx;
  116. color: #444;
  117. }
  118. .sku-item .sku-msg .sku-price span {
  119. color: #ff5344;
  120. font-size: 26rpx;
  121. font-weight: 500;
  122. }
  123. .sku-item-gift {
  124. width: 650rpx;
  125. height: 140rpx;
  126. background: #f9f9f9;
  127. margin: 28rpx auto 30rpx;
  128. padding: 20rpx;
  129. box-sizing: border-box;
  130. display: flex;
  131. order: 99;
  132. }
  133. .sku-item-gift .sku-img {
  134. width: 100rpx;
  135. height: 100rpx;
  136. margin-right: 20rpx;
  137. }
  138. .sku-item-gift .sku-msg {
  139. width: 510rpx;
  140. }
  141. .sku-item-gift .sku-msg .sku-title {
  142. font-size: 26rpx;
  143. color: #444;
  144. line-height: 30rpx;
  145. margin-bottom: 10rpx;
  146. font-weight: 500;
  147. overflow: hidden;
  148. text-overflow: ellipsis;
  149. white-space: nowrap;
  150. }
  151. .sku-item-gift .sku-msg .sku-spec {
  152. font-size: 22rpx;
  153. line-height: 22rpx;
  154. color: #aaa;
  155. margin-bottom: 14rpx;
  156. }
  157. .sku-item-gift .sku-msg .tag {
  158. border: 1rpx solid #ff5344;
  159. padding: 0 12rpx;
  160. font-size: 20rpx;
  161. border-radius: 16rpx;
  162. color: #ff5344;
  163. height: 24rpx;
  164. line-height: 24rpx;
  165. position: absolute;
  166. }
  167. .sku-item-gift .sku-msg .tag.tag-disabled {
  168. border-color: #a3a3a3;
  169. color: #a3a3a3;
  170. }
  171. .fixed-content {
  172. display: flex;
  173. padding-left: 20rpx;
  174. justify-content: space-between;
  175. align-items: center;
  176. height: 96rpx;
  177. }
  178. .fixed-content .fixed-left {
  179. display: flex;
  180. justify-content: center;
  181. flex-direction: column;
  182. }
  183. .fixed-content .fixed-left .h1 {
  184. font-size: 28rpx;
  185. line-height: 28rpx;
  186. color: #444;
  187. margin-bottom: 12rpx;
  188. }
  189. .fixed-content .fixed-left .h1 span {
  190. color: #ff5344;
  191. font-weight: bold;
  192. }
  193. .fixed-content .fixed-left .h2 {
  194. font-size: 22rpx;
  195. line-height: 22rpx;
  196. color: #666;
  197. }
  198. .fixed-content .fixed-left .h2 em {
  199. margin-right: 20rpx;
  200. }
  201. .fixed-content .fixed-bar-btn {
  202. width: 260rpx;
  203. height: 96rpx;
  204. text-align: center;
  205. line-height: 96rpx;
  206. color: #fff;
  207. font-size: 30rpx;
  208. background: #ff5344;
  209. border-radius: 0;
  210. padding: 0;
  211. margin: 0;
  212. font-weight: bold;
  213. }
  214. .confirm-order-modal {
  215. border-radius: 30rpx 30rpx 0 0;
  216. background: #fff;
  217. padding: 52rpx 30rpx 0;
  218. display: flex;
  219. flex-direction: column;
  220. align-items: center;
  221. position: relative;
  222. }
  223. .confirm-order-modal .title {
  224. font-size: 32rpx;
  225. color: #444;
  226. line-height: 32rpx;
  227. margin-bottom: 40rpx;
  228. font-weight: 500;
  229. }
  230. .confirm-order-modal .sub-title {
  231. display: flex;
  232. justify-content: center;
  233. align-items: center;
  234. color: #ff5344;
  235. line-height: 26rpx;
  236. font-size: 26rpx;
  237. margin-bottom: 48rpx;
  238. font-weight: 500;
  239. }
  240. .confirm-order-modal .sub-title image {
  241. width: 28rpx;
  242. height: 28rpx;
  243. margin-right: 14rpx;
  244. }
  245. .confirm-order-modal .order-content {
  246. width: 690rpx;
  247. border-radius: 20rpx;
  248. padding-top: 30rpx;
  249. background: #f6f6f6;
  250. margin-bottom: 136rpx;
  251. }
  252. .confirm-order-modal .order-content .msg-group {
  253. width: 690rpx;
  254. padding: 0 30rpx;
  255. margin-bottom: 20rpx;
  256. display: flex;
  257. font-size: 24rpx;
  258. line-height: 24rpx;
  259. color: #444;
  260. box-sizing: border-box;
  261. }
  262. .confirm-order-modal .order-content .msg-group span {
  263. font-weight: bold;
  264. /* width: 136rpx; */
  265. white-space: nowrap;
  266. }
  267. .confirm-order-modal .order-content .msg-group em {
  268. font-weight: 400;
  269. flex: 1;
  270. line-height: 1.4;
  271. }
  272. .confirm-order-modal .order-content .total {
  273. line-height: 86rpx;
  274. padding: 0 30rpx;
  275. text-align: right;
  276. color: #444;
  277. font-size: 30rpx;
  278. border-top: 1rpx solid #e2e2e2;
  279. }
  280. .confirm-order-modal .order-content .total em {
  281. color: #ff5344;
  282. }
  283. .confirm-order-modal .button-group {
  284. display: flex;
  285. width: 100%;
  286. border-top: 1rpx solid rgba(0, 0, 0, 0.1);
  287. position: absolute;
  288. left: 0;
  289. bottom: 0;
  290. }
  291. .confirm-order-modal .button-group .btn-content {
  292. flex: 1;
  293. }
  294. .confirm-order-modal .button-group .btn {
  295. flex: 1;
  296. margin: 0;
  297. padding: 0;
  298. font-size: 30rpx;
  299. line-height: 88rpx;
  300. text-align: center;
  301. border-radius: 0;
  302. font-weight: bold;
  303. }
  304. .confirm-order-modal .button-group .left-btn {
  305. color: #666;
  306. background: #fff;
  307. }
  308. .confirm-order-modal .button-group .right-btn {
  309. color: #fff;
  310. background: linear-gradient(to right, #ff5041, #ff695c);
  311. }
  312. /* 20190109 tab-nav */
  313. .tab-nav {
  314. height: 70rpx;
  315. display: flex;
  316. border-bottom: 4rpx solid #ff5041;
  317. transition: all 0.3s linear;
  318. margin-bottom: 20rpx;
  319. }
  320. .tab-nav .tab-nav-item {
  321. color: #6c6c6c;
  322. font-size: 26rpx;
  323. font-weight: bold;
  324. position: relative;
  325. z-index: 1;
  326. width: 190rpx;
  327. height: 70rpx;
  328. display: flex;
  329. align-items: center;
  330. justify-content: center;
  331. flex: 1;
  332. }
  333. .tab-nav-one .tab-nav-item {
  334. flex: initial;
  335. width: 30%;
  336. }
  337. .tab-nav .tab-nav-item span {
  338. position: relative;
  339. }
  340. .tab-nav .tab-nav-item.active {
  341. background-color: #ff5041;
  342. color: #fff;
  343. z-index: 2;
  344. border-radius: 3px 3px 0 0;
  345. }
  346. /* 20190109 tab-nav */
  347. /* 20190109 收货地址 */
  348. .receiver.align-start {
  349. align-items: flex-start;
  350. }
  351. textarea.receive-name {
  352. border-radius: 4rpx;
  353. flex: 1;
  354. line-height: 1.6;
  355. box-sizing: border-box;
  356. font-weight: bold;
  357. background-color: #f7f7f7;
  358. position: relative;
  359. z-index: 1;
  360. padding: 10rpx;
  361. height: 124rpx;
  362. }
  363. picker.receive-name {
  364. border-radius: 4rpx;
  365. flex: 1;
  366. line-height: 52rpx;
  367. box-sizing: border-box;
  368. font-weight: bold;
  369. background-color: #f7f7f7;
  370. position: relative;
  371. z-index: 1;
  372. height: 52rpx;
  373. }
  374. .receive-name .picker {
  375. padding: 5rpx 10rpx;
  376. color: #999;
  377. }
  378. .receive-icon {
  379. width: 40rpx;
  380. height: 40rpx;
  381. position: absolute;
  382. right: 10rpx;
  383. bottom: 6rpx;
  384. z-index: 20;
  385. }
  386. /* 20190109 收货地址 */
  387. /* 优惠卡片 */
  388. .act-content {
  389. width: 710rpx;
  390. margin: 0 auto 20rpx;
  391. border-radius: 20rpx;
  392. background: #fff;
  393. box-shadow: 0 0 40rpx 0 rgba(0, 0, 0, 0.05);
  394. display: flex;
  395. flex-direction: column;
  396. overflow: hidden;
  397. }
  398. .cell {
  399. position: relative;
  400. display: flex;
  401. justify-content: space-between;
  402. align-items: center;
  403. border-bottom: 1rpx solid #efefef;
  404. line-height: 78rpx;
  405. font-size: 24rpx;
  406. color: #444;
  407. padding: 0 30rpx;
  408. }
  409. .icon-right {
  410. position: absolute;
  411. right: 10rpx;
  412. top: 50%;
  413. width: 12rpx;
  414. height: 22rpx;
  415. margin-top: -10rpx;
  416. }
  417. .cell-desc {
  418. margin-left: 8rpx;
  419. color: #666;
  420. font-size: 22rpx;
  421. }
  422. .confirm-coupon-modal {
  423. background: #f6f6f6;
  424. display: flex;
  425. flex-direction: column;
  426. align-items: center;
  427. position: relative;
  428. padding-bottom: 30rpx;
  429. }
  430. .confirm-coupon-modal .title {
  431. width: 100%;
  432. border-bottom: 1rpx solid #efefef;
  433. line-height: 2.5;
  434. font-size: 32rpx;
  435. text-align: center;
  436. background: #fff;
  437. }
  438. .confirm-coupon-modal .list {
  439. width: 100%;
  440. max-height: 700rpx;
  441. overflow-y: auto;
  442. padding: 0 20rpx;
  443. box-sizing: border-box;
  444. }
  445. .confirm-coupon-modal .item {
  446. display: flex;
  447. box-sizing: border-box;
  448. padding: 20rpx 10rpx 20rpx 20rpx;
  449. justify-content: space-between;
  450. align-items: center;
  451. margin: 20rpx 0;
  452. background: #fff;
  453. border-radius: 10rpx;
  454. box-shadow: 0 0 6rpx #ccc;
  455. }
  456. .tag-img {
  457. position: absolute;
  458. width: 48rpx;
  459. height: 48rpx;
  460. right: 10rpx;
  461. top: 15rpx;
  462. }
  463. .no-tag-img {
  464. width: 48rpx;
  465. height: 48rpx;
  466. }
  467. .use-wx-address {
  468. text-align: center;
  469. margin-top: 20rpx;
  470. margin-bottom: 20rpx;
  471. color: #ff5344;
  472. }
  473. /* 订单留言 */
  474. .cart-footer {
  475. padding: 26rpx;
  476. }
  477. .order-message {
  478. position: relative;
  479. background-color: #f7f7f7;
  480. padding: 5rpx 10rpx;
  481. border-radius: 5rpx;
  482. z-index: 0;
  483. }
  484. .tuan-pos {
  485. height: 124rpx;
  486. line-height: 1.6;
  487. }
  488. .placeOrderBox {
  489. padding-bottom: 100rpx;
  490. }
  491. /* 20190308 */
  492. .oc-payment {
  493. position: relative;
  494. box-sizing: border-box;
  495. width: 100%;
  496. padding: 0 10px;
  497. background-color: #fff;
  498. }
  499. .oc-payment-item {
  500. position: relative;
  501. width: 100%;
  502. line-height: 70rpx;
  503. font-size: 0;
  504. display: flex;
  505. align-items: center;
  506. }
  507. .oc-payment-method {
  508. position: relative;
  509. display: inline-block;
  510. margin-left: 10rpx;
  511. font-size: 13px;
  512. color: #333;
  513. }
  514. .oc-payment-recommend {
  515. position: relative;
  516. display: inline-block;
  517. width: 30px;
  518. height: 17px;
  519. margin-left: 10px;
  520. line-height: 17px;
  521. text-align: center;
  522. font-size: 11px;
  523. color: #ee2e3a;
  524. border-radius: 2px;
  525. border: 1px solid #ee2e3a;
  526. }
  527. .oc-payment-selected:after {
  528. content: "";
  529. position: absolute;
  530. width: 13px;
  531. height: 10px;
  532. top: 16px;
  533. right: 0;
  534. background: url(https://mall.shiziyu888.com/Common/images/order_checkout_sprites-c1e0c02afa.png) no-repeat;
  535. background-size: 214px 100px;
  536. background-position: -125px -40px;
  537. }
  538. .oc-payment-icon {
  539. width: 40rpx;
  540. height: 40rpx;
  541. }
  542. /* 新优惠券20190314 */
  543. .coupon {
  544. background-color: #fefefe;
  545. position: relative;
  546. padding: 0 20rpx;
  547. border-radius: 6rpx;
  548. margin-top: 24rpx;
  549. box-shadow: 0 0 6rpx #ccc;
  550. }
  551. .coupon:before, .coupon:after {
  552. content: '';
  553. position: absolute;
  554. width: 20rpx;
  555. height: 40rpx;
  556. background: #f6f6f6;
  557. top: 70rpx;
  558. z-index: 1;
  559. }
  560. .coupon:before {
  561. border-radius: 0 40rpx 40rpx 0;
  562. left: 0;
  563. }
  564. .coupon:after {
  565. border-radius: 40rpx 0 0 40rpx;
  566. right: 0;
  567. }
  568. .coupon .header {
  569. display: flex;
  570. padding: 15rpx 0;
  571. border-bottom: 2rpx dashed #dbdbdb;
  572. height: 140rpx;
  573. }
  574. .coupon .footer {
  575. color: #747474;
  576. font-size: 24rpx;
  577. padding: 22rpx 0 20rpx 35rpx;
  578. }
  579. .coupon .price {
  580. color: #333;
  581. width: 175rpx;
  582. text-align: center;
  583. border-right: 2rpx dashed #dbdbdb;
  584. }
  585. .coupon .price .reduce-price {
  586. color: #000;
  587. font-size: 38rpx;
  588. font-weight: bold;
  589. padding-top: 30rpx;
  590. }
  591. .coupon .price .reduce-price text {
  592. font-size: 24rpx;
  593. }
  594. .coupon .price .reduce-desc {
  595. font-size: 20rpx;
  596. margin-top: 10rpx;
  597. }
  598. .coupon .info {
  599. padding-left: 30rpx;
  600. flex: 1;
  601. }
  602. .coupon .info .reduce-title {
  603. color: #000;
  604. font-size: 28rpx;
  605. font-weight: bold;
  606. padding-top: 20rpx;
  607. }
  608. .coupon .info .reduce-type {
  609. color: #fff;
  610. font-weight: normal;
  611. font-size: 20rpx;
  612. background: #ec6b5a;
  613. padding: 2rpx 8rpx;
  614. border-radius: 4rpx;
  615. margin-left: 10rpx;
  616. }
  617. .coupon .status {
  618. width: 130rpx;
  619. text-align: center;
  620. }
  621. .coupon .status image {
  622. width: 48rpx;
  623. height: 48rpx;
  624. }
  625. .coupon.used, .coupon.expired {
  626. background: #fafafa;
  627. }
  628. .coupon.used .price, .coupon.expired .price {
  629. color: #949494;
  630. }
  631. .coupon.used .reduce-price, .coupon.expired .reduce-price,
  632. .coupon.used .reduce-title, .coupon.expired .reduce-title {
  633. color: #7a7a7a;
  634. }
  635. .coupon.used .reduce-type, .coupon.expired .reduce-type {
  636. background: #eeaea6;
  637. }
  638. .coupon.used .footer, .coupon.expired .footer {
  639. color: #b6b6b6;
  640. }
  641. .distance {
  642. color: #ff5041;
  643. }
  644. /*swtich样式-start*/
  645. /*swtich整体大小*/
  646. .wx-switch-input {
  647. width: 82rpx !important;
  648. height: 40rpx !important;
  649. margin: 0 !important;
  650. padding: 0 !important;
  651. }
  652. /*白色样式(false的样式)*/
  653. .wx-switch-input::before {
  654. width: 80rpx !important;
  655. height: 36rpx !important;
  656. }
  657. /*绿色样式(true的样式)*/
  658. .wx-switch-input::after {
  659. width: 38rpx !important;
  660. height: 36rpx !important;
  661. }
  662. /*swtich样式end*/
  663. .cart-header-left {
  664. color: #ff5344;
  665. }