pageNavigation.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761
  1. <template>
  2. <div class="navigate">
  3. <div class="partOne">
  4. <div class="inner">
  5. <div class="navLeft">
  6. <div class="navIndex phone_none">
  7. <NuxtLink :to="'/'"> 首页</NuxtLink>
  8. </div>
  9. <div class="navIndex pc_none">
  10. <NuxtLink
  11. to="/" title="首页"
  12. class="phone_nav_index"
  13. :class="{ 'phone_nav_index_only': $route.path === '/' }"
  14. >
  15. 首页
  16. </NuxtLink>
  17. </div>
  18. <div class="navClass">
  19. <div>主题资讯</div>
  20. <div>互动资讯</div>
  21. </div>
  22. </div>
  23. <ul class="navigationOne">
  24. <div class="nav_in clearfix phone_none">
  25. <li v-for="(item, index) in navigation1" :key="index">
  26. <NuxtLink :href="getLinkPath(item)" :title="item.alias" v-if="index <= 23"
  27. :target="item.is_url == 1 ? '_blank' : '_self'">
  28. <span class="active" v-if="item.category_id == routeId">{{ item.alias }}</span>
  29. <span v-else>{{ item.alias }}</span>
  30. </NuxtLink>
  31. </li>
  32. </div>
  33. <div class="nav_in clearfix pc_none">
  34. <li v-for="(item, index) in navigation1" :key="index">
  35. <NuxtLink :href="getLinkPath(item)" :title="item.alias" v-if="index <= 23"
  36. :target="item.is_url == 1 ? '_blank' : '_self'">
  37. <span class="active" v-if="item.category_id == routeId">{{ item.alias }}</span>
  38. <span v-else>{{ item.alias }}</span>
  39. </NuxtLink>
  40. </li>
  41. </div>
  42. </ul>
  43. </div>
  44. </div>
  45. <!-- 展示地区 -->
  46. <div class="cityBox">
  47. <div class="cityMain">
  48. <div class="cityTitle">地方频道</div>
  49. <ul class="cityList" v-if="provinceList.length > 0">
  50. <li v-for="item in provinceList">
  51. <NuxtLink :to="{ path: `/search/${item.id}` }">
  52. {{ item.abbreviation }}
  53. </NuxtLink>
  54. </li>
  55. </ul>
  56. </div>
  57. </div>
  58. <!-- 行政查询 -->
  59. <div class="select" >
  60. <div class="inner">
  61. <div class="role left">
  62. <div class="title">行政职能查询 </div>
  63. <div class="searchRole">
  64. <el-select v-model="depValue" placeholder="职能部门" filterable size="large" style="width: 330px">
  65. <el-option v-for="(item, index) in department" :key="index" :label="item.name"
  66. :value="item.id" />
  67. </el-select>
  68. <em @click="goToPrimary"></em>
  69. </div>
  70. </div>
  71. <div class="region left">
  72. <div class="title">行政区划查询</div>
  73. <div class="searchRole" v-if="provinceList.length > 0">
  74. <el-select v-model="province" placeholder="请选择省" size="large" style="width: 80px">
  75. <el-option v-for="item in provinceList" :key="item.id" :label="item.name"
  76. @click="change(item.id)" :value="item.id" />
  77. </el-select>
  78. <i></i>
  79. <el-select v-model="city" placeholder="请选择市" no-data-text="请先选择省份" size="large"
  80. style="width: 80px">
  81. <el-option v-for="(item, index) in cityList" :key="item.id" :label="item.name"
  82. @click="change1(item.id)" :value="item.id" />
  83. </el-select>
  84. <i></i>
  85. <el-select v-model="region" placeholder="请选择区/县" no-data-text="请先选择市" size="large"
  86. style="width: 100px">
  87. <el-option v-for="item in regionList" :key="item.id" :label="item.name" :value="item.id" />
  88. </el-select>
  89. <em @click="goToPrimary"></em>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. <section class="navigate_phone" v-if="false">
  96. <div class="nav_select_btn_box">
  97. <div class="nav_select_btn nav_department_btn_box" >
  98. 行政职能查询
  99. <div class="nav_department_drop_box">
  100. <a class="nav_department_drop_a" title="" v-for="(per_obj,per_index) in department" :key="per_obj" @click="nav_department_drop_a_fun(per_obj.id)">
  101. {{per_obj.name}}
  102. </a>
  103. </div>
  104. </div>
  105. <div class="nav_select_btn" @click="showZonePanel = true">行政区划查询</div>
  106. </div>
  107. <!-- 行政职能查询 -->
  108. <!-- <div class="nav_department_panel" v-show="true"> -->
  109. <div class="nav_department_panel" v-show="showZonePanel">
  110. <!-- {{ department }} -->
  111. <div class="panel_head_box">
  112. <span class="panel_head_btn nav_department_btn" @click="close_panel_fun"></span>
  113. <h4 class="panel_head_h4">行政区划查询</h4>
  114. </div>
  115. <div class="nav_department_panel_in">
  116. <div class="nav_department_panel_ul">
  117. <a class="nav_department_panel_ul_a" title="" v-for="(per_obj,per_index) in provinceList"
  118. :key="per_obj" @click="change(per_obj.id)"
  119. :class="{'nav_department_panel_ul_a_only':provinceid == per_obj.id}" >
  120. {{ per_obj.name}}
  121. </a>
  122. </div>
  123. <div class="nav_department_panel_ul nav_department_panel_ul_2">
  124. <a class="nav_department_panel_ul_a" title="" v-for="(per_obj,per_index) in cityList" :key="per_obj"
  125. @click="change1(per_obj.id)"
  126. :class="{'nav_department_panel_ul_a_only':cityid == per_obj.id}" >
  127. {{ per_obj.name}}
  128. </a>
  129. </div>
  130. <div class="nav_department_panel_ul nav_department_panel_ul_3">
  131. <a class="nav_department_panel_ul_a" title=""
  132. v-for="(per_obj,per_index) in regionList" :key="per_obj"
  133. @click="change2(per_obj.id)"
  134. :class="{'nav_department_panel_ul_a_only':regionid == per_obj.id}"
  135. >
  136. {{ per_obj.name}}
  137. </a>
  138. </div>
  139. <div class="nav_department_panel_foot clearfix">
  140. <div class="nav_department_panel_foot_btn nav_department_panel_foot_btn_clear" @click="foot_btn_clear_fun">清空</div>
  141. <div class="nav_department_panel_foot_btn nav_department_panel_foot_btn_sure" @click="goToPrimary">确定</div>
  142. </div>
  143. </div>
  144. </div>
  145. </section>
  146. </template>
  147. <script setup>
  148. //1.加载依赖 start ---------------------------------------->
  149. import { ElMessage } from 'element-plus'
  150. import { ref, onMounted } from 'vue';
  151. import { ElSelect, ElOption } from 'element-plus'
  152. import { useRoute } from 'vue-router';
  153. const showZonePanel = ref(false)
  154. const nuxtApp = useNuxtApp();
  155. const axios = nuxtApp.$axios;
  156. const route = useRoute();
  157. const routeId = route.params.id; //获得该页面的id
  158. //1.加载依赖 end ---------------------------------------->
  159. //2.加载模块数据 start ---------------------------------------->
  160. // const navigation1 = ref("");
  161. const navigation1 = useState('globalNavData', () => ([]))
  162. async function getPageData2() {
  163. const mkdata = await requestDataPromise('/web/getWebsiteModelCategory', {
  164. method: 'GET',
  165. query: {
  166. 'placeid': 1,
  167. 'pid': 0,
  168. 'num': 35
  169. },
  170. });
  171. navigation1.value = mkdata.data;
  172. }
  173. getPageData2();
  174. //格式化跳转路径
  175. // const getLinkPath = (item) => {
  176. // if(item.is_url==1){
  177. // return `${item.web_url}`;
  178. // }else if(item.children_count == 0){
  179. // //return `/${item.aLIas_pinyin}/`;
  180. // return `/newsList/${item.category_id}?page=1`;
  181. // }else{
  182. // //return `/${item.aLIas_pinyin}/`;
  183. // return `/primaryNavigation/${item.category_id}`;
  184. // }
  185. // }
  186. const getLinkPath = (item) => {
  187. // console.log('item', item);
  188. if (item.is_url == 1) {
  189. return `${item.web_url}`;
  190. } else if (item.children_count == 0) {
  191. //return `/newsList/${item.category_id}?page=1`;
  192. return `/${item.aLIas_pinyin}/list-1.html`;
  193. } else {
  194. //return `/primaryNavigation/${item.aLIas_pinyin}/`;
  195. return `/${item.aLIas_pinyin}/index.html`;
  196. }
  197. }
  198. //2.加载模块数据 end ---------------------------------------->
  199. //3.职能部门 start ---------------------------------------->
  200. let department = ref("")
  201. const depValue = ref("")
  202. const typeValue = ref("")
  203. // let departmentList = async () => {
  204. // const mkdata = await requestDataPromise('/web/selectWebsiteDepartment', {
  205. // method: 'GET',
  206. // query: {
  207. // 'keyword': department.value,
  208. // },
  209. // });
  210. // if(mkdata.code == 200){
  211. // department.value = mkdata.data;
  212. // }else{
  213. // console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  214. // console.log("错误位置:获取职能部门")
  215. // console.log("后端错误反馈:",mkdata.message)
  216. // console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  217. // }
  218. // }
  219. // //获得所有部门
  220. // departmentList();
  221. //3.职能部门 end ---------------------------------------->
  222. //4.展示行政区划 start ---------------------------------------->
  223. //let areaList = ref("")
  224. //4.1 省
  225. let province = ref("")
  226. let provinceid = ref("")
  227. let provinceList = ref("")
  228. // const provinceList = useState('globalProvinceData', () => [])
  229. //4.2 市
  230. let city = ref("")
  231. let cityid = ref("")
  232. let cityList = ref("")
  233. //4.3 县
  234. let region = ref("")
  235. let regionid = ref("")
  236. let regionList = ref("")
  237. //选择省
  238. // let areaArrList = async () => {
  239. // const mkdata = await requestDataPromise('/web/selectWebsiteArea', {
  240. // method: 'GET',
  241. // query: {},
  242. // });
  243. // if(mkdata.code == 200){
  244. // provinceList.value = mkdata.data;
  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. // //一开始只需要获取一下省
  253. // areaArrList();
  254. //选择市
  255. let change = async (id) => {
  256. provinceid.value = id;
  257. const shengData = await requestDataPromise('/web/selectWebsiteArea', {
  258. method: 'GET',
  259. query: {
  260. 'pid': id,
  261. },
  262. });
  263. cityList.value = shengData.data;
  264. regionList.value = [];// 清空县
  265. }
  266. //选择县
  267. let change1 = async (id) => {
  268. cityid.value = id;
  269. const xianData = await requestDataPromise('/web/selectWebsiteArea', {
  270. method: 'GET',
  271. query: {
  272. 'pid': id,
  273. },
  274. });
  275. regionList.value = xianData.data;
  276. }
  277. let change2 = async (id) => {
  278. regionid.value = id;
  279. }
  280. //4.展示行政区划 end ---------------------------------------->
  281. //5.执行搜索 start ---------------------------------------->
  282. const getcityid = ref("")
  283. //跳转到搜索页面
  284. // let goToSearch = (id) => {
  285. // console.log(id)
  286. // const route = `/search/search?catids=${id}`;
  287. // window.location.href = route;
  288. // }
  289. //获得cityid和11
  290. let goToPrimary = async () => {
  291. if (province.value != "") { getcityid.value = province.value }
  292. if (city.value != "") { getcityid.value = city.value }
  293. if (region.value != "") { getcityid.value = region.value }
  294. console.log("getcityid.value=======",getcityid.value)
  295. if (province.value == "" && city.value == "" && region.value == "" && depValue.value == "") {
  296. ElMessage.error('请选择行政区划或者职能部门!')
  297. } else {
  298. const route = `/search/search?catids=${getcityid.value}&department_id=${depValue.value}`;
  299. window.location.href = route;
  300. // const responseStatus = await requestDataPromise('/web/selectWebsiteCategory', {
  301. // method: 'GET',
  302. // query: {
  303. // 'cityid': getcityid.value,
  304. // 'department_id': depValue.value
  305. // },
  306. // });
  307. // if (responseStatus.data.catid && responseStatus.data.catid.length > 0) {
  308. // const catids = responseStatus.data.catid.join(',');
  309. // const route = `/search/search?catids=${catids}`;
  310. // window.location.href = route;
  311. // } else {
  312. // // 可以在这里处理数组为空的情况
  313. // console.log('没有可用的分类ID');
  314. // const route = `/search/search`;
  315. // window.location.href = route;
  316. // }
  317. }
  318. // 行政职能查询
  319. }
  320. const close_panel_fun = () => {
  321. foot_btn_clear_fun();
  322. showZonePanel.value = false;
  323. }
  324. const foot_btn_clear_fun = () => {
  325. regionList.value = [];// 清空县
  326. region.value = "";// 清空县 名称
  327. city.value = "";// 清空市 名称
  328. cityList.value = [];// 清空市
  329. province.value = "";// 清空省 名称
  330. provinceid.value = "";// 清空省 id
  331. }
  332. let shake_bool = true // 声明在组件作用域顶部==防抖
  333. const nav_department_drop_a_fun = (departmentId) => {
  334. if(shake_bool===true){//第1次点击
  335. shake_bool = false;
  336. depValue.value = departmentId;
  337. goToPrimary();
  338. // 行政职能查询
  339. ElMessage({
  340. message: '页面跳转中请稍等',
  341. type: 'success'
  342. });
  343. nav_department_drop_a_fun.timer = setTimeout(() => {
  344. shake_bool = true;
  345. }, 3333);
  346. }else{
  347. ElMessage({
  348. message: '请勿重复点击',
  349. type: 'warning'
  350. });
  351. }
  352. }
  353. //5.执行搜索 end ---------------------------------------->
  354. onMounted(async () => {
  355. //从客户端获取行政职能部门 加快打开速度
  356. try {
  357. const { $webUrl, $CwebUrl } = useNuxtApp();
  358. const response = await fetch($webUrl + '/web/selectWebsiteDepartment', {
  359. headers: {
  360. 'Content-Type': 'application/json',
  361. 'Userurl': $CwebUrl,
  362. 'Origin': $CwebUrl
  363. }
  364. });
  365. const result = await response.json();
  366. department.value = result.data;
  367. } catch (error) {
  368. console.error('获取部门数据失败:', error);
  369. }
  370. //从客户端获取行政区划
  371. try {
  372. const { $webUrl, $CwebUrl } = useNuxtApp();
  373. const response2 = await fetch($webUrl + '/web/selectWebsiteArea', {
  374. headers: {
  375. 'Content-Type': 'application/json',
  376. 'Userurl': $CwebUrl,
  377. 'Origin': $CwebUrl
  378. }
  379. });
  380. const result2 = await response2.json();
  381. provinceList.value = result2.data;
  382. } catch (error) {
  383. console.error('获取行政区划数据失败:', error);
  384. }
  385. const targetElement = document.querySelector('.pc_none li .router-link-exact-active');
  386. const parentElement = document.querySelector('.nav_in');
  387. if (targetElement && parentElement) {
  388. const targetRect = targetElement.getBoundingClientRect();
  389. const parentRect = parentElement.getBoundingClientRect();
  390. const distanceToParentLeft = targetRect.left - parentRect.left;
  391. const navigationElement = document.querySelector('.partOne .navigationOne');
  392. if (navigationElement) {
  393. navigationElement.scrollLeft = distanceToParentLeft - 66;
  394. }
  395. }
  396. })
  397. </script>
  398. <style lang="less" scoped>
  399. @import url('@/assets/css/nav.less');
  400. </style>
  401. <style lang="less" scoped>
  402. @media screen and (min-width:801px){
  403. .nav_in{ display:flex;
  404. width:100%;
  405. flex-wrap: wrap;
  406. }
  407. .pc_none{display:none;}
  408. }
  409. @media screen and (max-width:800px){/*ipad_phone*/
  410. .partOne{height:auto;background:#49a769;margin-top:11px;padding:6px 0px;}
  411. .partOne .inner{ overflow: hidden;position:relative;}
  412. .partOne .inner .navLeft{display:flex;overflow:hidden;word-break: keep-all; white-space: nowrap;height:33px;text-align:left;
  413. width:auto;float:left;font-weight:bold;margin-right:20px;
  414. }
  415. .partOne .inner .navIndex{ line-height:31px;height:33px;overflow:hidden;width:auto; }
  416. .partOne .inner .navClass{ line-height:33px;height:33px;padding:0px;word-break: keep-all; white-space: nowrap;overflow:hidden;
  417. display:none;}
  418. .partOne .inner .navClass div{margin-left:8px; float:left;}
  419. .partOne .inner .navClass div:nth-child(2){padding:0px;}
  420. .partOne .navigationOne{ height:33px; display:block; width:auto;
  421. flex:1;
  422. padding:0;margin:0;
  423. box-sizing:border-box;
  424. overflow-y: hidden; // 改为 overlay 模式
  425. overflow-x: auto; // 改为 overlay 模式
  426. /* 新增滚动条样式 */
  427. &::-webkit-scrollbar {
  428. // width: 10;
  429. height: 4px;
  430. }
  431. // 隐藏滚动条轨道
  432. &::-webkit-scrollbar-track {
  433. background: transparent;
  434. // width: 10;
  435. height: 4;
  436. }
  437. // 隐藏滚动条滑块
  438. &::-webkit-scrollbar-thumb {
  439. background: transparent;
  440. }
  441. }
  442. .nav_in{height:100%;word-break: keep-all; white-space: nowrap; box-sizing:border-box;}
  443. .partOne .navigationOne li{width:auto;display:inline-block;height:100%;line-height:33px; overflow:hidden;
  444. font-size:16px;
  445. }
  446. .partOne .navigationOne li:nth-of-type(1){
  447. margin-left:0px;
  448. }
  449. .cityBox{display: block;overflow:hidden;height:auto;display:none;}
  450. .cityBox .cityMain{display: block;overflow:hidden;height:auto;width:100%;}
  451. .cityBox .cityMain .cityTitle{line-height: 22px;padding:0;margin:10px 0px 0px 10px;width:auto;}
  452. .cityList{overflow:hidden;}
  453. .cityBox .cityMain .cityList li{line-height:22px;margin:11px;}
  454. .select{overflow:hidden;height:auto;line-height:normal;}
  455. .select .inner{width:96%;margin:0px auto;overflow:hidden;height:auto; }
  456. .select .role{padding:0;height:auto;overflow:hidden;float:none;}
  457. .select .role .searchRole{box-sizing:border-box;width:333px; float:left;margin-left:0px;}
  458. .select .el-select{width:230px!important;}
  459. .select .role .searchRole em{margin:4px 10px;float:right;}
  460. .select .role > .title, .select .region > .title{float:none;font-size:18px;}
  461. .select .region{overflow:hidden;height:auto;float:none;}
  462. .select .region .searchRole{float:none;padding:10px 0;width:90%;margin:5px;height:auto;}
  463. .select .region .el-select{margin-left:17px;}
  464. .select .region em{margin-left:22px;}
  465. .navigate_phone{
  466. }
  467. .nav_select_btn_box{
  468. padding:5px 0px;
  469. border-bottom:1px solid #ededed;
  470. width:92%;margin:0px auto;
  471. }
  472. .nav_select_btn_box::after{content: '';display: block;height: 0;visibility: hidden;clear: both;}
  473. .nav_select_btn{
  474. height: 33px;
  475. line-height: 33px;
  476. color: #333;font-size:14px;
  477. padding:0px 30px 0px 6px;
  478. float:left;margin:0px 20px 5px 0px;
  479. background:url(../../public/image/Iconly.png) no-repeat right center;
  480. background-size:auto 20px;
  481. }
  482. .nav_department_btn_box{
  483. position:relative;
  484. .nav_department_select{
  485. width:100%;height:100%;position:absolute;
  486. left:0px;top:0px;border:0;
  487. }
  488. }
  489. .nav_department_drop_box{
  490. position:absolute;left:0px;top:33px;z-index:111;
  491. width:100%;height:333px;border:1px solid #ededed;
  492. background:#fff;overflow:auto;border-radius:6px;
  493. box-sizing:border-box;display:none;
  494. }
  495. .nav_department_btn_box:hover .nav_department_drop_box{
  496. display:block;
  497. }
  498. .nav_department_drop_a{
  499. width:100%;height:44px;line-height:44px;
  500. display:block;
  501. font-size:14px;color:#333;
  502. padding:0px 10px 0px;
  503. box-sizing:border-box;
  504. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  505. }
  506. .partOne .inner .navIndex a{font-size:16px;font-weight:normal;opacity:.6; }
  507. .partOne .inner .navIndex .phone_nav_index_only{font-weight:bold;opacity:1; }
  508. // .select{display:none;}
  509. // .navigate_phone{display:none;}
  510. .nav_department_panel{
  511. width:100%;background:#fff;left:0px;top:0px;
  512. position:fixed;z-index:999;
  513. height:100%;
  514. }
  515. .panel_head_box{
  516. width:97%;margin:0px auto 4px;
  517. height:50px;border-bottom:1px solid #b8b8b8;
  518. text-align:center;position:relative;
  519. }
  520. .panel_head_h4{height:50px;line-height:50px;display:inline-block;
  521. font-size:22px;color:#333;text-align:center;}
  522. .panel_head_btn{float:right;width:22px;height:22px; top:12px;
  523. position:absolute;right:0px;
  524. background:url('../../public/image/guanbi1.png') no-repeat center center;
  525. background-size:100% 100%;
  526. }
  527. .nav_department_panel_in{
  528. width:100%;height:100%; box-sizing:border-box;
  529. overflow:auto;position:relative;
  530. padding-bottom:122px;
  531. }
  532. .nav_department_panel_ul{
  533. width:30%; float:left;
  534. height:100%;box-sizing:border-box;
  535. overflow:auto;
  536. }
  537. .nav_department_panel_ul_2{
  538. width:35%; background:#F2F3F7;
  539. }
  540. .nav_department_panel_ul_3{
  541. width:35%; background:#F2F3F7;
  542. }
  543. .nav_department_panel_ul_a{
  544. width:100%;height:40px;line-height:40px;
  545. display:block;
  546. font-size:16px;color:#333;
  547. padding:0px 10px 0px;
  548. box-sizing:border-box;
  549. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  550. }
  551. .nav_department_panel_ul_a_only{
  552. font-weight:bold; color:#46D333;
  553. }
  554. .nav_department_panel_foot{
  555. width:100%;margin:0px auto;
  556. height:36px;
  557. position:absolute;left:0px;bottom:70px;
  558. background:#fff;text-align:center;
  559. .nav_department_panel_foot_btn{
  560. width:33%;height:36px;line-height:36px; display:inline-block;
  561. text-align:center;
  562. border-radius:16px;font-size:16px;
  563. padding:0px 10px;margin:0px 11px;
  564. }
  565. .nav_department_panel_foot_btn_clear{
  566. background:#abe874;color:#fff;
  567. }
  568. .nav_department_panel_foot_btn_sure{
  569. background:#46D333;color:#fff;
  570. }
  571. }
  572. // .nav_in span{border:solid 1px #000;}
  573. .partOne .navigationOne li a span{display:block;line-height:33px;height:33px;
  574. opacity:0.6;
  575. }
  576. .nav_in .router-link-exact-active span{font-size:16px;font-weight:bold;opacity:1!important;}
  577. .select{display:none;}
  578. .phone_none{display:none;}
  579. }
  580. </style>