submit-order.wxss 13 KB

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