cheliangchaxun.vue 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852
  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" popper-class="custom-select-dropdown">
  114. <el-option v-for="item in provinceList" :key="item.id" :label="item.name"
  115. @click="change(item.id)" :value="item.id" />
  116. </el-select>
  117. <el-select v-model="city" placeholder="--" no-data-text="请先选择省份" size="large"
  118. style="width: 120px" popper-class="custom-select-dropdown">
  119. <el-option v-for="(item, index) in cityList" :key="item.id" :label="item.name"
  120. @click="change1(item.id)" :value="item.id" />
  121. </el-select>
  122. <el-select v-model="region" placeholder="--" no-data-text="请先选择市" size="large"
  123. style="width: 120px" popper-class="custom-select-dropdown">
  124. <el-option v-for="item in regionList" :key="item.id" :label="item.name" :value="item.id" />
  125. </el-select>
  126. </div>
  127. <div class="search-right-input-box">
  128. <el-input v-model="input" placeholder="选题名称" />
  129. </div>
  130. <div class="search-right-button-box">
  131. <button class="submit-button">查询</button>
  132. <button class="reset-button">重置</button>
  133. </div>
  134. </div>
  135. </div>
  136. </div>
  137. <!-- 页面底部 -->
  138. <HomeFoot></HomeFoot>
  139. </template>
  140. <script setup>
  141. //1.页面依赖 start ---------------------------------------->
  142. import { onMounted } from 'vue'
  143. import { ElBreadcrumb, ElBreadcrumbItem,ElMessage,ElInput,ElSelect,ElOption } from 'element-plus'
  144. import { ArrowRight } from '@element-plus/icons-vue'
  145. const nuxtApp = useNuxtApp();
  146. const axios = nuxtApp.$axios;
  147. //1.1 获得跳转过来的id
  148. const route = useRoute();
  149. //获得详情id
  150. const articleId = parseInt(route.params.id); //获得该页面的id
  151. //获得当前的完整路径
  152. const fullPath = route.path;
  153. //拆分,取出来中间这一段,然后提取数字部分
  154. const segments = fullPath.split('/');
  155. const targetSegment = segments[1];
  156. // const numberPart = targetSegment.match(/\d+$/)?.[0];
  157. // let routeId = 20 //排除路径错误可以打开这个
  158. // const routeId = numberPart;
  159. let routeId;
  160. //通过导航路径反向查询导航id
  161. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  162. method: 'GET',
  163. query: {
  164. 'pinyin': targetSegment,
  165. },
  166. });
  167. if(getRouteId.code == 200){
  168. routeId = getRouteId.data.category_id
  169. }else{
  170. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  171. console.log("错误位置:通过url路径查询导航池id")
  172. console.log("后端错误反馈:",getRouteId.message)
  173. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  174. }
  175. //1.2 获得父级栏目的名称、id
  176. const parent_name = ref([]);
  177. const parent_id = ref([]);
  178. const parent_pinyin = ref("");
  179. const parent_children_count = ref(0)
  180. let getParentNav = async () => {
  181. const listData = await requestDataPromise('/web/getOneWebsiteCategory', {
  182. method: 'GET',
  183. query: {
  184. 'catid': routeId
  185. },
  186. });
  187. console.log("获取父级栏目数据")
  188. console.log(listData)
  189. if (listData.code == 200) {
  190. console.log(listData.data);
  191. parent_name.value = listData.data.alias;
  192. parent_id.value = listData.data.parent_id;
  193. parent_pinyin.value = listData.data.aLIas_pinyin;
  194. parent_children_count.value = listData.data.children_count;
  195. } else {
  196. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  197. console.log("错误位置:获取面包屑导航")
  198. console.log("后端错误反馈:", listData.message)
  199. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  200. }
  201. }
  202. //获得父级栏目详情
  203. getParentNav();
  204. //1.页面依赖 end ---------------------------------------->
  205. //2.页面数据 start ---------------------------------------->
  206. //2.1 资讯详情
  207. const newsDetail = ref({})
  208. const routeNewsTtitle = ref("");
  209. //2.2 发布日期
  210. const time = ref("");
  211. //2.3 路径
  212. const routLevelTitle = ref("");
  213. const routLevelId = ref("");
  214. //是否展示投票
  215. const articleChoice = ref(false);
  216. //2.4获取详情
  217. async function getPageData() {
  218. const mkdata = await requestDataPromise('/web/selectWebsiteArticleInfo', {
  219. method: 'GET',
  220. query: {
  221. 'articleid': articleId
  222. },
  223. });
  224. if(mkdata.code==200){
  225. //判断是否显示投票
  226. if(mkdata.data.is_survey==1){
  227. console.log("本篇文章含有投票!")
  228. articleChoice.value = true;
  229. getVoteList();
  230. }
  231. //获取内容
  232. newsDetail.value = mkdata.data;
  233. //获取路径
  234. routLevelTitle.value = newsDetail.value.cat_name;
  235. routLevelId.value = newsDetail.value.category_id;
  236. //获取发布时间
  237. time.value = newsDetail.value.updated_at.split(' ')[0];
  238. //修正标题长度
  239. if (newsDetail.value.title.length >= 30) {
  240. routeNewsTtitle.value = newsDetail.value.title.substr(0, 30) + "...";
  241. } else {
  242. routeNewsTtitle.value = newsDetail.value.title
  243. }
  244. }else{
  245. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  246. console.log("错误位置:获取详情内容")
  247. console.log("后端错误反馈:",mkdata.message)
  248. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  249. }
  250. }
  251. getPageData();
  252. //2.5 获得广告
  253. //广告列表
  254. let adImg1 = ref([]);
  255. onMounted(async () => {
  256. const { $webUrl, $CwebUrl } = useNuxtApp();
  257. //广告1
  258. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=snzxw_detail_0001`
  259. const responseAd1 = await fetch(url, {
  260. headers: {
  261. 'Content-Type': 'application/json',
  262. 'Userurl': $CwebUrl,
  263. 'Origin': $CwebUrl
  264. }
  265. });
  266. const resultAd1 = await responseAd1.json();
  267. adImg1.value = resultAd1.data[0];
  268. })
  269. //2.页面数据 end ---------------------------------------->
  270. //3.设置seo信息 start---------------------------------------->
  271. //3.1 设置seo信息
  272. const setData = await requestDataPromise('/web/selectWebsiteArticleInfo', {
  273. method: 'GET',
  274. query: {
  275. 'articleid': articleId
  276. },
  277. });
  278. if(setData.code==200){
  279. let seoTitle = setData.data.title;
  280. let seoDescription = setData.data.introduce;
  281. let seoKeywords = setData.data.keyword;
  282. let seoSuffix = setData.data.suffix;
  283. let seoName = setData.data.website_name;
  284. useSeoMeta({
  285. title: seoTitle + "_" + seoName + "_" + seoSuffix,
  286. meta: [
  287. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix , tagPriority: 10 },
  288. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix , tagPriority: 10 },
  289. { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no',tagPriority: 10 }
  290. ]
  291. });
  292. }else{
  293. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  294. console.log("错误位置:设置详情页面SEO数据")
  295. console.log("后端错误反馈:",setData.message)
  296. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  297. }
  298. //3.设置seo信息 end---------------------------------------->
  299. //4.展示行政区划 start ---------------------------------------->
  300. //let areaList = ref("")
  301. //4.1 省
  302. let province = ref("")
  303. let provinceid = ref("")
  304. let provinceList = ref("")
  305. //4.2 市
  306. let city = ref("")
  307. let cityid = ref("")
  308. let cityList = ref("")
  309. //4.3 县
  310. let region = ref("")
  311. let regionid = ref("")
  312. let regionList = ref("")
  313. //选择市
  314. let change = async (id) => {
  315. provinceid.value = id;
  316. const shengData = await requestDataPromise('/web/selectWebsiteArea', {
  317. method: 'GET',
  318. query: {
  319. 'pid': id,
  320. },
  321. });
  322. cityList.value = shengData.data;
  323. regionList.value = [];// 清空县
  324. }
  325. //选择县
  326. let change1 = async (id) => {
  327. cityid.value = id;
  328. const xianData = await requestDataPromise('/web/selectWebsiteArea', {
  329. method: 'GET',
  330. query: {
  331. 'pid': id,
  332. },
  333. });
  334. regionList.value = xianData.data;
  335. }
  336. let change2 = async (id) => {
  337. regionid.value = id;
  338. }
  339. onMounted(async () => {
  340. //从客户端获取行政区划
  341. try {
  342. const { $webUrl, $CwebUrl } = useNuxtApp();
  343. const response2 = await fetch($webUrl + '/web/selectWebsiteArea', {
  344. headers: {
  345. 'Content-Type': 'application/json',
  346. 'Userurl': $CwebUrl,
  347. 'Origin': $CwebUrl
  348. }
  349. });
  350. const result2 = await response2.json();
  351. provinceList.value = result2.data;
  352. } catch (error) {
  353. console.error('获取行政区划数据失败:', error);
  354. }
  355. const targetElement = document.querySelector('.pc_none li .router-link-exact-active');
  356. const parentElement = document.querySelector('.nav_in');
  357. if (targetElement && parentElement) {
  358. const targetRect = targetElement.getBoundingClientRect();
  359. const parentRect = parentElement.getBoundingClientRect();
  360. const distanceToParentLeft = targetRect.left - parentRect.left;
  361. const navigationElement = document.querySelector('.partOne .navigationOne');
  362. if (navigationElement) {
  363. navigationElement.scrollLeft = distanceToParentLeft - 66;
  364. }
  365. }
  366. })
  367. //4.展示行政区划 end ---------------------------------------->
  368. //5.表单 start---------------------------------------->
  369. let input = ref("");
  370. let value = ref("1");
  371. const submitForm = () => {
  372. console.log(input.value)
  373. console.log(value.value)
  374. }
  375. //5.表单 end---------------------------------------->
  376. </script>
  377. <style lang="less" scoped>
  378. //@import url('@/assets/css/article/pc.less');
  379. //@import url('@/assets/css/article/yd.less');
  380. //面包屑
  381. .breadcrumb-box {
  382. width: 1400px;
  383. margin: 0 auto;
  384. .inner {
  385. width: 100%;
  386. height: 22px;
  387. margin-top: 20px;
  388. margin-bottom: 20px;
  389. font-family: Microsoft YaHei, Microsoft YaHei;
  390. font-weight: 400;
  391. font-size: 20px;
  392. color: #666666;
  393. line-height: 23px;
  394. text-align: left;
  395. font-style: normal;
  396. text-transform: none;
  397. display: flex;
  398. align-items: center;
  399. border-bottom: 1px dashed #ccc;
  400. margin-bottom: 10px;
  401. padding: 20px 20px 20px 0;
  402. box-sizing: border-box;
  403. a {
  404. font-size: 16px;
  405. color: #000;
  406. line-height: 20px;
  407. font-weight: normal!important;
  408. &:hover {
  409. color:#333
  410. }
  411. }
  412. span {
  413. font-size: 16px;
  414. color: #000;
  415. line-height: 20px;
  416. &.location {
  417. line-height: 20px;
  418. }
  419. }
  420. }
  421. }
  422. //搜索
  423. .search-box {
  424. width: 1400px;
  425. margin: 0 auto;
  426. display: flex;
  427. align-items: flex-start;
  428. justify-content: space-between;
  429. .search-left-box {
  430. width: 60%;
  431. box-sizing: border-box;
  432. .no-result-box {
  433. display: flex;
  434. align-items: center;
  435. justify-content: space-between;
  436. width: 100%;
  437. height: auto;
  438. overflow: hidden;
  439. background: #027dc3;
  440. padding: 50px;
  441. margin-bottom: 20px;
  442. box-sizing: border-box;
  443. .no-result-image {
  444. width: 50%;
  445. img {
  446. width: 288px;
  447. height: 288px;
  448. margin: 0 auto;
  449. display: block;
  450. }
  451. }
  452. .no-result-content {
  453. width: 50%;
  454. .no-result-title {
  455. display: block;
  456. width: 100%;
  457. height: 50px;
  458. line-height: 50px;
  459. overflow: hidden;
  460. font-size: 16px;
  461. color: #fff;
  462. text-align: center;
  463. font-weight: bold;
  464. font-size: 18px;
  465. }
  466. .no-result-text {
  467. display: block;
  468. width: 100%;
  469. height: 50px;
  470. line-height: 50px;
  471. overflow: hidden;
  472. font-size: 16px;
  473. color: #fff;
  474. text-align: center;
  475. }
  476. .no-result-button {
  477. display: block;
  478. width: 100px;
  479. height: 40px;
  480. line-height: 40px;
  481. background: #f36420;
  482. margin: 20px auto;
  483. text-align: center;
  484. color: #fff;
  485. font-size: 16px;
  486. }
  487. }
  488. }
  489. .search-left-box-result {
  490. .result-box {
  491. .result-box-title {
  492. width: 100%;
  493. height: 50px;
  494. line-height: 50px;
  495. text-align: center;
  496. font-size: 16px;
  497. color: #000;
  498. border: 1px solid #000;
  499. box-sizing: border-box;
  500. }
  501. .result-box-content {
  502. display: flex;
  503. align-items: center;
  504. justify-content: space-between;
  505. >div {
  506. width: 50%;
  507. height: 50px;
  508. line-height: 50px;
  509. border: 1px solid #000;
  510. box-sizing: border-box;
  511. padding: 0 20px;
  512. border-top: 0;
  513. font-size: 16px;
  514. &:last-child {
  515. border-left: 0;
  516. }
  517. }
  518. }
  519. }
  520. .result-topic-box {
  521. margin: 20px 0;
  522. .result-topic-title {
  523. border-bottom: 1px solid #ccc;
  524. >div {
  525. width: 100px;
  526. height: 40px;
  527. text-align: center;
  528. line-height: 40px;
  529. background: #007aff;
  530. color: #fff;
  531. font-size: 16px;
  532. }
  533. }
  534. .result-topic-content {
  535. border-bottom: 1px solid #ccc;
  536. margin: 20px 0;
  537. h3 {
  538. font-size: 18px;
  539. font-weight: bold;
  540. }
  541. .result-topic-content-main {
  542. width: 99%;
  543. height: auto;
  544. overflow: hidden;
  545. border: 1px solid #ccc;
  546. margin: 10px 0;
  547. padding: 10px;
  548. box-sizing: border-box;
  549. >div {
  550. display: block;
  551. width: 100%;
  552. height: auto;
  553. line-height: 30px;
  554. font-size: 16px;
  555. color: #000;
  556. }
  557. }
  558. .result-topic-content-bottom {
  559. display: flex;
  560. align-items: center;
  561. div {
  562. padding: 0 10px;
  563. font-size: 14px;
  564. color: #000;
  565. line-height: 30px;
  566. }
  567. }
  568. }
  569. }
  570. }
  571. .search-left-reset-button {
  572. width: 100%;
  573. height: 40px;
  574. line-height: 40px;
  575. margin-top: 40px;
  576. >div {
  577. width: 100px;
  578. height: 40px;
  579. text-align: center;
  580. background: #007aff;
  581. color: #fff;
  582. font-size: 16px;
  583. }
  584. }
  585. .search-left-box-form {
  586. width: 100%;
  587. height: auto;
  588. overflow: hidden;
  589. border: 1px solid #333;
  590. padding: 20px;
  591. display: flex;
  592. align-items: center;
  593. justify-content: space-between;
  594. box-sizing: border-box;
  595. .search-form1-left-box {
  596. .search-form1-title {
  597. display: flex;
  598. align-items: center;
  599. font-size: 19px;
  600. color: #000;
  601. img {
  602. display: block;
  603. width: 24px;
  604. height: 24px;
  605. float: left;
  606. margin-right: 10px;
  607. }
  608. }
  609. .search-form1-text {
  610. width: 100%;
  611. height: auto;
  612. line-height: 30px;
  613. margin: 20px 0;
  614. font-size: 16px;
  615. color: #333;
  616. }
  617. .search-form1-input-box {
  618. display: flex;
  619. align-items: center;
  620. margin-bottom: 20px;
  621. div.inputText {
  622. display: block;
  623. color: #333;
  624. font-size: 16px;
  625. white-space: nowrap;
  626. }
  627. input {
  628. height: 40px;
  629. line-height: 40px;
  630. }
  631. :deep(.el-input__wrapper) {
  632. height: 40px;
  633. line-height: 40px;
  634. border:1px solid #000;
  635. box-shadow: none;
  636. border-radius: 2px;
  637. font-size: 16px;
  638. color: #333;
  639. }
  640. :deep(.el-select__wrapper) {
  641. height: 40px;
  642. line-height: 40px;
  643. border:1px solid #000;
  644. box-shadow: none;
  645. border-radius: 2px;
  646. font-size: 16px;
  647. color: #333;
  648. }
  649. :deep(.el-input__inner) {
  650. color:#000
  651. }
  652. }
  653. }
  654. .search-form1-wx {
  655. width: 38%;
  656. img {
  657. width: 100%;
  658. }
  659. >div {
  660. display: block;
  661. width: 100%;
  662. height: 30px;
  663. line-height: 30px;
  664. font-size: 16px;
  665. color: #333;
  666. text-align: center;
  667. }
  668. }
  669. }
  670. }
  671. .search-right-box {
  672. width: 38%;
  673. box-sizing: border-box;
  674. .search-right-box-form {
  675. h3 {
  676. width: 100%;
  677. line-height: 40px;
  678. font-size: 18px;
  679. color: #000;
  680. }
  681. .search-right-form-text {
  682. display: block;
  683. width: 100%;
  684. height: 70px;
  685. line-height: 70px;
  686. text-align: center;
  687. font-size: 16px;
  688. color: #333;
  689. }
  690. .search-right-input-box {
  691. margin-bottom: 20px;
  692. :deep(.el-input__wrapper) {
  693. height: 40px;
  694. line-height: 40px;
  695. border:1px solid #000;
  696. box-shadow: none;
  697. border-radius: 2px;
  698. font-size: 16px;
  699. color: #333;
  700. }
  701. :deep(.el-select__wrapper) {
  702. height: 40px;
  703. line-height: 40px;
  704. border:1px solid #000;
  705. box-shadow: none;
  706. border-radius: 2px;
  707. font-size: 16px;
  708. color: #333;
  709. }
  710. :deep(.el-select__placeholder) {
  711. color:#000;
  712. font-weight: normal;
  713. }
  714. :deep(.el-input__inner) {
  715. color:#000;
  716. }
  717. }
  718. .search-right-input-box-2 {
  719. display: flex;
  720. align-items: center;
  721. justify-content: space-between;
  722. margin-bottom: 20px;
  723. .inputText {
  724. display: block;
  725. color: #333;
  726. font-size: 16px;
  727. white-space: nowrap;
  728. }
  729. :deep(.el-input__wrapper) {
  730. height: 40px;
  731. line-height: 40px;
  732. border:1px solid #000;
  733. box-shadow: none;
  734. border-radius: 2px;
  735. font-size: 16px;
  736. color: #333;
  737. }
  738. :deep(.el-select__wrapper) {
  739. height: 40px;
  740. line-height: 40px;
  741. border:1px solid #000;
  742. box-shadow: none;
  743. border-radius: 2px;
  744. font-size: 16px;
  745. color: #333;
  746. }
  747. :deep(.el-select__placeholder) {
  748. color:#000;
  749. font-weight: normal;
  750. }
  751. :deep(.el-input__inner) {
  752. color:#000;
  753. }
  754. }
  755. .search-right-button-box {
  756. text-align: center;
  757. display: flex;
  758. align-items: center;
  759. justify-content: center;
  760. margin-bottom: 20px;
  761. button:first-child {
  762. margin-right: 20px;
  763. }
  764. .submit-button {
  765. display: block;
  766. width: 90px;
  767. height: 40px;
  768. line-height: 40px;
  769. text-align: center;
  770. font-size: 16px;
  771. color: #fff;
  772. background: #027dc3;
  773. outline: none;
  774. border: none;
  775. cursor: pointer;
  776. }
  777. .reset-button {
  778. display: block;
  779. width: 90px;
  780. height: 40px;
  781. line-height: 40px;
  782. text-align: center;
  783. font-size: 16px;
  784. background: #ccc;
  785. border: 1px solid #027dc3;
  786. color: #027dc3;
  787. outline: none;
  788. cursor: pointer;
  789. }
  790. }
  791. .search-right-select-box {
  792. display: flex;
  793. align-items: center;
  794. justify-content: center;
  795. font-weight: bold;
  796. font-size: 16px;
  797. margin-bottom: 20px;
  798. :deep(.el-select__wrapper) {
  799. margin-left: 10px;
  800. }
  801. :deep(.el-select__placeholder) {
  802. color:#000;
  803. }
  804. }
  805. }
  806. }
  807. .search-form1-submit-button {
  808. text-align: center;
  809. button {
  810. width: 100px;
  811. height: 40px;
  812. line-height: 40px;
  813. text-align: center;
  814. background: #027dc3;
  815. color: #fff;
  816. font-size: 16px;
  817. margin: 0 auto;
  818. display: block;
  819. border: none;
  820. cursor: pointer;
  821. }
  822. }
  823. }
  824. </style>
  825. <style>
  826. .custom-select-dropdown .el-select-dropdown__item {
  827. font-size: 16px;
  828. color: #333;
  829. }
  830. .custom-select-dropdown .el-select-dropdown__item:hover {
  831. background-color: #027dc3;
  832. color: #fff;
  833. }
  834. </style>