buy.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. .container {
  2. padding-bottom: 112rpx;
  3. }
  4. /* 卡券信息 */
  5. .coupon-info {
  6. background: #fff;
  7. padding: 25rpx 30rpx;
  8. }
  9. .info-item__top {
  10. min-height: 40rpx;
  11. margin-bottom: 20rpx;
  12. }
  13. .info-item__top .active-tag {
  14. width: 108rpx;
  15. color: #fff;
  16. background: #fe293f;
  17. padding: 3rpx 5rpx;
  18. border-radius: 15rpx;
  19. font-size: 24rpx;
  20. text-align: center;
  21. margin-right: 15rpx;
  22. }
  23. .floor-price__samll {
  24. font-size: 26rpx;
  25. line-height: 1;
  26. color: #FA2209;
  27. }
  28. /* 金额 */
  29. .floor-price {
  30. color: #FA2209;
  31. margin-right: 15rpx;
  32. font-size: 38rpx;
  33. line-height: 1;
  34. margin-bottom: -2rpx;
  35. }
  36. .original-price {
  37. font-size: 24rpx;
  38. line-height: 1;
  39. text-decoration: line-through;
  40. color: #959595;
  41. }
  42. .coupon-sales {
  43. font-size: 24rpx;
  44. color: #959595;
  45. }
  46. .info-item {
  47. font-size: 24rpx;
  48. margin-bottom: 15rpx;
  49. color:#666666;
  50. .number{
  51. color:#f9211c;
  52. font-weight: bold;
  53. }
  54. }
  55. .store-rule {
  56. color:#666666;
  57. font-size: 28rpx;
  58. padding: 30rpx;
  59. border: #cccccc dashed 5rpx;
  60. border-radius: 5rpx;
  61. margin-bottom: 20rpx;
  62. .title {
  63. color:#666666;
  64. font-weight: bold;
  65. font-size: 30rpx;
  66. margin-bottom: 10rpx;
  67. }
  68. .item {
  69. margin-bottom:0px;
  70. height: 60rpx;
  71. padding-top:15rpx;
  72. font-weight: bold;
  73. }
  74. }
  75. .info-item__name .coupon-name {
  76. font-size: 30rpx;
  77. font-weight:bold;
  78. margin-bottom: 20rpx;
  79. color:#666666;
  80. }
  81. /* 商品分享 */
  82. .coupon-share__line {
  83. border-left: 1rpx solid #f4f4f4;
  84. height: 60rpx;
  85. margin: 0 30rpx;
  86. }
  87. .coupon-share .share-btn {
  88. line-height: normal;
  89. padding: 0;
  90. background: none;
  91. border-radius: 0;
  92. box-shadow: none;
  93. font-size: 8pt;
  94. border: none;
  95. color: #191919;
  96. }
  97. .coupon-share .share-btn::after {
  98. border: none;
  99. }
  100. .coupon-share .share__icon {
  101. font-size: 40rpx;
  102. margin-bottom: 5rpx;
  103. }
  104. /* 卖点 */
  105. .info-item_selling-point {
  106. margin-top: 8rpx;
  107. font-size: 24rpx;
  108. color: #808080;
  109. }
  110. // 选择商品规格
  111. .coupon-choice {
  112. padding: 26rpx 30rpx;
  113. font-size: 28rpx;
  114. .spec-list {
  115. display: flex;
  116. align-items: center;
  117. .spec-name {
  118. margin-right: 10rpx;
  119. }
  120. }
  121. }
  122. /* 卡券详情 */
  123. .coupon-content {
  124. .item-title {
  125. padding: 26rpx 30rpx;
  126. font-size: 28rpx;
  127. }
  128. .coupon-content-detail {
  129. padding:0rpx 25rpx 25rpx 25rpx;
  130. }
  131. }
  132. // 快捷菜单
  133. .foo-item-fast {
  134. box-sizing: border-box;
  135. width: 100rpx;
  136. line-height: 1;
  137. display: flex;
  138. justify-content: center;
  139. align-items: center;
  140. .fast-item {
  141. position: relative;
  142. padding: 4rpx 10rpx;
  143. line-height: 1;
  144. .fast-icon {
  145. margin-bottom: 6rpx;
  146. }
  147. // 角标
  148. .fast-badge {
  149. display: inline-block;
  150. box-sizing: border-box;
  151. min-width: 16px;
  152. padding: 0 3px;
  153. color: #fff;
  154. font-weight: 500;
  155. font-size: 12px;
  156. font-family: -apple-system-font, Helvetica Neue, Arial, sans-serif;
  157. line-height: 1.2;
  158. text-align: center;
  159. background-color: #ee0a24;
  160. border: 1px solid #fff;
  161. border-radius: 999px;
  162. }
  163. .fast-badge--fixed {
  164. position: absolute;
  165. top: 0;
  166. right: 0;
  167. transform-origin: 100%
  168. }
  169. .fast-icon {
  170. font-size: 46rpx;
  171. }
  172. .fast-text {
  173. font-size: 24rpx;
  174. }
  175. }
  176. }
  177. /* 底部操作栏 */
  178. .footer-fixed {
  179. position: fixed;
  180. bottom: var(--window-bottom);
  181. left: 0;
  182. right: 0;
  183. display: flex;
  184. height: 180rpx;
  185. z-index: 11;
  186. box-shadow: 0 -4rpx 40rpx 0 rgba(144, 52, 52, 0.1);
  187. background: #fff;
  188. }
  189. .footer-container {
  190. width: 100%;
  191. display: flex;
  192. margin-bottom: 30rpx;
  193. }
  194. // 操作按钮
  195. .foo-item-btn {
  196. flex: 1;
  197. .btn-wrapper {
  198. height: 100%;
  199. display: flex;
  200. align-items: center;
  201. }
  202. .btn-item {
  203. flex: 1;
  204. font-size: 28rpx;
  205. height: 80rpx;
  206. line-height: 80rpx;
  207. margin-right: 16rpx;
  208. margin-left: 16rpx;
  209. text-align: center;
  210. color: #fff;
  211. border-radius: 40rpx;
  212. }
  213. // 立即购买按钮
  214. .btn-item-main {
  215. background: linear-gradient(to right, #f9211c, #ff6335);
  216. }
  217. // 购物车按钮
  218. .btn-item-deputy {
  219. background: linear-gradient(to right, #ffa600, #ffbb00);
  220. }
  221. }