search.wxss 7.2 KB

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