style.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545
  1. // 配送信息
  2. .flow-delivery {
  3. padding: 34rpx 30rpx;
  4. background: #fff
  5. url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANYAAAANCAYAAADVGpDCAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdG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66VB3ZITbUIEqSpCGoJBP1ghtBUD6ARpEtTGSEhXzd+awE9oJzQUPegWdf3QlBPMhgDMYRa7YNisGWkpP5qrBQtVBShUHugUE9hs4fUtwG0utlEjRivoA/Ug1sj3vjffr8FNJEK1auPFHcE9UTq5pdK2PwcoAzMG7mjuRrRYEIfK9jiDJSCBZJ6ynSTsBBqNQ0qgdPISbq6vJCFbJOaagrEk5gqWNczRGiqG1Ah1LLMafRkf5pYIUKtZnMJDXUNasAIST2ZYFioRx9ssQaKwJFZEv5uYmWDXVJTrYBEElP562PfPKGpnkAbSDOTqb6aWAGgW6iHol5kQj2CdtAJngnqkc1hHMQRNr9DPaXWzZj8Z2PZtFCxhEIdaKE2CGqRJ4060AH8CLUaALX6f5VpBZLhI9SaeZXQVHKNLt84SCIxVbhQi5YuQlNd6OVElZlN9TGxrGBUn2PZ4lyoTdIsST0FQj0UDSLUak6ot3gcBLVY3wQYAJoVXxmNERajAAAAAElFTkSuQmCC')
  6. bottom left repeat-x;
  7. background-size: 120rpx auto;
  8. margin-bottom: 25rpx;
  9. .detail-location {
  10. font-size: 36rpx;
  11. }
  12. .detail-content {
  13. padding: 0 20rpx;
  14. .detail-content__title-phone {
  15. margin-left: 10rpx;
  16. }
  17. .detail-content__describe {
  18. font-size: 28rpx;
  19. color: #777;
  20. }
  21. }
  22. .detail-content__title {
  23. margin-bottom: 6rpx;
  24. }
  25. }
  26. // 买家留言
  27. .flow-all-money {
  28. .ipt-wrapper {
  29. .input {
  30. font-size: 28rpx;
  31. // width: 100%;
  32. display: block;
  33. height: 75rpx;
  34. }
  35. }
  36. }
  37. // 商品列表
  38. .checkout_list {
  39. padding: 20rpx 30rpx 4rpx 30rpx;
  40. background: #fff;
  41. border-bottom: 1rpx solid rgb(248, 248, 248);
  42. .flow-shopList {
  43. padding: 5rpx 0 10rpx;
  44. border-bottom: 1rpx solid rgb(248, 248, 248);
  45. &:last-child {
  46. border-bottom: 0;
  47. }
  48. }
  49. }
  50. .flow-header-left {
  51. padding-left: 90rpx;
  52. }
  53. // 会员价
  54. .flow-shopList {
  55. .flow-list-right {
  56. .flow-cont {
  57. &.price-delete {
  58. font-size: 26rpx;
  59. color: #777;
  60. text-decoration: line-through;
  61. }
  62. }
  63. }
  64. .grade-price {
  65. padding-top: 8rpx;
  66. font-size: 28rpx;
  67. color: $main-bg;
  68. text-align: right;
  69. }
  70. .goods-name {
  71. font-size: 27rpx;
  72. color: #333;
  73. // min-height: 68rpx;
  74. // line-height: 1.3;
  75. }
  76. }
  77. // 优惠券选择
  78. .popup__coupon {
  79. background: #fff;
  80. box-sizing: border-box;
  81. padding: 30rpx 0 30rpx 0;
  82. // 设置ios刘海屏底部横线安全区域
  83. padding-bottom: calc(constant(safe-area-inset-bottom) + 30rpx);
  84. padding-bottom: calc(env(safe-area-inset-bottom) + 30rpx);
  85. .coupon__do_not {
  86. position: relative;
  87. display: flex;
  88. justify-content: center;
  89. align-items: center;
  90. padding-top: 30rpx;
  91. box-shadow: 0 -12rpx 30rpx -6rpx rgba(151, 151, 151, 0.1);
  92. .control {
  93. display: flex;
  94. justify-content: center;
  95. align-items: center;
  96. width: 90%;
  97. height: 72rpx;
  98. color: #888;
  99. border: 1rpx solid #e3e3e3;
  100. border-radius: 10rpx;
  101. }
  102. }
  103. .coupon__title {
  104. text-align: center;
  105. margin-bottom: 15rpx;
  106. }
  107. .coupon-list {
  108. padding: 40rpx 30rpx;
  109. }
  110. .coupon-item {
  111. margin-bottom: 22rpx;
  112. font-size: 24rpx;
  113. background: #fff;
  114. border-radius: 12rpx;
  115. overflow: hidden;
  116. box-shadow: 0 8rpx 40rpx rgba(0, 0, 0, 0.06);
  117. position: relative;
  118. }
  119. .item-wrapper {
  120. display: flex;
  121. align-items: center;
  122. &.disable {
  123. .coupon-tag {
  124. background: linear-gradient(-113deg, #bdbdbd, #a2a1a2);
  125. }
  126. .coupon-reduce {
  127. color: #757575;
  128. }
  129. .state-text {
  130. color: #757575;
  131. }
  132. }
  133. }
  134. .coupon-tag {
  135. position: absolute;
  136. left: 0;
  137. top: 0;
  138. color: #fff;
  139. width: 96rpx;
  140. text-align: center;
  141. font-size: 22rpx;
  142. border-radius: 12rpx 0 12rpx 0;
  143. font-weight: 500;
  144. height: 34rpx;
  145. display: flex;
  146. align-items: center;
  147. justify-content: center;
  148. background: linear-gradient(to right, $main-bg, $main-bg2);
  149. color: $main-text;
  150. }
  151. .coupon-left {
  152. width: 242rpx;
  153. text-align: center;
  154. display: flex;
  155. flex-flow: column;
  156. justify-content: center;
  157. position: relative;
  158. .coupon-reduce {
  159. color: $main-bg;
  160. &-unit {
  161. display: inline-block;
  162. margin-right: -4rpx;
  163. font-size: 32rpx;
  164. font-weight: 600;
  165. }
  166. &-amount {
  167. display: inline-block;
  168. .value {
  169. font-size: 48rpx;
  170. }
  171. }
  172. }
  173. .coupon-hint {
  174. margin-top: 12rpx;
  175. color: #757575;
  176. font-size: 24rpx;
  177. white-space: nowrap;
  178. text-overflow: ellipsis;
  179. overflow: hidden;
  180. }
  181. }
  182. .coupon-content {
  183. flex: 1;
  184. padding: 32rpx 0;
  185. position: relative;
  186. display: flex;
  187. flex-direction: column;
  188. flex-wrap: nowrap;
  189. align-items: flex-start;
  190. justify-content: space-between;
  191. .coupon-name {
  192. color: #212121;
  193. font-size: 28rpx;
  194. font-weight: 500;
  195. }
  196. .coupon-middle {
  197. flex: 1;
  198. padding-top: 12rpx;
  199. margin-bottom: 26rpx;
  200. .coupon-expire {
  201. color: #757575;
  202. font-size: 24rpx;
  203. }
  204. }
  205. .coupon-expand {
  206. display: flex;
  207. align-items: center;
  208. color: #9e9e9e;
  209. font-size: 24rpx;
  210. &-arrow {
  211. margin-top: 4rpx;
  212. font-size: 24rpx;
  213. display: inline-block;
  214. vertical-align: initial;
  215. transform: rotate(0);
  216. margin-left: 8rpx;
  217. transition: all 0.15s ease-in-out;
  218. &.expand {
  219. transform: rotate(180deg);
  220. }
  221. }
  222. }
  223. }
  224. .coupon-right {
  225. padding-right: 38rpx;
  226. .btn-receive,
  227. .state-text {
  228. text-align: center;
  229. width: 100rpx;
  230. padding: 15rpx 0;
  231. }
  232. .btn-receive {
  233. font-size: 23rpx;
  234. line-height: 1;
  235. font-weight: 500;
  236. border-radius: 8rpx;
  237. cursor: pointer;
  238. background: linear-gradient(to right, $main-bg, $main-bg2);
  239. color: $main-text;
  240. }
  241. .state-text {
  242. }
  243. }
  244. .coupon-expand-rules {
  245. display: none;
  246. position: relative;
  247. &.expand {
  248. top: -30rpx;
  249. display: block;
  250. }
  251. &-content {
  252. padding: 8rpx 30rpx 8rpx 242rpx;
  253. font-weight: 400;
  254. color: #9e9e9e;
  255. line-height: 36rpx;
  256. .pre {
  257. font-family: auto;
  258. white-space: pre-wrap;
  259. word-wrap: break-word;
  260. word-break: break-all;
  261. }
  262. }
  263. }
  264. }
  265. // 积分抵扣
  266. .points {
  267. .title {
  268. margin-right: 5rpx;
  269. }
  270. .icon-help {
  271. font-size: 28rpx;
  272. }
  273. .points-money {
  274. margin-right: 20rpx;
  275. }
  276. }
  277. // 商品规格
  278. .goods-props {
  279. padding-top: 10rpx;
  280. font-size: 24rpx;
  281. color: #999;
  282. .goods-props-item {
  283. float: left;
  284. .group-name {
  285. margin-right: 6rpx;
  286. }
  287. }
  288. }
  289. // 右侧箭头
  290. .right-arrow {
  291. margin-left: 16rpx;
  292. // color: #777;
  293. font-size: 26rpx;
  294. }
  295. // 底部操作栏
  296. .flow-fixed-footer {
  297. position: fixed;
  298. bottom: var(--window-bottom);
  299. left: var(--window-left);
  300. right: var(--window-right);
  301. // width: 100%;
  302. background: #fff;
  303. border-top: 1px solid #eee;
  304. z-index: 11;
  305. // 设置ios刘海屏底部横线安全区域
  306. padding-bottom: calc(constant(safe-area-inset-bottom) + var(--window-bottom));
  307. padding-bottom: calc(env(safe-area-inset-bottom) + var(--window-bottom));
  308. .chackout-left {
  309. font-size: 28rpx;
  310. line-height: 92rpx;
  311. color: #777;
  312. flex: 4;
  313. padding-left: 12px;
  314. }
  315. .chackout-right {
  316. font-size: 34rpx;
  317. flex: 2;
  318. }
  319. // 提交按钮
  320. .flow-btn {
  321. background: linear-gradient(to right, $main-bg, $main-bg2);
  322. color: $main-text;
  323. text-align: center;
  324. line-height: 92rpx;
  325. display: block;
  326. font-size: 28rpx;
  327. // 禁用按钮
  328. &.disabled {
  329. opacity: 0.6;
  330. }
  331. }
  332. }
  333. // 积分说明
  334. .points-content {
  335. padding: 30rpx 48rpx;
  336. font-size: 28rpx;
  337. line-height: 50rpx;
  338. text-align: left;
  339. color: #606266;
  340. height: 520rpx;
  341. box-sizing: border-box;
  342. }
  343. // 共几件商品
  344. .flow-num-box {
  345. font-size: 28rpx;
  346. color: #777;
  347. padding: 16rpx 24rpx;
  348. text-align: right;
  349. }
  350. // app.scss
  351. .flow-shopList {
  352. padding: 18rpx 0;
  353. .flow-list-left {
  354. margin-right: 20rpx;
  355. image {
  356. width: 180rpx;
  357. height: 180rpx;
  358. border: 1rpx solid #eee;
  359. background: #fff;
  360. }
  361. }
  362. .flow-list-right {
  363. .flow-cont {
  364. font-size: 28rpx;
  365. color: $main-bg;
  366. }
  367. .small {
  368. font-size: 26rpx;
  369. color: #777;
  370. }
  371. .flow-list-cont {
  372. padding-top: 10rpx;
  373. }
  374. }
  375. }
  376. .flow-all-money {
  377. padding: 0 24rpx;
  378. color: #444;
  379. .flow-all-list {
  380. font-size: 28rpx;
  381. padding: 20rpx 0;
  382. border-bottom: 1rpx solid rgb(248, 248, 248);
  383. }
  384. .flow-all-list:last-child {
  385. border-bottom: none;
  386. }
  387. .flow-all-list-cont {
  388. font-size: 28rpx;
  389. padding: 10rpx 0;
  390. }
  391. .flow-arrow {
  392. justify-content: flex-end;
  393. align-items: center;
  394. }
  395. }
  396. // 选项卡:配送方式
  397. .swiper-tab {
  398. width: 100%;
  399. text-align: center;
  400. height: 85rpx;
  401. background-color: #fff;
  402. border-bottom: 1px solid rgb(248, 248, 248);
  403. display: flex;
  404. align-items: center;
  405. justify-content: space-around;
  406. .swiper-tab-item {
  407. width: 35%;
  408. height: 100%;
  409. font-size: 28rpx;
  410. color: #777;
  411. display: flex;
  412. justify-content: center;
  413. align-items: center;
  414. box-sizing: border-box;
  415. border-bottom: 2px solid #ffffff00;
  416. &.on {
  417. color: $main-bg;
  418. border-bottom: 2px solid $main-bg;
  419. }
  420. }
  421. }
  422. // 门店自提联系人
  423. .flow-extract-contact {
  424. padding: 8rpx 24rpx;
  425. font-size: 28rpx;
  426. color: #444;
  427. margin-bottom: 25rpx;
  428. .contact-item {
  429. padding: 20rpx 0;
  430. border-bottom: 1rpx solid rgb(248, 248, 248);
  431. &:last-child {
  432. border-bottom: none;
  433. }
  434. }
  435. .item-label {
  436. margin-right: 26rpx;
  437. width: 150rpx;
  438. }
  439. .item-ipt .input {
  440. font-size: 28rpx;
  441. .input-placeholder {
  442. font-size: 28rpx;
  443. }
  444. }
  445. }
  446. // 自定义radio
  447. .my-radio {
  448. display: flex;
  449. align-items: center;
  450. justify-content: center;
  451. width: 34rpx;
  452. height: 34rpx;
  453. text-align: center;
  454. border: 1px solid #c8c9cc;
  455. transition-duration: 0.2s;
  456. border-radius: 100%;
  457. color: transparent;
  458. &.checked {
  459. background-color: $main-bg;
  460. border-color: $main-bg;
  461. color: #fff;
  462. }
  463. &.disabled {
  464. background-color: #ebedf0;
  465. border-color: #c8c9cc;
  466. }
  467. &.disabled-checked {
  468. color: #c8c9cc !important;
  469. }
  470. }