index.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
  1. <template>
  2. <div class="dszx">
  3. <!-- 页面头部 -->
  4. <HomePageHead></HomePageHead>
  5. <!-- 页面导航 -->
  6. <HomePageNavigation></HomePageNavigation>
  7. <!-- 面包屑导航 -->
  8. <div class="breadcrumb">
  9. <div class="inner">
  10. <span class="location">当前位置:</span>
  11. <el-breadcrumb :separator-icon="ArrowRight">
  12. <el-breadcrumb-item>
  13. <NuxtLink to="/">首页</NuxtLink>
  14. </el-breadcrumb-item>
  15. <el-breadcrumb-item>
  16. <NuxtLink to="/">地市中心</NuxtLink>
  17. </el-breadcrumb-item>
  18. </el-breadcrumb>
  19. </div>
  20. </div>
  21. <!-- 搜索部分 -->
  22. <div class="dszxTop">
  23. <div class="search_left">
  24. <span>地区:</span>
  25. <span class="selectRegion">
  26. <select name="region" id="">
  27. <option value="1">--</option>
  28. <option value="2">地区2</option>
  29. <option value="3">地区2</option>
  30. </select>
  31. <select name="region" id="">
  32. <option value="1">--</option>
  33. <option value="2">地区1</option>
  34. <option value="3">地区2</option>
  35. </select>
  36. <select name="region" id="">
  37. <option value="1">--</option>
  38. <option value="2">地区1</option>
  39. <option value="3">地区2</option>
  40. </select>
  41. </span>
  42. <button type="submit">搜索</button>
  43. </div>
  44. <div class="select_right">
  45. <img src="../../public/index/index.png" alt="">
  46. <p>手机扫描查询</p>
  47. </div>
  48. </div>
  49. <!-- 城市列表 -->
  50. <div class="cityList">
  51. <span class="listname">中心列表</span>
  52. <div class="jiancheng">
  53. <a href="#">京</a>
  54. <a href="#">津</a>
  55. <a href="#">沪</a>
  56. <a href="#">渝</a>
  57. <a href="#">冀</a>
  58. <a href="#">豫</a>
  59. <a href="#">云</a>
  60. <a href="#">辽</a>
  61. <a href="#">黑</a>
  62. <a href="#">湘</a>
  63. <a href="#">皖</a>
  64. <a href="#">鲁</a>
  65. </div>
  66. <ul class="cityName">
  67. <li class="cityNameList">
  68. <div class="sheng">
  69. <a href="#">北京</a>
  70. </div>
  71. <div class="shi">
  72. <a href="#">东城区</a>
  73. <a href="#">西城区</a>
  74. <a href="#">朝阳区</a>
  75. <a href="#">海淀区</a>
  76. <a href="#">丰台区</a>
  77. <a href="#">石景山区</a>
  78. <a href="#">门头沟区</a>
  79. <a href="#">顺义区</a>
  80. <a href="#">通州区</a>
  81. <a href="#">昌平区</a>
  82. <a href="#">大兴区</a>
  83. <a href="#">怀柔区</a>
  84. <a href="#">平谷区</a>
  85. <a href="#">密云区</a>
  86. <a href="#">延庆区</a>
  87. </div>
  88. </li>
  89. <li class="cityNameList">
  90. <div class="sheng">
  91. <a href="#">河北</a>
  92. </div>
  93. <div class="shi">
  94. <a href="#">石家庄</a>
  95. <a href="#">唐山市</a>
  96. <a href="#">秦皇岛市</a>
  97. <a href="#">邯郸市</a>
  98. <a href="#">邢台市</a>
  99. <a href="#">保定市</a>
  100. <a href="#">张家口市</a>
  101. <a href="#">承德市</a>
  102. <a href="#">沧州市</a>
  103. <a href="#">廊坊市</a>
  104. <a href="#">衡水市</a>
  105. </div>
  106. </li>
  107. <li class="cityNameList">
  108. <div class="sheng">
  109. <a href="#">河南</a>
  110. </div>
  111. <div class="shi">
  112. <a href="#">郑州市</a>
  113. <a href="#">开封市</a>
  114. <a href="#">洛阳市</a>
  115. <a href="#">平顶山市</a>
  116. <a href="#">安阳市</a>
  117. <a href="#">鹤壁市</a>
  118. <a href="#">新乡市</a>
  119. <a href="#">许昌市</a>
  120. <a href="#">漯河市</a>
  121. <a href="#">三门峡市</a>
  122. <a href="#">南阳市</a>
  123. <a href="#">商丘市</a>
  124. </div>
  125. </li>
  126. </ul>
  127. </div>
  128. <!-- 页面底部 -->
  129. <HomeFoot></HomeFoot>
  130. </div>
  131. </template>
  132. <script setup>
  133. import { ref, onMounted } from 'vue'
  134. import { ElBreadcrumb, ElBreadcrumbItem } from 'element-plus'
  135. import { ArrowRight } from '@element-plus/icons-vue'
  136. </script>
  137. <style lang="less" scoped>
  138. @media screen and (min-width: 1401px) {
  139. .dszx {
  140. font-family: '微软雅黑', Microsoft YaHei;
  141. //导航条
  142. .breadcrumb {
  143. width: 100%;
  144. height: 30PX;
  145. line-height: 30PX;
  146. margin-top: 20PX;
  147. margin-bottom: 20PX;
  148. .inner {
  149. width: 1400PX;
  150. border: 1PX solid #ccc;
  151. color: #000;
  152. font-size: 16PX;
  153. margin: 0 auto;
  154. .location {
  155. margin-right: 20PX;
  156. width: 100PX;
  157. height: 22PX;
  158. font-family: Microsoft YaHei, Microsoft YaHei;
  159. font-weight: 400;
  160. font-size: 16PX;
  161. color: #000;
  162. line-height: 23PX;
  163. text-align: left;
  164. font-style: normal;
  165. text-transform: none;
  166. }
  167. }
  168. :deep(.el-breadcrumb__separator) {
  169. color: #000;
  170. font-weight: bold;
  171. margin: 0 9PX;
  172. }
  173. :deep(.el-breadcrumb) {
  174. display: inline-block;
  175. vertical-align: -4PX;
  176. }
  177. :deep(.el-breadcrumb__inner a),
  178. :deep(.el-breadcrumb__inner.is-link) {
  179. color: #000;
  180. font-weight: 400;
  181. text-decoration: none;
  182. transition: var(--el-transition-color);
  183. }
  184. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner),
  185. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a),
  186. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover),
  187. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover) {
  188. color: #000;
  189. }
  190. span {
  191. font-weight: 400;
  192. font-size: 16PX;
  193. color: #000;
  194. line-height: 23PX;
  195. text-align: left;
  196. font-style: normal;
  197. text-transform: none;
  198. }
  199. }
  200. .dszxTop {
  201. width: 1400PX;
  202. margin: 0 auto;
  203. height: auto;
  204. // height: 200PX;
  205. display: flex;
  206. justify-content: space-between;
  207. .search_left {
  208. margin-top: 0;
  209. width: 70%;
  210. padding-top: 25PX;
  211. span {
  212. font-size: 16PX;
  213. color: #333;
  214. font-weight: 900;
  215. padding: 0 15PX;
  216. }
  217. .selectRegion {
  218. margin: 0 40PX;
  219. select {
  220. width: 177PX;
  221. height: 30PX;
  222. line-height: 30PX;
  223. font-size: 14PX;
  224. color: #555;
  225. font-family: "微软雅黑", "microsoft yahei";
  226. margin: 0 15PX;
  227. padding: 0 15PX;
  228. box-sizing: border-box;
  229. outline: none;
  230. border-color: #ccc;
  231. border-radius: 5PX;
  232. }
  233. }
  234. button {
  235. width: 98PX;
  236. height: 34PX;
  237. font-size: 14PX;
  238. font-weight: 400;
  239. font-family: "微软雅黑", "microsoft yahei";
  240. border-radius: 5PX;
  241. color: #fff;
  242. background-color: #337ab7;
  243. border: none;
  244. border-color: #2e6da4;
  245. margin-left: 40PX;
  246. }
  247. }
  248. .select_right {
  249. margin-top: 0;
  250. width: 25%;
  251. text-align: center;
  252. img {
  253. width: 280PX;
  254. height: 280PX;
  255. }
  256. p {
  257. text-align: center;
  258. font-size: 16PX;
  259. color: #333;
  260. padding: 0 15PX;
  261. }
  262. }
  263. }
  264. .cityList {
  265. width: 1400PX;
  266. height: auto;
  267. border: 1PX solid #ccc;
  268. border-bottom: none;
  269. position: relative;
  270. margin: 20PX auto;
  271. .listname {
  272. width: 150PX;
  273. height: 50PX;
  274. line-height: 50PX;
  275. font-size: 30PX;
  276. color: #000;
  277. font-weight: bold;
  278. text-align: center;
  279. position: absolute;
  280. top: -25PX;
  281. left: 20PX;
  282. background: #fff;
  283. }
  284. .jiancheng {
  285. width: 100%;
  286. height: auto;
  287. padding: 30PX;
  288. border-bottom: 1PX solid #ccc;
  289. box-sizing: border-box;
  290. a {
  291. font-size: 16PX;
  292. padding: 0 8PX;
  293. color: #000;
  294. }
  295. a:hover {
  296. color: #297aff;
  297. }
  298. }
  299. .cityName {
  300. width: 100%;
  301. height: auto;
  302. box-sizing: border-box;
  303. .cityNameList {
  304. width: 100%;
  305. min-height: 40PX;
  306. line-height: 40PX;
  307. font-size: 16PX;
  308. height: auto;
  309. display: flex;
  310. justify-content: flex-start;
  311. flex-wrap: wrap;
  312. border-bottom: 1PX solid #ccc;
  313. .sheng {
  314. width: 19%;
  315. text-align: center;
  316. font-size: 20PX;
  317. line-height: 200%;
  318. a {
  319. color: #000;
  320. }
  321. }
  322. .shi {
  323. width: 80%;
  324. line-height: 40PX;
  325. font-size: 16PX;
  326. border-left: 1PX solid #ccc;
  327. padding: 0 10PX;
  328. box-sizing: border-box;
  329. a {
  330. color: #000;
  331. padding: 0 7PX;
  332. }
  333. a:hover {
  334. color: #297aff;
  335. }
  336. }
  337. }
  338. }
  339. }
  340. }
  341. }
  342. @media screen and (min-width: 801px) and (max-width: 1400px) {
  343. .dszx {
  344. font-family: '微软雅黑', Microsoft YaHei;
  345. //导航条
  346. .breadcrumb {
  347. width: 100%;
  348. height: 30px;
  349. line-height: 30px;
  350. margin-top: 20px;
  351. margin-bottom: 20px;
  352. .inner {
  353. width: 1400px;
  354. border: 1px solid #ccc;
  355. color: #000;
  356. font-size: 16px;
  357. .location {
  358. margin-right: 20px;
  359. width: 100px;
  360. height: 22px;
  361. font-family: Microsoft YaHei, Microsoft YaHei;
  362. font-weight: 400;
  363. font-size: 16px;
  364. color: #000;
  365. line-height: 23px;
  366. text-align: left;
  367. font-style: normal;
  368. text-transform: none;
  369. }
  370. }
  371. :deep(.el-breadcrumb__separator) {
  372. color: #000;
  373. font-weight: bold;
  374. margin: 0 9px;
  375. }
  376. :deep(.el-breadcrumb) {
  377. display: inline-block;
  378. vertical-align: -4px;
  379. }
  380. :deep(.el-breadcrumb__inner a),
  381. :deep(.el-breadcrumb__inner.is-link) {
  382. color: #000;
  383. font-weight: 400;
  384. text-decoration: none;
  385. transition: var(--el-transition-color);
  386. }
  387. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner),
  388. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a),
  389. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover),
  390. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover) {
  391. color: #000;
  392. }
  393. span {
  394. font-weight: 400;
  395. font-size: 16px;
  396. color: #000;
  397. line-height: 23px;
  398. text-align: left;
  399. font-style: normal;
  400. text-transform: none;
  401. }
  402. }
  403. .dszxTop {
  404. width: 1400px;
  405. margin: 0 auto;
  406. height: auto;
  407. // height: 200px;
  408. display: flex;
  409. justify-content: space-between;
  410. .search_left {
  411. margin-top: 0;
  412. width: 70%;
  413. padding-top: 25px;
  414. span {
  415. font-size: 16px;
  416. color: #333;
  417. font-weight: 900;
  418. padding: 0 15px;
  419. }
  420. .selectRegion {
  421. margin: 0 40px;
  422. select {
  423. width: 177px;
  424. height: 30px;
  425. line-height: 30px;
  426. font-size: 14px;
  427. color: #555;
  428. font-family: "微软雅黑", "microsoft yahei";
  429. margin: 0 15px;
  430. padding: 0 15px;
  431. box-sizing: border-box;
  432. outline: none;
  433. border-color: #ccc;
  434. border-radius: 5px;
  435. }
  436. }
  437. button {
  438. width: 98px;
  439. height: 34px;
  440. font-size: 14px;
  441. font-weight: 400;
  442. font-family: "微软雅黑", "microsoft yahei";
  443. border-radius: 5px;
  444. color: #fff;
  445. background-color: #337ab7;
  446. border: none;
  447. border-color: #2e6da4;
  448. margin-left: 40px;
  449. }
  450. }
  451. .select_right {
  452. margin-top: 0;
  453. width: 25%;
  454. text-align: center;
  455. img {
  456. width: 280px;
  457. height: 280px;
  458. }
  459. p {
  460. text-align: center;
  461. font-size: 16px;
  462. color: #333;
  463. padding: 0 15px;
  464. }
  465. }
  466. }
  467. .cityList {
  468. width: 1400px;
  469. height: auto;
  470. border: 1px solid #ccc;
  471. border-bottom: none;
  472. position: relative;
  473. margin: 20px auto;
  474. .listname {
  475. width: 150px;
  476. height: 50px;
  477. line-height: 50px;
  478. font-size: 30px;
  479. color: #000;
  480. font-weight: bold;
  481. text-align: center;
  482. position: absolute;
  483. top: -25px;
  484. left: 20px;
  485. background: #fff;
  486. }
  487. .jiancheng {
  488. width: 100%;
  489. height: auto;
  490. padding: 30px;
  491. border-bottom: 1px solid #ccc;
  492. box-sizing: border-box;
  493. a {
  494. font-size: 16px;
  495. padding: 0 8px;
  496. color: #000;
  497. }
  498. a:hover {
  499. color: #297aff;
  500. }
  501. }
  502. .cityName {
  503. width: 100%;
  504. height: auto;
  505. box-sizing: border-box;
  506. .cityNameList {
  507. width: 100%;
  508. min-height: 40px;
  509. line-height: 40px;
  510. font-size: 16px;
  511. height: auto;
  512. display: flex;
  513. justify-content: flex-start;
  514. flex-wrap: wrap;
  515. border-bottom: 1px solid #ccc;
  516. .sheng {
  517. width: 19%;
  518. text-align: center;
  519. font-size: 20px;
  520. line-height: 200%;
  521. a {
  522. color: #000;
  523. }
  524. }
  525. .shi {
  526. width: 80%;
  527. line-height: 40px;
  528. font-size: 16px;
  529. border-left: 1px solid #ccc;
  530. padding: 0 10px;
  531. box-sizing: border-box;
  532. a {
  533. color: #000;
  534. padding: 0 7px;
  535. }
  536. a:hover {
  537. color: #297aff;
  538. }
  539. }
  540. }
  541. }
  542. }
  543. }
  544. }
  545. @media screen and (max-width: 800px) {
  546. .dszx {
  547. font-family: '微软雅黑', Microsoft YaHei;
  548. //导航条
  549. .breadcrumb {
  550. width: 100%;
  551. height: 30px;
  552. line-height: 30px;
  553. margin-top: 20px;
  554. margin-bottom: 20px;
  555. .inner {
  556. width: 1400px;
  557. border: 1px solid #ccc;
  558. color: #000;
  559. font-size: 16px;
  560. .location {
  561. margin-right: 20px;
  562. width: 100px;
  563. height: 22px;
  564. font-family: Microsoft YaHei, Microsoft YaHei;
  565. font-weight: 400;
  566. font-size: 16px;
  567. color: #000;
  568. line-height: 23px;
  569. text-align: left;
  570. font-style: normal;
  571. text-transform: none;
  572. }
  573. }
  574. :deep(.el-breadcrumb__separator) {
  575. color: #000;
  576. font-weight: bold;
  577. margin: 0 9px;
  578. }
  579. :deep(.el-breadcrumb) {
  580. display: inline-block;
  581. vertical-align: -4px;
  582. }
  583. :deep(.el-breadcrumb__inner a),
  584. :deep(.el-breadcrumb__inner.is-link) {
  585. color: #000;
  586. font-weight: 400;
  587. text-decoration: none;
  588. transition: var(--el-transition-color);
  589. }
  590. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner),
  591. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a),
  592. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover),
  593. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover) {
  594. color: #000;
  595. }
  596. span {
  597. font-weight: 400;
  598. font-size: 16px;
  599. color: #000;
  600. line-height: 23px;
  601. text-align: left;
  602. font-style: normal;
  603. text-transform: none;
  604. }
  605. }
  606. .dszxTop {
  607. width: 1400px;
  608. margin: 0 auto;
  609. height: auto;
  610. // height: 200px;
  611. display: flex;
  612. justify-content: space-between;
  613. .search_left {
  614. margin-top: 0;
  615. width: 70%;
  616. padding-top: 25px;
  617. span {
  618. font-size: 16px;
  619. color: #333;
  620. font-weight: 900;
  621. padding: 0 15px;
  622. }
  623. .selectRegion {
  624. margin: 0 40px;
  625. select {
  626. width: 177px;
  627. height: 30px;
  628. line-height: 30px;
  629. font-size: 14px;
  630. color: #555;
  631. font-family: "微软雅黑", "microsoft yahei";
  632. margin: 0 15px;
  633. padding: 0 15px;
  634. box-sizing: border-box;
  635. outline: none;
  636. border-color: #ccc;
  637. border-radius: 5px;
  638. }
  639. }
  640. button {
  641. width: 98px;
  642. height: 34px;
  643. font-size: 14px;
  644. font-weight: 400;
  645. font-family: "微软雅黑", "microsoft yahei";
  646. border-radius: 5px;
  647. color: #fff;
  648. background-color: #337ab7;
  649. border: none;
  650. border-color: #2e6da4;
  651. margin-left: 40px;
  652. }
  653. }
  654. .select_right {
  655. margin-top: 0;
  656. width: 25%;
  657. text-align: center;
  658. img {
  659. width: 280px;
  660. height: 280px;
  661. }
  662. p {
  663. text-align: center;
  664. font-size: 16px;
  665. color: #333;
  666. padding: 0 15px;
  667. }
  668. }
  669. }
  670. .cityList {
  671. width: 1400px;
  672. height: auto;
  673. border: 1px solid #ccc;
  674. border-bottom: none;
  675. position: relative;
  676. margin: 20px auto;
  677. .listname {
  678. width: 150px;
  679. height: 50px;
  680. line-height: 50px;
  681. font-size: 30px;
  682. color: #000;
  683. font-weight: bold;
  684. text-align: center;
  685. position: absolute;
  686. top: -25px;
  687. left: 20px;
  688. background: #fff;
  689. }
  690. .jiancheng {
  691. width: 100%;
  692. height: auto;
  693. padding: 30px;
  694. border-bottom: 1px solid #ccc;
  695. box-sizing: border-box;
  696. a {
  697. font-size: 16px;
  698. padding: 0 8px;
  699. color: #000;
  700. }
  701. a:hover {
  702. color: #297aff;
  703. }
  704. }
  705. .cityName {
  706. width: 100%;
  707. height: auto;
  708. box-sizing: border-box;
  709. .cityNameList {
  710. width: 100%;
  711. min-height: 40px;
  712. line-height: 40px;
  713. font-size: 16px;
  714. height: auto;
  715. display: flex;
  716. justify-content: flex-start;
  717. flex-wrap: wrap;
  718. border-bottom: 1px solid #ccc;
  719. .sheng {
  720. width: 19%;
  721. text-align: center;
  722. font-size: 20px;
  723. line-height: 200%;
  724. a {
  725. color: #000;
  726. }
  727. }
  728. .shi {
  729. width: 80%;
  730. line-height: 40px;
  731. font-size: 16px;
  732. border-left: 1px solid #ccc;
  733. padding: 0 10px;
  734. box-sizing: border-box;
  735. a {
  736. color: #000;
  737. padding: 0 7px;
  738. }
  739. a:hover {
  740. color: #297aff;
  741. }
  742. }
  743. }
  744. }
  745. }
  746. }
  747. }
  748. </style>