category.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. .container {
  2. background: #f9f9f9;
  3. }
  4. .cate-nav {
  5. position: fixed;
  6. left: 0;
  7. top: 0;
  8. z-index: 1000;
  9. }
  10. .cate-nav-body {
  11. height: 84rpx;
  12. white-space: nowrap;
  13. background: #fff;
  14. border-top: 1px solid rgba(0, 0, 0, 0.15);
  15. overflow: hidden;
  16. }
  17. .cate-nav .item {
  18. display: inline-block;
  19. height: 84rpx;
  20. min-width: 130rpx;
  21. padding: 0 15rpx;
  22. }
  23. .cate-nav .item .name {
  24. display: block;
  25. height: 84rpx;
  26. padding: 0 20rpx;
  27. line-height: 84rpx;
  28. color: #333;
  29. font-size: 30rpx;
  30. width: auto;
  31. }
  32. .cate-nav .item.active .name {
  33. color: #09afff;
  34. border-bottom: 2px solid #09afff;
  35. }
  36. .cate-item {
  37. margin-top: 94rpx;
  38. height: auto;
  39. overflow: hidden;
  40. }
  41. .cate-item .h {
  42. height: 145rpx;
  43. width: 750rpx;
  44. display: flex;
  45. flex-direction: column;
  46. align-items: center;
  47. justify-content: center;
  48. }
  49. .cate-item .h .name {
  50. display: block;
  51. height: 35rpx;
  52. margin-bottom: 18rpx;
  53. font-size: 30rpx;
  54. color: #333;
  55. }
  56. .cate-item .h .desc {
  57. display: block;
  58. height: 24rpx;
  59. font-size: 24rpx;
  60. color: #999;
  61. }
  62. .cate-item .b {
  63. width: 750rpx;
  64. padding: 0 6.25rpx;
  65. height: auto;
  66. overflow: hidden;
  67. }
  68. .cate-item .b .item {
  69. /* float: left;
  70. background: #fff;
  71. width: 365rpx;
  72. margin-bottom: 6.25rpx;
  73. padding-bottom: 30.333rpx;
  74. height: auto;
  75. overflow: hidden; */
  76. float: left;
  77. background: #fff;
  78. width: 342rpx;
  79. height: auto;
  80. overflow: hidden;
  81. padding: 15rpx;
  82. border-radius: 15rpx;
  83. margin: 16.5rpx 16.5rpx 8.5rpx 16.5rpx;
  84. }
  85. .cate-item .b .item-b {
  86. margin-left: 6.25rpx;
  87. }
  88. .cate-item .item .img {
  89. width: 312rpx;
  90. height: 312rpx;
  91. border-radius: 15rpx;
  92. }
  93. .cate-item .b .item .mark {
  94. width: 122rpx;
  95. height: 100rpx;
  96. margin-top: -20rpx;
  97. margin-left: 0rpx;
  98. }
  99. .cate-item .item .name {
  100. display: block;
  101. width: 365.625rpx;
  102. /* height: 63rpx; */
  103. margin: 0 0 5rpx 0;
  104. overflow: hidden;
  105. padding: 0 20rpx;
  106. font-size: 26rpx;
  107. color: #1C1C1C;
  108. line-height: 1.3em;
  109. padding-left: 0rpx;
  110. }
  111. .price-unit{
  112. font-size: 23rpx;
  113. font-weight: 400;
  114. color: #202020;
  115. }
  116. .cate-item .item .brand {
  117. display: block;
  118. width: 365.625rpx;
  119. height: 22rpx;
  120. font-size: 22rpx;
  121. color: #ab956d;
  122. margin-top: 10rpx;
  123. margin-left: 22rpx;
  124. }
  125. .counterPrice {
  126. text-decoration: line-through;
  127. font-size: 24rpx;
  128. margin: 0 0 0 20rpx;
  129. color: #C7C7C7;
  130. }
  131. .cate-item .item .price {
  132. height: 40rpx;
  133. display: flex;
  134. margin-top: 10rpx;
  135. align-items: flex-end;
  136. }
  137. .retailPrice {
  138. font-size: 40rpx;
  139. height: 40rpx;
  140. line-height: 40rpx;
  141. font-weight: bold;
  142. color: #202020;
  143. }
  144. .memberPrice {
  145. font-size: 22rpx;
  146. color: #DD483E;
  147. margin: 0 10rpx 0 20rpx;
  148. }
  149. .member-price-tag {
  150. width: 88rpx;
  151. height: 26rpx;
  152. line-height: 26rpx;
  153. background: url('https://jzmall.lifejingzhi.com/file/jzmall/weixin/member/member-price-bg.png') no-repeat center center;
  154. background-size: 100% 100%;
  155. color: #5E3A11;
  156. font-size: 16rpx;
  157. padding: 0 8rpx 0 0;
  158. text-align: right;
  159. margin: 0 0 6rpx 0;
  160. }