index.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. page{
  2. background:#fff;
  3. }
  4. .header{
  5. padding-top:88rpx;
  6. }
  7. .header-box{
  8. border-bottom:2rpx solid #e0e0e0;
  9. position: fixed;
  10. width:100%;
  11. top:0;
  12. left:0;
  13. background: #FFF;
  14. z-index:10000;
  15. }
  16. .header image{
  17. width:70rpx;
  18. height:70rpx;
  19. margin-top:10rpx;
  20. }
  21. .h-search{
  22. height:50rpx;
  23. line-height:50rpx;
  24. background:#e5e5e5;
  25. border-radius:50rpx;
  26. }
  27. .h-search .iconfont{
  28. padding-left:10rpx;
  29. }
  30. .h-search input{
  31. padding:0 10rpx;
  32. height:50rpx;
  33. line-height:50rpx;
  34. }
  35. /* left */
  36. .class-left{
  37. padding-left:172rpx;
  38. }
  39. .class-left .nav{
  40. position:fixed;
  41. left:0;
  42. background:#fff;
  43. height:100%;
  44. width:170rpx;
  45. border-right:2rpx solid #e0e0e0;
  46. z-index:100;
  47. }
  48. .nav-list{
  49. height:54rpx;
  50. margin:25rpx 0;
  51. width:150rpx;
  52. margin-right:10rpx;
  53. text-align: center;
  54. border-left:10rpx solid #fff;
  55. }
  56. .nav-list.active{
  57. color:#e60012;
  58. border-color:#e60012;
  59. }
  60. .filter-box {
  61. height:70rpx;
  62. line-height:70rpx;
  63. background:#fff;
  64. border-bottom:2rpx solid #e0e0e0;
  65. position: relative;
  66. z-index:100;
  67. }
  68. .icon-box{
  69. color:#dcdcdc;
  70. line-height:40rpx;
  71. height:40rpx;
  72. position: absolute;
  73. top:-8rpx;
  74. margin-left:1.1rem;
  75. }
  76. .icon-box icon{
  77. display:block;
  78. height:16rpx;
  79. line-height:16rpx;
  80. }
  81. .icon-box icon.active{
  82. color:#333;
  83. }
  84. .icon-last{
  85. top:2rpx;
  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. }