index.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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 34rpx;
  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: 91px;
  85. margin-top: 18px;
  86. }
  87. .coupon_item_img{
  88. width: 112px;
  89. height: 91px;
  90. border-radius: 5px;
  91. }
  92. .coupon_item_right{
  93. width: 174px;
  94. height: 91px;
  95. margin-left: 17px;
  96. box-sizing: border-box;
  97. padding-top: 5px;
  98. justify-content: space-between!important;
  99. }
  100. .coupon_name{
  101. font-size: 14px;
  102. font-weight: 700;
  103. color: #010101;
  104. line-height:15px ;
  105. }
  106. .coupon_num{
  107. height: 11px;
  108. font-size: 11px;
  109. font-weight: 500;
  110. color: #A0A0A0;
  111. margin-top: 6px;
  112. }
  113. .coupon_i_r_bottom{
  114. justify-content: space-between!important;
  115. }
  116. .coupon_price{
  117. font-size: 11px;
  118. font-weight: 500;
  119. color: #B01717;
  120. }
  121. .coupon_buy{
  122. width: 80px;
  123. height: 29px;
  124. line-height: 29px;
  125. background: #B01717;
  126. border-radius: 14px;
  127. color: #ffffff;
  128. text-align: center;
  129. font-size: 15px;
  130. }
  131. /*用来包裹所有的小圆点 */
  132. .dots {
  133. width: 210rpx;
  134. height: 20rpx;
  135. display: flex;
  136. flex-flow: row nowrap;
  137. justify-content: center;
  138. position: absolute;
  139. left: 50%;
  140. transform: translateX(-50%);
  141. bottom: 0rpx;
  142. }
  143. .swiper_box {
  144. height: auto;
  145. position: relative;
  146. }
  147. /*未选中时的小圆点样式 */
  148. .dot {
  149. width: 40rpx;
  150. height: 10rpx;
  151. border-radius: 14rpx;
  152. margin-right: 20rpx;
  153. background-color: #ccc;
  154. opacity: 0.5;
  155. }
  156. /*选中以后的小圆点样式 */
  157. .active_dot {
  158. background-color: #333;
  159. opacity: 0.5;
  160. }
  161. .page{
  162. -webkit-filter: grayscale(100%);
  163. filter: grayscale(100%);
  164. }