index.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. .classify-main{
  2. background:#fff;
  3. }
  4. .header image{
  5. width:70rpx;
  6. height:70rpx;
  7. margin-top:10rpx;
  8. }
  9. .h-search{
  10. height:50rpx;
  11. line-height:50rpx;
  12. background:#e5e5e5;
  13. border-radius:50rpx;
  14. }
  15. .h-search .iconfont{
  16. padding-left:10rpx;
  17. }
  18. .h-search input{
  19. padding:0 10rpx;
  20. height:50rpx;
  21. line-height:50rpx;
  22. }
  23. /* left */
  24. .class-left{
  25. padding-left:172rpx;
  26. }
  27. .class-left .nav{
  28. position:fixed;
  29. left:0;
  30. background:#fff;
  31. height:100%;
  32. width:170rpx;
  33. border-right:2rpx solid #e0e0e0;
  34. border-top:2rpx solid #e0e0e0;
  35. z-index:100;
  36. }
  37. /* .class-right{
  38. border-top:2rpx solid #e0e0e0;
  39. } */
  40. .nav-list{
  41. height:54rpx;
  42. margin:25rpx 0;
  43. width:150rpx;
  44. margin-right:10rpx;
  45. text-align: center;
  46. border-left:10rpx solid #fff;
  47. }
  48. .nav-list.active{
  49. color:#e60012;
  50. border-color:#e60012;
  51. }
  52. .filter-box {
  53. height:70rpx;
  54. line-height:70rpx;
  55. background:#fff;
  56. border-bottom:2rpx solid #e0e0e0;
  57. border-top:2rpx solid #e0e0e0;
  58. position: relative;
  59. z-index:100;
  60. }
  61. .triangle-box{
  62. height:32rpx;
  63. margin:0rpx 0 0 10rpx;
  64. }
  65. .triangle-just{
  66. width: 0;
  67. height: 0;
  68. border-bottom: 11rpx solid #2d2d2d;
  69. border-left: 8rpx solid transparent;
  70. border-right: 8rpx solid transparent;
  71. margin:5rpx 0;
  72. }
  73. .triangle-just.active{
  74. border-bottom-color:#dcdcdc;
  75. }
  76. .triangle-invert.active{
  77. border-bottom-color:#dcdcdc;
  78. }
  79. .triangle-invert{
  80. margin:5rpx 0;
  81. width: 0;
  82. height: 0;
  83. border-top: 11rpx solid #2d2d2d;
  84. border-left: 8rpx solid transparent;
  85. border-right: 8rpx solid transparent;
  86. }
  87. .radio-group .radio{
  88. line-height:50rpx;
  89. display:inline-block;
  90. width:40%;
  91. }
  92. .radio-group .radio radio{
  93. transform:scale(0.6);
  94. width:40rpx;
  95. }
  96. .filter-box{
  97. position: fixed;
  98. width:580rpx;
  99. background:#fff;
  100. }
  101. .filter-main{
  102. padding:20rpx;
  103. background:#fff;
  104. position:absolute;
  105. top:72rpx;
  106. }
  107. .filter-range{
  108. width:400rpx;
  109. line-height:48rpx;
  110. }
  111. .filter-range input{
  112. width:150rpx;
  113. background:#eeedf2;
  114. height:48rpx;
  115. border-radius:48rpx;
  116. text-align: center;
  117. }
  118. .goods-box {
  119. margin:90rpx 20rpx 20rpx 20rpx;
  120. }
  121. .goods-list{
  122. width:246rpx;
  123. margin-bottom:30rpx;
  124. }
  125. .goods-img{
  126. width:246rpx;
  127. height:246rpx;
  128. background:#eeedf2;
  129. display: block;
  130. }
  131. .goods-summary{
  132. height:44rpx;
  133. line-height:44rpx;
  134. background:#f1f7fc;
  135. color:#666666;
  136. padding:0 10rpx;
  137. overflow: hidden;/*超出部分隐藏*/
  138. white-space: nowrap;/*不换行*/
  139. text-overflow:ellipsis;/*超出部分文字以...显示*/
  140. }
  141. .goods-title{
  142. margin:10rpx 0;
  143. }
  144. .goods-price{
  145. color:#e60012;
  146. }
  147. .ceng{
  148. position:fixed;
  149. width:100%;
  150. height:100%;
  151. background:rgba(0,0,0,0.6);
  152. z-index:10;
  153. top:0;
  154. left:0;
  155. }