createOrder.wxss 9.1 KB

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