newGoods.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. color: #333;
  69. }
  70. .sort-box .item.active .txt {
  71. color: #b4282d;
  72. }
  73. .sort-box .item .van-icon {
  74. margin-left: 6rpx;
  75. }
  76. .sort-box-category {
  77. background: #fff;
  78. width: 100%;
  79. height: auto;
  80. overflow: hidden;
  81. padding: 40rpx 40rpx 0 0;
  82. border-bottom: 1px solid #d9d9d9;
  83. }
  84. .sort-box-category .item {
  85. height: 54rpx;
  86. line-height: 54rpx;
  87. text-align: center;
  88. float: left;
  89. padding: 0 16rpx;
  90. margin: 0 0 40rpx 40rpx;
  91. border: 1px solid #666;
  92. color: #333;
  93. font-size: 24rpx;
  94. }
  95. .sort-box-category .item.active {
  96. color: #b4282d;
  97. border: 1px solid #b4282d;
  98. }
  99. .cate-item .b {
  100. width: 750rpx;
  101. height: auto;
  102. overflow: hidden;
  103. border-top: 1rpx solid #f4f4f4;
  104. margin-top: 20rpx;
  105. }
  106. .cate-item .b .item {
  107. float: left;
  108. background: #fff;
  109. width: 375rpx;
  110. padding-bottom: 33.333rpx;
  111. border-bottom: 1rpx solid #f4f4f4;
  112. height: auto;
  113. overflow: hidden;
  114. text-align: center;
  115. }
  116. .cate-item .b .item-b {
  117. border-right: 1rpx solid #f4f4f4;
  118. }
  119. .cate-item .item .img {
  120. margin-top: 10rpx;
  121. width: 302rpx;
  122. height: 302rpx;
  123. }
  124. .cate-item .item .name {
  125. display: block;
  126. width: 365.625rpx;
  127. height: 35rpx;
  128. padding: 0 20rpx;
  129. overflow: hidden;
  130. margin: 11.5rpx 0 22rpx 0;
  131. text-align: center;
  132. font-size: 30rpx;
  133. color: #333;
  134. }
  135. .cate-item .item .price {
  136. display: block;
  137. width: 365.625rpx;
  138. height: 30rpx;
  139. text-align: center;
  140. font-size: 30rpx;
  141. color: #b4282d;
  142. }