submit-order.wxss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754
  1. /* pages/submit-order/submit-order.wxss */
  2. page {
  3. background: #f4f4f4;
  4. }
  5. /* 收货地址 */
  6. .submit-order {
  7. margin: 20rpx 24rpx 120rpx;
  8. padding-bottom: 200rpx;
  9. }
  10. .submit-order .delivery-addr {
  11. position: relative;
  12. background: #fff;
  13. border-radius: 16rpx;
  14. }
  15. .delivery-addr .addr-bg .add-addr .plus-sign {
  16. color: #FF4D3A;
  17. border: 2rpx solid #FF4D3A;
  18. padding: 0rpx 6rpx;
  19. margin-right: 10rpx;
  20. }
  21. .delivery-addr .addr-bg {
  22. padding: 0 30rpx;
  23. }
  24. .delivery-addr .addr-bg.whole {
  25. padding: 0 39rpx 0 77rpx;
  26. }
  27. .delivery-addr .addr-bg .add-addr {
  28. font-size: 28rpx;
  29. color: #666;
  30. display: flex;
  31. align-items: center;
  32. padding: 30rpx 0;
  33. }
  34. .submit-order .delivery-addr .addr-icon {
  35. width: 32rpx;
  36. height: 32rpx;
  37. display: block;
  38. position: absolute;
  39. left: 30rpx;
  40. top: 24rpx;
  41. }
  42. .submit-order .delivery-addr .addr-icon image {
  43. width: 100%;
  44. height: 100%;
  45. }
  46. .submit-order .delivery-addr .user-info {
  47. padding-top: 20rpx;
  48. line-height: 48rpx;
  49. word-wrap: break-word;
  50. word-break: break-all;
  51. overflow: hidden;
  52. text-overflow: ellipsis;
  53. display: -webkit-box;
  54. -webkit-line-clamp: 1;
  55. -webkit-box-orient: vertical;
  56. }
  57. .submit-order .delivery-addr .user-info .item {
  58. font-size: 30rpx;
  59. margin-right: 30rpx;
  60. vertical-align: top;
  61. display: inline-block;
  62. }
  63. .submit-order .delivery-addr .addr {
  64. font-size: 26rpx;
  65. line-height: 36rpx;
  66. color: #999;
  67. width: 90%;
  68. padding-bottom: 20rpx;
  69. margin-top: 15rpx;
  70. }
  71. .submit-order .delivery-addr .arrow {
  72. width: 15rpx;
  73. height: 15rpx;
  74. border-top: 2rpx solid #777;
  75. border-right: 2rpx solid #777;
  76. transform: rotate(45deg);
  77. position: absolute;
  78. right: 30rpx;
  79. top: 60rpx;
  80. }
  81. .submit-order .delivery-addr .arrow.empty {
  82. top: 39rpx;
  83. }
  84. .addr-bg .add-addr .plus-sign-img {
  85. width: 32rpx;
  86. height: 32rpx;
  87. font-size: 0;
  88. margin-right: 10rpx;
  89. }
  90. .addr-bg .add-addr .plus-sign-img image {
  91. width: 100%;
  92. height: 100%;
  93. }
  94. /* 会员积分 */
  95. .member-points {
  96. display: flex;
  97. justify-content: space-between;
  98. width: 100%;
  99. }
  100. .integral-icon {
  101. display: inline-block;
  102. width: 35rpx;
  103. height: 35rpx;
  104. vertical-align: middle;
  105. }
  106. .integral-icon > image {
  107. display: block;
  108. width: 100%;
  109. height: 100%;
  110. }
  111. .integral-deduction{
  112. display: flex;
  113. }
  114. .integral-tips {
  115. color: #999;
  116. display: flex;
  117. align-items: center;
  118. }
  119. .integral-tips > image {
  120. margin-left: 10rpx;
  121. width: 36rpx;
  122. height: 36rpx;
  123. }
  124. .integral-right-select {
  125. display: inline-block;
  126. line-height: 1em;
  127. }
  128. radio.item-group {
  129. display: block;
  130. width: 35rpx;
  131. height: 35rpx;
  132. text-align: center;
  133. }
  134. radio.item-group .wx-radio-input{
  135. border-radius: 50%;
  136. width: 32rpx;
  137. height: 32rpx;
  138. text-align: center;
  139. }
  140. /* 选中后的样式 (可根据设计稿需求自己修改) */
  141. /* radio .wx-radio-input.wx-radio-input-checked::before{ */
  142. /* border-radius: 50%; */
  143. /* width: 54rpx; */
  144. /* height: 54rpx; */
  145. /* line-height: 54rpx; */
  146. /* text-align: center; */
  147. /* font-size: 34rpx; 对勾大小 26rpx */
  148. /* color:#fff; 对勾颜色 */
  149. /* background: #faa845; */
  150. /* border-color: #faa845; */
  151. /* } */
  152. /* 商品列表 */
  153. .shop-item {
  154. margin-top: 20rpx;
  155. margin-bottom: 20rpx;
  156. border-radius: 16rpx;
  157. background-color: #fff;
  158. }
  159. .prod-item {
  160. background-color: #fff;
  161. /* margin-top: 15rpx; */
  162. font-size: 28rpx;
  163. }
  164. .prod-item .item-cont .prod-pic image {
  165. width: 180rpx;
  166. height: 180rpx;
  167. }
  168. .prod-item .order-num {
  169. padding: 20rpx 30rpx;
  170. display: flex;
  171. justify-content: space-between;
  172. font-size: 28rpx;
  173. }
  174. .order-state {
  175. display: flex;
  176. align-items: center;
  177. }
  178. /* .item-box {
  179. border-bottom: 10rpx solid #f2f2f2;
  180. } */
  181. /* 店铺 */
  182. .shop-box {
  183. padding: 20rpx;
  184. /* margin: 0 20rpx; */
  185. border-bottom: 1rpx solid #f2f2f2;
  186. }
  187. .shop-icon {
  188. display: inline-block;
  189. width: 35rpx;
  190. height: 35rpx;
  191. vertical-align: middle;
  192. margin-right: 15rpx;
  193. }
  194. .shop-icon > image {
  195. width: 100%;
  196. height: 100%;
  197. }
  198. .shop-name {
  199. font-size: 30rpx;
  200. display: inline-block;
  201. vertical-align: middle;
  202. max-width: 90%;
  203. white-space: nowrap;
  204. overflow: hidden;
  205. text-overflow: ellipsis;
  206. }
  207. .prod-item .item-cont {
  208. display: flex;
  209. align-items: center;
  210. padding: 30rpx 0;
  211. padding-right: 20rpx;
  212. margin-left: 30rpx;
  213. border-bottom: 2rpx solid #f1f1f1;
  214. }
  215. .prod-item .order-num .clear-btn {
  216. width: 32rpx;
  217. height: 32rpx;
  218. font-size: 0;
  219. vertical-align: top;
  220. margin-top: 6rpx;
  221. margin-left: 42rpx;
  222. position: relative;
  223. }
  224. .prod-item .order-num .clear-btn::after {
  225. content: " ";
  226. display: block;
  227. position: absolute;
  228. left: -10px;
  229. top: 1px;
  230. width: 1px;
  231. height: 12px;
  232. background: #ddd;
  233. }
  234. .prod-item .order-num .clear-btn .clear-list-btn {
  235. width: 100%;
  236. height: 100%;
  237. vertical-align: middle;
  238. }
  239. .prod-item .item-cont .prod-pic {
  240. font-size: 0;
  241. display: block;
  242. width: 160rpx;
  243. height: 160rpx;
  244. overflow: hidden;
  245. background: #fff;
  246. margin-right: 16rpx;
  247. }
  248. .prod-item .item-cont .prod-pic image {
  249. width: 100%;
  250. height: 100%;
  251. }
  252. .prod-item .item-cont .prod-info {
  253. margin-left: 10rpx;
  254. font-size: 28rpx;
  255. width: 100%;
  256. position: relative;
  257. height: 160rpx;
  258. -webkit-flex: 1;
  259. -ms-flex: 1;
  260. -webkit-box-flex: 1;
  261. -moz-box-flex: 1;
  262. flex: 1;
  263. }
  264. .prod-item .item-cont .prod-info .prodname {
  265. font-size: 30rpx;
  266. line-height: 40rpx;
  267. max-height: 86rpx;
  268. overflow: hidden;
  269. display: -webkit-box;
  270. -webkit-line-clamp: 2;
  271. -webkit-box-orient: vertical;
  272. text-overflow: ellipsis;
  273. word-break: break-all;
  274. }
  275. .prod-item .item-cont .prod-info .prod-info-cont {
  276. color: #888888;
  277. line-height: 40rpx;
  278. margin-top: 10rpx;
  279. font-size: 25rpx;
  280. overflow: hidden;
  281. display: -webkit-box;
  282. -webkit-line-clamp: 1;
  283. -webkit-box-orient: vertical;
  284. text-overflow: ellipsis;
  285. word-break: break-all;
  286. }
  287. .prod-item .total-num {
  288. text-align: right;
  289. padding: 20rpx 30rpx;
  290. font-size: 28rpx;
  291. }
  292. .prod-item .price-nums {
  293. margin-top: 10rpx;
  294. }
  295. .prod-item .price-nums .prodprice {
  296. display: block;
  297. /* position: absolute; */
  298. bottom: 0;
  299. color: #FF4D3A;
  300. font-size: 32rpx;
  301. }
  302. .prod-item .price-nums .prodcount {
  303. position: absolute;
  304. bottom: 5rpx;
  305. right: 0;
  306. color: #999;
  307. font-family: verdana;
  308. font-size: 30rpx;
  309. }
  310. .prod-item .total-num .prodprice {
  311. display: inline-block;
  312. color: #333;
  313. }
  314. .prod-item .total-num .prodcount {
  315. margin-right: 20rpx;
  316. }
  317. /* 促销样式 */
  318. .prod-item .prod-block {
  319. background: #fff;
  320. }
  321. .prod-item .prod-block.discount .item-cont{
  322. position: relative;
  323. }
  324. .prod-item .prod-block.discount .item-cont::after{
  325. content: "";
  326. position: absolute;
  327. left: -5rpx;
  328. top: 0;
  329. bottom: 0;
  330. width: 0;
  331. border-left: 1px dashed #e5e5e5;
  332. z-index:0;
  333. }
  334. .prod-item .prod-block .discount-tips {
  335. padding: 20rpx 0 10rpx 10rpx;
  336. height: 40rpx;
  337. line-height: 40rpx;
  338. border-top: 1rpx solid #f2f2f2;
  339. }
  340. .prod-item .prod-block .discount-tips .text-block {
  341. padding: 3rpx 5rpx;
  342. border-radius: 8rpx;
  343. font-size: 23rpx;
  344. background: #FF4D3A;
  345. color:#fff;
  346. position: relative;
  347. }
  348. .prod-item .prod-block .discount-tips .text-block::before{
  349. position: absolute;
  350. left: 5px;
  351. bottom: -4px;
  352. content: "";
  353. display: block;
  354. border-left: 4px solid transparent;
  355. border-right: 4px solid transparent;
  356. border-top: 4px solid #FF4D3A;
  357. }
  358. .prod-item .prod-block .discount-tips .text-list {
  359. font-size: 26rpx;
  360. margin-left: 10rpx;
  361. }
  362. .shop-item .prod-block .discount-tips .text-list.reduce-amount {
  363. font-weight: normal;
  364. color: #FF4D3A;
  365. padding-left: 20rpx;
  366. }
  367. /* 促销样式 */
  368. /*
  369. 订单信息 */
  370. .order-msg {
  371. background: #fff;
  372. font-size: 30rpx;
  373. border-radius: 16rpx;
  374. }
  375. .order-msg .msg-item {
  376. border-top: 1px solid #f1f1f1;
  377. }
  378. .order-msg .msg-item:first-child {
  379. border: 0;
  380. }
  381. .order-msg .msg-item .item {
  382. position: relative;
  383. display: flex;
  384. align-items: center;
  385. padding: 16rpx 30rpx;
  386. }
  387. .order-msg .msg-item .item.payment {
  388. border-top: 2rpx solid #f1f1f1;
  389. color: #FF4D3A;
  390. }
  391. .order-msg .msg-item .item .item-tit {
  392. line-height: 48rpx;
  393. font-size: 28rpx;
  394. color: #222;
  395. }
  396. .order-msg .msg-item .item .item-txt {
  397. -webkit-box-flex: 1;
  398. -moz-box-flex: 1;
  399. flex: 1;
  400. font-family: arial;
  401. max-height: 48rpx;
  402. overflow: hidden;
  403. line-height: 48rpx;
  404. display: -webkit-box;
  405. -webkit-line-clamp: 1;
  406. -webkit-box-orient: vertical;
  407. text-overflow: ellipsis;
  408. word-break: break-all;
  409. background: #fff;
  410. }
  411. .order-msg .msg-item .item .item-txt.none{
  412. color:#999;
  413. }
  414. .order-msg .msg-item .item.coupon {
  415. border-bottom: 2rpx solid #f1f1f1;
  416. }
  417. .order-msg .msg-item .item input {
  418. flex: 1;
  419. z-index: 0;
  420. }
  421. .order-msg .msg-item .item .coupon-btn {
  422. display: block;
  423. margin: 0 30rpx;
  424. line-height: 28rpx;
  425. color: #999;
  426. }
  427. .order-msg .msg-item .item .coupon-amount{
  428. color: #FF4D3A;
  429. position: absolute;
  430. right:60rpx;
  431. }
  432. .order-msg .msg-item .item .item-txt.price {
  433. text-align: right;
  434. }
  435. .order-msg .msg-item .item .arrow {
  436. width: 15rpx;
  437. height: 15rpx;
  438. border-top: 2rpx solid #999;
  439. border-right: 2rpx solid #999;
  440. transform: rotate(45deg);
  441. position: absolute;
  442. right: 30rpx;
  443. }
  444. /* 底部栏 */
  445. .submit-order-footer {
  446. position: fixed;
  447. bottom: 0;
  448. width: 100%;
  449. max-width: 750rpx;
  450. background: #fff;
  451. margin: auto;
  452. display: -webkit-flex;
  453. display: -webkit-box;
  454. display: -moz-box;
  455. display: -ms-flexbox;
  456. display: flex;
  457. align-items: center;
  458. font-size: 26rpx;
  459. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  460. }
  461. .submit-order-footer .sub-order {
  462. flex: 1;
  463. margin: 0 30rpx;
  464. line-height: 100rpx;
  465. display: block;
  466. text-align: left;
  467. font-size: 28rpx;
  468. background: #fff;
  469. z-index: 5;
  470. }
  471. .item-txt {
  472. height: 100rpx;
  473. line-height: 100rpx;
  474. }
  475. .submit-order-footer .footer-box {
  476. padding: 0 10rpx;
  477. width: 200rpx;
  478. background: #04358D;
  479. text-align: center;
  480. color: #fff;
  481. font-size: 28rpx;
  482. font-weight: bold;
  483. border-radius: 60rpx;
  484. height: 2.8em;
  485. line-height: 2.8em;
  486. margin-right: 20rpx;
  487. }
  488. .submit-order-footer .sub-order .item-txt .price {
  489. display: inline;
  490. color: #FF4D3A;
  491. font-size: 28rpx;
  492. }
  493. .clearfix:after {
  494. content: " ";
  495. display: table;
  496. clear: both;
  497. }
  498. /** 优惠券弹窗 **/
  499. .popup-hide {
  500. position: fixed;
  501. top: 0;
  502. bottom: 0;
  503. left: 0;
  504. right: 0;
  505. z-index: 999;
  506. background-color: rgba(0, 0, 0, 0.3);
  507. }
  508. .popup-box {
  509. position: absolute;
  510. bottom: 0;
  511. width: 100%;
  512. height: 80%;
  513. overflow: hidden;
  514. background-color: #fff;
  515. }
  516. .popup-tit {
  517. position: relative;
  518. height: 46px;
  519. line-height: 46px;
  520. padding-left: 10px;
  521. font-size: 16px;
  522. color: #333;
  523. font-weight: bold;
  524. }
  525. .close {
  526. color: #aaa;
  527. border-radius: 12px;
  528. line-height: 20px;
  529. text-align: center;
  530. height: 20px;
  531. width: 20px;
  532. font-size: 18px;
  533. padding: 1px;
  534. top: 10px;
  535. right: 10px;
  536. position: absolute;
  537. }
  538. .close::before {
  539. content: "\2716";
  540. }
  541. .coupon-tabs {
  542. display: flex;
  543. font-size: 14px;
  544. justify-content: space-around;
  545. border-bottom: 1px solid #f2f2f2;
  546. }
  547. .coupon-tab {
  548. padding: 10px 0;
  549. }
  550. .coupon-tab.on {
  551. border-bottom: 2px solid #04358D;
  552. font-weight: 600;
  553. }
  554. .popup-cnt {
  555. height: calc(100% - 88px);
  556. overflow: auto;
  557. padding: 0 10px;
  558. background: #f4f4f4;
  559. }
  560. .coupon-con{
  561. padding-bottom: 120rpx;
  562. }
  563. .coupon-ok {
  564. position: fixed;
  565. bottom: 0;
  566. width: 100%;
  567. height: 60px;
  568. line-height: 50px;
  569. font-size: 14px;
  570. text-align: center;
  571. box-shadow: 0px -1px 1px #ddd;
  572. background: rgba(255, 255, 255, 0.9);
  573. }
  574. .coupon-ok text {
  575. border-radius: 20px;
  576. display: inline-block;
  577. height: 20px;
  578. line-height: 20px;
  579. width: 450rpx;
  580. padding: 7px;
  581. background-color: #04358D;
  582. /* background: -o-linear-gradient(right, #f45c43, #04358D);
  583. background: linear-gradient(right, #f45c43, #04358D);
  584. background: -webkit-linear-gradient(right, #f45c43, #04358D); */
  585. color: #fff;
  586. box-shadow: -1px 3px 3px #aaa;
  587. }
  588. .botm-empty {
  589. height: 150rpx;
  590. line-height: 150rpx;
  591. font-size: 25rpx;
  592. color: #aaa;
  593. text-align: center;
  594. }
  595. /*checkbox 选项框大小 */
  596. checkbox .wx-checkbox-input {
  597. border-radius: 50%;
  598. width: 35rpx;
  599. height: 35rpx;
  600. }
  601. /*checkbox选中后样式 */
  602. checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  603. background: #FF4D3A;
  604. border-color: #FF4D3A;
  605. }
  606. /*checkbox选中后图标样式 */
  607. checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  608. text-align: center;
  609. font-size: 22rpx;
  610. color: #fff;
  611. background: transparent;
  612. transform: translate(-50%, -50%) scale(1);
  613. -webkit-transform: translate(-50%, -50%) scale(1);
  614. }
  615. /* 修改积分弹出层 */
  616. .score-pop{
  617. height: 30%;
  618. top: 15%;
  619. left: 10%;
  620. transform: translateY(-15%);
  621. width: 80%;
  622. border-radius: 20rpx;
  623. padding: 0 40rpx;
  624. box-sizing: border-box;
  625. }
  626. .score-pop-con .popup-tit{
  627. align-content: flex-start;
  628. }
  629. .score-pop-con{
  630. display: flex;
  631. flex-direction: column;
  632. justify-content: space-around;
  633. align-items: center;
  634. height: 90%;
  635. margin-top: 30rpx;
  636. }
  637. .score-pop-item{
  638. width: 100%;
  639. -webkit-user-select: text !important;
  640. }
  641. input.score-int {
  642. -webkit-user-select: text !important;
  643. }
  644. .score-pop-tit{
  645. margin: 0;
  646. width: 100%;
  647. }
  648. .score-pop-item .confirm-btn{
  649. display: block;
  650. border-radius: 50rpx;
  651. background-color: #FF4D3A;
  652. color: #ffffff;
  653. padding: 10rpx;
  654. text-align: center;
  655. }
  656. .score-tips{
  657. color: #999;
  658. font-size: 26rpx;
  659. }
  660. .score-placeholder{
  661. font-size: 26rpx;
  662. }