hotGoods.wxss 2.4 KB

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