integralSubmitOrder.wxss 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  1. /* pages/integralSubmitOrder/integralSubmitOrder.wxss */
  2. /* pages/submit-order/submit-order.wxss */
  3. page {
  4. background: #f4f4f4;
  5. }
  6. /* 收货地址 */
  7. .submit-order {
  8. margin-bottom: 120rpx;
  9. }
  10. .submit-order .delivery-addr {
  11. position: relative;
  12. background: #fff;
  13. }
  14. .delivery-addr .addr-bg .add-addr .plus-sign {
  15. color: #e43130;
  16. border: 2rpx solid #e43130;
  17. padding: 0rpx 6rpx;
  18. margin-right: 10rpx;
  19. }
  20. .delivery-addr .addr-bg {
  21. padding: 0 30rpx;
  22. }
  23. .delivery-addr .addr-bg.whole {
  24. padding: 0 39rpx 0 77rpx;
  25. }
  26. .delivery-addr .addr-bg .add-addr {
  27. font-size: 28rpx;
  28. color: #666;
  29. display: flex;
  30. align-items: center;
  31. padding: 30rpx 0;
  32. }
  33. .submit-order .delivery-addr .addr-icon {
  34. width: 32rpx;
  35. height: 32rpx;
  36. display: block;
  37. position: absolute;
  38. left: 30rpx;
  39. top: 24rpx;
  40. }
  41. .submit-order .delivery-addr .addr-icon image {
  42. width: 100%;
  43. height: 100%;
  44. }
  45. .submit-order .delivery-addr .user-info {
  46. padding-top: 20rpx;
  47. line-height: 48rpx;
  48. word-wrap: break-word;
  49. word-break: break-all;
  50. overflow: hidden;
  51. text-overflow: ellipsis;
  52. display: -webkit-box;
  53. -webkit-line-clamp: 1;
  54. -webkit-box-orient: vertical;
  55. }
  56. .submit-order .delivery-addr .user-info .item {
  57. font-size: 30rpx;
  58. margin-right: 30rpx;
  59. vertical-align: top;
  60. display: inline-block;
  61. }
  62. .submit-order .delivery-addr .addr {
  63. font-size: 26rpx;
  64. line-height: 36rpx;
  65. color: #999;
  66. width: 90%;
  67. padding-bottom: 20rpx;
  68. margin-top: 15rpx;
  69. }
  70. .submit-order .delivery-addr .arrow {
  71. width: 15rpx;
  72. height: 15rpx;
  73. border-top: 2rpx solid #777;
  74. border-right: 2rpx solid #777;
  75. transform: rotate(45deg);
  76. position: absolute;
  77. right: 30rpx;
  78. top: 60rpx;
  79. }
  80. .submit-order .delivery-addr .arrow.empty {
  81. top: 39rpx;
  82. }
  83. .addr-bg .add-addr .plus-sign-img {
  84. width: 32rpx;
  85. height: 32rpx;
  86. font-size: 0;
  87. margin-right: 10rpx;
  88. }
  89. .addr-bg .add-addr .plus-sign-img image {
  90. width: 100%;
  91. height: 100%;
  92. }
  93. /* 商品列表 */
  94. .shop-item {
  95. margin-top: 20rpx;
  96. margin-bottom: 20rpx;
  97. }
  98. .prod-item {
  99. background-color: #fff;
  100. margin-top: 15rpx;
  101. font-size: 28rpx;
  102. }
  103. .prod-item .item-cont .prod-pic image {
  104. width: 180rpx;
  105. height: 180rpx;
  106. }
  107. .prod-item .order-num {
  108. padding: 20rpx 30rpx;
  109. display: flex;
  110. justify-content: space-between;
  111. font-size: 28rpx;
  112. }
  113. .order-state {
  114. display: flex;
  115. align-items: center;
  116. }
  117. .item-box {
  118. /* border-bottom: 10rpx solid #f2f2f2; */
  119. }
  120. /* 店铺 */
  121. .shop-box {
  122. padding: 20rpx;
  123. /* margin: 0 20rpx; */
  124. border-bottom: 1rpx solid #f2f2f2;
  125. background: #fff;
  126. }
  127. .shop-icon {
  128. display: inline-block;
  129. width: 35rpx;
  130. height: 35rpx;
  131. vertical-align: middle;
  132. margin-right: 15rpx;
  133. }
  134. .shop-icon > image {
  135. width: 100%;
  136. height: 100%;
  137. }
  138. .shop-name {
  139. font-size: 30rpx;
  140. display: inline-block;
  141. vertical-align: middle;
  142. }
  143. .prod-item .item-cont {
  144. display: flex;
  145. align-items: center;
  146. padding: 30rpx;
  147. border-bottom: 2rpx solid #f1f1f1;
  148. }
  149. .prod-item .order-num .clear-btn {
  150. width: 32rpx;
  151. height: 32rpx;
  152. font-size: 0;
  153. vertical-align: top;
  154. margin-top: 6rpx;
  155. margin-left: 42rpx;
  156. position: relative;
  157. }
  158. .prod-item .order-num .clear-btn::after {
  159. content: " ";
  160. display: block;
  161. position: absolute;
  162. left: -10px;
  163. top: 1px;
  164. width: 1px;
  165. height: 12px;
  166. background: #ddd;
  167. }
  168. .prod-item .order-num .clear-btn .clear-list-btn {
  169. width: 100%;
  170. height: 100%;
  171. vertical-align: middle;
  172. }
  173. .prod-item .item-cont .prod-pic {
  174. font-size: 0;
  175. display: block;
  176. width: 160rpx;
  177. height: 160rpx;
  178. overflow: hidden;
  179. background: #fff;
  180. margin-right: 16rpx;
  181. }
  182. .prod-item .item-cont .prod-pic image {
  183. width: 100%;
  184. height: 100%;
  185. }
  186. .prod-item .item-cont .prod-info {
  187. margin-left: 10rpx;
  188. font-size: 28rpx;
  189. width: 100%;
  190. position: relative;
  191. height: 160rpx;
  192. -webkit-flex: 1;
  193. -ms-flex: 1;
  194. -webkit-box-flex: 1;
  195. -moz-box-flex: 1;
  196. flex: 1;
  197. }
  198. .prod-item .item-cont .prod-info .prodname {
  199. font-size: 30rpx;
  200. line-height: 40rpx;
  201. max-height: 86rpx;
  202. overflow: hidden;
  203. display: -webkit-box;
  204. -webkit-line-clamp: 2;
  205. -webkit-box-orient: vertical;
  206. text-overflow: ellipsis;
  207. word-break: break-all;
  208. }
  209. .prod-item .item-cont .prod-info .prod-info-cont {
  210. color: #888888;
  211. line-height: 40rpx;
  212. margin-top: 5rpx;
  213. font-size: 25rpx;
  214. overflow: hidden;
  215. display: -webkit-box;
  216. -webkit-line-clamp: 1;
  217. -webkit-box-orient: vertical;
  218. text-overflow: ellipsis;
  219. word-break: break-all;
  220. }
  221. .prod-item .total-num {
  222. text-align: right;
  223. padding: 20rpx 30rpx;
  224. font-size: 28rpx;
  225. }
  226. .prod-item .price-nums {
  227. /* margin-top: 10rpx; */
  228. display: inline-block;
  229. vertical-align: middle;
  230. }
  231. .prod-item .price-nums .prodprice {
  232. display: inline-block;
  233. /* position: absolute; */
  234. bottom: 0;
  235. color: #e43130;
  236. font-size: 32rpx;
  237. vertical-align: middle;
  238. }
  239. .prod-item .price-nums .prodcount {
  240. position: absolute;
  241. bottom: 1rpx;
  242. right: 0;
  243. color: #999;
  244. font-family: verdana;
  245. font-size: 30rpx;
  246. }
  247. .show-price {
  248. margin-top: 5rpx;
  249. }
  250. .integral-num {
  251. display: inline-block;
  252. vertical-align: middle;
  253. color: #e43130;
  254. font-size: 30rpx;
  255. }
  256. .prod-item .total-num .prodprice {
  257. display: inline-block;
  258. color: #333;
  259. }
  260. .prod-item .total-num .prodcount {
  261. margin-right: 20rpx;
  262. }
  263. /*
  264. 订单信息 */
  265. .order-msg {
  266. background: #fff;
  267. font-size: 30rpx;
  268. margin-top: 20rpx;
  269. }
  270. .order-msg .msg-item {
  271. border-top: 1px solid #f1f1f1;
  272. }
  273. .order-msg .msg-item:first-child {
  274. border: 0;
  275. }
  276. .order-msg .msg-item .item {
  277. position: relative;
  278. display: flex;
  279. align-items: center;
  280. padding: 16rpx 30rpx;
  281. }
  282. .order-msg .msg-item .item.payment {
  283. border-top: 2rpx solid #f1f1f1;
  284. color: #e43130;
  285. }
  286. .order-msg .msg-item .item .item-tit {
  287. line-height: 48rpx;
  288. }
  289. .order-msg .msg-item .item .item-txt {
  290. -webkit-box-flex: 1;
  291. -moz-box-flex: 1;
  292. flex: 1;
  293. font-family: arial;
  294. max-height: 48rpx;
  295. overflow: hidden;
  296. line-height: 48rpx;
  297. display: -webkit-box;
  298. -webkit-line-clamp: 1;
  299. -webkit-box-orient: vertical;
  300. text-overflow: ellipsis;
  301. word-break: break-all;
  302. background: #fff;
  303. }
  304. .order-msg .msg-item .item .item-txt.none{
  305. color:#999;
  306. }
  307. .order-msg .msg-item .item.coupon {
  308. border-bottom: 2rpx solid #f1f1f1;
  309. }
  310. .order-msg .msg-item .item input {
  311. flex: 1;
  312. z-index: 0;
  313. }
  314. .order-msg .msg-item .item .coupon-btn {
  315. display: block;
  316. margin: 0 30rpx;
  317. line-height: 28rpx;
  318. color: #999;
  319. }
  320. .order-msg .msg-item .item .coupon-amount{
  321. color: #e43130;
  322. position: absolute;
  323. right:60rpx;
  324. }
  325. .order-msg .msg-item .item .item-txt.price {
  326. text-align: right;
  327. }
  328. .order-msg .msg-item .item .arrow {
  329. width: 15rpx;
  330. height: 15rpx;
  331. border-top: 2rpx solid #999;
  332. border-right: 2rpx solid #999;
  333. transform: rotate(45deg);
  334. position: absolute;
  335. right: 30rpx;
  336. }
  337. /* 底部栏 */
  338. .submit-order-footer {
  339. position: fixed;
  340. bottom: 0;
  341. width: 100%;
  342. max-width: 750rpx;
  343. background: #fff;
  344. margin: auto;
  345. display: -webkit-flex;
  346. display: -webkit-box;
  347. display: -moz-box;
  348. display: -ms-flexbox;
  349. display: flex;
  350. font-size: 26rpx;
  351. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  352. }
  353. .submit-order-footer .sub-order {
  354. flex: 1;
  355. margin: 0 30rpx;
  356. line-height: 100rpx;
  357. display: block;
  358. text-align: left;
  359. font-size: 28rpx;
  360. background: #fff;
  361. z-index: 5;
  362. }
  363. .item-txt {
  364. height: 100rpx;
  365. line-height: 100rpx;
  366. }
  367. .submit-order-footer .footer-box {
  368. padding: 0 10rpx;
  369. width: 200rpx;
  370. background: #e43130;
  371. text-align: center;
  372. line-height: 100rpx;
  373. color: #fff;
  374. font-size: 30rpx;
  375. }
  376. .submit-order-footer .sub-order .item-txt .price {
  377. display: inline-block;
  378. color: #e43130;
  379. font-size: 28rpx;
  380. vertical-align: middle;
  381. }
  382. .symbol,
  383. .small-num,
  384. .big-num {
  385. display: inline-block;
  386. vertical-align: middle;
  387. }
  388. .clearfix:after {
  389. content: " ";
  390. display: table;
  391. clear: both;
  392. }
  393. /** 优惠券弹窗 **/
  394. .popup-hide {
  395. position: fixed;
  396. top: 0;
  397. bottom: 0;
  398. left: 0;
  399. right: 0;
  400. z-index: 999;
  401. background-color: rgba(0, 0, 0, 0.3);
  402. }
  403. .popup-box {
  404. position: absolute;
  405. bottom: 0;
  406. width: 100%;
  407. height: 80%;
  408. overflow: hidden;
  409. background-color: #fff;
  410. }
  411. .popup-tit {
  412. position: relative;
  413. height: 46px;
  414. line-height: 46px;
  415. padding-left: 10px;
  416. font-size: 16px;
  417. color: #333;
  418. font-weight: bold;
  419. }
  420. .close {
  421. color: #aaa;
  422. border-radius: 12px;
  423. line-height: 20px;
  424. text-align: center;
  425. height: 20px;
  426. width: 20px;
  427. font-size: 18px;
  428. padding: 1px;
  429. top: 10px;
  430. right: 10px;
  431. position: absolute;
  432. }
  433. .close::before {
  434. content: "\2716";
  435. }
  436. .coupon-tabs {
  437. display: flex;
  438. font-size: 14px;
  439. justify-content: space-around;
  440. border-bottom: 1px solid #f2f2f2;
  441. }
  442. .coupon-tab {
  443. padding: 10px 0;
  444. }
  445. .coupon-tab.on {
  446. border-bottom: 2px solid #e43130;
  447. font-weight: 600;
  448. }
  449. .popup-cnt {
  450. height: calc(100% - 88px);
  451. overflow: auto;
  452. padding: 0 10px;
  453. background: #f4f4f4;
  454. }
  455. .coupon-ok {
  456. position: fixed;
  457. bottom: 0;
  458. width: 100%;
  459. height: 60px;
  460. line-height: 50px;
  461. font-size: 14px;
  462. text-align: center;
  463. box-shadow: 0px -1px 1px #ddd;
  464. background: rgba(255, 255, 255, 0.9);
  465. }
  466. .coupon-ok text {
  467. border-radius: 20px;
  468. display: inline-block;
  469. height: 20px;
  470. line-height: 20px;
  471. width: 450rpx;
  472. padding: 7px;
  473. background: -o-linear-gradient(right, #f45c43, #e43130);
  474. background: linear-gradient(right, #f45c43, #e43130);
  475. background: -webkit-linear-gradient(right, #f45c43, #e43130);
  476. color: #fff;
  477. box-shadow: -1px 3px 3px #aaa;
  478. }
  479. .botm-empty {
  480. height: 150rpx;
  481. line-height: 150rpx;
  482. font-size: 25rpx;
  483. color: #aaa;
  484. text-align: center;
  485. }
  486. /*checkbox 选项框大小 */
  487. checkbox .wx-checkbox-input {
  488. border-radius: 50%;
  489. width: 35rpx;
  490. height: 35rpx;
  491. }
  492. /*checkbox选中后样式 */
  493. checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  494. background: #e43130;
  495. border-color: #e43130;
  496. }
  497. /*checkbox选中后图标样式 */
  498. checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  499. text-align: center;
  500. font-size: 22rpx;
  501. color: #fff;
  502. background: transparent;
  503. transform: translate(-50%, -50%) scale(1);
  504. -webkit-transform: translate(-50%, -50%) scale(1);
  505. }