createOrder.wxss 11 KB

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