category.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. .container {
  2. width: 100%;
  3. overflow: hidden;
  4. background-color: #fff;
  5. }
  6. .top {
  7. position: fixed;
  8. top: 0;
  9. left: 0;
  10. right: 0;
  11. z-index: 99;
  12. background-color: #fff;
  13. height: 160rpx;
  14. }
  15. .ul::-webkit-scrollbar{
  16. display: none;
  17. }
  18. .linear-mask{
  19. position: fixed;
  20. bottom: 0;
  21. right: 0;
  22. width: 100%;
  23. height: 50%;
  24. background: linear-gradient(to top, rgba(0,0,0,1),rgba(0,0,0,0));
  25. pointer-events: none;
  26. opacity: 1;
  27. transition: ease all 0.3s;
  28. z-index: 2;
  29. }
  30. .mask-hidden{
  31. opacity: 0;
  32. }
  33. .mall-logo{
  34. position: fixed;
  35. bottom: 15px;
  36. right: 25px;
  37. width: 80px;
  38. height: auto;
  39. pointer-events: none;
  40. z-index: 999;
  41. }
  42. .search-con{
  43. position: fixed;
  44. bottom: 0;
  45. right: 0;
  46. width: 100%;
  47. height: 100%;
  48. background: rgba(255,255,255,0.8);
  49. z-index: 9999;
  50. }
  51. .no-record{
  52. width: calc(100% - 80rpx);
  53. margin: 40rpx 0 0 60rpx;
  54. }
  55. .sc-con{
  56. width: calc(100% - 80rpx);
  57. line-height: 60rpx;
  58. height: 60rpx;
  59. border: 1px solid #808080;
  60. border-radius: 30rpx;
  61. margin: 20rpx 0 0 40rpx;
  62. background: #fff;
  63. position: relative;
  64. }
  65. .sc-con input{
  66. width: 90%;
  67. background: none;
  68. border: none;
  69. padding-left: 30rpx;
  70. font-size: 24rpx;
  71. color: #000;
  72. line-height: 40rpx;
  73. height: 56rpx;
  74. }
  75. .sc-con image{
  76. width: 40rpx;
  77. height: 40rpx;
  78. display: inline-block;
  79. position: absolute;
  80. top: 50%;
  81. transform: translateY(-50%);
  82. right: 20rpx;
  83. }
  84. .header {
  85. background-color: #fff;
  86. line-height: 80rpx;
  87. height: 80rpx;
  88. width: 100vw;
  89. padding-left: 46rpx;
  90. padding-right: 46rpx;
  91. }
  92. .header .ul{
  93. display: flex;
  94. justify-content: space-between;
  95. }
  96. .header .ul .li{
  97. flex: 0 0 auto;
  98. text-align: center;
  99. line-height: 80rpx;
  100. height: 80rpx;
  101. color:#131D34;
  102. font-weight: bold;
  103. font-size: 16px;
  104. }
  105. .header .ul .active {
  106. color: #0075DC;
  107. font-weight: bolder;
  108. font-size: 36rpx;
  109. position: relative;
  110. }
  111. .header .ul .active::after {
  112. content: '';
  113. position: absolute;
  114. bottom: 0;
  115. left: 0;
  116. right: 0;
  117. height: 4rpx;
  118. background-color: #0075DC;
  119. }
  120. .search{
  121. margin: 0 46rpx;
  122. position: relative;
  123. box-shadow: 0 2px 2px #fff;
  124. z-index: 99;
  125. height: 80rpx;
  126. border: 1px solid rgba(0,0,0,0.1);
  127. }
  128. .search view{
  129. background: none;
  130. width: 80%;
  131. border: none;
  132. padding-left: 20rpx;
  133. font-size: 24rpx;
  134. color: #fff;
  135. line-height: 24rpx;
  136. vertical-align: middle;
  137. }
  138. .search input{
  139. color:rgba(0,0,0,0.3);
  140. height: 100%;
  141. width: 100%;
  142. padding: 0 28rpx 0 70rpx;
  143. border-radius: 8rpx;
  144. position: relative;
  145. z-index: 999;
  146. font-size: 14px;
  147. }
  148. .search image{
  149. width: 28rpx;
  150. height: 28rpx;
  151. display: inline-block;
  152. position: absolute;
  153. top: 50%;
  154. transform: translateY(-50%);
  155. left: 28rpx;
  156. }
  157. .body{
  158. margin-top: 160rpx;
  159. z-index: 11;
  160. position: relative;
  161. padding: 16rpx 46rpx;
  162. overflow: hidden;
  163. width: 100%;
  164. font-size: 0;
  165. min-height: calc(100vh - 80rpx);
  166. }
  167. .body::-webkit-scrollbar {display:none}
  168. .body .ul {
  169. position: relative;
  170. width: 100%;
  171. font-size: 0;
  172. z-index: 1;
  173. }
  174. .body .li {
  175. position: relative;
  176. overflow: hidden;
  177. margin-bottom: 20rpx;
  178. }
  179. .body .li image{
  180. width: 100%;
  181. height: 300rpx;
  182. }
  183. .body .li .b-title{
  184. background: linear-gradient(to right, rgba(0,0,0,0.5),rgba(0,0,0,0));
  185. position: absolute;
  186. left: 0%;
  187. bottom: 0;
  188. padding-left: 40rpx;
  189. font-size: 28rpx;
  190. width: 70%;
  191. height: 60rpx;
  192. color: #fff;
  193. line-height: 60rpx;
  194. }
  195. .body .li .b-title text{
  196. color: #fff;
  197. font-size: 14px;
  198. }
  199. .unbrand {
  200. margin-top: 180rpx;
  201. text-align: center;
  202. }
  203. .unbrand image {
  204. display: inline-block;
  205. width: 250rpx;
  206. height: 274rpx;
  207. }
  208. .unbrand .text {
  209. color: #666C7D;
  210. font-size: 30rpx;
  211. margin-top: 40rpx;
  212. }
  213. .banner {
  214. margin: 20rpx 46rpx;
  215. }
  216. .swiper-item {
  217. width: 100%;
  218. height: 100%;
  219. display: flex;
  220. align-items: center;
  221. justify-content: center;
  222. }