CartModal.wxss 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. .cart-modal.data-v-1091c94b {
  2. width: 100%;
  3. background: #FFFFFF;
  4. border-radius: 24rpx 24rpx 0 0;
  5. padding: 0;
  6. box-sizing: border-box;
  7. max-height: 80vh;
  8. display: flex;
  9. flex-direction: column;
  10. overflow: hidden;
  11. }
  12. .cart-modal__header.data-v-1091c94b {
  13. position: relative;
  14. display: flex;
  15. align-items: center;
  16. justify-content: space-between;
  17. height: 88rpx;
  18. padding: 0 30rpx;
  19. background: #FFFFFF;
  20. }
  21. .cart-modal__header .header-title.data-v-1091c94b {
  22. font-weight: bold;
  23. font-size: 34rpx;
  24. color: #151515;
  25. }
  26. .cart-modal__header .header-clear.data-v-1091c94b {
  27. display: flex;
  28. align-items: center;
  29. gap: 8rpx;
  30. color: #AAAAAA;
  31. font-size: 28rpx;
  32. padding: 8rpx 16rpx;
  33. border-radius: 8rpx;
  34. transition: all 0.3s;
  35. }
  36. .cart-modal__header .header-clear.data-v-1091c94b:active {
  37. background-color: #F5F5F5;
  38. }
  39. .cart-modal__header .header-clear .clear-text.data-v-1091c94b {
  40. font-size: 28rpx;
  41. color: #AAAAAA;
  42. }
  43. .cart-modal__list.data-v-1091c94b {
  44. flex: 1;
  45. padding: 24rpx 30rpx;
  46. padding-bottom: calc(140rpx + env(safe-area-inset-bottom));
  47. box-sizing: border-box;
  48. overflow-y: auto;
  49. min-height: 0;
  50. }
  51. .cart-item.data-v-1091c94b {
  52. display: flex;
  53. align-items: center;
  54. padding: 20rpx 0;
  55. border-bottom: 1rpx solid #F0F0F0;
  56. }
  57. .cart-item.data-v-1091c94b:last-child {
  58. border-bottom: none;
  59. }
  60. .cart-item__image.data-v-1091c94b {
  61. width: 140rpx;
  62. height: 140rpx;
  63. border-radius: 8rpx;
  64. flex-shrink: 0;
  65. background-color: #f5f5f5;
  66. }
  67. .cart-item__info.data-v-1091c94b {
  68. flex: 1;
  69. margin-left: 20rpx;
  70. display: flex;
  71. flex-direction: column;
  72. justify-content: space-between;
  73. min-height: 140rpx;
  74. }
  75. .cart-item__name.data-v-1091c94b {
  76. font-size: 28rpx;
  77. font-weight: 500;
  78. color: #151515;
  79. margin-bottom: 8rpx;
  80. }
  81. .cart-item__tags.data-v-1091c94b {
  82. display: flex;
  83. gap: 10rpx;
  84. margin-bottom: 12rpx;
  85. }
  86. .cart-item__tag.data-v-1091c94b {
  87. padding: 4rpx 12rpx;
  88. border-radius: 4rpx;
  89. font-size: 20rpx;
  90. }
  91. .cart-item__tag.signature.data-v-1091c94b {
  92. background: linear-gradient(90deg, #FCB13F 0%, #FC793D 100%);
  93. color: #fff;
  94. }
  95. .cart-item__tag.spicy.data-v-1091c94b {
  96. background: #2E2E2E;
  97. color: #fff;
  98. }
  99. .cart-item__price.data-v-1091c94b {
  100. display: flex;
  101. align-items: baseline;
  102. color: #151515;
  103. font-weight: 500;
  104. }
  105. .cart-item__price .price-symbol.data-v-1091c94b {
  106. font-size: 24rpx;
  107. margin-right: 2rpx;
  108. }
  109. .cart-item__price .price-number.data-v-1091c94b {
  110. font-size: 32rpx;
  111. }
  112. .cart-item__actions.data-v-1091c94b {
  113. display: flex;
  114. align-items: center;
  115. justify-content: space-between;
  116. width: 180rpx;
  117. height: 58rpx;
  118. background: #F8F8F8;
  119. border-radius: 56rpx;
  120. box-sizing: border-box;
  121. padding: 0 3rpx;
  122. margin-left: 20rpx;
  123. }
  124. .action-btn.data-v-1091c94b {
  125. width: 52rpx;
  126. height: 52rpx;
  127. border-radius: 50%;
  128. display: flex;
  129. align-items: center;
  130. justify-content: center;
  131. transition: all 0.3s;
  132. background-color: #fff;
  133. }
  134. .action-btn .action-icon.data-v-1091c94b {
  135. width: 24rpx;
  136. height: 24rpx;
  137. }
  138. .action-btn.disabled.data-v-1091c94b {
  139. opacity: 0.5;
  140. }
  141. .quantity.data-v-1091c94b {
  142. font-size: 28rpx;
  143. color: #151515;
  144. min-width: 40rpx;
  145. text-align: center;
  146. font-weight: bold;
  147. }
  148. .coupon-section.data-v-1091c94b {
  149. display: flex;
  150. align-items: center;
  151. justify-content: space-between;
  152. padding: 24rpx 0;
  153. margin-top: 20rpx;
  154. }
  155. .coupon-section__label.data-v-1091c94b {
  156. font-size: 28rpx;
  157. color: #151515;
  158. }
  159. .coupon-section__value.data-v-1091c94b {
  160. display: flex;
  161. align-items: center;
  162. gap: 8rpx;
  163. }
  164. .coupon-section__value .discount-amount.data-v-1091c94b {
  165. font-size: 28rpx;
  166. color: #E61F19;
  167. font-weight: 500;
  168. }
  169. .coupon-section__value .arrow-text.data-v-1091c94b {
  170. font-size: 32rpx;
  171. color: #999999;
  172. line-height: 1;
  173. }
  174. .cart-modal__footer.data-v-1091c94b {
  175. display: flex;
  176. align-items: center;
  177. justify-content: space-between;
  178. padding: 20rpx 30rpx;
  179. padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
  180. background: #2E2E2E;
  181. border-top: 1rpx solid #3E3E3E;
  182. }
  183. .cart-modal__footer .footer-coupon-btn.data-v-1091c94b {
  184. display: flex;
  185. flex-direction: column;
  186. align-items: center;
  187. justify-content: center;
  188. width: 140rpx;
  189. height: 100rpx;
  190. background: rgba(255, 255, 255, 0.1);
  191. border-radius: 8rpx;
  192. gap: 6rpx;
  193. }
  194. .cart-modal__footer .footer-coupon-btn .footer-coupon-icon.data-v-1091c94b {
  195. width: 30rpx;
  196. height: 21rpx;
  197. }
  198. .cart-modal__footer .footer-coupon-btn .footer-coupon-text.data-v-1091c94b {
  199. font-size: 24rpx;
  200. color: #FFFFFF;
  201. }
  202. .cart-modal__footer .footer-cart-info.data-v-1091c94b {
  203. flex: 1;
  204. display: flex;
  205. align-items: center;
  206. justify-content: space-between;
  207. margin-left: 20rpx;
  208. }
  209. .cart-modal__footer .footer-cart-content.data-v-1091c94b {
  210. display: flex;
  211. align-items: center;
  212. position: relative;
  213. }
  214. .cart-modal__footer .footer-cart-content .footer-cart-icon.data-v-1091c94b {
  215. width: 76rpx;
  216. height: 76rpx;
  217. }
  218. .cart-modal__footer .footer-cart-content .footer-cart-number.data-v-1091c94b {
  219. display: inline-block;
  220. padding: 2rpx 10rpx;
  221. background-color: #FF4545;
  222. position: absolute;
  223. left: 60rpx;
  224. top: -10rpx;
  225. border-radius: 40rpx;
  226. color: #fff;
  227. font-size: 24rpx;
  228. }
  229. .cart-modal__footer .footer-cart-content .footer-cart-price.data-v-1091c94b {
  230. display: flex;
  231. align-items: baseline;
  232. color: #FFFFFF;
  233. font-weight: bold;
  234. margin-left: 20rpx;
  235. }
  236. .cart-modal__footer .footer-cart-content .footer-cart-price .price-symbol.data-v-1091c94b {
  237. font-size: 24rpx;
  238. margin-right: 2rpx;
  239. }
  240. .cart-modal__footer .footer-cart-content .footer-cart-price .price-number.data-v-1091c94b {
  241. font-size: 38rpx;
  242. }
  243. .cart-modal__footer .footer-order-btn.data-v-1091c94b {
  244. width: 200rpx;
  245. height: 100rpx;
  246. display: flex;
  247. align-items: center;
  248. justify-content: center;
  249. background: #FF6B35;
  250. border-radius: 50rpx;
  251. font-weight: bold;
  252. font-size: 31rpx;
  253. color: #FFFFFF;
  254. margin-left: 20rpx;
  255. }