hotGoods.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. page {
  2. background: #f4f4f4;
  3. }
  4. .brand-info .name {
  5. width: 750rpx;
  6. height: 184rpx;
  7. /* position: relative; */
  8. }
  9. .brand-info .img {
  10. /* position: absolute;
  11. top: 0;
  12. left: 0; */
  13. width: 750rpx;
  14. height: 184rpx;
  15. }
  16. .price-unit{
  17. font-size: 23rpx;
  18. font-weight: 400;
  19. color: #202020;
  20. }
  21. .brand-info .info-box {
  22. position: absolute;
  23. top: 0;
  24. left: 0;
  25. width: 100%;
  26. height: 278rpx;
  27. text-align: center;
  28. display: flex;
  29. justify-content: center;
  30. align-items: center;
  31. }
  32. .brand-info .info {
  33. display: block;
  34. }
  35. .brand-info .txt {
  36. display: block;
  37. height: 40rpx;
  38. font-size: 37.5rpx;
  39. /* color: #fff; */
  40. }
  41. .brand-info .line {
  42. margin: 0 auto;
  43. margin-top: 16rpx;
  44. display: block;
  45. height: 2rpx;
  46. width: 145rpx;
  47. background: #fff;
  48. }
  49. .sort {
  50. position: relative;
  51. background: #fff;
  52. width: 100%;
  53. height: 78rpx;
  54. }
  55. .sort-box {
  56. background: #fff;
  57. width: 100%;
  58. height: 78rpx;
  59. overflow: hidden;
  60. padding: 0 30rpx;
  61. display: flex;
  62. align-items: center;
  63. border-bottom: 1px solid #d9d9d9;
  64. }
  65. .sort-box .item {
  66. height: 78rpx;
  67. line-height: 78rpx;
  68. text-align: center;
  69. flex: 1;
  70. color: #333;
  71. font-size: 30rpx;
  72. }
  73. .sort-box .item .txt {
  74. color: #333;
  75. }
  76. .sort-box .item.active .txt {
  77. color: #b4282d;
  78. }
  79. .sort-box .item .van-icon {
  80. margin-left: 6rpx;
  81. }
  82. .sort-box-category {
  83. background: #fff;
  84. width: 100%;
  85. height: auto;
  86. overflow: hidden;
  87. padding: 40rpx 40rpx 0 0;
  88. border-bottom: 1px solid #d9d9d9;
  89. }
  90. .sort-box-category .item {
  91. height: 54rpx;
  92. line-height: 54rpx;
  93. text-align: center;
  94. float: left;
  95. padding: 0 16rpx;
  96. margin: 0 0 40rpx 40rpx;
  97. border: 1px solid #666;
  98. color: #333;
  99. font-size: 24rpx;
  100. }
  101. .sort-box-category .item.active {
  102. color: #b4282d;
  103. border: 1px solid #b4282d;
  104. }
  105. .cate-item .b {
  106. /* width: 750rpx;
  107. height: auto;
  108. overflow: hidden;
  109. border-top: 1rpx solid #f4f4f4;
  110. margin-top: 20rpx; */
  111. width: 750rpx;
  112. /* padding: 0 6.25rpx; */
  113. height: auto;
  114. overflow: hidden;
  115. }
  116. .cate-item .b .item {
  117. /* float: left;
  118. background: #fff;
  119. width: 375rpx;
  120. padding-bottom: 33.333rpx;
  121. border-bottom: 1rpx solid #f4f4f4;
  122. height: auto;
  123. overflow: hidden;
  124. text-align: center; */
  125. float: left;
  126. background: #fff;
  127. width: 342rpx;
  128. height: auto;
  129. overflow: hidden;
  130. padding: 15rpx;
  131. border-radius: 15rpx;
  132. margin: 16.5rpx 16.5rpx 8.5rpx 16.5rpx;
  133. }
  134. .cate-item .b .item-b {
  135. border-right: 1rpx solid #f4f4f4;
  136. }
  137. .cate-item .item .img {
  138. width: 312rpx;
  139. height: 312rpx;
  140. border-radius: 15rpx;
  141. }
  142. .cate-item .item .name {
  143. display: block;
  144. width: 365.625rpx;
  145. /* height: 63rpx; */
  146. margin: 0 0 5rpx 0;
  147. overflow: hidden;
  148. padding: 0 20rpx;
  149. font-size: 26rpx;
  150. color: #1C1C1C;
  151. line-height: 1.3em;
  152. padding-left: 0rpx;
  153. text-align: left;
  154. }
  155. .cate-item .item .price {
  156. height: 40rpx;
  157. /* justify-content: center; */
  158. display: flex;
  159. align-items:flex-end;
  160. justify-content: flex-start;
  161. margin-top: 10rpx;
  162. }
  163. .counterPrice{
  164. text-decoration: line-through;
  165. font-size: 24rpx;
  166. margin: 0 0 0 20rpx;
  167. color: #C7C7C7;
  168. }
  169. .retailPrice{
  170. font-size: 40rpx;
  171. height: 40rpx;
  172. line-height: 40rpx;
  173. font-weight: bold;
  174. color: #202020;
  175. }
  176. .memberPrice{
  177. font-size: 22rpx;
  178. color: #DD483E;
  179. margin:0 10rpx 0 20rpx;
  180. }
  181. .member-price-tag{
  182. width:88rpx;
  183. height: 26rpx;
  184. line-height: 26rpx;
  185. background: url('https://jzmall.lifejingzhi.com/file/jzmall/weixin/member/member-price-bg.png') no-repeat center center;
  186. background-size: 100% 100%;
  187. color: #5E3A11;
  188. font-size: 16rpx;
  189. padding:0 8rpx 0 0;
  190. text-align: right;
  191. margin:0 0 6rpx 0;
  192. }