index.wxss 6.4 KB

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