index.wxss 2.7 KB

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