index.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. Page {
  2. width: 100%;
  3. /* height: 100%; */
  4. box-sizing: border-box;
  5. display: flex;
  6. flex-flow: column nowrap;
  7. justify-content: flex-start;
  8. align-items: center;
  9. background-color: #F7F7F7;
  10. }
  11. /* 头图的样式 */
  12. .top_img {
  13. width: 676rpx;
  14. height: 676rpx;
  15. margin-top: 28rpx;
  16. }
  17. .swiper{
  18. width: 676rpx;
  19. height: 704rpx;
  20. }
  21. /* banner的样式 */
  22. .banner_list {
  23. width: 676rpx;
  24. height: 148rpx;
  25. background: #FFFFFF;
  26. border-radius: 10rpx;
  27. margin-top: 30rpx;
  28. justify-content: space-around !important;
  29. }
  30. .banner_item {
  31. width: 100rpx;
  32. text-align: center;
  33. justify-content: space-between!important;
  34. align-items: center!important;
  35. }
  36. .b_i_img {
  37. width: 76rpx;
  38. height: 76rpx;
  39. margin-top: 12rpx;
  40. }
  41. .b_i_text {
  42. width: 160rpx;
  43. height: 24rpx;
  44. line-height: 24rpx;
  45. font-size: 24rpx;
  46. font-weight: 500;
  47. color: #303030;
  48. margin-bottom: 20rpx;
  49. margin-top: 8rpx;
  50. }
  51. /* 券包的样式 */
  52. .coupon_list {
  53. /* min-height: 360px; */
  54. width: 676rpx;
  55. background: #FFFFFF;
  56. border-radius: 10rpx;
  57. margin-top: 26rpx;
  58. box-sizing: border-box;
  59. padding: 40rpx 36rpx;
  60. margin-bottom: 40rpx;
  61. }
  62. .c_l_top{
  63. width: 100%;
  64. height: 36rpx;
  65. justify-content: space-between!important;
  66. }
  67. .c_l_top_l{
  68. width: 120rpx;
  69. line-height: 36rpx;
  70. font-size: 14px;
  71. font-weight: 700;
  72. color: #010101;
  73. text-align: left;
  74. }
  75. .c_l_top_r{
  76. width: 25px;
  77. line-height: 18px;
  78. font-size: 11px;
  79. font-weight: 400;
  80. color: #A0A0A0;
  81. text-align: right;
  82. }
  83. .coupon_item{
  84. height: 182rpx;
  85. margin-top: 36rpx;
  86. width: 640rpx;
  87. }
  88. .coupon_item_img{
  89. width: 224rpx;
  90. height: 182rpx;
  91. border-radius: 10rpx;
  92. }
  93. .coupon_item_right{
  94. width: 344rpx;
  95. height: 182rpx;
  96. margin-left: 36rpx;
  97. box-sizing: border-box;
  98. padding-top: 5px;
  99. justify-content: space-between!important;
  100. }
  101. .coupon_name{
  102. font-size: 14px;
  103. font-weight: 700;
  104. color: #010101;
  105. line-height:15px ;
  106. }
  107. .coupon_num{
  108. height: 11px;
  109. font-size: 11px;
  110. font-weight: 500;
  111. color: #A0A0A0;
  112. margin-top: 6px;
  113. }
  114. .coupon_i_r_bottom{
  115. justify-content: space-between!important;
  116. }
  117. .coupon_price{
  118. font-size: 11px;
  119. font-weight: 500;
  120. color: #B01717;
  121. }
  122. .coupon_buy{
  123. width: 80px;
  124. height: 29px;
  125. line-height: 29px;
  126. background: #B01717;
  127. border-radius: 14px;
  128. color: #ffffff;
  129. text-align: center;
  130. font-size: 15px;
  131. }
  132. /*用来包裹所有的小圆点 */
  133. .dots {
  134. width: 210rpx;
  135. height: 20rpx;
  136. display: flex;
  137. flex-flow: row nowrap;
  138. justify-content: center;
  139. position: absolute;
  140. left: 50%;
  141. transform: translateX(-50%);
  142. bottom: 0rpx;
  143. }
  144. .swiper_box {
  145. height: auto;
  146. position: relative;
  147. }
  148. /*未选中时的小圆点样式 */
  149. .dot {
  150. width: 40rpx;
  151. height: 10rpx;
  152. border-radius: 14rpx;
  153. margin-right: 20rpx;
  154. background-color: #ccc;
  155. opacity: 0.5;
  156. }
  157. /*选中以后的小圆点样式 */
  158. .active_dot {
  159. background-color: #333;
  160. opacity: 0.5;
  161. }
  162. .page{
  163. -webkit-filter: grayscale(100%);
  164. filter: grayscale(100%);
  165. }