diaoyanxuanti.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761
  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. <div class="dytlt">
  22. <NuxtLink to="/">所有选题</NuxtLink>
  23. </div>
  24. <ul class="xtlist">
  25. <li>黑龙江建三江管理局前进农场金三角半地下门市污水倒灌问题及责任追溯调研</li>
  26. <li>关于营口仙人岛祥烽旅游开发有限公司员工王勇的死亡赔偿纠纷一事进行调研核实</li>
  27. <li>关于山东省曹县未知名企业漂洗废布废料是否造成污染一事需要调研的申请</li>
  28. <li>关于山西省吕梁市临县城庄镇石盘头村梓腾种养专业合作社2025年12月1日发生一起安全事故致人死亡,涉嫌工伤瞒报进行调研</li>
  29. <li>关于隆回县北山镇小伍村农村自建房违规圈地一事的调研</li>
  30. <li>关于北票龙潭盖宏彦涉嫌在朝阳黄金冶炼厂倒卖氰化尾渣一事进行调研核实</li>
  31. <li>关于唐县黄石口镇一企业违规占地一事的调研</li>
  32. <li>关于怀仁市煤炭企业与生态环境措施相关事宜进行调研</li>
  33. <li>关于荆门市掇刀区团林铺镇人民政府违法强拆何金石房屋,猪场的违法行为和补偿不足一事的调研</li>
  34. <li>关于临湘市桃林镇坪上村农村自建房违规圈地一事的调研</li>
  35. <li>关于大同市恒安街北侧城市棚户区改造项目(s6、s7、s8)拒付高佑工程款相关事宜进行调研</li>
  36. <li>关于开封市杞县马廷进自家宅基地被侵占一事调研核实</li>
  37. <li>关于新乡市原阳县信访局陈庆利涉嫌隐瞒信访事项、打压信访人等违规行为一事进行调研核实</li>
  38. <li>关于洞口县岩山镇陡山村农村自建房违规圈地一事调研</li>
  39. <li>关于洪江市安江镇白虎脑社区一别墅违规圈地一事调研</li>
  40. <li>关于济宁市泗水县石料加工污水外排,环保设置不齐全调研申请</li>
  41. <li>关于济宁市一无名石料加工厂在组织生产期间无视环保要求,污水外排,环保设置不齐全不使用,需要实地调研特申请</li>
  42. <li>关于陕西星火煤业有限责任公司于2025年6月19日发生事故致人死亡,涉嫌公伤瞒报一事进行调研核实</li>
  43. <li>关于中科招商增股中违规操作,致投资者合法权益严重受损等情况进行调研核实</li>
  44. <li>关于山西怀仁中能芦子沟何家堡煤业有限责任公司越界开釆一事进行调研</li>
  45. </ul>
  46. <div class="pagesnav">
  47. <a>更多选题请联系客服</a>
  48. </div>
  49. </div>
  50. <div class="search-right-box">
  51. <!--选题查询-->
  52. <div class="search-right-box-form">
  53. <h3>选题查询</h3>
  54. <div class="search-right-form-text">
  55. 请输入您想要查询的选题
  56. </div>
  57. <div class="search-right-select-box">
  58. 地区:
  59. <el-select v-model="province" placeholder="--" size="large" style="width: 120px"
  60. popper-class="custom-select-dropdown">
  61. <el-option v-for="item in provinceList" :key="item.id" :label="item.name"
  62. @click="change(item.id)" :value="item.id" />
  63. </el-select>
  64. <el-select v-model="city" placeholder="--" no-data-text="请先选择省份" size="large" style="width: 120px"
  65. popper-class="custom-select-dropdown">
  66. <el-option v-for="(item, index) in cityList" :key="item.id" :label="item.name"
  67. @click="change1(item.id)" :value="item.id" />
  68. </el-select>
  69. <el-select v-model="region" placeholder="--" no-data-text="请先选择市" size="large" style="width: 120px"
  70. popper-class="custom-select-dropdown">
  71. <el-option v-for="item in regionList" :key="item.id" :label="item.name" :value="item.id" />
  72. </el-select>
  73. </div>
  74. <div class="search-right-input-box">
  75. <el-input v-model="input" placeholder="选题名称" />
  76. </div>
  77. <div class="search-right-button-box">
  78. <button class="submit-button">查询</button>
  79. <button class="reset-button">重置</button>
  80. </div>
  81. </div>
  82. <!--车辆查询-->
  83. <div class="search-right-box-form">
  84. <h3>车辆查询</h3>
  85. <div class="search-right-form-text">请输入相关工作车辆或车牌号</div>
  86. <div class="search-right-input-box">
  87. <el-input v-model="input" placeholder="车牌" />
  88. </div>
  89. <div class="search-right-input-box">
  90. <el-input v-model="input" placeholder="车型" />
  91. </div>
  92. <div class="search-right-button-box">
  93. <button class="submit-button">查询</button>
  94. <button class="reset-button">重置</button>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. <!-- 页面底部 -->
  100. <HomeFoot></HomeFoot>
  101. </template>
  102. <script setup>
  103. //1.页面依赖 start ---------------------------------------->
  104. import { onMounted } from 'vue'
  105. import { ElBreadcrumb, ElBreadcrumbItem, ElMessage, ElInput, ElSelect, ElOption } from 'element-plus'
  106. import { ArrowRight } from '@element-plus/icons-vue'
  107. const nuxtApp = useNuxtApp();
  108. const axios = nuxtApp.$axios;
  109. //1.1 获得跳转过来的id
  110. const route = useRoute();
  111. //获得详情id
  112. const articleId = parseInt(route.params.id); //获得该页面的id
  113. //获得当前的完整路径
  114. const fullPath = route.path;
  115. //拆分,取出来中间这一段,然后提取数字部分
  116. const segments = fullPath.split('/');
  117. const targetSegment = segments[1];
  118. // const numberPart = targetSegment.match(/\d+$/)?.[0];
  119. // let routeId = 20 //排除路径错误可以打开这个
  120. // const routeId = numberPart;
  121. let routeId;
  122. //通过导航路径反向查询导航id
  123. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  124. method: 'GET',
  125. query: {
  126. 'pinyin': targetSegment,
  127. },
  128. });
  129. if (getRouteId.code == 200) {
  130. routeId = getRouteId.data.category_id
  131. } else {
  132. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  133. console.log("错误位置:通过url路径查询导航池id")
  134. console.log("后端错误反馈:", getRouteId.message)
  135. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  136. }
  137. //1.2 获得父级栏目的名称、id
  138. const parent_name = ref([]);
  139. const parent_id = ref([]);
  140. const parent_pinyin = ref("");
  141. const parent_children_count = ref(0)
  142. let getParentNav = async () => {
  143. const listData = await requestDataPromise('/web/getOneWebsiteCategory', {
  144. method: 'GET',
  145. query: {
  146. 'catid': routeId
  147. },
  148. });
  149. console.log("获取父级栏目数据")
  150. console.log(listData)
  151. if (listData.code == 200) {
  152. console.log(listData.data);
  153. parent_name.value = listData.data.alias;
  154. parent_id.value = listData.data.parent_id;
  155. parent_pinyin.value = listData.data.aLIas_pinyin;
  156. parent_children_count.value = listData.data.children_count;
  157. } else {
  158. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  159. console.log("错误位置:获取面包屑导航")
  160. console.log("后端错误反馈:", listData.message)
  161. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  162. }
  163. }
  164. //获得父级栏目详情
  165. getParentNav();
  166. //1.页面依赖 end ---------------------------------------->
  167. //2.页面数据 start ---------------------------------------->
  168. //2.1 资讯详情
  169. const newsDetail = ref({})
  170. const routeNewsTtitle = ref("");
  171. //2.2 发布日期
  172. const time = ref("");
  173. //2.3 路径
  174. const routLevelTitle = ref("");
  175. const routLevelId = ref("");
  176. //是否展示投票
  177. const articleChoice = ref(false);
  178. //2.4获取详情
  179. async function getPageData() {
  180. const mkdata = await requestDataPromise('/web/selectWebsiteArticleInfo', {
  181. method: 'GET',
  182. query: {
  183. 'articleid': articleId
  184. },
  185. });
  186. if (mkdata.code == 200) {
  187. //判断是否显示投票
  188. if (mkdata.data.is_survey == 1) {
  189. console.log("本篇文章含有投票!")
  190. articleChoice.value = true;
  191. getVoteList();
  192. }
  193. //获取内容
  194. newsDetail.value = mkdata.data;
  195. //获取路径
  196. routLevelTitle.value = newsDetail.value.cat_name;
  197. routLevelId.value = newsDetail.value.category_id;
  198. //获取发布时间
  199. time.value = newsDetail.value.updated_at.split(' ')[0];
  200. //修正标题长度
  201. if (newsDetail.value.title.length >= 30) {
  202. routeNewsTtitle.value = newsDetail.value.title.substr(0, 30) + "...";
  203. } else {
  204. routeNewsTtitle.value = newsDetail.value.title
  205. }
  206. } else {
  207. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  208. console.log("错误位置:获取详情内容")
  209. console.log("后端错误反馈:", mkdata.message)
  210. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  211. }
  212. }
  213. getPageData();
  214. //2.5 获得广告
  215. //广告列表
  216. let adImg1 = ref([]);
  217. onMounted(async () => {
  218. const { $webUrl, $CwebUrl } = useNuxtApp();
  219. //广告1
  220. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=snzxw_detail_0001`
  221. const responseAd1 = await fetch(url, {
  222. headers: {
  223. 'Content-Type': 'application/json',
  224. 'Userurl': $CwebUrl,
  225. 'Origin': $CwebUrl
  226. }
  227. });
  228. const resultAd1 = await responseAd1.json();
  229. adImg1.value = resultAd1.data[0];
  230. })
  231. //2.页面数据 end ---------------------------------------->
  232. //3.设置seo信息 start---------------------------------------->
  233. //3.1 设置seo信息
  234. const setData = await requestDataPromise('/web/selectWebsiteArticleInfo', {
  235. method: 'GET',
  236. query: {
  237. 'articleid': articleId
  238. },
  239. });
  240. if (setData.code == 200) {
  241. let seoTitle = setData.data.title;
  242. let seoDescription = setData.data.introduce;
  243. let seoKeywords = setData.data.keyword;
  244. let seoSuffix = setData.data.suffix;
  245. let seoName = setData.data.website_name;
  246. useSeoMeta({
  247. title: seoTitle + "_" + seoName + "_" + seoSuffix,
  248. meta: [
  249. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  250. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  251. { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no', tagPriority: 10 }
  252. ]
  253. });
  254. } else {
  255. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  256. console.log("错误位置:设置详情页面SEO数据")
  257. console.log("后端错误反馈:", setData.message)
  258. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  259. }
  260. //3.设置seo信息 end---------------------------------------->
  261. //4.展示行政区划 start ---------------------------------------->
  262. //let areaList = ref("")
  263. //4.1 省
  264. let province = ref("")
  265. let provinceid = ref("")
  266. let provinceList = ref("")
  267. //4.2 市
  268. let city = ref("")
  269. let cityid = ref("")
  270. let cityList = ref("")
  271. //4.3 县
  272. let region = ref("")
  273. let regionid = ref("")
  274. let regionList = ref("")
  275. //选择市
  276. let change = async (id) => {
  277. provinceid.value = id;
  278. const shengData = await requestDataPromise('/web/selectWebsiteArea', {
  279. method: 'GET',
  280. query: {
  281. 'pid': id,
  282. },
  283. });
  284. cityList.value = shengData.data;
  285. regionList.value = [];// 清空县
  286. }
  287. //选择县
  288. let change1 = async (id) => {
  289. cityid.value = id;
  290. const xianData = await requestDataPromise('/web/selectWebsiteArea', {
  291. method: 'GET',
  292. query: {
  293. 'pid': id,
  294. },
  295. });
  296. regionList.value = xianData.data;
  297. }
  298. let change2 = async (id) => {
  299. regionid.value = id;
  300. }
  301. onMounted(async () => {
  302. //从客户端获取行政区划
  303. try {
  304. const { $webUrl, $CwebUrl } = useNuxtApp();
  305. const response2 = await fetch($webUrl + '/web/selectWebsiteArea', {
  306. headers: {
  307. 'Content-Type': 'application/json',
  308. 'Userurl': $CwebUrl,
  309. 'Origin': $CwebUrl
  310. }
  311. });
  312. const result2 = await response2.json();
  313. provinceList.value = result2.data;
  314. } catch (error) {
  315. console.error('获取行政区划数据失败:', error);
  316. }
  317. const targetElement = document.querySelector('.pc_none li .router-link-exact-active');
  318. const parentElement = document.querySelector('.nav_in');
  319. if (targetElement && parentElement) {
  320. const targetRect = targetElement.getBoundingClientRect();
  321. const parentRect = parentElement.getBoundingClientRect();
  322. const distanceToParentLeft = targetRect.left - parentRect.left;
  323. const navigationElement = document.querySelector('.partOne .navigationOne');
  324. if (navigationElement) {
  325. navigationElement.scrollLeft = distanceToParentLeft - 66;
  326. }
  327. }
  328. })
  329. //4.展示行政区划 end ---------------------------------------->
  330. //5.表单 start---------------------------------------->
  331. let input = ref("");
  332. let value = ref("1");
  333. const submitForm = () => {
  334. console.log(input.value)
  335. console.log(value.value)
  336. }
  337. //5.表单 end---------------------------------------->
  338. </script>
  339. <style lang="less" scoped>
  340. //@import url('@/assets/css/article/pc.less');
  341. //@import url('@/assets/css/article/yd.less');
  342. //面包屑
  343. .breadcrumb-box {
  344. width: 1400px;
  345. margin: 0 auto;
  346. .inner {
  347. width: 100%;
  348. height: 22px;
  349. margin-top: 20px;
  350. margin-bottom: 20px;
  351. font-family: Microsoft YaHei, Microsoft YaHei;
  352. font-weight: 400;
  353. font-size: 20px;
  354. color: #666666;
  355. line-height: 23px;
  356. text-align: left;
  357. font-style: normal;
  358. text-transform: none;
  359. display: flex;
  360. align-items: center;
  361. border-bottom: 1px dashed #ccc;
  362. margin-bottom: 10px;
  363. padding: 20px 20px 20px 0;
  364. box-sizing: border-box;
  365. a {
  366. font-size: 16px;
  367. line-height: 20px;
  368. font-weight: normal !important;
  369. &:hover {
  370. color: #333
  371. }
  372. }
  373. span {
  374. font-size: 16px;
  375. color: #000;
  376. line-height: 20px;
  377. &.location {
  378. line-height: 20px;
  379. }
  380. }
  381. }
  382. }
  383. //搜索
  384. .search-box {
  385. width: 1400px;
  386. margin: 0 auto;
  387. display: flex;
  388. align-items: flex-start;
  389. justify-content: space-between;
  390. .search-left-box {
  391. .dytlt {
  392. width: 100%;
  393. height: 40px;
  394. line-height: 40px;
  395. margin: 0px auto 20px;
  396. border-bottom: 1px solid #ccc;
  397. a {
  398. display: block;
  399. width: 100px;
  400. height: 40px;
  401. background: #007aff;
  402. color: #fff;
  403. font-size: 16px;
  404. text-align: center;
  405. }
  406. }
  407. .xtlist {
  408. width: 100%;
  409. height: auto;
  410. overflow: hidden;
  411. li {
  412. list-style: none;
  413. height: 40px;
  414. line-height: 40px;
  415. overflow: hidden;
  416. border-bottom: 1px solid #ccc;
  417. }
  418. }
  419. .pagesnav {
  420. margin: 20px 0 40px 0;
  421. a {
  422. padding: 6px 12px;
  423. margin-left: -1px;
  424. line-height: 1.42857143;
  425. color: #337ab7;
  426. text-decoration: none;
  427. background-color: #fff;
  428. border: 1px solid #ddd;
  429. font-size: 10px;
  430. border-radius: 4px;
  431. cursor: pointer;
  432. &:hover {
  433. background-color: #eee;
  434. border-color: #ddd;
  435. }
  436. }
  437. }
  438. }
  439. .search-right-box {
  440. width: 38%;
  441. box-sizing: border-box;
  442. .search-right-box-form {
  443. h3 {
  444. width: 100%;
  445. line-height: 40px;
  446. font-size: 18px;
  447. color: #000;
  448. }
  449. .search-right-form-text {
  450. display: block;
  451. width: 100%;
  452. height: 70px;
  453. line-height: 70px;
  454. text-align: center;
  455. font-size: 16px;
  456. color: #333;
  457. }
  458. .search-right-input-box {
  459. margin-bottom: 20px;
  460. :deep(.el-input__wrapper) {
  461. height: 40px;
  462. line-height: 40px;
  463. border: 1px solid #000;
  464. box-shadow: none;
  465. border-radius: 2px;
  466. font-size: 16px;
  467. color: #333;
  468. }
  469. :deep(.el-select__wrapper) {
  470. height: 40px;
  471. line-height: 40px;
  472. border: 1px solid #000;
  473. box-shadow: none;
  474. border-radius: 2px;
  475. font-size: 16px;
  476. color: #333;
  477. }
  478. :deep(.el-input__inner) {
  479. color: #000;
  480. }
  481. }
  482. .search-right-button-box {
  483. text-align: center;
  484. display: flex;
  485. align-items: center;
  486. justify-content: center;
  487. margin-bottom: 20px;
  488. button:first-child {
  489. margin-right: 20px;
  490. }
  491. .submit-button {
  492. display: block;
  493. width: 90px;
  494. height: 40px;
  495. line-height: 40px;
  496. text-align: center;
  497. font-size: 16px;
  498. color: #fff;
  499. background: #027dc3;
  500. outline: none;
  501. border: none;
  502. cursor: pointer;
  503. }
  504. .reset-button {
  505. display: block;
  506. width: 90px;
  507. height: 40px;
  508. line-height: 40px;
  509. text-align: center;
  510. font-size: 16px;
  511. background: #ccc;
  512. border: 1px solid #027dc3;
  513. color: #027dc3;
  514. outline: none;
  515. cursor: pointer;
  516. }
  517. }
  518. .search-right-select-box {
  519. display: flex;
  520. align-items: center;
  521. justify-content: center;
  522. font-weight: bold;
  523. font-size: 16px;
  524. margin-bottom: 20px;
  525. :deep(.el-select__wrapper) {
  526. margin-left: 10px;
  527. }
  528. :deep(.el-select__placeholder) {
  529. color: #000;
  530. }
  531. }
  532. }
  533. }
  534. .search-form1-submit-button {
  535. text-align: center;
  536. button {
  537. width: 100px;
  538. height: 40px;
  539. line-height: 40px;
  540. text-align: center;
  541. background: #027dc3;
  542. color: #fff;
  543. font-size: 16px;
  544. margin: 0 auto;
  545. display: block;
  546. border: none;
  547. cursor: pointer;
  548. }
  549. }
  550. }
  551. .breadcrumb-box {
  552. width: 1400PX;
  553. margin: 0px auto 0px;
  554. }
  555. .el-breadcrumb {
  556. height: 22PX;
  557. line-height: 22PX;
  558. }
  559. .breadcrumb-box .inner span.location {
  560. font-size: 16PX;
  561. ;
  562. height: 22PX;
  563. ;
  564. line-height: 22PX;
  565. font-weight: normal;
  566. }
  567. .breadcrumb-box .inner a {
  568. font-size: 16PX;
  569. ;
  570. height: 22PX;
  571. line-height: 22PX;
  572. display: inline-block;
  573. font-weight: normal;
  574. }
  575. .breadcrumb-box .phone_breadcrumb_text /deep/.el-breadcrumb__inner {
  576. font-size: 16PX;
  577. ;
  578. height: 22PX;
  579. line-height: 22PX;
  580. font-weight: normal;
  581. }
  582. .breadcrumb-box:deep(.el-icon) {
  583. width: 16PX;
  584. height: 16PX;
  585. }
  586. .breadcrumb-box .inner span {
  587. font-size: 16PX;
  588. ;
  589. height: 22PX;
  590. line-height: 22PX;
  591. }
  592. .search-box {
  593. width: 1400PX;
  594. margin: 0px auto 0px;
  595. }
  596. //搜索
  597. .search-box {
  598. width: 1400PX;
  599. .search-left-box {
  600. .dytlt {
  601. height: 40PX;
  602. line-height: 40PX;
  603. margin: 0PX auto 20PX;
  604. border-bottom: 1PX solid #ccc;
  605. a {
  606. width: 100PX;
  607. height: 40PX;
  608. font-size: 16PX;
  609. }
  610. }
  611. .xtlist {
  612. width: 100%;
  613. li {
  614. height: 40PX;
  615. line-height: 40PX;
  616. border-bottom: 1PX solid #ccc;
  617. }
  618. }
  619. .pagesnav {
  620. margin: 20PX 0 40PX 0;
  621. a {
  622. padding: 6PX 12PX;
  623. margin-left: -1PX;
  624. border: 1PX solid #ddd;
  625. font-size: 10PX;
  626. border-radius: 4PX;
  627. }
  628. }
  629. }
  630. .search-right-box {
  631. .search-right-box-form {
  632. h3 {
  633. line-height: 40PX;
  634. font-size: 18PX;
  635. }
  636. .search-right-form-text {
  637. height: 70PX;
  638. line-height: 70PX;
  639. font-size: 16PX;
  640. }
  641. .search-right-input-box {
  642. margin-bottom: 20PX;
  643. :deep(.el-input__wrapper) {
  644. height: 40PX;
  645. line-height: 40PX;
  646. border: 1PX solid #000;
  647. border-radius: 2PX;
  648. font-size: 16PX;
  649. }
  650. :deep(.el-select__wrapper) {
  651. height: 40PX;
  652. line-height: 40PX;
  653. border: 1PX solid #000;
  654. border-radius: 2PX;
  655. font-size: 16PX;
  656. }
  657. }
  658. .search-right-button-box {
  659. margin-bottom: 20PX;
  660. button:first-child {
  661. margin-right: 20PX;
  662. }
  663. .submit-button {
  664. width: 90PX;
  665. height: 40PX;
  666. line-height: 40PX;
  667. font-size: 16PX;
  668. }
  669. .reset-button {
  670. width: 90PX;
  671. height: 40PX;
  672. line-height: 40PX;
  673. font-size: 16PX;
  674. border: 1PX solid #027dc3;
  675. }
  676. }
  677. .search-right-select-box {
  678. font-size: 16PX;
  679. margin-bottom: 20PX;
  680. :deep(.el-select__wrapper) {
  681. margin-left: 10PX;
  682. }
  683. }
  684. }
  685. }
  686. .search-form1-submit-button {
  687. button {
  688. width: 100PX;
  689. height: 40PX;
  690. line-height: 40PX;
  691. font-size: 16PX;
  692. }
  693. }
  694. }
  695. .xtlist li {
  696. display: block;
  697. word-break: keep-all;
  698. white-space: nowrap;
  699. overflow: hidden;
  700. text-overflow: ellipsis;
  701. }
  702. @media screen and (min-width: 1401px) {
  703. //你的样式
  704. }
  705. @media screen and (max-width: 1400px) {
  706. .breadcrumb-box {
  707. width: 100%;
  708. margin: 0px auto 0px;
  709. box-sizing: border-box;
  710. padding: 0px 10px;
  711. }
  712. .newsList {
  713. width: 100%;
  714. box-sizing: border-box;
  715. padding: 0px 10px;
  716. margin: 0px auto 0px;
  717. }
  718. .search-box {
  719. width: 100%;
  720. box-sizing: border-box;
  721. padding: 0px 10px;
  722. margin: 0px auto 0px;
  723. }
  724. .search-box {
  725. display: block;
  726. }
  727. .search-left-box {
  728. width: 60%;
  729. float: left;
  730. }
  731. .search-right-box {
  732. float: right;
  733. }
  734. .search-box .search-right-box .search-right-box-form .search-right-select-box {
  735. word-break: keep-all;
  736. white-space: nowrap;
  737. }
  738. }
  739. @media screen and (min-width: 801px) and (max-width: 1400px) {
  740. //你的样式
  741. }
  742. @media screen and (max-width: 800px) {
  743. //你的样式
  744. .search-left-box {
  745. width: 100%;
  746. }
  747. .search-right-box {
  748. display: none;
  749. }
  750. }
  751. </style>
  752. <style>
  753. .custom-select-dropdown .el-select-dropdown__item {
  754. font-size: 16px;
  755. color: #333;
  756. }
  757. .custom-select-dropdown .el-select-dropdown__item:hover {
  758. background-color: #027dc3;
  759. color: #fff;
  760. }
  761. </style>