cheliangchaxun.vue 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238
  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-box">
  20. <div class="search-left-box">
  21. <!--查询结果-->
  22. <div class="search-left-box-result">
  23. <!--未查询到结果-->
  24. <div class="no-result-box" v-if="showResult == 1">
  25. <div class="no-result-image">
  26. <img src="@/public/search/rc.jpg" alt="">
  27. </div>
  28. <div class="no-result-content">
  29. <div class="no-result-title">sorry请您确认后再查询</div>
  30. <div class="no-result-text">您可以通过以下方式继续访问……</div>
  31. <div class="no-result-button" @click="returnSearchPage">返回查询页</div>
  32. </div>
  33. </div>
  34. <!--车辆详情-->
  35. <div class="result-box" v-if="showResult == 2">
  36. <div class="result-box-title">{{ carData.chexing }}</div>
  37. <div class="result-box-content">
  38. <div>使用人:{{ carData.name }}</div>
  39. <div>车牌号:{{ carData.chepaihao }}</div>
  40. </div>
  41. </div>
  42. </div>
  43. <!--车辆查询表单-->
  44. <div class="search-left-reset-button" v-if="showResult == 2 || showResult == 1">
  45. <div @click="resetCarQuery">重新查询</div>
  46. </div>
  47. <div class="search-left-box-form">
  48. <div class="search-form1-left-box">
  49. <div class="search-form1-title">
  50. <img src="@/public/search/search.png" alt="">
  51. 查询相关工作车辆或车牌号
  52. </div>
  53. <div class="search-form1-text">车牌号/车型(注:车型支持模糊查询)</div>
  54. <div class="search-form1-input-box">
  55. <div class="inputText">车牌:</div>
  56. <el-input v-model="carLicense" placeholder="请输入汽车牌照" />
  57. </div>
  58. <div class="search-form1-input-box">
  59. <div class="inputText">车型:</div>
  60. <el-input v-model="carModel" placeholder="请输入车辆型号" />
  61. </div>
  62. <div class="search-form1-submit-button">
  63. <button @click="getCarInfo">查询</button>
  64. </div>
  65. </div>
  66. <div class="search-form1-wx">
  67. <img src="@/public/search/cl.png" alt="">
  68. <div>手机扫描查询</div>
  69. </div>
  70. </div>
  71. </div>
  72. <div class="search-right-box">
  73. <!--人员查询-->
  74. <div class="search-right-box-form">
  75. <h3>人员查询</h3>
  76. <div class="search-right-form-text">查询相关工作人员或外聘人员</div>
  77. <!-- <div class="search-right-input-box-2">
  78. <div class="inputText">人员类型:</div>
  79. <el-select v-model="personType" placeholder="请选择人员类型" popper-class="custom-select-dropdown">
  80. <el-option label="不限" value="0" />
  81. <el-option label="调研员" value="1" />
  82. <el-option label="法制监督员" value="2" />
  83. <el-option label="特邀评论员" value="3" />
  84. <el-option label="特邀观察员" value="4" />
  85. <el-option label="特邀编辑" value="5" />
  86. <el-option label="信息员" value="6" />
  87. <el-option label="特约通讯员" value="7" />
  88. <el-option label="普法宣传员" value="8" />
  89. <el-option label="工作证" value="9" />
  90. <el-option label="其它工作人员" value="10" />
  91. <el-option label="法制调解员" value="11" />
  92. <el-option label="法制调查员" value="12" />
  93. <el-option label="舆情监测员" value="13" />
  94. </el-select>
  95. </div> -->
  96. <div class="search-right-input-box-2">
  97. <div class="inputText">人员姓名:</div>
  98. <el-input v-model="personName" placeholder="请输入人员姓名" />
  99. </div>
  100. <div class="search-right-input-box-2">
  101. <div class="inputText">证件编号:</div>
  102. <el-input v-model="personNumber" placeholder="请输入证件编号" />
  103. </div>
  104. <div class="search-right-button-box">
  105. <button class="submit-button" @click="getPersonQuery">提交</button>
  106. </div>
  107. </div>
  108. <!--选题查询-->
  109. <div class="search-right-box-form">
  110. <h3>选题查询</h3>
  111. <div class="search-right-form-text">
  112. 请输入您想要查询的选题
  113. </div>
  114. <div class="search-right-select-box">
  115. 地区:
  116. <el-select v-model="province" placeholder="--" size="large" style="width: 120px"
  117. popper-class="custom-select-dropdown">
  118. <el-option v-for="item in provinceList" :key="item.id" :label="item.name"
  119. @click="change(item.id)" :value="item.id" />
  120. </el-select>
  121. <el-select v-model="city" placeholder="--" no-data-text="请先选择省份" size="large" style="width: 120px"
  122. popper-class="custom-select-dropdown">
  123. <el-option v-for="(item, index) in cityList" :key="item.id" :label="item.name"
  124. @click="change1(item.id)" :value="item.id" />
  125. </el-select>
  126. <el-select v-model="region" placeholder="--" no-data-text="请先选择市" size="large" style="width: 120px"
  127. popper-class="custom-select-dropdown">
  128. <el-option v-for="item in regionList" :key="item.id" :label="item.name" :value="item.id" @click="change2(item.id)"/>
  129. </el-select>
  130. </div>
  131. <div class="search-right-input-box">
  132. <el-input v-model="topicTitle" placeholder="选题名称" />
  133. </div>
  134. <div class="search-right-button-box">
  135. <button class="submit-button" @click="getTopicList">查询</button>
  136. <button class="reset-button" @click="resetTopicQuery">重置</button>
  137. </div>
  138. </div>
  139. </div>
  140. </div>
  141. <!-- 页面底部 -->
  142. <HomeFoot></HomeFoot>
  143. </template>
  144. <script setup>
  145. //1.页面依赖 start ---------------------------------------->
  146. import { onMounted } from 'vue'
  147. import { ElBreadcrumb, ElBreadcrumbItem, ElMessage, ElInput, ElSelect, ElOption } from 'element-plus'
  148. import { ArrowRight } from '@element-plus/icons-vue'
  149. const nuxtApp = useNuxtApp();
  150. const route = useRoute();
  151. //1.页面依赖 end ---------------------------------------->
  152. //2.展示行政区划 start ---------------------------------------->
  153. //let areaList = ref("")
  154. //2.1 省
  155. let province = ref("")
  156. let provinceid = ref("")
  157. let provinceList = ref("")
  158. //2.2 市
  159. let city = ref("")
  160. let cityid = ref("")
  161. let cityList = ref("")
  162. //2.3 县
  163. let region = ref("")
  164. let regionid = ref("")
  165. let regionList = ref("")
  166. //选择市
  167. let change = async (id) => {
  168. provinceid.value = id;
  169. const shengData = await requestDataPromise('/web/selectWebsiteArea', {
  170. method: 'GET',
  171. query: {
  172. 'pid': id,
  173. },
  174. });
  175. cityList.value = shengData.data;
  176. regionList.value = [];// 清空县
  177. }
  178. //选择县
  179. let change1 = async (id) => {
  180. cityid.value = id;
  181. const xianData = await requestDataPromise('/web/selectWebsiteArea', {
  182. method: 'GET',
  183. query: {
  184. 'pid': id,
  185. },
  186. });
  187. regionList.value = xianData.data;
  188. }
  189. let change2 = async (id) => {
  190. regionid.value = id;
  191. }
  192. onMounted(async () => {
  193. //从客户端获取行政区划
  194. try {
  195. const { $webUrl, $CwebUrl } = useNuxtApp();
  196. const response2 = await fetch($webUrl + '/web/selectWebsiteArea', {
  197. headers: {
  198. 'Content-Type': 'application/json',
  199. 'Userurl': $CwebUrl,
  200. 'Origin': $CwebUrl
  201. }
  202. });
  203. const result2 = await response2.json();
  204. provinceList.value = result2.data;
  205. } catch (error) {
  206. console.error('获取行政区划数据失败:', error);
  207. }
  208. const targetElement = document.querySelector('.pc_none li .router-link-exact-active');
  209. const parentElement = document.querySelector('.nav_in');
  210. if (targetElement && parentElement) {
  211. const targetRect = targetElement.getBoundingClientRect();
  212. const parentRect = parentElement.getBoundingClientRect();
  213. const distanceToParentLeft = targetRect.left - parentRect.left;
  214. const navigationElement = document.querySelector('.partOne .navigationOne');
  215. if (navigationElement) {
  216. navigationElement.scrollLeft = distanceToParentLeft - 66;
  217. }
  218. }
  219. })
  220. //2.展示行政区划 end ---------------------------------------->
  221. //3.表单 start---------------------------------------->
  222. //显示查询结果
  223. let showResult = ref(0)//0=不显示查询窗口 1=查无此人 2=查询成功
  224. //3.1车辆查询 start ---------------------------------------->
  225. let carLicense = ref("");//车牌
  226. let carModel = ref("");//车型
  227. let carData = ref({});//车辆详情
  228. //查询车辆详情
  229. let getCarInfo = async (id) => {
  230. if(carLicense.value == ""){
  231. ElMessage.error("必须输入车辆编号!")
  232. }else{
  233. //获得车辆详情
  234. const carInfo = await requestDataPromise('/public/getCarList', {
  235. method: 'POST',
  236. body: {
  237. 'ssxmid': "10",
  238. 'chepaihao':carLicense.value,
  239. 'chexing':carModel.value,
  240. },
  241. });
  242. if(carInfo.code == 200){
  243. //查询成功 测试车辆编号:粤P6635R
  244. console.log(carInfo)
  245. showResult.value = 2;
  246. carData.value = carInfo.data[0];
  247. }else{
  248. //查无此人
  249. showResult.value = 1;
  250. }
  251. }
  252. }
  253. //返回查询页
  254. let returnSearchPage = () => {
  255. showResult.value = 0;
  256. }
  257. //重置车辆查询
  258. let resetCarQuery = () => {
  259. carLicense.value = "";
  260. carModel.value = "";
  261. showResult.value = 0;
  262. }
  263. //初始化时查询车辆详情
  264. if(route.query.chepaihao || route.query.chepaihao==""){
  265. carModel.value = route.query.chexing;
  266. carLicense.value = route.query.chepaihao;
  267. getCarInfo();
  268. }
  269. //3.1车辆查询 end ---------------------------------------->
  270. //3.2人员查询 start ---------------------------------------->
  271. let personType = ref("0")//人员类型
  272. let personName = ref("");//人员姓名
  273. let personNumber = ref("");//证件编号
  274. //跳转到车辆查询
  275. const getPersonQuery = () => {
  276. navigateTo({
  277. path: '/list-renyuanchaxun.html',
  278. query: {
  279. zhengshuno: personNumber.value,
  280. name: personName.value,
  281. rylx:personType.value,
  282. }
  283. })
  284. }
  285. //3.2人员查询 end ---------------------------------------->
  286. //3.3选题查询 start ---------------------------------------->
  287. let topicTitle = ref("");//选题名称
  288. const getTopicList = () => {
  289. navigateTo({
  290. path: '/list-diaoyanxuanti.html',
  291. query: {
  292. provinceid: provinceid.value,//省代码
  293. cityid:cityid.value,//市代码
  294. regionid:regionid.value,//县代码
  295. title:topicTitle.value,//选题名称
  296. }
  297. })
  298. }
  299. //重置选题查询
  300. const resetTopicQuery = () => {
  301. provinceid.value = "";
  302. cityid.value = "";
  303. regionid.value = "";
  304. topicTitle.value = "";
  305. }
  306. //3.3选题查询 end ---------------------------------------->
  307. //5.表单 end---------------------------------------->
  308. </script>
  309. <style lang="less" scoped>
  310. //@import url('@/assets/css/article/pc.less');
  311. //@import url('@/assets/css/article/yd.less');
  312. //面包屑
  313. .breadcrumb-box {
  314. width: 1400px;
  315. margin: 0 auto;
  316. .inner {
  317. width: 100%;
  318. height: 22px;
  319. margin-top: 20px;
  320. margin-bottom: 20px;
  321. font-family: Microsoft YaHei, Microsoft YaHei;
  322. font-weight: 400;
  323. font-size: 20px;
  324. color: #666666;
  325. line-height: 23px;
  326. text-align: left;
  327. font-style: normal;
  328. text-transform: none;
  329. display: flex;
  330. align-items: center;
  331. border-bottom: 1px dashed #ccc;
  332. margin-bottom: 10px;
  333. padding: 20px 20px 20px 0;
  334. box-sizing: border-box;
  335. a {
  336. font-size: 16px;
  337. color: #000;
  338. line-height: 20px;
  339. font-weight: normal !important;
  340. &:hover {
  341. color: #333
  342. }
  343. }
  344. span {
  345. font-size: 16px;
  346. color: #000;
  347. line-height: 20px;
  348. &.location {
  349. line-height: 20px;
  350. }
  351. }
  352. }
  353. }
  354. //搜索
  355. .search-box {
  356. width: 1400px;
  357. margin: 0 auto;
  358. display: flex;
  359. align-items: flex-start;
  360. justify-content: space-between;
  361. .search-left-box {
  362. width: 60%;
  363. box-sizing: border-box;
  364. .no-result-box {
  365. display: flex;
  366. align-items: center;
  367. justify-content: space-between;
  368. width: 100%;
  369. height: auto;
  370. overflow: hidden;
  371. background: #027dc3;
  372. padding: 50px;
  373. margin-bottom: 20px;
  374. box-sizing: border-box;
  375. .no-result-image {
  376. width: 50%;
  377. img {
  378. width: 288px;
  379. height: 288px;
  380. margin: 0 auto;
  381. display: block;
  382. }
  383. }
  384. .no-result-content {
  385. width: 50%;
  386. .no-result-title {
  387. display: block;
  388. width: 100%;
  389. height: 50px;
  390. line-height: 50px;
  391. overflow: hidden;
  392. font-size: 16px;
  393. color: #fff;
  394. text-align: center;
  395. font-weight: bold;
  396. font-size: 18px;
  397. }
  398. .no-result-text {
  399. display: block;
  400. width: 100%;
  401. height: 50px;
  402. line-height: 50px;
  403. overflow: hidden;
  404. font-size: 16px;
  405. color: #fff;
  406. text-align: center;
  407. }
  408. .no-result-button {
  409. display: block;
  410. width: 100px;
  411. height: 40px;
  412. line-height: 40px;
  413. background: #f36420;
  414. margin: 20px auto;
  415. text-align: center;
  416. color: #fff;
  417. font-size: 16px;
  418. cursor: pointer;
  419. }
  420. }
  421. }
  422. .search-left-box-result {
  423. .result-box {
  424. .result-box-title {
  425. width: 100%;
  426. height: 50px;
  427. line-height: 50px;
  428. text-align: center;
  429. font-size: 16px;
  430. color: #000;
  431. border: 1px solid #000;
  432. box-sizing: border-box;
  433. }
  434. .result-box-content {
  435. display: flex;
  436. align-items: center;
  437. justify-content: space-between;
  438. >div:first-child {
  439. width: 60%;
  440. height: 50px;
  441. line-height: 50px;
  442. border: 1px solid #000;
  443. box-sizing: border-box;
  444. padding: 0 20px;
  445. border-top: 0;
  446. font-size: 16PX;
  447. &:last-child {
  448. border-left: 0;
  449. }
  450. }
  451. >div:last-child {
  452. width: 40%;
  453. height: 50px;
  454. line-height: 50px;
  455. border: 1px solid #000;
  456. box-sizing: border-box;
  457. padding: 0 20px;
  458. border-top: 0;
  459. font-size: 16PX;
  460. &:last-child {
  461. border-left: 0;
  462. }
  463. }
  464. }
  465. }
  466. .result-topic-box {
  467. margin: 20px 0;
  468. .result-topic-title {
  469. border-bottom: 1px solid #ccc;
  470. >div {
  471. width: 100px;
  472. height: 40px;
  473. text-align: center;
  474. line-height: 40px;
  475. background: #007aff;
  476. color: #fff;
  477. font-size: 16px;
  478. }
  479. }
  480. .result-topic-content {
  481. border-bottom: 1px solid #ccc;
  482. margin: 20px 0;
  483. h3 {
  484. font-size: 18px;
  485. font-weight: bold;
  486. }
  487. .result-topic-content-main {
  488. width: 99%;
  489. height: auto;
  490. overflow: hidden;
  491. border: 1px solid #ccc;
  492. margin: 10px 0;
  493. padding: 10px;
  494. box-sizing: border-box;
  495. >div {
  496. display: block;
  497. width: 100%;
  498. height: auto;
  499. line-height: 30px;
  500. font-size: 16px;
  501. color: #000;
  502. }
  503. }
  504. .result-topic-content-bottom {
  505. display: flex;
  506. align-items: center;
  507. div {
  508. padding: 0 10px;
  509. font-size: 14px;
  510. color: #000;
  511. line-height: 30px;
  512. }
  513. }
  514. }
  515. }
  516. }
  517. .search-left-reset-button {
  518. width: 100%;
  519. height: 40px;
  520. line-height: 40px;
  521. margin-top: 40px;
  522. >div {
  523. width: 100px;
  524. height: 40px;
  525. text-align: center;
  526. background: #007aff;
  527. color: #fff;
  528. font-size: 16px;
  529. cursor: pointer;
  530. }
  531. }
  532. .search-left-box-form {
  533. width: 100%;
  534. height: auto;
  535. overflow: hidden;
  536. border: 1px solid #333;
  537. padding: 20px;
  538. display: flex;
  539. align-items: center;
  540. justify-content: space-between;
  541. box-sizing: border-box;
  542. .search-form1-left-box {
  543. .search-form1-title {
  544. display: flex;
  545. align-items: center;
  546. font-size: 19px;
  547. color: #000;
  548. img {
  549. display: block;
  550. width: 24px;
  551. height: 24px;
  552. float: left;
  553. margin-right: 10px;
  554. }
  555. }
  556. .search-form1-text {
  557. width: 100%;
  558. height: auto;
  559. line-height: 30px;
  560. margin: 20px 0;
  561. font-size: 16px;
  562. color: #333;
  563. }
  564. .search-form1-input-box {
  565. display: flex;
  566. align-items: center;
  567. margin-bottom: 20px;
  568. div.inputText {
  569. display: block;
  570. color: #333;
  571. font-size: 16px;
  572. white-space: nowrap;
  573. }
  574. input {
  575. height: 40px;
  576. line-height: 40px;
  577. }
  578. :deep(.el-input__wrapper) {
  579. height: 40px;
  580. line-height: 40px;
  581. border: 1px solid #000;
  582. box-shadow: none;
  583. border-radius: 2px;
  584. font-size: 16px;
  585. color: #333;
  586. }
  587. :deep(.el-select__wrapper) {
  588. height: 40px;
  589. line-height: 40px;
  590. border: 1px solid #000;
  591. box-shadow: none;
  592. border-radius: 2px;
  593. font-size: 16px;
  594. color: #333;
  595. }
  596. :deep(.el-input__inner) {
  597. color: #000
  598. }
  599. }
  600. }
  601. .search-form1-wx {
  602. width: 38%;
  603. img {
  604. width: 100%;
  605. }
  606. >div {
  607. display: block;
  608. width: 100%;
  609. height: 30px;
  610. line-height: 30px;
  611. font-size: 16px;
  612. color: #333;
  613. text-align: center;
  614. }
  615. }
  616. }
  617. }
  618. .search-right-box {
  619. width: 38%;
  620. box-sizing: border-box;
  621. .search-right-box-form {
  622. h3 {
  623. width: 100%;
  624. line-height: 40px;
  625. font-size: 18px;
  626. color: #000;
  627. }
  628. .search-right-form-text {
  629. display: block;
  630. width: 100%;
  631. height: 70px;
  632. line-height: 70px;
  633. text-align: center;
  634. font-size: 16px;
  635. color: #333;
  636. }
  637. .search-right-input-box {
  638. margin-bottom: 20px;
  639. :deep(.el-input__wrapper) {
  640. height: 40px;
  641. line-height: 40px;
  642. border: 1px solid #000;
  643. box-shadow: none;
  644. border-radius: 2px;
  645. font-size: 16px;
  646. color: #333;
  647. }
  648. :deep(.el-select__wrapper) {
  649. height: 40px;
  650. line-height: 40px;
  651. border: 1px solid #000;
  652. box-shadow: none;
  653. border-radius: 2px;
  654. font-size: 16px;
  655. color: #333;
  656. }
  657. :deep(.el-select__placeholder) {
  658. color: #000;
  659. font-weight: normal;
  660. }
  661. :deep(.el-input__inner) {
  662. color: #000;
  663. }
  664. }
  665. .search-right-input-box-2 {
  666. display: flex;
  667. align-items: center;
  668. justify-content: space-between;
  669. margin-bottom: 20px;
  670. .inputText {
  671. display: block;
  672. color: #333;
  673. font-size: 16px;
  674. white-space: nowrap;
  675. }
  676. :deep(.el-input__wrapper) {
  677. height: 40px;
  678. line-height: 40px;
  679. border: 1px solid #000;
  680. box-shadow: none;
  681. border-radius: 2px;
  682. font-size: 16px;
  683. color: #333;
  684. }
  685. :deep(.el-select__wrapper) {
  686. height: 40px;
  687. line-height: 40px;
  688. border: 1px solid #000;
  689. box-shadow: none;
  690. border-radius: 2px;
  691. font-size: 16px;
  692. color: #333;
  693. }
  694. :deep(.el-select__placeholder) {
  695. color: #000;
  696. font-weight: normal;
  697. }
  698. :deep(.el-input__inner) {
  699. color: #000;
  700. }
  701. }
  702. .search-right-button-box {
  703. text-align: center;
  704. display: flex;
  705. align-items: center;
  706. justify-content: center;
  707. margin-bottom: 20px;
  708. button:first-child {
  709. margin-right: 20px;
  710. }
  711. .submit-button {
  712. display: block;
  713. width: 90px;
  714. height: 40px;
  715. line-height: 40px;
  716. text-align: center;
  717. font-size: 16px;
  718. color: #fff;
  719. background: #027dc3;
  720. outline: none;
  721. border: none;
  722. cursor: pointer;
  723. }
  724. .reset-button {
  725. display: block;
  726. width: 90px;
  727. height: 40px;
  728. line-height: 40px;
  729. text-align: center;
  730. font-size: 16px;
  731. background: #ccc;
  732. border: 1px solid #027dc3;
  733. color: #027dc3;
  734. outline: none;
  735. cursor: pointer;
  736. }
  737. }
  738. .search-right-select-box {
  739. display: flex;
  740. align-items: center;
  741. justify-content: center;
  742. font-weight: bold;
  743. font-size: 16px;
  744. margin-bottom: 20px;
  745. :deep(.el-select__wrapper) {
  746. margin-left: 10px;
  747. }
  748. :deep(.el-select__placeholder) {
  749. color: #000;
  750. }
  751. }
  752. }
  753. }
  754. .search-form1-submit-button {
  755. text-align: center;
  756. button {
  757. width: 100px;
  758. height: 40px;
  759. line-height: 40px;
  760. text-align: center;
  761. background: #027dc3;
  762. color: #fff;
  763. font-size: 16px;
  764. margin: 0 auto;
  765. display: block;
  766. border: none;
  767. cursor: pointer;
  768. }
  769. }
  770. }
  771. .breadcrumb-box {
  772. width: 1400PX;
  773. margin: 0px auto 0px;
  774. }
  775. .el-breadcrumb {
  776. height: 22PX;
  777. line-height: 22PX;
  778. }
  779. .breadcrumb-box .inner span.location {
  780. font-size: 16PX;
  781. ;
  782. height: 22PX;
  783. ;
  784. line-height: 22PX;
  785. font-weight: normal;
  786. }
  787. .breadcrumb-box .inner a {
  788. font-size: 16PX;
  789. ;
  790. height: 22PX;
  791. line-height: 22PX;
  792. display: inline-block;
  793. font-weight: normal;
  794. }
  795. .breadcrumb-box .phone_breadcrumb_text /deep/.el-breadcrumb__inner {
  796. font-size: 16PX;
  797. height: 22PX;
  798. line-height: 22PX;
  799. font-weight: normal;
  800. }
  801. .breadcrumb-box:deep(.el-icon) {
  802. width: 16PX;
  803. height: 16PX;
  804. }
  805. .breadcrumb-box .inner span {
  806. font-size: 16PX;
  807. ;
  808. height: 22PX;
  809. line-height: 22PX;
  810. }
  811. //搜索
  812. .search-box {
  813. width: 1400PX;
  814. overflow: hidden;
  815. .search-left-box {
  816. .no-result-box {
  817. padding: 50PX;
  818. margin-bottom: 20PX;
  819. .no-result-image {
  820. img {
  821. width: 288PX;
  822. height: 288PX;
  823. }
  824. }
  825. .no-result-content {
  826. width: 50%;
  827. .no-result-title {
  828. height: auto;
  829. line-height: 22PX;
  830. font-size: 18PX;
  831. }
  832. .no-result-text {
  833. height: auto;
  834. margin-top: 11PX;
  835. line-height: 22PX;
  836. font-size: 16PX;
  837. }
  838. .no-result-button {
  839. width: 100PX;
  840. height: 40PX;
  841. line-height: 40PX;
  842. margin: 20PX auto;
  843. font-size: 16PX;
  844. }
  845. }
  846. }
  847. .search-left-box-result {
  848. .result-box {
  849. .result-box-title {
  850. height: 50PX;
  851. line-height: 50PX;
  852. font-size: 16PX;
  853. border: 1PX solid #000;
  854. }
  855. .result-box-content {
  856. display: flex;
  857. align-items: center;
  858. justify-content: space-between;
  859. >div {
  860. height: 50PX;
  861. line-height: 50PX;
  862. border: 1PX solid #000;
  863. padding: 0 20PX;
  864. font-size: 16PX;
  865. }
  866. }
  867. }
  868. .result-topic-box {
  869. margin: 20PX 0;
  870. .result-topic-title {
  871. border-bottom: 1PX solid #ccc;
  872. >div {
  873. width: 100PX;
  874. height: 40PX;
  875. line-height: 40PX;
  876. font-size: 16PX;
  877. }
  878. }
  879. .result-topic-content {
  880. border-bottom: 1PX solid #ccc;
  881. margin: 20PX 0;
  882. h3 {
  883. font-size: 18PX;
  884. }
  885. .result-topic-content-main {
  886. border: 1PX solid #ccc;
  887. margin: 10PX 0;
  888. padding: 10PX;
  889. >div {
  890. line-height: 30PX;
  891. font-size: 16PX;
  892. }
  893. }
  894. .result-topic-content-bottom {
  895. div {
  896. padding: 0 10PX;
  897. font-size: 14PX;
  898. line-height: 30PX;
  899. }
  900. }
  901. }
  902. }
  903. }
  904. .search-left-reset-button {
  905. height: 40PX;
  906. line-height: 40PX;
  907. margin-top: 40PX;
  908. >div {
  909. width: 100PX;
  910. height: 40PX;
  911. font-size: 16PX;
  912. }
  913. }
  914. .search-left-box-form {
  915. border: 1PX solid #333;
  916. padding: 20PX;
  917. .search-form1-left-box {
  918. .search-form1-title {
  919. font-size: 19PX;
  920. img {
  921. width: 24PX;
  922. height: 24PX;
  923. margin-right: 10PX;
  924. }
  925. }
  926. .search-form1-text {
  927. line-height: 30PX;
  928. margin: 20PX 0;
  929. font-size: 16PX;
  930. }
  931. .search-form1-input-box {
  932. margin-bottom: 20PX;
  933. div.inputText {
  934. font-size: 16PX;
  935. }
  936. input {
  937. height: 40PX;
  938. line-height: 40PX;
  939. }
  940. :deep(.el-input__wrapper) {
  941. height: 40PX;
  942. line-height: 40PX;
  943. border: 1PX solid #000;
  944. border-radius: 2PX;
  945. font-size: 16PX;
  946. }
  947. :deep(.el-select__wrapper) {
  948. height: 40PX;
  949. line-height: 40PX;
  950. border: 1PX solid #000;
  951. border-radius: 2PX;
  952. font-size: 16PX;
  953. }
  954. :deep(.el-input__inner) {
  955. color: #000
  956. }
  957. }
  958. }
  959. .search-form1-wx {
  960. >div {
  961. height: 30PX;
  962. line-height: 30PX;
  963. font-size: 16PX;
  964. }
  965. }
  966. }
  967. }
  968. .search-right-box {
  969. .search-right-box-form {
  970. h3 {
  971. line-height: 40PX;
  972. font-size: 18PX;
  973. }
  974. .search-right-form-text {
  975. height: 70PX;
  976. line-height: 70PX;
  977. font-size: 16PX;
  978. }
  979. .search-right-input-box {
  980. margin-bottom: 20PX;
  981. :deep(.el-input__wrapper) {
  982. height: 40PX;
  983. line-height: 40PX;
  984. border: 1PX solid #000;
  985. border-radius: 2PX;
  986. font-size: 16PX;
  987. }
  988. :deep(.el-select__wrapper) {
  989. height: 40PX;
  990. line-height: 40PX;
  991. border: 1PX solid #000;
  992. border-radius: 2PX;
  993. font-size: 16PX;
  994. }
  995. }
  996. .search-right-input-box-2 {
  997. margin-bottom: 20PX;
  998. .inputText {
  999. font-size: 16PX;
  1000. }
  1001. :deep(.el-input__wrapper) {
  1002. height: 40PX;
  1003. line-height: 40PX;
  1004. border: 1PX solid #000;
  1005. border-radius: 2PX;
  1006. font-size: 16PX;
  1007. }
  1008. :deep(.el-select__wrapper) {
  1009. height: 40PX;
  1010. line-height: 40PX;
  1011. border: 1PX solid #000;
  1012. border-radius: 2PX;
  1013. font-size: 16PX;
  1014. }
  1015. }
  1016. .search-right-button-box {
  1017. margin-bottom: 20PX;
  1018. button:first-child {
  1019. margin-right: 20PX;
  1020. }
  1021. .submit-button {
  1022. width: 90PX;
  1023. height: 40PX;
  1024. line-height: 40PX;
  1025. font-size: 16PX;
  1026. }
  1027. .reset-button {
  1028. width: 90PX;
  1029. height: 40PX;
  1030. line-height: 40PX;
  1031. font-size: 16PX;
  1032. border: 1PX solid #027dc3;
  1033. }
  1034. }
  1035. .search-right-select-box {
  1036. font-size: 16PX;
  1037. margin-bottom: 20PX;
  1038. :deep(.el-select__wrapper) {
  1039. margin-left: 10PX;
  1040. }
  1041. }
  1042. }
  1043. }
  1044. .search-form1-submit-button {
  1045. button {
  1046. width: 100PX;
  1047. height: 40PX;
  1048. line-height: 40PX;
  1049. font-size: 16PX;
  1050. }
  1051. }
  1052. }
  1053. .search-box .search-right-box .search-right-box-form .search-right-select-box {
  1054. word-break: keep-all;
  1055. white-space: nowrap;
  1056. }
  1057. .breadcrumb-box .inner {
  1058. height: 22PX;
  1059. line-height: 22PX;
  1060. padding: 20PX 20PX 20PX 0;
  1061. }
  1062. @media screen and (min-width: 1401px) {
  1063. //你的样式
  1064. .search-right-box :deep(.el-select .el-select__wrapper) {
  1065. min-height: 40PX !important;
  1066. height: 40PX !important;
  1067. padding: 10PX 10PX;
  1068. font-size: 14PX;
  1069. }
  1070. .custom-select-dropdown .el-select-dropdown__item {
  1071. height: 33PX;
  1072. line-height: 33PX;
  1073. font-size: 14PX;
  1074. }
  1075. .search-right-box :deep(.el-select__caret) {
  1076. font-size: 18PX;
  1077. }
  1078. }
  1079. @media screen and (max-width: 1400px) {
  1080. .breadcrumb-box {
  1081. width: 100%;
  1082. margin: 0px auto 0px;
  1083. box-sizing: border-box;
  1084. padding: 0px 10px;
  1085. }
  1086. .newsList {
  1087. width: 100%;
  1088. box-sizing: border-box;
  1089. padding: 0px 10px;
  1090. margin: 0px auto 0px;
  1091. }
  1092. .search-box {
  1093. width: 100%;
  1094. box-sizing: border-box;
  1095. padding: 0px 10px;
  1096. margin: 0px auto 0px;
  1097. }
  1098. .search-left-box {
  1099. margin-bottom: 11px;
  1100. }
  1101. .search-box .search-left-box .search-left-box-form .search-form1-wx {
  1102. margin-left: 11px;
  1103. }
  1104. }
  1105. @media screen and (min-width: 801px) and (max-width: 1400px) {
  1106. .search-right-box :deep(.el-select .el-select__wrapper) {
  1107. min-height: 40PX !important;
  1108. height: 40PX !important;
  1109. padding: 10PX 10PX;
  1110. font-size: 14PX;
  1111. }
  1112. .custom-select-dropdown .el-select-dropdown__item {
  1113. height: 33PX;
  1114. line-height: 33PX;
  1115. font-size: 14PX;
  1116. }
  1117. }
  1118. @media screen and (max-width: 900px) {
  1119. .search-box .search-left-box .no-result-box .no-result-content .no-result-title {
  1120. margin-top: 133PX;
  1121. }
  1122. }
  1123. @media screen and (max-width: 800px) {
  1124. //你的样式
  1125. .search-box {
  1126. display: block;
  1127. }
  1128. .search-box .search-left-box {
  1129. width: 100%;
  1130. float: none;
  1131. }
  1132. .search-box .search-right-box {
  1133. width: 100%;
  1134. float: none;
  1135. }
  1136. :deep(.el-select .el-select__wrapper) {
  1137. min-height: 50px !important;
  1138. height: 50px !important;
  1139. box-sizing: border-box;
  1140. }
  1141. .search-box .search-left-box .search-left-box-form .search-form1-left-box .search-form1-title {
  1142. font-size: 26px;
  1143. }
  1144. .search-box .search-left-box .search-left-box-form .search-form1-left-box .search-form1-text {
  1145. line-height: 33px;
  1146. font-size: 24px;
  1147. margin: 20px auto;
  1148. }
  1149. .search-box .search-left-box .search-left-box-form .search-form1-left-box .search-form1-input-box {
  1150. margin-bottom: 20px;
  1151. }
  1152. .search-box .search-left-box .search-left-box-form .search-form1-left-box .search-form1-input-box div.inputText {
  1153. font-size: 24px;
  1154. }
  1155. .search-box .search-left-box .search-left-box-form .search-form1-left-box .search-form1-input-box :deep(.el-input__wrapper) {
  1156. height: 50px;
  1157. line-height: 50px;
  1158. }
  1159. .search-box .search-left-box .search-left-box-form .search-form1-wx {}
  1160. .search-box .search-right-box .search-right-box-form h3 {
  1161. line-height: 40px;
  1162. font-size: 28px;
  1163. margin-top: 55px;
  1164. }
  1165. .search-box .search-right-box .search-right-box-form .search-right-form-text {
  1166. height: 80px;
  1167. line-height: 80px;
  1168. font-size: 26px;
  1169. }
  1170. .search-box .search-right-box .search-right-box-form .search-right-input-box-2 .inputText {
  1171. font-size: 24px;
  1172. }
  1173. .search-box .search-right-box .search-right-box-form .search-right-input-box-2 :deep(.el-input__wrapper) {
  1174. height: 50px;
  1175. line-height: 50px;
  1176. }
  1177. .search-box .search-form1-submit-button button {
  1178. width: 100px;
  1179. height: 50px;
  1180. line-height: 50px;
  1181. font-size: 24px;
  1182. }
  1183. .search-box .search-right-box .search-right-box-form .search-right-button-box .submit-button {
  1184. width: 100px;
  1185. height: 50px;
  1186. line-height: 50px;
  1187. font-size: 24px
  1188. }
  1189. .search-box .search-right-box .search-right-box-form .search-right-button-box .reset-button {
  1190. height: 50px;
  1191. width: 100px;
  1192. line-height: 50px;
  1193. font-size: 24px
  1194. }
  1195. .search-box .search-right-box .search-right-box-form .search-right-input-box {
  1196. margin-bottom: 20px;
  1197. overflow: hidden;
  1198. }
  1199. .search-box .search-right-box .search-right-box-form .search-right-input-box :deep(.el-input .el-input__wrapper) {
  1200. height: 50px;
  1201. }
  1202. }
  1203. @media screen and (max-width: 500px) {
  1204. .search-box .search-left-box .search-left-box-form {
  1205. width: 100%;
  1206. display: block;
  1207. overflow: hidden;
  1208. }
  1209. .search-form1-left-box {
  1210. width: 100%;
  1211. }
  1212. .search-form1-wx {
  1213. width: 100%;
  1214. margin-left: 0px;
  1215. }
  1216. .search-box .search-left-box .search-left-box-form .search-form1-wx {
  1217. width: 55%;
  1218. float: none;
  1219. margin: 20px auto;
  1220. }
  1221. }
  1222. </style>
  1223. <style>
  1224. @media screen and (min-width: 801px) and (max-width: 1400px) {
  1225. .custom-select-dropdown .el-select-dropdown__empty {
  1226. font-size: 16PX;
  1227. height: 33PX;
  1228. line-height: 33PX;
  1229. }
  1230. }
  1231. @media screen and (min-width: 1401px) {
  1232. .custom-select-dropdown .el-select-dropdown__empty {
  1233. font-size: 16PX;
  1234. height: 33PX;
  1235. line-height: 33PX;
  1236. }
  1237. }
  1238. </style>