dishizhongxin.vue 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917
  1. <template>
  2. <!-- 页面头部 -->
  3. <HomePageHead></HomePageHead>
  4. <!-- 导航栏 -->
  5. <HomePageNavigation></HomePageNavigation>
  6. <!-- 面包屑导航 -->
  7. <div class="breadcrumb-box">
  8. <div class="inner">
  9. <span class="location">当前位置:</span>
  10. <el-breadcrumb :separator-icon="ArrowRight">
  11. <el-breadcrumb-item>
  12. <NuxtLink to="/">首页</NuxtLink>
  13. </el-breadcrumb-item>
  14. <el-breadcrumb-item class="phone_breadcrumb_text">地市中心</el-breadcrumb-item>
  15. </el-breadcrumb>
  16. </div>
  17. </div>
  18. <!--未查询结果-->
  19. <div class="search-result-box" v-show="showResult == 1">
  20. <div class="search-result-box-title">
  21. 本地区暂未开通调研中心,欢迎有意从事法制公益性工作的公民或法人单位申请代理。
  22. <br />
  23. 详情咨询电话:010-56212745、010-53382908、010-56212741。
  24. </div>
  25. <div class="search-result-box-qq">
  26. <div>QQ咨询:</div>
  27. <div>
  28. <NuxtLink to="https://wpa.qq.com/msgrd?v=3&uin=1234567890&site=qq&menu=yes">
  29. <img src="@/public/search/qq.gif" alt="点击这里给我发消息" title="点击这里给我发消息">
  30. </NuxtLink>
  31. <NuxtLink to="http://wpa.qq.com/msgrd?v=3&amp;uin=1224368922&amp;site=qq&amp;menu=yes">
  32. <img src="@/public/search/qq.gif" alt="点击这里给我发消息" title="点击这里给我发消息">
  33. </NuxtLink>
  34. </div>
  35. </div>
  36. <div class="search-result-box-back">
  37. <span @click="returnSearchPage">返回首页>></span>
  38. </div>
  39. </div>
  40. <!--查询结果-->
  41. <div class="search-result-box-content" v-show="showResult == 2">
  42. <div class="search-result-content-title">{{ resuluData.name }}</div>
  43. <div class="search-result-content-file">
  44. <div>关于成立{{ resuluData.name }}的决定</div>
  45. <div>关于{{ resuluData.name }}负责人任命通知</div>
  46. </div>
  47. <div class="search-result-content-info">
  48. <div>负责人信息</div>
  49. </div>
  50. <div class="search-result-content-table">
  51. <div class="search-result-content-tr">
  52. <div class="search-result-content-line-title">
  53. <div>主任</div>
  54. <div>联系方式</div>
  55. <div>通讯地址</div>
  56. <div>邮编</div>
  57. </div>
  58. <div class="search-result-content-line-text">
  59. <div>{{ resuluData.zhuren_name }}</div>
  60. <div>{{ resuluData.zhuren_phone }}</div>
  61. <div></div>
  62. <div></div>
  63. </div>
  64. <div class="search-result-content-line-title">
  65. <div>副主任</div>
  66. <div>联系方式</div>
  67. <div>通讯地址</div>
  68. <div>邮编</div>
  69. </div>
  70. <div class="search-result-content-line-text">
  71. <div>{{ resuluData.fu_name }}</div>
  72. <div>{{ resuluData.fu_phone }}</div>
  73. <div></div>
  74. <div></div>
  75. </div>
  76. </div>
  77. </div>
  78. <div class="search-result-content-back">
  79. <span @click="returnSearchPage">返回首页>></span>
  80. </div>
  81. </div>
  82. <!--查询-->
  83. <div class="search-big-box" v-show="showResult == 0">
  84. <div class="search-box">
  85. <div class="search-left-box">
  86. <div>
  87. <span class="search-left-box-text">地区:</span>
  88. <el-select v-model="province" placeholder="--" size="large" style="width: 180px" popper-class="custom-select-dropdown">
  89. <el-option v-for="item in provinceList" :key="item.id" :label="item.name" @click="change(item)"
  90. :value="item.id" />
  91. </el-select>
  92. <el-select v-model="city" placeholder="--" no-data-text="请先选择省份" size="large" style="width: 180px"
  93. popper-class="custom-select-dropdown">
  94. <el-option v-for="(item, index) in cityList" :key="item.id" :label="item.name"
  95. @click="change1(item)" :value="item.id" />
  96. </el-select>
  97. <el-select v-model="region" placeholder="--" no-data-text="请先选择市" size="large" style="width: 180px"
  98. popper-class="custom-select-dropdown">
  99. <el-option v-for="item in regionList" :key="item.id" :label="item.name" :value="item.code" @click="change2(item)"/>
  100. </el-select>
  101. </div>
  102. <button @click="getRegionInfo">搜索</button>
  103. </div>
  104. <div class="search-right-box">
  105. <img src="@/public/search/dszx.png" alt="">
  106. <div>手机扫描查询</div>
  107. </div>
  108. </div>
  109. <div class="search-list-box">
  110. <div class="search-list-box-title">中心列表</div>
  111. <div class="search-list-box-main">
  112. <NuxtLink :to="'#' + item.id" v-for="item in provinceAbbr">{{ item.name }}</NuxtLink>
  113. </div>
  114. <div class="search-list-box-content">
  115. <div class="cityname" v-for="item in provinceDataList">
  116. <div class="sheng">
  117. <span :id="item.id">{{item.name}}</span>
  118. </div>
  119. <div class="shi">
  120. <span v-for="i in item.children" @click="gotoUrl(item.name,i.name)">{{i.name}}</span>
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. </div>
  126. <!-- 页面底部 -->
  127. <!-- <HomeFoot></HomeFoot> -->
  128. </template>
  129. <script setup>
  130. //1.页面依赖 start ---------------------------------------->
  131. import { onMounted } from 'vue'
  132. import { ElBreadcrumb, ElBreadcrumbItem, ElMessage, ElInput, ElSelect, ElOption } from 'element-plus'
  133. import { ArrowRight } from '@element-plus/icons-vue'
  134. const nuxtApp = useNuxtApp();
  135. const route = useRoute();
  136. // const articleId = parseInt(route.params.id);
  137. //1.页面依赖 end ---------------------------------------->
  138. //2.展示行政区划 start ---------------------------------------->
  139. //let areaList = ref("")
  140. //2.1 省
  141. let province = ref("")
  142. let provinceid = ref("")
  143. let provinceName = ref("")
  144. let provinceList = ref("")
  145. //2.2 市
  146. let city = ref("")
  147. let cityid = ref("")
  148. let cityName = ref("")
  149. let cityList = ref("")
  150. //2.3 县
  151. let region = ref("")
  152. let regionid = ref("")
  153. let regionName = ref("")
  154. let regionList = ref("")
  155. //选择市
  156. let change = async (item) => {
  157. provinceid.value = item.id;
  158. provinceName.value = item.name;
  159. const shengData = await requestDataPromise('/web/selectWebsiteArea', {
  160. method: 'GET',
  161. query: {
  162. 'pid': item.id,
  163. },
  164. });
  165. cityList.value = shengData.data;
  166. regionList.value = [];// 清空县
  167. }
  168. //选择县
  169. let change1 = async (item) => {
  170. cityid.value = item.id;
  171. cityName.value = item.name;
  172. const xianData = await requestDataPromise('/web/selectWebsiteArea', {
  173. method: 'GET',
  174. query: {
  175. 'pid': item.id,
  176. },
  177. });
  178. regionList.value = xianData.data;
  179. }
  180. let change2 = async (item) => {
  181. regionid.value = item.id;
  182. regionName.value = item.name;
  183. }
  184. onMounted(async () => {
  185. //从客户端获取行政区划
  186. try {
  187. const { $webUrl, $CwebUrl } = useNuxtApp();
  188. const response2 = await fetch($webUrl + '/web/selectWebsiteArea', {
  189. headers: {
  190. 'Content-Type': 'application/json',
  191. 'Userurl': $CwebUrl,
  192. 'Origin': $CwebUrl
  193. }
  194. });
  195. const result2 = await response2.json();
  196. provinceList.value = result2.data;
  197. } catch (error) {
  198. console.error('获取行政区划数据失败:', error);
  199. }
  200. //获得所有地区列表
  201. getRegionList();
  202. })
  203. //2.展示行政区划 end ---------------------------------------->
  204. //3.表单 start---------------------------------------->
  205. //显示查询结果
  206. let showResult = ref(0)//0=不显示结果 1=显示正确的查询结果 2=未查询到结果
  207. let resuluData = ref({})//负责人详情
  208. //3.1地市查询
  209. let getRegionInfo = async () => {
  210. if(provinceName.value==""||cityName.value==""){
  211. ElMessage.error("查询条件至少需要包含省和市!")
  212. }else{
  213. //获得地区详情
  214. const regionInfo = await requestDataPromise('/public/getCity', {
  215. method: 'POST',
  216. body: {
  217. 'ssxmid': 10,
  218. 'sheng':provinceName.value,
  219. 'shi':cityName.value,
  220. 'qu':regionName.value
  221. },
  222. });
  223. if(regionInfo.code == 200){
  224. //查询成功
  225. showResult.value = 2;
  226. resuluData.value = regionInfo.data[0];
  227. }else{
  228. //查询失败
  229. console.log(regionInfo.message)
  230. showResult.value = 1;
  231. }
  232. }
  233. }
  234. //返回查询页
  235. let returnSearchPage = () => {
  236. showResult.value = 0;
  237. //重置名称
  238. provinceName.value = "";
  239. cityName.value = "";
  240. regionName.value = "";
  241. //重置选择的值
  242. provinceid.value = "";
  243. cityid.value = "";
  244. regionid.value = "";
  245. //重置选择器
  246. province.value = "";
  247. city.value = "";
  248. region.value = "";
  249. }
  250. //跳转都网址
  251. let gotoUrl = (sheng,shi) => {
  252. provinceName.value = sheng;
  253. cityName.value = shi;
  254. getRegionInfo();
  255. }
  256. //3.表单 end---------------------------------------->
  257. //4.显示地市列表 start---------------------------------------->
  258. //简称
  259. const provinceAbbr = ref([]);
  260. //地区列表
  261. const provinceDataList = ref([]);
  262. let getRegionList = async () => {
  263. //获得地区列表
  264. const regionList = await requestDataPromise('/web/getWebsiteProvinceCity', {
  265. method: 'GET',
  266. query: {},
  267. });
  268. if(regionList.code == 200){
  269. //查询成功
  270. console.log(regionList)
  271. //获得省份简称
  272. for(let item of regionList.data){
  273. let provinceAbbrData = {
  274. "name":item.abbreviation,
  275. "id":item.id
  276. }
  277. provinceAbbr.value.push(provinceAbbrData);
  278. }
  279. provinceDataList.value = regionList.data;
  280. }else{
  281. //查询失败
  282. console.log(regionList.message);
  283. }
  284. }
  285. //4.显示地市列表 end---------------------------------------->
  286. </script>
  287. <style lang="less" scoped>
  288. //面包屑
  289. .breadcrumb-box {
  290. width: 1400px;
  291. margin: 0 auto;
  292. .inner {
  293. width: 100%;
  294. height: 22px;
  295. margin-top: 20px;
  296. margin-bottom: 20px;
  297. font-family: Microsoft YaHei, Microsoft YaHei;
  298. font-weight: 400;
  299. font-size: 20px;
  300. color: #666666;
  301. line-height: 23px;
  302. text-align: left;
  303. font-style: normal;
  304. text-transform: none;
  305. display: flex;
  306. align-items: center;
  307. border-bottom: 1px dashed #ccc;
  308. margin-bottom: 10px;
  309. padding: 20px 20px 20px 0;
  310. box-sizing: border-box;
  311. a {
  312. font-size: 16px;
  313. line-height: 20px;
  314. font-weight: normal !important;
  315. &:hover {
  316. color: #333
  317. }
  318. }
  319. span {
  320. font-size: 16px;
  321. color: #000;
  322. line-height: 20px;
  323. &.location {
  324. line-height: 20px;
  325. }
  326. }
  327. }
  328. }
  329. //搜索
  330. .search-big-box {
  331. width: 1400PX;
  332. margin: 0 auto;
  333. overflow: hidden;
  334. }
  335. .search-box {
  336. width: 1400PX;
  337. margin: 0 auto;
  338. display: flex;
  339. align-items: flex-start;
  340. justify-content: space-between;
  341. .search-left-box {
  342. width: 70%;
  343. display: flex;
  344. align-items: flex-start;
  345. justify-content: space-between;
  346. >div {
  347. width: 80%;
  348. display: flex;
  349. align-items: center;
  350. justify-content: flex-start;
  351. .search-left-box-text {
  352. width: 15%;
  353. text-align: center;
  354. font-size: 16px;
  355. font-weight: bold;
  356. display: block;
  357. }
  358. :deep(.el-select__wrapper) {
  359. margin-left: 10px;
  360. }
  361. :deep(.el-select__placeholder) {
  362. color: #000;
  363. }
  364. }
  365. >button {
  366. width: 10%;
  367. display: block;
  368. color: #fff;
  369. background-color: #337ab7;
  370. border-color: #2e6da4;
  371. font-size: 14px;
  372. font-weight: 400;
  373. text-align: center;
  374. white-space: nowrap;
  375. user-select: none;
  376. background-image: none;
  377. border: 1px solid transparent;
  378. border-radius: 4px;
  379. height: 35px;
  380. line-height: 35px;
  381. }
  382. }
  383. .search-right-box {
  384. margin-right: 50px;
  385. width: 20%;
  386. img {
  387. width: 100%;
  388. height: auto;
  389. display: block;
  390. }
  391. >div {
  392. display: block;
  393. width: 100%;
  394. height: 30px;
  395. line-height: 30px;
  396. font-size: 16px;
  397. color: #333;
  398. text-align: center
  399. }
  400. }
  401. }
  402. .search-list-box {
  403. width: 1400px;
  404. margin: 0 auto;
  405. border: 1px solid #ccc;
  406. margin: 30px auto;
  407. position: relative;
  408. box-sizing: border-box;
  409. .search-list-box-title {
  410. width: 150px;
  411. height: 50px;
  412. line-height: 50px;
  413. font-size: 30px;
  414. color: #000;
  415. font-weight: bold;
  416. text-align: center;
  417. position: absolute;
  418. top: -25px;
  419. left: 20px;
  420. background: #fff;
  421. }
  422. .search-list-box-main {
  423. width: 100%;
  424. padding: 30px;
  425. border-bottom: 1px solid #ccc;
  426. box-sizing: border-box;
  427. a {
  428. font-size: 16px;
  429. padding: 0 10px;
  430. color: #000;
  431. }
  432. }
  433. .search-list-box-content {
  434. .cityname {
  435. display: flex;
  436. align-items: flex-start;
  437. justify-content: flex-start;
  438. border-bottom: 1px solid #ccc;
  439. &:last-child {
  440. border-bottom: 0;
  441. }
  442. }
  443. .sheng {
  444. width: 20%;
  445. text-align: center;
  446. font-size: 20px;
  447. line-height: 200%;
  448. color: #337ab7;
  449. }
  450. .shi {
  451. width: 80%;
  452. height: 100%;
  453. font-size: 16px;
  454. color: #000;
  455. padding: 0 5px;
  456. display: block;
  457. border-left: 1px solid #ccc;
  458. line-height: 40px;
  459. span {
  460. font-size: 16PX;
  461. color: #000;
  462. padding: 0 5px;
  463. display: block;
  464. width: auto;
  465. float: left;
  466. cursor: pointer;
  467. }
  468. }
  469. }
  470. }
  471. //返回查询结果
  472. .search-result-box {
  473. width: 500px;
  474. margin: 80px auto;
  475. height: auto;
  476. overflow: hidden;
  477. border: 1px solid #ccc;
  478. .search-result-box-title {
  479. line-height: 30px;
  480. width: 488px;
  481. height: auto;
  482. overflow: hidden;
  483. padding: 6px 6px 0 6px;
  484. font-size: 15px;
  485. font-family: serif;
  486. }
  487. .search-result-box-qq {
  488. display: flex;
  489. align-items: center;
  490. justify-content: flex-start;
  491. line-height: 30px;
  492. width: 488px;
  493. height: auto;
  494. overflow: hidden;
  495. padding: 0 6px 0 6px;
  496. font-size: 15px;
  497. font-family: serif;
  498. div:nth-child(2) {
  499. display: flex;
  500. margin-left: 80px;
  501. img {
  502. margin-right: 20px;
  503. }
  504. }
  505. }
  506. .search-result-box-back {
  507. text-align: right;
  508. width: 488px;
  509. height: 40px;
  510. overflow: hidden;
  511. line-height: 48px;
  512. margin: 0;
  513. span {
  514. color: red;
  515. font-weight: bold;
  516. font-size: 10px;
  517. cursor: pointer;
  518. }
  519. }
  520. }
  521. //返回查询结果
  522. .search-result-box-content {
  523. width: 1400PX;
  524. margin: 0 auto;
  525. .search-result-content-title {
  526. text-align: center;
  527. font-size: 26PX;
  528. font-weight: bold;
  529. padding-top: 30PX;
  530. color: #337ab7;
  531. }
  532. .search-result-content-file {
  533. width: 100%;
  534. display: flex;
  535. align-items: center;
  536. justify-content: space-between;
  537. padding-top: 40PX;
  538. >div {
  539. line-height: 40PX;
  540. height: 40PX;
  541. overflow: hidden;
  542. border-bottom: 1px solid #ccc;
  543. font-size: 20PX;
  544. width: 48%;
  545. color: red;
  546. }
  547. }
  548. .search-result-content-info {
  549. >div {
  550. width: 120PX;
  551. height: 40PX;
  552. line-height: 40PX;
  553. vertical-align: middle;
  554. text-align: center;
  555. color: #fff;
  556. background: #027dc3;
  557. margin-top: 30PX;
  558. margin-bottom: 30PX;
  559. clear: both;
  560. font-size: 14PX;
  561. }
  562. }
  563. .search-result-content-table {
  564. margin-bottom: 40PX;
  565. .search-result-content-line-title {
  566. display: flex;
  567. justify-content: center;
  568. align-items: center;
  569. border: 1PX solid #666;
  570. div {
  571. width: 25%;
  572. height: 50PX;
  573. line-height: 50PX;
  574. border-right: 1px solid #666;
  575. text-align: center;
  576. font-size: 16PX;
  577. color: #000;
  578. font-weight: bold;
  579. &:last-child {
  580. border-right: 0;
  581. }
  582. }
  583. }
  584. .search-result-content-line-text {
  585. display: flex;
  586. justify-content: center;
  587. align-items: center;
  588. border: 1PX solid #666;
  589. border-top: 0;
  590. margin-bottom: 10px;
  591. &:last-child {
  592. margin-bottom: 0;
  593. }
  594. div {
  595. width: 25%;
  596. height: 50PX;
  597. line-height: 50PX;
  598. border-right: 1px solid #666;
  599. text-align: center;
  600. font-size: 16PX;
  601. color: #000;
  602. &:last-child {
  603. border-right: 0;
  604. }
  605. }
  606. }
  607. }
  608. .search-result-content-back {
  609. text-align: right;
  610. span {
  611. color: red;
  612. font-size: 14PX;
  613. cursor: pointer;
  614. }
  615. }
  616. }
  617. .breadcrumb-box {
  618. width: 1400PX;
  619. margin: 0px auto 0px;
  620. }
  621. .el-breadcrumb {
  622. height: 22PX;
  623. line-height: 22PX;
  624. }
  625. .breadcrumb-box .inner span.location {
  626. font-size: 16PX;
  627. ;
  628. height: 22PX;
  629. ;
  630. line-height: 22PX;
  631. font-weight: normal;
  632. }
  633. .breadcrumb-box .inner a {
  634. font-size: 16PX;
  635. ;
  636. height: 22PX;
  637. line-height: 22PX;
  638. display: inline-block;
  639. font-weight: normal;
  640. }
  641. .breadcrumb-box .phone_breadcrumb_text /deep/.el-breadcrumb__inner {
  642. font-size: 16PX;
  643. height: 22PX;
  644. line-height: 22PX;
  645. font-weight: normal;
  646. }
  647. .breadcrumb-box:deep(.el-icon) {
  648. width: 16PX;
  649. height: 16PX;
  650. }
  651. .breadcrumb-box .inner span {
  652. font-size: 16PX;
  653. ;
  654. height: 22PX;
  655. line-height: 22PX;
  656. }
  657. .search-box {
  658. width: 1400PX;
  659. .search-left-box {
  660. >div {
  661. .search-left-box-text {
  662. font-size: 16PX;
  663. word-break: keep-all;
  664. white-space: nowrap;
  665. }
  666. :deep(.el-select__wrapper) {
  667. margin-left: 10PX;
  668. }
  669. }
  670. >button {
  671. font-size: 14PX;
  672. border: 1PX solid transparent;
  673. border-radius: 4PX;
  674. height: 35PX;
  675. line-height: 35PX;
  676. }
  677. }
  678. .search-right-box {
  679. margin-right: 50PX;
  680. >div {
  681. height: 30PX;
  682. line-height: 30PX;
  683. font-size: 16PX;
  684. }
  685. }
  686. }
  687. .search-list-box {
  688. width: 1400PX;
  689. border: 1PX solid #ccc;
  690. margin: 30PX auto;
  691. .search-list-box-title {
  692. width: 150PX;
  693. height: 50PX;
  694. line-height: 50PX;
  695. font-size: 30PX;
  696. top: -25PX;
  697. left: 20PX;
  698. }
  699. .search-list-box-main {
  700. padding: 30PX;
  701. border-bottom: 1PX solid #ccc;
  702. a {
  703. font-size: 16PX;
  704. padding: 0 10PX;
  705. }
  706. }
  707. .search-list-box-content {
  708. .cityname {
  709. border-bottom: 1PX solid #ccc;
  710. }
  711. .sheng {
  712. font-size: 20PX;
  713. }
  714. .shi {
  715. font-size: 16PX;
  716. padding: 0 5PX;
  717. border-left: 1PX solid #ccc;
  718. line-height: 40PX;
  719. a {
  720. font-size: 16PX;
  721. padding: 0 5PX;
  722. }
  723. }
  724. }
  725. }
  726. //返回查询结果
  727. .search-result-box {
  728. width: 500PX;
  729. margin: 80PX auto;
  730. border: 1PX solid #ccc;
  731. .search-result-box-title {
  732. line-height: 30PX;
  733. width: 488PX;
  734. padding: 6PX 6PX 0 6PX;
  735. font-size: 15PX;
  736. }
  737. .search-result-box-qq {
  738. line-height: 30PX;
  739. width: 488PX;
  740. padding: 0 6PX 0 6PX;
  741. font-size: 15PX;
  742. div:nth-child(2) {
  743. margin-left: 80PX;
  744. img {
  745. margin-right: 20PX;
  746. }
  747. }
  748. }
  749. .search-result-box-back {
  750. width: 488PX;
  751. height: 40PX;
  752. line-height: 48PX;
  753. a {
  754. font-size: 10PX;
  755. }
  756. }
  757. }
  758. .breadcrumb-box .inner {
  759. height: 22PX;
  760. line-height: 22PX;
  761. padding: 20PX 20PX 20PX 0;
  762. }
  763. .search-left-box :deep(.el-select .el-select__wrapper) {
  764. min-height: 40PX !important;
  765. height: 40PX !important;
  766. padding: 10PX 10PX;
  767. font-size: 14PX;
  768. }
  769. .custom-select-dropdown .el-select-dropdown__item {
  770. height: 33PX;
  771. line-height: 33PX;
  772. font-size: 14PX;
  773. }
  774. .search-left-box :deep(.el-select__caret) {
  775. font-size: 18PX;
  776. }
  777. @media screen and (min-width: 1401px) {
  778. //你的样式
  779. }
  780. @media screen and (max-width: 1400px) {
  781. .breadcrumb-box {
  782. width: 100%;
  783. margin: 0px auto 0px;
  784. box-sizing: border-box;
  785. padding: 0px 10px;
  786. }
  787. .newsList {
  788. width: 100%;
  789. box-sizing: border-box;
  790. padding: 0px 10px;
  791. margin: 0px auto 0px;
  792. }
  793. .search-box {
  794. width: 100%;
  795. box-sizing: border-box;
  796. padding: 0px 10px;
  797. margin: 0px auto 0px;
  798. }
  799. .search-box .search-left-box>button {
  800. width: 111px;
  801. margin-left: 11PX;
  802. }
  803. .search-list-box {
  804. width: 96%;
  805. margin: 0px auto 0px;
  806. box-sizing: border-box;
  807. padding: 0px 10px;
  808. }
  809. .search-big-box {
  810. width: 100%;
  811. box-sizing: border-box;
  812. padding: 0px 10px;
  813. }
  814. .search-list-box {
  815. margin-top: 22px;
  816. }
  817. }
  818. @media screen and (min-width: 801px) and (max-width: 1400px) {
  819. //你的样式
  820. .search-box {
  821. width: 100%;
  822. box-sizing: border-box;
  823. padding: 0px 10px;
  824. margin: 0px auto 0px;
  825. }
  826. }
  827. @media screen and (max-width: 800px) {
  828. //你的样式
  829. .search-box {
  830. display: block;
  831. }
  832. .search-box .search-right-box {
  833. margin: 4px auto 0px;
  834. width: 55%;
  835. }
  836. :deep(.el-select--large) .el-select__wrapper {
  837. padding: 4PX 6PX;
  838. }
  839. :deep(.el-select__selection) {
  840. min-width: 50PX;
  841. }
  842. .search-box .search-left-box>div {
  843. width: 100%;
  844. display: block;
  845. overflow: hidden;
  846. }
  847. .search-box .search-left-box>div>* {
  848. float: left;
  849. width: auto !important;
  850. }
  851. .search-box .search-left-box>div :deep(.el-select__wrapper) {
  852. width: 90PX;
  853. }
  854. .search-box .search-left-box {
  855. width: 100%;
  856. display: block;
  857. overflow: hidden;
  858. }
  859. .search-box .search-left-box>button {
  860. margin: 22px auto;
  861. }
  862. .search-result-box {
  863. width: 90%;
  864. margin: 30px auto;
  865. }
  866. .search-result-box .search-result-box-title {
  867. width: 100%;
  868. }
  869. .search-list-box {
  870. width: 96%;
  871. box-sizing: border-box;
  872. padding: 0px 10px;
  873. margin: 55PX auto 0px;
  874. }
  875. .search-result-box .search-result-box-back {
  876. width: 97%;
  877. }
  878. .search-result-box .search-result-box-qq div:nth-child(2) {
  879. margin-left: 0px;
  880. }
  881. .search-left-box :deep(.el-select .el-select__wrapper) {
  882. min-height: 50px !important;
  883. height: 50px !important;
  884. padding: 10px 10px;
  885. font-size: 14PX;
  886. }
  887. .search-list-box .search-list-box-title {
  888. width: 150px;
  889. height: 50px;
  890. line-height: 50px;
  891. font-size: 30px;
  892. top: -25px;
  893. left: 20px;
  894. }
  895. .search-box .search-left-box>div .search-left-box-text {
  896. font-size: 26px;
  897. margin-top: 4px;
  898. }
  899. .search-list-box .search-list-box-main {
  900. padding: 30px;
  901. overflow: hidden;
  902. }
  903. .search-list-box .search-list-box-main a {
  904. font-size: 28px;
  905. padding: 11px 11px;
  906. float: left;
  907. }
  908. .search-list-box .search-list-box-content .sheng {
  909. font-size: 28px;
  910. margin-top: 20px;
  911. }
  912. .search-list-box .search-list-box-content .shi span {
  913. font-size: 26px;
  914. padding: 10px 11px 0px;
  915. }
  916. }
  917. </style>