style.scss 10 KB

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