newGoods.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. page{
  2. background: #f4f4f4;
  3. }
  4. .brand-info .name{
  5. width: 100%;
  6. height: 278rpx;
  7. position: relative;
  8. }
  9. .brand-info .img{
  10. position: absolute;
  11. top:0;
  12. left:0;
  13. width: 100%;
  14. height: 278rpx;
  15. }
  16. .brand-info .info-box{
  17. position: absolute;
  18. top:0;
  19. left:0;
  20. width: 100%;
  21. height: 278rpx;
  22. text-align: center;
  23. display: flex;
  24. justify-content: center;
  25. align-items: center;
  26. }
  27. .brand-info .info{
  28. display: block;
  29. }
  30. .brand-info .txt{
  31. display: block;
  32. height: 40rpx;
  33. font-size: 37.5rpx;
  34. color: #fff;
  35. }
  36. .brand-info .line{
  37. margin: 0 auto;
  38. margin-top: 16rpx;
  39. display: block;
  40. height: 2rpx;
  41. width: 145rpx;
  42. background: #fff;
  43. }
  44. .sort{
  45. position: relative;
  46. background: #fff;
  47. width: 100%;
  48. height: 78rpx;
  49. }
  50. .sort-box{
  51. background: #fff;
  52. width: 100%;
  53. height: 78rpx;
  54. overflow: hidden;
  55. padding: 0 30rpx;
  56. display: flex;
  57. border-bottom: 1px solid #d9d9d9;
  58. }
  59. .sort-box .item{
  60. height: 78rpx;
  61. line-height: 78rpx;
  62. text-align: center;
  63. flex:1;
  64. color: #333;
  65. font-size: 30rpx;
  66. }
  67. .sort-box .item .txt{
  68. display: block;
  69. width: 100%;
  70. height: 100%;
  71. color: #333;
  72. }
  73. .sort-box .item.active .txt{
  74. color: #b4282d;
  75. }
  76. .sort-box .item.by-price{
  77. background: url(//yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/no-3127092a69.png) 155rpx center no-repeat;
  78. background-size: 15rpx 21rpx;
  79. }
  80. .sort-box .item.by-price.active.asc{
  81. background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/up-636b92c0a5.png) 155rpx center no-repeat;
  82. background-size: 15rpx 21rpx;
  83. }
  84. .sort-box .item.by-price.active.desc{
  85. background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/down-95e035f3e5.png) 155rpx center no-repeat;
  86. background-size: 15rpx 21rpx;
  87. }
  88. .sort-box-category{
  89. background: #fff;
  90. width: 100%;
  91. height: auto;
  92. overflow: hidden;
  93. padding: 40rpx 40rpx 0 0;
  94. border-bottom: 1px solid #d9d9d9;
  95. }
  96. .sort-box-category .item{
  97. height: 54rpx;
  98. line-height: 54rpx;
  99. text-align: center;
  100. float: left;
  101. padding: 0 16rpx;
  102. margin: 0 0 40rpx 40rpx;
  103. border: 1px solid #666;
  104. color: #333;
  105. font-size: 24rpx;
  106. }
  107. .sort-box-category .item.active{
  108. color: #b4282d;
  109. border: 1px solid #b4282d;
  110. }
  111. .cate-item .b{
  112. width: 750rpx;
  113. height: auto;
  114. overflow: hidden;
  115. border-top: 1rpx solid #f4f4f4;
  116. margin-top: 20rpx;
  117. }
  118. .cate-item .b .item{
  119. float: left;
  120. background: #fff;
  121. width: 375rpx;
  122. padding-bottom: 33.333rpx;
  123. border-bottom: 1rpx solid #f4f4f4;
  124. height: auto;
  125. overflow: hidden;
  126. text-align: center;
  127. }
  128. .cate-item .b .item-b{
  129. border-right: 1rpx solid #f4f4f4;
  130. }
  131. .cate-item .item .img{
  132. margin-top: 10rpx;
  133. width: 302rpx;
  134. height: 302rpx;
  135. }
  136. .cate-item .item .name{
  137. display: block;
  138. width: 365.625rpx;
  139. height: 35rpx;
  140. padding: 0 20rpx;
  141. overflow: hidden;
  142. margin: 11.5rpx 0 22rpx 0;
  143. text-align: center;
  144. font-size: 30rpx;
  145. color: #333;
  146. }
  147. .cate-item .item .price{
  148. display: block;
  149. width: 365.625rpx;
  150. height: 30rpx;
  151. text-align: center;
  152. font-size: 30rpx;
  153. color: #b4282d;
  154. }