index.wxss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. .container {
  2. overflow: hidden;
  3. padding: 0 30rpx;
  4. background: linear-gradient(180deg, #FFFFFF 0%, #EBEBEB 100%);
  5. }
  6. .ul::-webkit-scrollbar{
  7. display: none;
  8. }
  9. .linear-mask{
  10. position: fixed;
  11. bottom: 0;
  12. right: 0;
  13. width: 100%;
  14. height: 50%;
  15. background: linear-gradient(to top, rgba(0,0,0,1),rgba(0,0,0,0));
  16. pointer-events: none;
  17. opacity: 1;
  18. transition: ease all 0.3s;
  19. z-index: 2;
  20. }
  21. .mask-hidden{
  22. opacity: 0;
  23. }
  24. .mall-logo{
  25. position: fixed;
  26. bottom: 15px;
  27. right: 25px;
  28. width: 80px;
  29. height: auto;
  30. pointer-events: none;
  31. z-index: 999;
  32. }
  33. .search-con{
  34. position: fixed;
  35. bottom: 0;
  36. right: 0;
  37. width: 100%;
  38. height: 100%;
  39. background: rgba(255,255,255,0.8);
  40. z-index: 9999;
  41. }
  42. .no-record{
  43. width: calc(100% - 80rpx);
  44. margin: 40rpx 0 0 60rpx;
  45. }
  46. .sc-con{
  47. width: calc(100% - 80rpx);
  48. line-height: 60rpx;
  49. height: 60rpx;
  50. border: 1px solid #808080;
  51. border-radius: 30rpx;
  52. margin: 20rpx 0 0 40rpx;
  53. background: #fff;
  54. position: relative;
  55. }
  56. .sc-con input{
  57. width: 90%;
  58. background: none;
  59. border: none;
  60. padding-left: 30rpx;
  61. font-size: 24rpx;
  62. color: #000;
  63. line-height: 40rpx;
  64. height: 56rpx;
  65. }
  66. .sc-con image{
  67. width: 40rpx;
  68. height: 40rpx;
  69. display: inline-block;
  70. position: absolute;
  71. top: 50%;
  72. transform: translateY(-50%);
  73. right: 20rpx;
  74. }
  75. .header {
  76. background-color: #fff;
  77. /* padding-left: 46rpx;
  78. padding-right: 46rpx; */
  79. margin-top: 0;
  80. padding: 12rpx 0 22rpx;
  81. left: 30rpx;
  82. }
  83. .fixed {
  84. position: fixed;
  85. padding-left: 30rpx;
  86. padding-right: 30rpx;
  87. left: 0;
  88. width: 100vw;
  89. z-index: 999;
  90. }
  91. .header .ul{
  92. display: flex;
  93. align-items: baseline;
  94. overflow-x: auto;
  95. overflow-y: hidden
  96. }
  97. .header .ul .li {
  98. flex: 0 0 auto;
  99. text-align: center;
  100. color: #131D34;
  101. font-size: 30rpx;
  102. font-weight: bold;
  103. padding: 10rpx;
  104. }
  105. .header .ul .li:not(:last-child) {
  106. margin-right: 42rpx;
  107. }
  108. .header .ul .li image {
  109. width: 80rpx;
  110. height: 80rpx;
  111. margin-bottom: 14rpx;
  112. display: block;
  113. }
  114. .header .ul .active {
  115. font-size: 36rpx;
  116. position: relative;
  117. }
  118. .header .ul .active text {
  119. z-index: 2;
  120. position: relative;
  121. }
  122. .header .ul .active::after {
  123. content: '';
  124. position: absolute;
  125. bottom: 10rpx;
  126. left: 0;
  127. right: 0;
  128. height: 20rpx;
  129. background: linear-gradient(90deg, #ED5D18 0%, rgba(237, 93, 24, 0) 100%);
  130. border-radius: 10px;
  131. z-index: 1;
  132. }
  133. .search{
  134. /* margin: 0 46rpx; */
  135. position: relative;
  136. /* box-shadow: 0 2px 2px #fff; */
  137. z-index: 99;
  138. height: 80rpx;
  139. border: 1px solid rgba(0,0,0,0.1);
  140. border-radius: 40rpx;
  141. background: #fff;
  142. }
  143. .search view{
  144. background: none;
  145. width: 80%;
  146. border: none;
  147. padding-left: 20rpx;
  148. font-size: 24rpx;
  149. color: #fff;
  150. line-height: 24rpx;
  151. vertical-align: middle;
  152. }
  153. .search input{
  154. color:rgba(0,0,0,0.3);
  155. height: 100%;
  156. width: 100%;
  157. padding: 0 28rpx 0 70rpx;
  158. position: relative;
  159. z-index: 999;
  160. border-radius: 4px;
  161. font-size: 14px;
  162. border: none;
  163. }
  164. .search image{
  165. width: 28rpx;
  166. height: 28rpx;
  167. display: inline-block;
  168. position: absolute;
  169. top: 50%;
  170. transform: translateY(-50%);
  171. left: 28rpx;
  172. }
  173. .body{
  174. z-index: 11;
  175. position: relative;
  176. padding: 0 0 22rpx;
  177. overflow: hidden;
  178. width: 100%;
  179. font-size: 0;
  180. min-height: calc(100vh - 80rpx);
  181. }
  182. .body::-webkit-scrollbar {display:none}
  183. .body .ul {
  184. position: relative;
  185. width: 100%;
  186. font-size: 0;
  187. z-index: 1;
  188. overflow: hidden;
  189. }
  190. .body .li {
  191. position: relative;
  192. overflow: hidden;
  193. margin-bottom: 20rpx;
  194. width: calc(50% - 12rpx);
  195. float: left;
  196. border-radius: 4px;
  197. background-color: #fff;
  198. }
  199. .body .li:nth-child(2n) {
  200. margin-left: 20rpx;
  201. }
  202. .body .li > image{
  203. width: 100%;
  204. height: 335rpx;
  205. }
  206. .body .li .count {
  207. position: absolute;
  208. width: 90rpx;
  209. height: 28rpx;
  210. background: rgba(0, 0, 0, 0.3);
  211. opacity: 1;
  212. border-radius: 14rpx;
  213. right: 22rpx;
  214. top: 288rpx;
  215. font-size: 18rpx;
  216. font-weight: 400;
  217. /* line-height: 28rpx; */
  218. color: #fff;
  219. text-align: center;
  220. padding: 7rpx;
  221. padding-left: 31rpx;
  222. line-height: 20rpx;
  223. overflow: hidden;
  224. box-sizing: border-box;
  225. }
  226. .body .li .count image {
  227. position: absolute;
  228. left: 0;
  229. top: 0;
  230. width: 24rpx;
  231. height: 14rpx;
  232. left: 7rpx;
  233. top: 8rpx;
  234. }
  235. .body .li .b-title{
  236. height: 104rpx;
  237. padding: 14rpx 20rpx;
  238. }
  239. .body .li .b-title text {
  240. font-size: 26rpx;
  241. /* text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16); */
  242. color: #131D34;
  243. line-height: 38rpx;
  244. font-weight: bold;
  245. display: -webkit-box;
  246. overflow: hidden;
  247. text-overflow: ellipsis;
  248. word-wrap: break-word;
  249. white-space: normal !important;
  250. -webkit-line-clamp: 2;
  251. -webkit-box-orient: vertical;
  252. }
  253. .unbrand {
  254. margin-top: 180rpx;
  255. text-align: center;
  256. }
  257. .unbrand image {
  258. display: inline-block;
  259. width: 250rpx;
  260. height: 274rpx;
  261. }
  262. .unbrand .text {
  263. color: #666C7D;
  264. font-size: 30rpx;
  265. margin-top: 40rpx;
  266. }
  267. .banner {
  268. margin: 16rpx 0 38rpx;
  269. position: relative;
  270. }
  271. .banner swiper {
  272. height: 296rpx;
  273. }
  274. .banner .swiper-item image,
  275. .banner .swiper-item {
  276. width: 100%;
  277. height: 100%;
  278. }
  279. .banner .swiper-item {
  280. border-radius: 4px;
  281. overflow: hidden
  282. }
  283. .dots {
  284. position: absolute;
  285. bottom: 8rpx;
  286. left: 50%;
  287. transform: translateX(-50%);
  288. z-index: 2;
  289. }
  290. .dots view {
  291. display: inline-block;
  292. width: 4px;
  293. height: 4px;
  294. background: #FFFFFF;
  295. border-radius: 2px;
  296. opacity: 0.5;
  297. margin: 0 4rpx
  298. }
  299. .dots view.dotactive {
  300. width: 8px;
  301. opacity: 1;
  302. }
  303. .hotcateg {
  304. margin-bottom: 40rpx;
  305. }
  306. .hotcateg .title {
  307. font-size: 30rpx;
  308. font-weight: bold;
  309. line-height: 44rpx;
  310. color: #131D34;
  311. margin-bottom: 14rpx;
  312. padding: 0 46rpx;
  313. }
  314. .hotcateg .swiper-item {
  315. margin: 0 10rpx;
  316. position: relative;
  317. border-radius: 4px;
  318. overflow: hidden;
  319. width: calc(100% - 20rpx);
  320. height: 100%;
  321. }
  322. .hotcateg .swiper-item image {
  323. width: 100%;
  324. height: 100%;
  325. }
  326. .hotcateg .swiper-item view {
  327. position: absolute;
  328. bottom: 0;
  329. left: 0;
  330. right: 0;
  331. padding: 8rpx 24rpx;
  332. font-size: 22rpx;
  333. color: #fff;
  334. background-color: rgba(0,0,0,0.4);
  335. text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  336. }
  337. .bgimg {
  338. position: fixed;
  339. left: 0;
  340. top: 0;
  341. width: 100vw;
  342. height: 480rpx;
  343. z-index: 0;
  344. }
  345. .bgimg image {
  346. width: 100%;
  347. height: 100%;
  348. }
  349. .page-title {
  350. padding: 110rpx 32rpx 20rpx;
  351. font-size: 32rpx;
  352. z-index: 9999;
  353. position: fixed;
  354. left: 0;
  355. top: 0;
  356. width: 100vw;
  357. overflow: hidden;
  358. background: #fff;
  359. }
  360. .page-title image {
  361. width: 100%;
  362. position: absolute;
  363. left: 0;
  364. top: 0;
  365. height: 480rpx;
  366. }
  367. .page-title text {
  368. position: relative;
  369. color: #fff;
  370. z-index: 1;
  371. }
  372. .zwf {
  373. height: 183rpx;
  374. }