createOrder.wxss 7.7 KB

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