cheliangchaxun.vue 39 KB

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