createOrder.wxss 11 KB

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