category.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. }
  77. .cate-item .b .item-b {
  78. margin-left: 6.25rpx;
  79. }
  80. .cate-item .item .img {
  81. width: 362rpx;
  82. height: 362rpx;
  83. }
  84. .cate-item .b .item .mark {
  85. width: 122rpx;
  86. height: 100rpx;
  87. margin-top: -20rpx;
  88. margin-left: 0rpx;
  89. }
  90. .cate-item .item .name {
  91. display: block;
  92. width: 365.625rpx;
  93. height: 63rpx;
  94. margin: 11.5rpx 0 0 0;
  95. overflow: hidden;
  96. padding: 0 20rpx;
  97. font-size: 30rpx;
  98. color: #333;
  99. line-height:1em;
  100. }
  101. .cate-item .item .brand {
  102. display: block;
  103. width: 365.625rpx;
  104. height: 22rpx;
  105. font-size: 22rpx;
  106. color: #ab956d;
  107. margin-top: 10rpx;
  108. margin-left: 22rpx;
  109. }
  110. .counterPrice{
  111. text-decoration: line-through;
  112. font-size: 24rpx;
  113. margin:0 0 0 20rpx;
  114. }
  115. .cate-item .item .price {
  116. height: 40rpx;
  117. display: flex;
  118. margin-top: 20rpx;
  119. align-items:flex-end;
  120. }
  121. .retailPrice{
  122. font-size: 30rpx;
  123. height: 30rpx;
  124. line-height: 30rpx;
  125. }
  126. .memberPrice{
  127. font-size: 22rpx;
  128. color: #DD483E;
  129. margin:0 10rpx 0 20rpx;
  130. }
  131. .member-price-tag{
  132. width:88rpx;
  133. height: 26rpx;
  134. line-height: 26rpx;
  135. background: url('https://jzmall.lifejingzhi.com/file/jzmall/weixin/member/member-price-bg.png') no-repeat center center;
  136. background-size: 100% 100%;
  137. color: #5E3A11;
  138. font-size: 16rpx;
  139. padding:0 8rpx 0 0;
  140. text-align: right;
  141. margin:0 0 6rpx 0;
  142. }