submit-order.wxss 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  1. /* pages/submit-order/submit-order.wxss */
  2. page {
  3. background: #f4f4f4;
  4. }
  5. /* 收货地址 */
  6. .submit-order {
  7. margin-bottom: 100rpx;
  8. }
  9. .submit-order .delivery-addr {
  10. position: relative;
  11. background: #fff;
  12. }
  13. .delivery-addr .addr-bg .add-addr .plus-sign {
  14. color: #eb2444;
  15. border: 2rpx solid #eb2444;
  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. .prod-item {
  94. background-color: #fff;
  95. margin-top: 15rpx;
  96. font-size: 28rpx;
  97. }
  98. .prod-item .item-cont .prod-pic image {
  99. width: 180rpx;
  100. height: 180rpx;
  101. }
  102. .prod-item .order-num {
  103. padding: 20rpx 30rpx;
  104. display: flex;
  105. justify-content: space-between;
  106. font-size: 28rpx;
  107. }
  108. .order-state {
  109. display: flex;
  110. align-items: center;
  111. }
  112. .prod-item .item-cont {
  113. display: flex;
  114. align-items: center;
  115. padding: 30rpx;
  116. border-bottom: 2rpx solid #f1f1f1;
  117. }
  118. .prod-item .order-num .clear-btn {
  119. width: 32rpx;
  120. height: 32rpx;
  121. font-size: 0;
  122. vertical-align: top;
  123. margin-top: 6rpx;
  124. margin-left: 42rpx;
  125. position: relative;
  126. }
  127. .prod-item .order-num .clear-btn::after {
  128. content: " ";
  129. display: block;
  130. position: absolute;
  131. left: -10px;
  132. top: 1px;
  133. width: 1px;
  134. height: 12px;
  135. background: #ddd;
  136. }
  137. .prod-item .order-num .clear-btn .clear-list-btn {
  138. width: 100%;
  139. height: 100%;
  140. vertical-align: middle;
  141. }
  142. .prod-item .item-cont .prod-pic {
  143. font-size: 0;
  144. display: block;
  145. width: 160rpx;
  146. height: 160rpx;
  147. overflow: hidden;
  148. background: #fff;
  149. margin-right: 16rpx;
  150. }
  151. .prod-item .item-cont .prod-pic image {
  152. width: 100%;
  153. height: 100%;
  154. }
  155. .prod-item .item-cont .prod-info {
  156. margin-left: 10rpx;
  157. font-size: 28rpx;
  158. width: 100%;
  159. position: relative;
  160. height: 160rpx;
  161. -webkit-flex: 1;
  162. -ms-flex: 1;
  163. -webkit-box-flex: 1;
  164. -moz-box-flex: 1;
  165. flex: 1;
  166. }
  167. .prod-item .item-cont .prod-info .prodname {
  168. font-size: 28rpx;
  169. line-height: 40rpx;
  170. max-height: 86rpx;
  171. overflow: hidden;
  172. display: -webkit-box;
  173. -webkit-line-clamp: 2;
  174. -webkit-box-orient: vertical;
  175. text-overflow: ellipsis;
  176. word-break: break-all;
  177. }
  178. .prod-item .item-cont .prod-info .prod-info-cont {
  179. color: #999;
  180. line-height: 40rpx;
  181. margin-top: 10rpx;
  182. font-size: 22rpx;
  183. overflow: hidden;
  184. display: -webkit-box;
  185. -webkit-line-clamp: 1;
  186. -webkit-box-orient: vertical;
  187. text-overflow: ellipsis;
  188. word-break: break-all;
  189. }
  190. .prod-item .total-num {
  191. text-align: right;
  192. padding: 20rpx 30rpx;
  193. font-size: 28rpx;
  194. }
  195. .prod-item .price-nums .prodprice {
  196. position: absolute;
  197. bottom: 0;
  198. }
  199. .prod-item .price-nums .prodcount {
  200. position: absolute;
  201. bottom: 5rpx;
  202. right: 0;
  203. color: #999;
  204. font-family: verdana;
  205. }
  206. .prod-item .total-num .prodprice {
  207. display: inline-block;
  208. color: #333;
  209. }
  210. .prod-item .total-num .prodcount {
  211. margin-right: 20rpx;
  212. }
  213. /*
  214. 订单信息 */
  215. .order-msg {
  216. background: #fff;
  217. margin-top: 15rpx;
  218. padding: 0 30rpx;
  219. font-size: 28rpx;
  220. }
  221. .order-msg .msg-item {
  222. border-top: 2rpx solid #f1f1f1;
  223. }
  224. .order-msg .msg-item:first-child {
  225. border: 0;
  226. }
  227. .order-msg .msg-item .item {
  228. position: relative;
  229. display: flex;
  230. padding: 16rpx 0;
  231. align-items: center;
  232. }
  233. .order-msg .msg-item .item.payment {
  234. border-top: 2rpx solid #f1f1f1;
  235. color: #eb2444;
  236. }
  237. .order-msg .msg-item .item .item-tit {
  238. line-height: 48rpx;
  239. }
  240. .order-msg .msg-item .item .item-txt {
  241. -webkit-box-flex: 1;
  242. -moz-box-flex: 1;
  243. flex: 1;
  244. font-family: arial;
  245. max-height: 48rpx;
  246. overflow: hidden;
  247. line-height: 48rpx;
  248. display: -webkit-box;
  249. -webkit-line-clamp: 1;
  250. -webkit-box-orient: vertical;
  251. text-overflow: ellipsis;
  252. word-break: break-all;
  253. }
  254. .order-msg .msg-item .item.coupon {
  255. border-bottom: 2rpx solid #e1e1e1;
  256. }
  257. .order-msg .msg-item .item input {
  258. flex: 1;
  259. }
  260. .order-msg .msg-item .item .coupon-btn {
  261. display: block;
  262. margin: 0 30rpx;
  263. line-height: 28rpx;
  264. color: #999;
  265. }
  266. .order-msg .msg-item .item .item-txt.price {
  267. text-align: right;
  268. }
  269. .order-msg .msg-item .item .arrow {
  270. width: 15rpx;
  271. height: 15rpx;
  272. border-top: 2rpx solid #999;
  273. border-right: 2rpx solid #999;
  274. transform: rotate(45deg);
  275. position: absolute;
  276. right: 0rpx;
  277. }
  278. /* 底部栏 */
  279. .submit-order-footer {
  280. position: fixed;
  281. bottom: 0;
  282. width: 100%;
  283. max-width: 750rpx;
  284. background: #fff;
  285. margin: auto;
  286. display: -webkit-flex;
  287. display: -webkit-box;
  288. display: -moz-box;
  289. display: -ms-flexbox;
  290. display: flex;
  291. font-size: 26rpx;
  292. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  293. }
  294. .submit-order-footer .sub-order {
  295. flex: 1;
  296. margin: 0 30rpx;
  297. line-height: 100rpx;
  298. display: block;
  299. text-align: left;
  300. font-size: 28rpx;
  301. }
  302. .submit-order-footer .footer-box {
  303. padding: 0 10rpx;
  304. width: 200rpx;
  305. background: #eb2444;
  306. text-align: center;
  307. line-height: 100rpx;
  308. color: #fff;
  309. }
  310. .submit-order-footer .sub-order .item-txt .price {
  311. display: inline;
  312. color: #eb2444;
  313. font-size: 28rpx;
  314. }
  315. .clearfix:after {
  316. content: " ";
  317. display: table;
  318. clear: both;
  319. }
  320. /** 优惠券弹窗 **/
  321. .popup-hide {
  322. position: fixed;
  323. top: 0;
  324. bottom: 0;
  325. left: 0;
  326. right: 0;
  327. z-index: 999;
  328. background-color: rgba(0, 0, 0, 0.3);
  329. }
  330. .popup-box {
  331. position: absolute;
  332. bottom: 0;
  333. width: 100%;
  334. height: 80%;
  335. overflow: hidden;
  336. background-color: #fff;
  337. }
  338. .popup-tit {
  339. position: relative;
  340. height: 46px;
  341. line-height: 46px;
  342. padding-left: 10px;
  343. font-size: 16px;
  344. color: #333;
  345. font-weight: bold;
  346. }
  347. .close {
  348. color: #aaa;
  349. border-radius: 12px;
  350. line-height: 20px;
  351. text-align: center;
  352. height: 20px;
  353. width: 20px;
  354. font-size: 18px;
  355. padding: 1px;
  356. top: 10px;
  357. right: 10px;
  358. position: absolute;
  359. }
  360. .close::before {
  361. content: "\2716";
  362. }
  363. .coupon-tabs {
  364. display: flex;
  365. font-size: 14px;
  366. justify-content: space-around;
  367. border-bottom: 1px solid #f2f2f2;
  368. }
  369. .coupon-tab {
  370. padding: 10px 0;
  371. }
  372. .coupon-tab.on {
  373. border-bottom: 2px solid #eb2444;
  374. font-weight: 600;
  375. }
  376. .popup-cnt {
  377. height: calc(100% - 88px);
  378. overflow: auto;
  379. padding: 0 10px;
  380. background: #f4f4f4;
  381. }
  382. .coupon-ok {
  383. position: fixed;
  384. bottom: 0;
  385. width: 100%;
  386. height: 60px;
  387. line-height: 50px;
  388. font-size: 14px;
  389. text-align: center;
  390. box-shadow: 0px -1px 1px #ddd;
  391. background: rgba(255, 255, 255, 0.9);
  392. }
  393. .coupon-ok text {
  394. border-radius: 20px;
  395. display: inline-block;
  396. height: 20px;
  397. line-height: 20px;
  398. width: 450rpx;
  399. padding: 7px;
  400. background: -o-linear-gradient(right, #f45c43, #eb2444);
  401. background: linear-gradient(right, #f45c43, #eb2444);
  402. background: -webkit-linear-gradient(right, #f45c43, #eb2444);
  403. color: #fff;
  404. box-shadow: -1px 3px 3px #aaa;
  405. }
  406. .botm-empty {
  407. height: 60px;
  408. }
  409. /*checkbox 选项框大小 */
  410. checkbox .wx-checkbox-input {
  411. border-radius: 50%;
  412. width: 35rpx;
  413. height: 35rpx;
  414. }
  415. /*checkbox选中后样式 */
  416. checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  417. background: #eb2444;
  418. border-color: #eb2444;
  419. }
  420. /*checkbox选中后图标样式 */
  421. checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  422. text-align: center;
  423. font-size: 22rpx;
  424. color: #fff;
  425. background: transparent;
  426. transform: translate(-50%, -50%) scale(1);
  427. -webkit-transform: translate(-50%, -50%) scale(1);
  428. }