createOrder.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. page {
  12. background: #f8f8f8;
  13. padding-bottom: 100rpx;
  14. }
  15. .navbar {
  16. display: -webkit-box;
  17. display: -webkit-flex;
  18. display: flex;
  19. height: 80rpx;
  20. padding: 0 5px;
  21. background: #fff;
  22. -webkit-box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.06);
  23. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.06);
  24. position: relative;
  25. z-index: 10;
  26. }
  27. .navbar .nav-item {
  28. -webkit-box-flex: 1;
  29. -webkit-flex: 1;
  30. flex: 1;
  31. display: -webkit-box;
  32. display: -webkit-flex;
  33. display: flex;
  34. -webkit-box-pack: center;
  35. -webkit-justify-content: center;
  36. justify-content: center;
  37. -webkit-box-align: center;
  38. -webkit-align-items: center;
  39. align-items: center;
  40. height: 100%;
  41. font-size: 36rpx;
  42. color: #303133;
  43. position: relative;
  44. }
  45. .navbar .nav-item.current {
  46. color: #5dbc7c;
  47. }
  48. .navbar .nav-item.current:after {
  49. content: '';
  50. position: absolute;
  51. left: 50%;
  52. bottom: 0;
  53. -webkit-transform: translateX(-50%);
  54. transform: translateX(-50%);
  55. width: 140rpx;
  56. height: 0;
  57. border-bottom: 2px solid #5dbc7c;
  58. }
  59. .address-section {
  60. padding: 30rpx 0;
  61. background: #fff;
  62. position: relative;
  63. border-top: 1px solid #ebeef5;
  64. }
  65. .address-section .order-content {
  66. min-height: 100rpx;
  67. display: -webkit-box;
  68. display: -webkit-flex;
  69. display: flex;
  70. -webkit-box-align: center;
  71. -webkit-align-items: center;
  72. align-items: center;
  73. }
  74. .address-section .order-content .addAddress {
  75. text-align: center;
  76. width: 100%;
  77. display: -webkit-box;
  78. display: -webkit-flex;
  79. display: flex;
  80. -webkit-box-pack: center;
  81. -webkit-justify-content: center;
  82. justify-content: center;
  83. -webkit-box-align: center;
  84. -webkit-align-items: center;
  85. align-items: center;
  86. }
  87. .address-section .order-content .addAddress .iconaddition {
  88. font-size: 55rpx;
  89. line-height: 1;
  90. -webkit-border-radius: 100rpx;
  91. border-radius: 100rpx;
  92. margin-right: 20rpx;
  93. }
  94. .address-section .iconlocation {
  95. -webkit-flex-shrink: 0;
  96. flex-shrink: 0;
  97. display: -webkit-box;
  98. display: -webkit-flex;
  99. display: flex;
  100. -webkit-box-align: center;
  101. -webkit-align-items: center;
  102. align-items: center;
  103. -webkit-box-pack: center;
  104. -webkit-justify-content: center;
  105. justify-content: center;
  106. width: 90rpx;
  107. color: #888;
  108. font-size: 44rpx;
  109. }
  110. .address-section .cen {
  111. display: -webkit-box;
  112. display: -webkit-flex;
  113. display: flex;
  114. -webkit-box-orient: vertical;
  115. -webkit-box-direction: normal;
  116. -webkit-flex-direction: column;
  117. flex-direction: column;
  118. -webkit-box-flex: 1;
  119. -webkit-flex: 1;
  120. flex: 1;
  121. font-size: 28rpx;
  122. color: #303133;
  123. }
  124. .address-section .name {
  125. font-size: 34rpx;
  126. margin-right: 24rpx;
  127. }
  128. .address-section .address {
  129. margin-top: 16rpx;
  130. margin-right: 20rpx;
  131. color: #909399;
  132. }
  133. .address-section .icon-you {
  134. font-size: 32rpx;
  135. color: #909399;
  136. margin-right: 30rpx;
  137. }
  138. .address-section .a-bg {
  139. position: absolute;
  140. left: 0;
  141. bottom: 0;
  142. display: block;
  143. width: 100%;
  144. height: 5rpx;
  145. }
  146. .goods-section {
  147. margin-top: 16rpx;
  148. background: #fff;
  149. padding-bottom: 1px;
  150. }
  151. .goods-section .g-header {
  152. display: -webkit-box;
  153. display: -webkit-flex;
  154. display: flex;
  155. -webkit-box-align: center;
  156. -webkit-align-items: center;
  157. align-items: center;
  158. height: 84rpx;
  159. padding: 0 30rpx;
  160. position: relative;
  161. }
  162. .goods-section .logo {
  163. display: block;
  164. width: 50rpx;
  165. height: 50rpx;
  166. -webkit-border-radius: 100px;
  167. border-radius: 100px;
  168. }
  169. .goods-section .name {
  170. font-size: 30rpx;
  171. color: #606266;
  172. margin-left: 24rpx;
  173. }
  174. .goods-section .g-item {
  175. display: -webkit-box;
  176. display: -webkit-flex;
  177. display: flex;
  178. margin: 20rpx 30rpx;
  179. }
  180. .goods-section .g-item image {
  181. -webkit-flex-shrink: 0;
  182. flex-shrink: 0;
  183. display: block;
  184. width: 140rpx;
  185. height: 140rpx;
  186. -webkit-border-radius: 4rpx;
  187. border-radius: 4rpx;
  188. }
  189. .goods-section .g-item .right {
  190. -webkit-box-flex: 1;
  191. -webkit-flex: 1;
  192. flex: 1;
  193. padding-left: 24rpx;
  194. overflow: hidden;
  195. }
  196. .goods-section .g-item .title {
  197. font-size: 30rpx;
  198. color: #303133;
  199. }
  200. .goods-section .g-item .spec {
  201. font-size: 26rpx;
  202. color: #909399;
  203. }
  204. .goods-section .g-item .price-box {
  205. display: -webkit-box;
  206. display: -webkit-flex;
  207. display: flex;
  208. -webkit-box-align: center;
  209. -webkit-align-items: center;
  210. align-items: center;
  211. font-size: 32rpx;
  212. color: #303133;
  213. padding-top: 10rpx;
  214. }
  215. .goods-section .g-item .price-box .price {
  216. margin-bottom: 4rpx;
  217. color: #dd524d;
  218. }
  219. .goods-section .g-item .price-box .number {
  220. font-size: 26rpx;
  221. color: #606266;
  222. margin-left: 20rpx;
  223. }
  224. .goods-section .g-item .step-box {
  225. position: relative;
  226. }
  227. .yt-list {
  228. margin-top: 16rpx;
  229. background: #fff;
  230. }
  231. .yt-list-cell {
  232. display: -webkit-box;
  233. display: -webkit-flex;
  234. display: flex;
  235. -webkit-box-align: center;
  236. -webkit-align-items: center;
  237. align-items: center;
  238. padding: 10rpx 30rpx 10rpx 40rpx;
  239. line-height: 70rpx;
  240. position: relative;
  241. }
  242. .yt-list-cell.cell-hover {
  243. background: #fafafa;
  244. }
  245. .yt-list-cell.b-b:after {
  246. left: 30rpx;
  247. }
  248. .yt-list-cell .cell-icon {
  249. height: 32rpx;
  250. width: 32rpx;
  251. font-size: 22rpx;
  252. color: #fff;
  253. text-align: center;
  254. line-height: 32rpx;
  255. background: #f85e52;
  256. -webkit-border-radius: 4rpx;
  257. border-radius: 4rpx;
  258. margin-right: 12rpx;
  259. }
  260. .yt-list-cell .cell-icon.hb {
  261. background: #ffaa0e;
  262. }
  263. .yt-list-cell .cell-icon.lpk {
  264. background: #3ab54a;
  265. }
  266. .yt-list-cell .cell-more {
  267. -webkit-align-self: center;
  268. align-self: center;
  269. font-size: 24rpx;
  270. color: #909399;
  271. margin-left: 8rpx;
  272. margin-right: -10rpx;
  273. }
  274. .yt-list-cell .cell-tit {
  275. -webkit-box-flex: 1;
  276. -webkit-flex: 1;
  277. flex: 1;
  278. font-size: 26rpx;
  279. color: #909399;
  280. margin-right: 10rpx;
  281. }
  282. .yt-list-cell .cell-tip {
  283. font-size: 26rpx;
  284. color: #303133;
  285. }
  286. .yt-list-cell .cell-tip.disabled {
  287. color: #909399;
  288. }
  289. .yt-list-cell .cell-tip.active {
  290. color: #5dbc7c;
  291. }
  292. .yt-list-cell .cell-tip.red {
  293. color: #5dbc7c;
  294. }
  295. .yt-list-cell.desc-cell .cell-tit {
  296. max-width: 90rpx;
  297. }
  298. .yt-list-cell .desc {
  299. -webkit-box-flex: 1;
  300. -webkit-flex: 1;
  301. flex: 1;
  302. text-align: right;
  303. font-size: 28rpx;
  304. color: #303133;
  305. }
  306. /* 支付列表 */
  307. .pay-list {
  308. padding-left: 40rpx;
  309. margin-top: 16rpx;
  310. background: #fff;
  311. }
  312. .pay-list .pay-item {
  313. display: -webkit-box;
  314. display: -webkit-flex;
  315. display: flex;
  316. -webkit-box-align: center;
  317. -webkit-align-items: center;
  318. align-items: center;
  319. padding-right: 20rpx;
  320. line-height: 1;
  321. height: 110rpx;
  322. position: relative;
  323. }
  324. .pay-list .icon-weixinzhifu {
  325. width: 80rpx;
  326. font-size: 40rpx;
  327. color: #6bcc03;
  328. }
  329. .pay-list .icon-alipay {
  330. width: 80rpx;
  331. font-size: 40rpx;
  332. color: #06b4fd;
  333. }
  334. .pay-list .icon-xuanzhong2 {
  335. display: -webkit-box;
  336. display: -webkit-flex;
  337. display: flex;
  338. -webkit-box-align: center;
  339. -webkit-align-items: center;
  340. align-items: center;
  341. -webkit-box-pack: center;
  342. -webkit-justify-content: center;
  343. justify-content: center;
  344. width: 60rpx;
  345. height: 60rpx;
  346. font-size: 40rpx;
  347. color: #5dbc7c;
  348. }
  349. .pay-list .tit {
  350. font-size: 32rpx;
  351. color: #303133;
  352. -webkit-box-flex: 1;
  353. -webkit-flex: 1;
  354. flex: 1;
  355. }
  356. .footer {
  357. position: fixed;
  358. left: 0;
  359. bottom: 0;
  360. z-index: 995;
  361. display: -webkit-box;
  362. display: -webkit-flex;
  363. display: flex;
  364. -webkit-box-align: center;
  365. -webkit-align-items: center;
  366. align-items: center;
  367. width: 100%;
  368. height: 90rpx;
  369. -webkit-box-pack: justify;
  370. -webkit-justify-content: space-between;
  371. justify-content: space-between;
  372. font-size: 30rpx;
  373. background-color: #fff;
  374. z-index: 998;
  375. color: #606266;
  376. -webkit-box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
  377. box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
  378. }
  379. .footer .price-content {
  380. padding-left: 30rpx;
  381. }
  382. .footer .price-tip {
  383. color: #606266;
  384. margin-left: 8rpx;
  385. }
  386. .footer .price {
  387. font-size: 36rpx;
  388. color: #606266;
  389. }
  390. .footer .submit {
  391. display: -webkit-box;
  392. display: -webkit-flex;
  393. display: flex;
  394. -webkit-box-align: center;
  395. -webkit-align-items: center;
  396. align-items: center;
  397. -webkit-box-pack: center;
  398. -webkit-justify-content: center;
  399. justify-content: center;
  400. width: 280rpx;
  401. height: 100%;
  402. color: #fff;
  403. font-size: 32rpx;
  404. background-color: #5dbc7c;
  405. }
  406. .footer .submit.submitNo {
  407. background-color: #c0c4cc;
  408. }
  409. /* 优惠券面板 */
  410. .mask {
  411. display: -webkit-box;
  412. display: -webkit-flex;
  413. display: flex;
  414. -webkit-box-align: end;
  415. -webkit-align-items: flex-end;
  416. align-items: flex-end;
  417. position: fixed;
  418. left: 0;
  419. top: 0px;
  420. bottom: 0;
  421. width: 100%;
  422. background: transparent;
  423. z-index: 9995;
  424. -webkit-transition: 0.3s;
  425. transition: 0.3s;
  426. }
  427. .mask .mask-content {
  428. width: 100%;
  429. max-height: 70vh;
  430. background: #f3f3f3;
  431. -webkit-transform: translateY(100%);
  432. transform: translateY(100%);
  433. -webkit-transition: 0.3s;
  434. transition: 0.3s;
  435. overflow-y: scroll;
  436. }
  437. .mask.none {
  438. display: none;
  439. }
  440. .mask.show {
  441. background: rgba(0, 0, 0, 0.4);
  442. }
  443. .mask.show .mask-content {
  444. -webkit-transform: translateY(0);
  445. transform: translateY(0);
  446. }
  447. /* 优惠券列表 */
  448. .coupon-item {
  449. display: -webkit-box;
  450. display: -webkit-flex;
  451. display: flex;
  452. -webkit-box-orient: vertical;
  453. -webkit-box-direction: normal;
  454. -webkit-flex-direction: column;
  455. flex-direction: column;
  456. margin: 20rpx 24rpx;
  457. background: #fff;
  458. }
  459. .coupon-item .con {
  460. display: -webkit-box;
  461. display: -webkit-flex;
  462. display: flex;
  463. -webkit-box-align: center;
  464. -webkit-align-items: center;
  465. align-items: center;
  466. position: relative;
  467. height: 120rpx;
  468. padding: 0 30rpx;
  469. }
  470. .coupon-item .con:after {
  471. position: absolute;
  472. left: 0;
  473. bottom: 0;
  474. content: '';
  475. width: 100%;
  476. height: 0;
  477. border-bottom: 1px dashed #f3f3f3;
  478. -webkit-transform: scaleY(50%);
  479. transform: scaleY(50%);
  480. }
  481. .coupon-item .left {
  482. display: -webkit-box;
  483. display: -webkit-flex;
  484. display: flex;
  485. -webkit-box-orient: vertical;
  486. -webkit-box-direction: normal;
  487. -webkit-flex-direction: column;
  488. flex-direction: column;
  489. -webkit-box-pack: center;
  490. -webkit-justify-content: center;
  491. justify-content: center;
  492. -webkit-box-flex: 1;
  493. -webkit-flex: 1;
  494. flex: 1;
  495. overflow: hidden;
  496. height: 100rpx;
  497. }
  498. .coupon-item .title {
  499. font-size: 32rpx;
  500. color: #303133;
  501. margin-bottom: 10rpx;
  502. }
  503. .coupon-item .time {
  504. font-size: 24rpx;
  505. color: #909399;
  506. }
  507. .coupon-item .right {
  508. display: -webkit-box;
  509. display: -webkit-flex;
  510. display: flex;
  511. -webkit-box-orient: vertical;
  512. -webkit-box-direction: normal;
  513. -webkit-flex-direction: column;
  514. flex-direction: column;
  515. -webkit-box-pack: center;
  516. -webkit-justify-content: center;
  517. justify-content: center;
  518. -webkit-box-align: center;
  519. -webkit-align-items: center;
  520. align-items: center;
  521. font-size: 26rpx;
  522. color: #606266;
  523. height: 100rpx;
  524. }
  525. .coupon-item .price {
  526. font-size: 44rpx;
  527. color: #5dbc7c;
  528. }
  529. .coupon-item .price:before {
  530. content: '¥';
  531. font-size: 34rpx;
  532. }
  533. .coupon-item .tips {
  534. font-size: 24rpx;
  535. color: #909399;
  536. line-height: 60rpx;
  537. padding-left: 30rpx;
  538. }
  539. .coupon-item .circle {
  540. position: absolute;
  541. left: -6rpx;
  542. bottom: -10rpx;
  543. z-index: 10;
  544. width: 20rpx;
  545. height: 20rpx;
  546. background: #f3f3f3;
  547. -webkit-border-radius: 100px;
  548. border-radius: 100px;
  549. }
  550. .coupon-item .circle.r {
  551. left: auto;
  552. right: -6rpx;
  553. }