style.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519
  1. // 配送信息
  2. .flow-delivery {
  3. padding: 34rpx 30rpx;
  4. background: #fff
  5. url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANYAAAANCAYAAADVGpDCAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1s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D6ARpEtTGSEhXzd+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: 28rpx;
  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. /* #ifdef H5 */
  109. max-width: 1120rpx;
  110. margin: 0 auto;
  111. /* #endif */
  112. padding: 40rpx 30rpx;
  113. }
  114. .coupon-item {
  115. margin-bottom: 22rpx;
  116. font-size: 24rpx;
  117. background: #fff;
  118. border-radius: 12rpx;
  119. overflow: hidden;
  120. box-shadow: 0 8rpx 40rpx rgba(0, 0, 0, 0.06);
  121. position: relative;
  122. }
  123. .item-wrapper {
  124. display: flex;
  125. align-items: center;
  126. &.disable {
  127. .coupon-tag {
  128. background: linear-gradient(-113deg, #bdbdbd, #a2a1a2);
  129. }
  130. .coupon-reduce {
  131. color: #757575;
  132. }
  133. .state-text {
  134. color: #757575;
  135. }
  136. }
  137. }
  138. .coupon-tag {
  139. position: absolute;
  140. left: 0;
  141. top: 0;
  142. color: #fff;
  143. width: 96rpx;
  144. text-align: center;
  145. font-size: 22rpx;
  146. border-radius: 12rpx 0 12rpx 0;
  147. font-weight: 500;
  148. height: 34rpx;
  149. display: flex;
  150. align-items: center;
  151. justify-content: center;
  152. background: linear-gradient(to right, $main-bg, $main-bg2);
  153. color: $main-text;
  154. }
  155. .coupon-left {
  156. width: 242rpx;
  157. text-align: center;
  158. display: flex;
  159. flex-flow: column;
  160. justify-content: center;
  161. position: relative;
  162. .coupon-reduce {
  163. color: $main-bg;
  164. &-unit {
  165. display: inline-block;
  166. margin-right: -4rpx;
  167. font-size: 32rpx;
  168. font-weight: 600;
  169. }
  170. &-amount {
  171. display: inline-block;
  172. .value {
  173. font-size: 48rpx;
  174. }
  175. }
  176. }
  177. .coupon-hint {
  178. margin-top: 12rpx;
  179. color: #757575;
  180. font-size: 24rpx;
  181. white-space: nowrap;
  182. text-overflow: ellipsis;
  183. overflow: hidden;
  184. }
  185. }
  186. .coupon-content {
  187. flex: 1;
  188. padding: 32rpx 0;
  189. position: relative;
  190. display: flex;
  191. flex-direction: column;
  192. flex-wrap: nowrap;
  193. align-items: flex-start;
  194. justify-content: space-between;
  195. .coupon-name {
  196. color: #212121;
  197. font-size: 28rpx;
  198. font-weight: 500;
  199. }
  200. .coupon-middle {
  201. flex: 1;
  202. padding-top: 12rpx;
  203. margin-bottom: 26rpx;
  204. .coupon-expire {
  205. color: #757575;
  206. font-size: 24rpx;
  207. }
  208. }
  209. .coupon-expand {
  210. display: flex;
  211. align-items: center;
  212. color: #9e9e9e;
  213. font-size: 24rpx;
  214. &-arrow {
  215. margin-top: 4rpx;
  216. font-size: 24rpx;
  217. display: inline-block;
  218. vertical-align: initial;
  219. transform: rotate(0);
  220. margin-left: 8rpx;
  221. transition: all 0.15s ease-in-out;
  222. &.expand {
  223. transform: rotate(180deg);
  224. }
  225. }
  226. }
  227. }
  228. .coupon-right {
  229. padding-right: 38rpx;
  230. .btn-receive,
  231. .state-text {
  232. text-align: center;
  233. width: 100rpx;
  234. padding: 15rpx 0;
  235. }
  236. .btn-receive {
  237. font-size: 23rpx;
  238. line-height: 1;
  239. font-weight: 500;
  240. border-radius: 8rpx;
  241. cursor: pointer;
  242. background: linear-gradient(to right, $main-bg, $main-bg2);
  243. color: $main-text;
  244. }
  245. .state-text {
  246. }
  247. }
  248. .coupon-expand-rules {
  249. display: none;
  250. position: relative;
  251. &.expand {
  252. top: -30rpx;
  253. display: block;
  254. }
  255. &-content {
  256. padding: 8rpx 30rpx 8rpx 242rpx;
  257. font-weight: 400;
  258. color: #9e9e9e;
  259. line-height: 36rpx;
  260. .pre {
  261. font-family: auto;
  262. white-space: pre-wrap;
  263. word-wrap: break-word;
  264. word-break: break-all;
  265. }
  266. }
  267. }
  268. }
  269. // 积分抵扣
  270. .points {
  271. .title {
  272. margin-right: 5rpx;
  273. }
  274. .icon-help {
  275. font-size: 28rpx;
  276. }
  277. .points-money {
  278. margin-right: 20rpx;
  279. }
  280. }
  281. // 商品规格
  282. .goods-props {
  283. padding-top: 10rpx;
  284. font-size: 24rpx;
  285. color: #999;
  286. .goods-props-item {
  287. float: left;
  288. .group-name {
  289. margin-right: 6rpx;
  290. }
  291. }
  292. }
  293. // 右侧箭头
  294. .right-arrow {
  295. margin-left: 16rpx;
  296. // color: #777;
  297. font-size: 26rpx;
  298. }
  299. // 底部操作栏
  300. .flow-fixed-footer {
  301. position: fixed;
  302. bottom: var(--window-bottom);
  303. left: var(--window-left);
  304. right: var(--window-right);
  305. // width: 100%;
  306. background: #fff;
  307. border-top: 1px solid #eee;
  308. z-index: 11;
  309. // 设置ios刘海屏底部横线安全区域
  310. padding-bottom: calc(constant(safe-area-inset-bottom) + var(--window-bottom));
  311. padding-bottom: calc(env(safe-area-inset-bottom) + var(--window-bottom));
  312. .chackout-left {
  313. font-size: 28rpx;
  314. line-height: 92rpx;
  315. color: #777;
  316. flex: 4;
  317. padding-left: 12px;
  318. }
  319. .chackout-right {
  320. font-size: 34rpx;
  321. flex: 2;
  322. }
  323. // 提交按钮
  324. .flow-btn {
  325. background: linear-gradient(to right, $main-bg, $main-bg2);
  326. color: $main-text;
  327. text-align: center;
  328. line-height: 92rpx;
  329. display: block;
  330. font-size: 28rpx;
  331. // 禁用按钮
  332. &.disabled {
  333. opacity: 0.6;
  334. }
  335. }
  336. }
  337. // 积分说明
  338. .points-content {
  339. padding: 30rpx 48rpx;
  340. font-size: 28rpx;
  341. line-height: 50rpx;
  342. text-align: left;
  343. color: #606266;
  344. height: 620rpx;
  345. box-sizing: border-box;
  346. }
  347. // 共几件商品
  348. .flow-num-box {
  349. font-size: 28rpx;
  350. color: #777;
  351. padding: 16rpx 24rpx;
  352. text-align: right;
  353. }
  354. // app.scss
  355. .flow-shopList {
  356. padding: 18rpx 0;
  357. .flow-list-left {
  358. margin-right: 20rpx;
  359. image {
  360. width: 180rpx;
  361. height: 180rpx;
  362. border: 1rpx solid #eee;
  363. background: #fff;
  364. }
  365. }
  366. .flow-list-right {
  367. .flow-cont {
  368. font-size: 28rpx;
  369. color: $main-bg;
  370. }
  371. .small {
  372. font-size: 26rpx;
  373. color: #777;
  374. }
  375. .flow-list-cont {
  376. padding-top: 10rpx;
  377. }
  378. }
  379. }
  380. .flow-all-money {
  381. padding: 0 24rpx;
  382. color: #444;
  383. .flow-all-list {
  384. font-size: 28rpx;
  385. padding: 20rpx 0;
  386. border-bottom: 1rpx solid rgb(248, 248, 248);
  387. }
  388. .flow-all-list:last-child {
  389. border-bottom: none;
  390. }
  391. .flow-all-list-cont {
  392. font-size: 28rpx;
  393. padding: 10rpx 0;
  394. }
  395. .flow-arrow {
  396. justify-content: flex-end;
  397. align-items: center;
  398. }
  399. }
  400. // 选项卡:配送方式
  401. .swiper-tab {
  402. width: 100%;
  403. text-align: center;
  404. height: 85rpx;
  405. background-color: #fff;
  406. border-bottom: 1px solid rgb(248, 248, 248);
  407. display: flex;
  408. align-items: center;
  409. justify-content: space-around;
  410. .swiper-tab-item {
  411. width: 35%;
  412. height: 100%;
  413. font-size: 28rpx;
  414. color: #777;
  415. display: flex;
  416. justify-content: center;
  417. align-items: center;
  418. box-sizing: border-box;
  419. border-bottom: 2px solid #ffffff00;
  420. &.on {
  421. color: $main-bg;
  422. border-bottom: 2px solid $main-bg;
  423. }
  424. }
  425. }
  426. // 自定义radio
  427. .my-radio {
  428. display: flex;
  429. align-items: center;
  430. justify-content: center;
  431. width: 34rpx;
  432. height: 34rpx;
  433. text-align: center;
  434. border: 1px solid #c8c9cc;
  435. transition-duration: 0.2s;
  436. border-radius: 100%;
  437. color: transparent;
  438. &.checked {
  439. background-color: $main-bg;
  440. border-color: $main-bg;
  441. color: #fff;
  442. }
  443. &.disabled {
  444. background-color: #ebedf0;
  445. border-color: #c8c9cc;
  446. }
  447. &.disabled-checked {
  448. color: #c8c9cc !important;
  449. }
  450. }