jieshaoxinchaxun.vue 36 KB

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