store-buy.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. @import "@/static/css/mixin";
  2. .store-buy {
  3. background: url("@/static/image/buy-bg.jpg") no-repeat top;
  4. background-size: 100% 40vh;
  5. background-repeat: no-repeat;
  6. padding-top: 50rpx;
  7. .card{
  8. width: 720rpx;
  9. margin: 0 auto;
  10. }
  11. .card-info{
  12. background: url("/static/image/coupon_wait_use.png") no-repeat top right;
  13. width: 700rpx;
  14. flex-shrink: 0;
  15. height: 190rpx;
  16. background-size: 100% 100%;
  17. .left-box{
  18. flex: 1;
  19. padding: 0 20rpx;
  20. .price{
  21. white-space: nowrap;
  22. color: #888d93;
  23. font-size: 28rpx;
  24. .num{
  25. color: #E8B388;
  26. font-size: 60rpx;
  27. }
  28. }
  29. .info-box{
  30. margin-left: 20rpx;
  31. .tags{
  32. margin-top: 10rpx;
  33. .tag{
  34. background: #FDE7DA;
  35. color: #424751;
  36. padding: 3rpx 8rpx;
  37. margin-right: 8rpx;
  38. font-size: 22rpx;
  39. border-radius: 6rpx;
  40. }
  41. }
  42. }
  43. }
  44. .right-box{
  45. width: 165rpx;
  46. }
  47. }
  48. .price-tags{
  49. margin-bottom: 50rpx;
  50. margin-top: 20rpx;
  51. padding: 0 20rpx;
  52. .price-tag{
  53. flex: 1;
  54. color: #fff;
  55. font-size: 26rpx;
  56. padding: 4rpx 6rpx;
  57. white-space: nowrap;
  58. &.normal-price{
  59. background: linear-gradient(#858A90,#4C525E);
  60. }
  61. &.sale-price{
  62. background: linear-gradient(#504740,#1F1A14);
  63. margin: 0 50rpx;
  64. }
  65. &.vip-price{
  66. @include vipBorder;
  67. border-width: 1rpx;
  68. }
  69. }
  70. }
  71. .store-info{
  72. background: #fff;
  73. border-radius: 10rpx;
  74. padding: 10rpx 30rpx;
  75. }
  76. .desc{
  77. .content{
  78. color: $text-deep-grey-color;
  79. }
  80. }
  81. .buy-btn{
  82. @include background;
  83. color: #fff;
  84. width: 90vw;
  85. margin: 80rpx auto 0rpx;
  86. padding: 20rpx 0;
  87. border-radius: 10rpx;
  88. bottom: 0;
  89. text-align: center;
  90. }
  91. .buy-popup{
  92. padding: 30rpx 0;
  93. font-size: 26rpx;
  94. .goods-box{
  95. padding: 0 30rpx;
  96. .cover-img{
  97. width: 240rpx;
  98. height: 200rpx;
  99. >image{
  100. width: 100%;
  101. height: 100%;
  102. }
  103. }
  104. .goods-info{
  105. background: #FEF9F6;
  106. flex: 1;
  107. padding: 20rpx;
  108. }
  109. }
  110. .spec-box{
  111. padding: 0 30rpx;
  112. font-size: 26rpx;
  113. .name{
  114. color: $text-black-color;
  115. }
  116. }
  117. .spec-detail{
  118. box-shadow: 0 0 10rpx rgba(0,0,0,.15);
  119. border-radius: 12rpx;
  120. padding: 32rpx 16rpx;
  121. .spec-name{
  122. color: $text-black-color;
  123. text-align: center;
  124. padding-bottom: 22rpx;
  125. }
  126. .detail-box{
  127. height: 150rpx;
  128. .detail-item{
  129. padding: 12rpx 0;
  130. text-align: center;
  131. color: $text-grey-color;
  132. >text{
  133. flex: 1;
  134. }
  135. .name{
  136. flex: 2;
  137. }
  138. }
  139. }
  140. }
  141. .price-box{
  142. padding: 16rpx 32rpx;
  143. position: relative;
  144. margin-bottom: 16rpx;
  145. margin-top: 16rpx;
  146. &:after{
  147. content: "";
  148. position: absolute;
  149. height: 1rpx;
  150. width: 95%;
  151. background: $grey-color;
  152. bottom: 0;
  153. left: 50%;
  154. transform: translateX(-50%);
  155. }
  156. .normal-price{
  157. flex: 1;
  158. text{
  159. margin-right: 16rpx;
  160. }
  161. }
  162. .goods-num{
  163. display: flex;
  164. flex: 1;
  165. justify-content: flex-end;
  166. }
  167. }
  168. .buy-btn{
  169. margin-top: 30rpx;
  170. }
  171. }
  172. }