submit-order.wxss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755
  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: 28rpx;
  266. color: #222;
  267. line-height: 40rpx;
  268. max-height: 86rpx;
  269. overflow: hidden;
  270. display: -webkit-box;
  271. -webkit-line-clamp: 2;
  272. -webkit-box-orient: vertical;
  273. text-overflow: ellipsis;
  274. word-break: break-all;
  275. }
  276. .prod-item .item-cont .prod-info .prod-info-cont {
  277. color: #888888;
  278. line-height: 40rpx;
  279. margin-top: 10rpx;
  280. font-size: 25rpx;
  281. overflow: hidden;
  282. display: -webkit-box;
  283. -webkit-line-clamp: 1;
  284. -webkit-box-orient: vertical;
  285. text-overflow: ellipsis;
  286. word-break: break-all;
  287. }
  288. .prod-item .total-num {
  289. text-align: right;
  290. padding: 20rpx 30rpx;
  291. font-size: 28rpx;
  292. }
  293. .prod-item .price-nums {
  294. margin-top: 10rpx;
  295. }
  296. .prod-item .price-nums .prodprice {
  297. display: block;
  298. /* position: absolute; */
  299. bottom: 0;
  300. color: #FF4D3A;
  301. font-size: 32rpx;
  302. }
  303. .prod-item .price-nums .prodcount {
  304. position: absolute;
  305. bottom: 5rpx;
  306. right: 0;
  307. color: #999;
  308. font-family: verdana;
  309. font-size: 30rpx;
  310. }
  311. .prod-item .total-num .prodprice {
  312. display: inline-block;
  313. color: #333;
  314. }
  315. .prod-item .total-num .prodcount {
  316. margin-right: 20rpx;
  317. }
  318. /* 促销样式 */
  319. .prod-item .prod-block {
  320. background: #fff;
  321. }
  322. .prod-item .prod-block.discount .item-cont{
  323. position: relative;
  324. }
  325. .prod-item .prod-block.discount .item-cont::after{
  326. content: "";
  327. position: absolute;
  328. left: -5rpx;
  329. top: 0;
  330. bottom: 0;
  331. width: 0;
  332. border-left: 1px dashed #e5e5e5;
  333. z-index:0;
  334. }
  335. .prod-item .prod-block .discount-tips {
  336. padding: 20rpx 0 10rpx 10rpx;
  337. height: 40rpx;
  338. line-height: 40rpx;
  339. border-top: 1rpx solid #f2f2f2;
  340. }
  341. .prod-item .prod-block .discount-tips .text-block {
  342. padding: 3rpx 5rpx;
  343. border-radius: 8rpx;
  344. font-size: 23rpx;
  345. background: #FF4D3A;
  346. color:#fff;
  347. position: relative;
  348. }
  349. .prod-item .prod-block .discount-tips .text-block::before{
  350. position: absolute;
  351. left: 5px;
  352. bottom: -4px;
  353. content: "";
  354. display: block;
  355. border-left: 4px solid transparent;
  356. border-right: 4px solid transparent;
  357. border-top: 4px solid #FF4D3A;
  358. }
  359. .prod-item .prod-block .discount-tips .text-list {
  360. font-size: 26rpx;
  361. margin-left: 10rpx;
  362. }
  363. .shop-item .prod-block .discount-tips .text-list.reduce-amount {
  364. font-weight: normal;
  365. color: #FF4D3A;
  366. padding-left: 20rpx;
  367. }
  368. /* 促销样式 */
  369. /*
  370. 订单信息 */
  371. .order-msg {
  372. background: #fff;
  373. font-size: 30rpx;
  374. border-radius: 16rpx;
  375. }
  376. .order-msg .msg-item {
  377. border-top: 1px solid #f1f1f1;
  378. }
  379. .order-msg .msg-item:first-child {
  380. border: 0;
  381. }
  382. .order-msg .msg-item .item {
  383. position: relative;
  384. display: flex;
  385. align-items: center;
  386. padding: 16rpx 30rpx;
  387. }
  388. .order-msg .msg-item .item.payment {
  389. border-top: 2rpx solid #f1f1f1;
  390. color: #FF4D3A;
  391. }
  392. .order-msg .msg-item .item .item-tit {
  393. line-height: 48rpx;
  394. font-size: 28rpx;
  395. color: #222;
  396. }
  397. .order-msg .msg-item .item .item-txt {
  398. -webkit-box-flex: 1;
  399. -moz-box-flex: 1;
  400. flex: 1;
  401. font-family: arial;
  402. max-height: 48rpx;
  403. overflow: hidden;
  404. line-height: 48rpx;
  405. display: -webkit-box;
  406. -webkit-line-clamp: 1;
  407. -webkit-box-orient: vertical;
  408. text-overflow: ellipsis;
  409. word-break: break-all;
  410. background: #fff;
  411. }
  412. .order-msg .msg-item .item .item-txt.none{
  413. color:#999;
  414. }
  415. .order-msg .msg-item .item.coupon {
  416. border-bottom: 2rpx solid #f1f1f1;
  417. }
  418. .order-msg .msg-item .item input {
  419. flex: 1;
  420. z-index: 0;
  421. }
  422. .order-msg .msg-item .item .coupon-btn {
  423. display: block;
  424. margin: 0 30rpx;
  425. line-height: 28rpx;
  426. color: #999;
  427. }
  428. .order-msg .msg-item .item .coupon-amount{
  429. color: #FF4D3A;
  430. position: absolute;
  431. right:60rpx;
  432. }
  433. .order-msg .msg-item .item .item-txt.price {
  434. text-align: right;
  435. }
  436. .order-msg .msg-item .item .arrow {
  437. width: 15rpx;
  438. height: 15rpx;
  439. border-top: 2rpx solid #999;
  440. border-right: 2rpx solid #999;
  441. transform: rotate(45deg);
  442. position: absolute;
  443. right: 30rpx;
  444. }
  445. /* 底部栏 */
  446. .submit-order-footer {
  447. position: fixed;
  448. bottom: 0;
  449. width: 100%;
  450. max-width: 750rpx;
  451. background: #fff;
  452. margin: auto;
  453. display: -webkit-flex;
  454. display: -webkit-box;
  455. display: -moz-box;
  456. display: -ms-flexbox;
  457. display: flex;
  458. align-items: center;
  459. font-size: 26rpx;
  460. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  461. }
  462. .submit-order-footer .sub-order {
  463. flex: 1;
  464. margin: 0 30rpx;
  465. line-height: 100rpx;
  466. display: block;
  467. text-align: left;
  468. font-size: 28rpx;
  469. background: #fff;
  470. z-index: 5;
  471. }
  472. .item-txt {
  473. height: 100rpx;
  474. line-height: 100rpx;
  475. }
  476. .submit-order-footer .footer-box {
  477. padding: 0 10rpx;
  478. width: 200rpx;
  479. background: #FF941A;
  480. text-align: center;
  481. color: #fff;
  482. font-size: 28rpx;
  483. font-weight: bold;
  484. border-radius: 60rpx;
  485. height: 2.8em;
  486. line-height: 2.8em;
  487. margin-right: 20rpx;
  488. }
  489. .submit-order-footer .sub-order .item-txt .price {
  490. display: inline;
  491. color: #FF4D3A;
  492. font-size: 28rpx;
  493. }
  494. .clearfix:after {
  495. content: " ";
  496. display: table;
  497. clear: both;
  498. }
  499. /** 优惠券弹窗 **/
  500. .popup-hide {
  501. position: fixed;
  502. top: 0;
  503. bottom: 0;
  504. left: 0;
  505. right: 0;
  506. z-index: 999;
  507. background-color: rgba(0, 0, 0, 0.3);
  508. }
  509. .popup-box {
  510. position: absolute;
  511. bottom: 0;
  512. width: 100%;
  513. height: 80%;
  514. overflow: hidden;
  515. background-color: #fff;
  516. }
  517. .popup-tit {
  518. position: relative;
  519. height: 46px;
  520. line-height: 46px;
  521. padding-left: 10px;
  522. font-size: 16px;
  523. color: #333;
  524. font-weight: bold;
  525. }
  526. .close {
  527. color: #aaa;
  528. border-radius: 12px;
  529. line-height: 20px;
  530. text-align: center;
  531. height: 20px;
  532. width: 20px;
  533. font-size: 18px;
  534. padding: 1px;
  535. top: 10px;
  536. right: 10px;
  537. position: absolute;
  538. }
  539. .close::before {
  540. content: "\2716";
  541. }
  542. .coupon-tabs {
  543. display: flex;
  544. font-size: 14px;
  545. justify-content: space-around;
  546. border-bottom: 1px solid #f2f2f2;
  547. }
  548. .coupon-tab {
  549. padding: 10px 0;
  550. }
  551. .coupon-tab.on {
  552. border-bottom: 2px solid #FF941A;
  553. font-weight: 600;
  554. }
  555. .popup-cnt {
  556. height: calc(100% - 88px);
  557. overflow: auto;
  558. padding: 0 10px;
  559. background: #f4f4f4;
  560. }
  561. .coupon-con{
  562. padding-bottom: 120rpx;
  563. }
  564. .coupon-ok {
  565. position: fixed;
  566. bottom: 0;
  567. width: 100%;
  568. height: 60px;
  569. line-height: 50px;
  570. font-size: 14px;
  571. text-align: center;
  572. box-shadow: 0px -1px 1px #ddd;
  573. background: rgba(255, 255, 255, 0.9);
  574. }
  575. .coupon-ok text {
  576. border-radius: 20px;
  577. display: inline-block;
  578. height: 20px;
  579. line-height: 20px;
  580. width: 450rpx;
  581. padding: 7px;
  582. background-color: #FF941A;
  583. /* background: -o-linear-gradient(right, #f45c43, #FF941A);
  584. background: linear-gradient(right, #f45c43, #FF941A);
  585. background: -webkit-linear-gradient(right, #f45c43, #FF941A); */
  586. color: #fff;
  587. box-shadow: -1px 3px 3px #aaa;
  588. }
  589. .botm-empty {
  590. height: 150rpx;
  591. line-height: 150rpx;
  592. font-size: 25rpx;
  593. color: #aaa;
  594. text-align: center;
  595. }
  596. /*checkbox 选项框大小 */
  597. checkbox .wx-checkbox-input {
  598. border-radius: 50%;
  599. width: 35rpx;
  600. height: 35rpx;
  601. }
  602. /*checkbox选中后样式 */
  603. checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  604. background: #FF4D3A;
  605. border-color: #FF4D3A;
  606. }
  607. /*checkbox选中后图标样式 */
  608. checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  609. text-align: center;
  610. font-size: 22rpx;
  611. color: #fff;
  612. background: transparent;
  613. transform: translate(-50%, -50%) scale(1);
  614. -webkit-transform: translate(-50%, -50%) scale(1);
  615. }
  616. /* 修改积分弹出层 */
  617. .score-pop{
  618. height: 30%;
  619. top: 15%;
  620. left: 10%;
  621. transform: translateY(-15%);
  622. width: 80%;
  623. border-radius: 20rpx;
  624. padding: 0 40rpx;
  625. box-sizing: border-box;
  626. }
  627. .score-pop-con .popup-tit{
  628. align-content: flex-start;
  629. }
  630. .score-pop-con{
  631. display: flex;
  632. flex-direction: column;
  633. justify-content: space-around;
  634. align-items: center;
  635. height: 90%;
  636. margin-top: 30rpx;
  637. }
  638. .score-pop-item{
  639. width: 100%;
  640. -webkit-user-select: text !important;
  641. }
  642. input.score-int {
  643. -webkit-user-select: text !important;
  644. }
  645. .score-pop-tit{
  646. margin: 0;
  647. width: 100%;
  648. }
  649. .score-pop-item .confirm-btn{
  650. display: block;
  651. border-radius: 50rpx;
  652. background-color: #FF4D3A;
  653. color: #ffffff;
  654. padding: 10rpx;
  655. text-align: center;
  656. }
  657. .score-tips{
  658. color: #999;
  659. font-size: 26rpx;
  660. }
  661. .score-placeholder{
  662. font-size: 26rpx;
  663. }