createOrder.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. page {
  12. background: #f8f6f6;
  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: #921a23;
  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 #921a23;
  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 .price {
  212. margin-bottom: 4rpx;
  213. color: #dd524d;
  214. }
  215. .goods-section .g-item .price-box .number {
  216. font-size: 26rpx;
  217. color: #606266;
  218. margin-left: 20rpx;
  219. }
  220. .goods-section .g-item .step-box {
  221. position: relative;
  222. }
  223. .yt-list {
  224. margin-top: 16rpx;
  225. background: #fff;
  226. }
  227. .yt-list-cell {
  228. display: -webkit-box;
  229. display: -webkit-flex;
  230. display: flex;
  231. -webkit-box-align: center;
  232. -webkit-align-items: center;
  233. align-items: center;
  234. padding: 10rpx 30rpx 10rpx 40rpx;
  235. line-height: 70rpx;
  236. position: relative;
  237. }
  238. .yt-list-cell.cell-hover {
  239. background: #fafafa;
  240. }
  241. .yt-list-cell.b-b:after {
  242. left: 30rpx;
  243. }
  244. .yt-list-cell .cell-icon {
  245. height: 32rpx;
  246. width: 32rpx;
  247. font-size: 22rpx;
  248. color: #fff;
  249. text-align: center;
  250. line-height: 32rpx;
  251. background: #f85e52;
  252. border-radius: 4rpx;
  253. margin-right: 12rpx;
  254. }
  255. .yt-list-cell .cell-icon.hb {
  256. background: #ffaa0e;
  257. }
  258. .yt-list-cell .cell-icon.lpk {
  259. background: #3ab54a;
  260. }
  261. .yt-list-cell .cell-more {
  262. -webkit-align-self: center;
  263. align-self: center;
  264. font-size: 24rpx;
  265. color: #909399;
  266. margin-left: 8rpx;
  267. margin-right: -10rpx;
  268. }
  269. .yt-list-cell .cell-tit {
  270. -webkit-box-flex: 1;
  271. -webkit-flex: 1;
  272. flex: 1;
  273. font-size: 26rpx;
  274. color: #909399;
  275. margin-right: 10rpx;
  276. }
  277. .yt-list-cell .cell-tip {
  278. font-size: 26rpx;
  279. color: #303133;
  280. }
  281. .yt-list-cell .cell-tip.disabled {
  282. color: #909399;
  283. }
  284. .yt-list-cell .cell-tip.active {
  285. color: #921a23;
  286. }
  287. .yt-list-cell .cell-tip.red {
  288. color: #921a23;
  289. }
  290. .yt-list-cell.desc-cell .cell-tit {
  291. max-width: 90rpx;
  292. }
  293. .yt-list-cell .desc {
  294. -webkit-box-flex: 1;
  295. -webkit-flex: 1;
  296. flex: 1;
  297. text-align: right;
  298. font-size: 28rpx;
  299. color: #303133;
  300. }
  301. /* 支付列表 */
  302. .pay-list {
  303. padding-left: 40rpx;
  304. margin-top: 16rpx;
  305. background: #fff;
  306. }
  307. .pay-list .pay-item {
  308. display: -webkit-box;
  309. display: -webkit-flex;
  310. display: flex;
  311. -webkit-box-align: center;
  312. -webkit-align-items: center;
  313. align-items: center;
  314. padding-right: 20rpx;
  315. line-height: 1;
  316. height: 110rpx;
  317. position: relative;
  318. }
  319. .pay-list .icon-weixinzhifu {
  320. width: 80rpx;
  321. font-size: 40rpx;
  322. color: #6bcc03;
  323. }
  324. .pay-list .icon-alipay {
  325. width: 80rpx;
  326. font-size: 40rpx;
  327. color: #06b4fd;
  328. }
  329. .pay-list .icon-xuanzhong2 {
  330. display: -webkit-box;
  331. display: -webkit-flex;
  332. display: flex;
  333. -webkit-box-align: center;
  334. -webkit-align-items: center;
  335. align-items: center;
  336. -webkit-box-pack: center;
  337. -webkit-justify-content: center;
  338. justify-content: center;
  339. width: 60rpx;
  340. height: 60rpx;
  341. font-size: 40rpx;
  342. color: #921a23;
  343. }
  344. .pay-list .tit {
  345. font-size: 32rpx;
  346. color: #303133;
  347. -webkit-box-flex: 1;
  348. -webkit-flex: 1;
  349. flex: 1;
  350. }
  351. .footer {
  352. position: fixed;
  353. left: 0;
  354. bottom: 0;
  355. z-index: 995;
  356. display: -webkit-box;
  357. display: -webkit-flex;
  358. display: flex;
  359. -webkit-box-align: center;
  360. -webkit-align-items: center;
  361. align-items: center;
  362. width: 100%;
  363. height: 90rpx;
  364. -webkit-box-pack: justify;
  365. -webkit-justify-content: space-between;
  366. justify-content: space-between;
  367. font-size: 30rpx;
  368. background-color: #fff;
  369. z-index: 998;
  370. color: #606266;
  371. box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
  372. }
  373. .footer .price-content {
  374. padding-left: 30rpx;
  375. }
  376. .footer .price-tip {
  377. color: #606266;
  378. margin-left: 8rpx;
  379. }
  380. .footer .price {
  381. font-size: 36rpx;
  382. color: #606266;
  383. }
  384. .footer .submit {
  385. display: -webkit-box;
  386. display: -webkit-flex;
  387. display: flex;
  388. -webkit-box-align: center;
  389. -webkit-align-items: center;
  390. align-items: center;
  391. -webkit-box-pack: center;
  392. -webkit-justify-content: center;
  393. justify-content: center;
  394. width: 280rpx;
  395. height: 100%;
  396. color: #fff;
  397. font-size: 32rpx;
  398. background-color: #921a23;
  399. }
  400. .footer .submit.submitNo {
  401. background-color: #c0c4cc;
  402. }
  403. /* 优惠券面板 */
  404. .mask {
  405. display: -webkit-box;
  406. display: -webkit-flex;
  407. display: flex;
  408. -webkit-box-align: end;
  409. -webkit-align-items: flex-end;
  410. align-items: flex-end;
  411. position: fixed;
  412. left: 0;
  413. top: 0px;
  414. bottom: 0;
  415. width: 100%;
  416. background: transparent;
  417. z-index: 9995;
  418. -webkit-transition: 0.3s;
  419. transition: 0.3s;
  420. }
  421. .mask .mask-content {
  422. width: 100%;
  423. max-height: 70vh;
  424. background: #f3f3f3;
  425. -webkit-transform: translateY(100%);
  426. transform: translateY(100%);
  427. -webkit-transition: 0.3s;
  428. transition: 0.3s;
  429. overflow-y: scroll;
  430. }
  431. .mask.none {
  432. display: none;
  433. }
  434. .mask.show {
  435. background: rgba(0, 0, 0, 0.4);
  436. }
  437. .mask.show .mask-content {
  438. -webkit-transform: translateY(0);
  439. transform: translateY(0);
  440. }
  441. /* 优惠券列表 */
  442. .coupon-item {
  443. display: -webkit-box;
  444. display: -webkit-flex;
  445. display: flex;
  446. -webkit-box-orient: vertical;
  447. -webkit-box-direction: normal;
  448. -webkit-flex-direction: column;
  449. flex-direction: column;
  450. margin: 20rpx 24rpx;
  451. background: #fff;
  452. }
  453. .coupon-item .con {
  454. display: -webkit-box;
  455. display: -webkit-flex;
  456. display: flex;
  457. -webkit-box-align: center;
  458. -webkit-align-items: center;
  459. align-items: center;
  460. position: relative;
  461. height: 120rpx;
  462. padding: 0 30rpx;
  463. }
  464. .coupon-item .con:after {
  465. position: absolute;
  466. left: 0;
  467. bottom: 0;
  468. content: '';
  469. width: 100%;
  470. height: 0;
  471. border-bottom: 1px dashed #f3f3f3;
  472. -webkit-transform: scaleY(50%);
  473. transform: scaleY(50%);
  474. }
  475. .coupon-item .left {
  476. display: -webkit-box;
  477. display: -webkit-flex;
  478. display: flex;
  479. -webkit-box-orient: vertical;
  480. -webkit-box-direction: normal;
  481. -webkit-flex-direction: column;
  482. flex-direction: column;
  483. -webkit-box-pack: center;
  484. -webkit-justify-content: center;
  485. justify-content: center;
  486. -webkit-box-flex: 1;
  487. -webkit-flex: 1;
  488. flex: 1;
  489. overflow: hidden;
  490. height: 100rpx;
  491. }
  492. .coupon-item .title {
  493. font-size: 32rpx;
  494. color: #303133;
  495. margin-bottom: 10rpx;
  496. }
  497. .coupon-item .time {
  498. font-size: 24rpx;
  499. color: #909399;
  500. }
  501. .coupon-item .right {
  502. display: -webkit-box;
  503. display: -webkit-flex;
  504. display: flex;
  505. -webkit-box-orient: vertical;
  506. -webkit-box-direction: normal;
  507. -webkit-flex-direction: column;
  508. flex-direction: column;
  509. -webkit-box-pack: center;
  510. -webkit-justify-content: center;
  511. justify-content: center;
  512. -webkit-box-align: center;
  513. -webkit-align-items: center;
  514. align-items: center;
  515. font-size: 26rpx;
  516. color: #606266;
  517. height: 100rpx;
  518. }
  519. .coupon-item .price {
  520. font-size: 44rpx;
  521. color: #921a23;
  522. }
  523. .coupon-item .price:before {
  524. content: '¥';
  525. font-size: 34rpx;
  526. }
  527. .coupon-item .tips {
  528. font-size: 24rpx;
  529. color: #909399;
  530. line-height: 60rpx;
  531. padding-left: 30rpx;
  532. }
  533. .coupon-item .circle {
  534. position: absolute;
  535. left: -6rpx;
  536. bottom: -10rpx;
  537. z-index: 10;
  538. width: 20rpx;
  539. height: 20rpx;
  540. background: #f3f3f3;
  541. border-radius: 100px;
  542. }
  543. .coupon-item .circle.r {
  544. left: auto;
  545. right: -6rpx;
  546. }