| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843 |
- <template>
- <div class="headerNavBox">
- <NuxtLink to="/list-renyuanchaxun.html">人员查询</NuxtLink>
- <NuxtLink to="/list-cheliangchaxun.html">车辆查询</NuxtLink>
- <NuxtLink to="/list-dishizhongxin.html">地市中心</NuxtLink>
- <NuxtLink to="/list-diaoyanxuanti.html">调研选题</NuxtLink>
- <NuxtLink to="/list-jieshaoxinchaxun.html">介绍信查询</NuxtLink>
- </div>
- <div class="headerNav-pc">
- <div class="headerNavMainBox">
- <div class="headerNavTop">
- <div class="first">
- <NuxtLink to="/">首页</NuxtLink>
- </div>
- <ul>
- <li>
- <NuxtLink to="/sannongkejiao/nongcunjiaoyu/list-1.html">法制资讯</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/sannongzixunzhifuxinxi/list-1.html">政策法规</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">各地动态</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">廉政时讯</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">政策解读</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">百家争鸣</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">经济与法</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">法治建设</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">法纪通报</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">社会调研</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">法制文化</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">特别关注</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">媒体视点</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">重点播报</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">今日说法</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">法制技术</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">执法在线</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">举报投诉</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">法制观察</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">典型案例</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">百姓话题</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">法制活动</NuxtLink>
- </li>
- </ul>
- </div>
- <div class="headerNavCenter">
- <div class="first">
- <NuxtLink to="/">互动</NuxtLink>
- </div>
- <ul>
- <li>
- <NuxtLink
- to="http://zwptfz.znxyw.org.cn/?s=ldxx&web_name=全国法制资讯发布中心&web_url=fzxfb.org.cn"
- target="_blank">领导信箱</NuxtLink>
- </li>
- <li>
- <NuxtLink
- to="http://zwptfz.znxyw.org.cn/?s=jbts&web_name=全国法制资讯发布中心&web_url=fzxfb.org.cn"
- target="_blank">投诉举报</NuxtLink>
- </li>
- <li>
- <NuxtLink
- to="http://zwptfz.znxyw.org.cn/?s=wszw&web_name=全国法制资讯发布中心&web_url=fzxfb.org.cn"
- target="_blank">网上政务</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">志愿服务</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">公益活动</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">在线服务</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">网民留言</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">法制知识</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">法律咨询</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">通知公告</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">官网导航</NuxtLink>
- </li>
- </ul>
- </div>
- <div class="headerNavBottom">
- <div class="first">
- <NuxtLink to="/">查询</NuxtLink>
- </div>
- <ul>
- <li>
- <NuxtLink to="/">人员查询</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">车辆查询</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">地市中心</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">调研选题</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">介绍信查询</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">核心网站</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">政务百网</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">行业百网</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">规章制度</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">申请加入</NuxtLink>
- </li>
- <li>
- <NuxtLink to="/">项目官网</NuxtLink>
- </li>
- </ul>
- </div>
- </div>
- </div>
- <div class="headerNavBox-mobile">
- <div class="headerNavBox-mobile-welcome">
- 欢迎来到全国法制资讯发布中心!
- </div>
- <div class="headerNavBox-mobile-btn">
- 首页
- <img src="@/public/index/btn.png" alt="" @click="openTopMenu = 2">
- </div>
- <div v-if="openTopMenu == 2" class="headerNavBox-mobile-menu">
- <div>
- <div class="headerNavBox-mobile-menu-list">
- <NuxtLink to="/" target="_blank">用户登录</NuxtLink>
- </div>
- <div class="headerNavBox-mobile-menu-list">
- <NuxtLink to="/sannongkejiao/nongcunjiaoyu/list-1.html">法制资讯</NuxtLink>
- <NuxtLink to="/sannongzixunzhifuxinxi/list-1.html">政策法规</NuxtLink>
- <NuxtLink to="/">各地动态</NuxtLink>
- <NuxtLink to="/">廉政时讯</NuxtLink>
- <NuxtLink to="/">政策解读</NuxtLink>
- <NuxtLink to="/">百家争鸣</NuxtLink>
- <NuxtLink to="/">经济与法</NuxtLink>
- <NuxtLink to="/">法治建设</NuxtLink>
- <NuxtLink to="/">法纪通报</NuxtLink>
- <NuxtLink to="/">社会调研</NuxtLink>
- <NuxtLink to="/">法制文化</NuxtLink>
- <NuxtLink to="/">特别关注</NuxtLink>
- <NuxtLink to="/">媒体视点</NuxtLink>
- <NuxtLink to="/">重点播报</NuxtLink>
- <NuxtLink to="/">今日说法</NuxtLink>
- <NuxtLink to="/">法制技术</NuxtLink>
- <NuxtLink to="/">执法在线</NuxtLink>
- <NuxtLink to="/">举报投诉</NuxtLink>
- <NuxtLink to="/">法制观察</NuxtLink>
- <NuxtLink to="/">典型案例</NuxtLink>
- <NuxtLink to="/">百姓话题</NuxtLink>
- <NuxtLink to="/">法制活动</NuxtLink>
- </div>
- <div class="headerNavBox-mobile-menu-list">
- <NuxtLink to="http://zwptfz.znxyw.org.cn/?s=ldxx&web_name=全国法制资讯发布中心&web_url=fzxfb.org.cn"
- target="_blank">领导信箱</NuxtLink>
- <NuxtLink to="http://zwptfz.znxyw.org.cn/?s=jbts&web_name=全国法制资讯发布中心&web_url=fzxfb.org.cn"
- target="_blank">投诉举报</NuxtLink>
- <NuxtLink to="http://zwptfz.znxyw.org.cn/?s=wszw&web_name=全国法制资讯发布中心&web_url=fzxfb.org.cn"
- target="_blank">网上政务</NuxtLink>
- <NuxtLink to="/">志愿服务</NuxtLink>
- <NuxtLink to="/">公益活动</NuxtLink>
- <NuxtLink to="/">在线服务</NuxtLink>
- <NuxtLink to="/">网民留言</NuxtLink>
- <NuxtLink to="/">法制知识</NuxtLink>
- <NuxtLink to="/">法律咨询</NuxtLink>
- <NuxtLink to="/">通知公告</NuxtLink>
- <NuxtLink to="/">官网导航</NuxtLink>
- </div>
- <div class="headerNavBox-mobile-menu-list">
- <NuxtLink to="/">人员查询</NuxtLink>
- <NuxtLink to="/">车辆查询</NuxtLink>
- <NuxtLink to="/">地市中心</NuxtLink>
- <NuxtLink to="/">调研选题</NuxtLink>
- <NuxtLink to="/">介绍信查询</NuxtLink>
- <NuxtLink to="/">核心网站</NuxtLink>
- <NuxtLink to="/">政务百网</NuxtLink>
- <NuxtLink to="/">行业百网</NuxtLink>
- <NuxtLink to="/">规章制度</NuxtLink>
- <NuxtLink to="/">申请加入</NuxtLink>
- <NuxtLink to="/">项目官网</NuxtLink>
- </div>
- </div>
- <div class="headerNavBox-mobile-menu-button">
- <img src="@/public/index/no.png" alt="" @click="openTopMenu = 1">
- </div>
- </div>
- </div>
- </template>
- <script setup>
- //1.加载依赖 start ---------------------------------------->
- import { ElMessage } from 'element-plus'
- import { ref, onMounted } from 'vue';
- import { ElSelect, ElOption } from 'element-plus'
- import { useRoute } from 'vue-router';
- const showZonePanel = ref(false)
- const nuxtApp = useNuxtApp();
- const axios = nuxtApp.$axios;
- const route = useRoute();
- const routeId = route.params.id; //获得该页面的id
- //1.加载依赖 end ---------------------------------------->
- //2.加载模块数据 start ---------------------------------------->
- // const navigation1 = ref("");
- const navigation1 = useState('globalNavData', () => ([]))
- async function getPageData2() {
- const mkdata = await requestDataPromise('/web/getWebsiteModelCategory', {
- method: 'GET',
- query: {
- 'placeid': 1,
- 'pid': 0,
- 'num': 35
- },
- });
- navigation1.value = mkdata.data;
- }
- getPageData2();
- const getLinkPath = (item) => {
- if (item.is_url == 1) {
- return `${item.web_url}`;
- } else if (item.children_count == 0) {
- return `/${item.aLIas_pinyin}/list-1.html`;
- } else {
- return `/${item.aLIas_pinyin}/index.html`;
- }
- }
- //2.加载模块数据 end ---------------------------------------->
- //3.职能部门 start ---------------------------------------->
- let department = ref("")
- const depValue = ref("")
- const typeValue = ref("")
- //3.职能部门 end ---------------------------------------->
- //4.展示行政区划 start ---------------------------------------->
- //let areaList = ref("")
- //4.1 省
- let province = ref("")
- let provinceid = ref("")
- let provinceList = ref("")
- //4.2 市
- let city = ref("")
- let cityid = ref("")
- let cityList = ref("")
- //4.3 县
- let region = ref("")
- let regionid = ref("")
- let regionList = ref("")
- //选择市
- let change = async (id) => {
- provinceid.value = id;
- const shengData = await requestDataPromise('/web/selectWebsiteArea', {
- method: 'GET',
- query: {
- 'pid': id,
- },
- });
- cityList.value = shengData.data;
- regionList.value = [];// 清空县
- }
- //选择县
- let change1 = async (id) => {
- cityid.value = id;
- const xianData = await requestDataPromise('/web/selectWebsiteArea', {
- method: 'GET',
- query: {
- 'pid': id,
- },
- });
- regionList.value = xianData.data;
- }
- let change2 = async (id) => {
- regionid.value = id;
- }
- //4.展示行政区划 end ---------------------------------------->
- //5.执行搜索 start ---------------------------------------->
- const getcityid = ref("")
- //获得cityid和11
- let goToPrimary = async () => {
- if (province.value != "") { getcityid.value = province.value }
- if (city.value != "") { getcityid.value = city.value }
- if (region.value != "") { getcityid.value = region.value }
- console.log("getcityid.value=======", getcityid.value)
- if (province.value == "" && city.value == "" && region.value == "" && depValue.value == "") {
- ElMessage.error('请选择行政区划或者职能部门!')
- } else {
- const route = `/search/search?catids=${getcityid.value}&department_id=${depValue.value}`;
- window.location.href = route;
- }
- }
- const close_panel_fun = () => {
- foot_btn_clear_fun();
- showZonePanel.value = false;
- }
- const foot_btn_clear_fun = () => {
- regionList.value = [];// 清空县
- region.value = "";// 清空县 名称
- city.value = "";// 清空市 名称
- cityList.value = [];// 清空市
- province.value = "";// 清空省 名称
- provinceid.value = "";// 清空省 id
- }
- let shake_bool = true // 声明在组件作用域顶部==防抖
- const nav_department_drop_a_fun = (departmentId) => {
- if (shake_bool === true) {//第1次点击
- shake_bool = false;
- depValue.value = departmentId;
- goToPrimary();
- // 行政职能查询
- ElMessage({
- message: '页面跳转中请稍等',
- type: 'success'
- });
- nav_department_drop_a_fun.timer = setTimeout(() => {
- shake_bool = true;
- }, 3333);
- } else {
- ElMessage({
- message: '请勿重复点击',
- type: 'warning'
- });
- }
- }
- //5.执行搜索 end ---------------------------------------->
- onMounted(async () => {
- //从客户端获取行政职能部门 加快打开速度
- try {
- const { $webUrl, $CwebUrl } = useNuxtApp();
- const response = await fetch($webUrl + '/web/selectWebsiteDepartment', {
- headers: {
- 'Content-Type': 'application/json',
- 'Userurl': $CwebUrl,
- 'Origin': $CwebUrl
- }
- });
- const result = await response.json();
- department.value = result.data;
- } catch (error) {
- console.error('获取部门数据失败:', error);
- }
- //从客户端获取行政区划
- try {
- const { $webUrl, $CwebUrl } = useNuxtApp();
- const response2 = await fetch($webUrl + '/web/selectWebsiteArea', {
- headers: {
- 'Content-Type': 'application/json',
- 'Userurl': $CwebUrl,
- 'Origin': $CwebUrl
- }
- });
- const result2 = await response2.json();
- provinceList.value = result2.data;
- } catch (error) {
- console.error('获取行政区划数据失败:', error);
- }
- const targetElement = document.querySelector('.pc_none li .router-link-exact-active');
- const parentElement = document.querySelector('.nav_in');
- if (targetElement && parentElement) {
- const targetRect = targetElement.getBoundingClientRect();
- const parentRect = parentElement.getBoundingClientRect();
- const distanceToParentLeft = targetRect.left - parentRect.left;
- const navigationElement = document.querySelector('.partOne .navigationOne');
- if (navigationElement) {
- navigationElement.scrollLeft = distanceToParentLeft - 66;
- }
- }
- })
- //打开顶部菜单 start ---------------------------------------->
- const openTopMenu = ref(1)
- //打开顶部菜单 end ---------------------------------------->
- </script>
- <style lang="less" scoped>
- //自适应 start ---------------------------------------->
- .headerNavBox-mobile {
- display: none;
- }
- .headerNav-pc {
- position: sticky;
- top: 0;
- z-index: 1000;
- width: 100%;
- }
- .headerNavBox {
- margin-top: 30PX;
- text-align: center;
- a {
- display: inline-block;
- margin: 0 20PX;
- width: 150PX;
- height: 40PX;
- line-height: 40PX;
- text-align: center;
- background: #fff;
- border-radius: 10PX;
- border: 1PX solid #0e28e6;
- font-size: 22PX;
- color: #0e28e6;
- font-weight: bold;
- }
- }
- .headerNavMainBox {
- max-width: 1400PX;
- width: 100%;
- background: #fff;
- overflow: hidden;
- border-radius: 4px;
- margin: 20px auto 0;
- .headerNavTop,
- .headerNavCenter,
- .headerNavBottom {
- ul {
- width: 92%;
- display: flex;
- flex-wrap: wrap;
- li {
- width: 120PX;
- height: 35PX;
- line-height: 35PX;
- text-align: center;
- display: flex;
- a {
- font-size: 20PX;
- color: #fff;
- }
- }
- }
- }
- .headerNavTop {
- width: 100%;
- overflow: hidden;
- background: #0e28e6;
- border-radius: 10PX;
- display: block;
- .first {
- width: 8%;
- height: 100PX;
- line-height: 100PX;
- overflow: hidden;
- float: left;
- text-align: center;
- a {
- font-size: 24PX;
- color: #fff;
- }
- }
- ul {
- margin-top: 11PX;
- }
- li {
- flex: 1;
- height: 40PX !important;
- line-height: 40PX !important;
- text-align: center !important;
- min-width: 9%;
- max-width: 13%;
- width: 13% !important;
- overflow: hidden;
- }
- li a {
- font-size: 20PX;
- color: #fff;
- font-weight: 400;
- }
- }
- .headerNavCenter {
- width: 100%;
- overflow: hidden;
- background: #fff;
- box-sizing: border-box;
- height: 40PX;
- border-radius: 10PX;
- border: 2PX solid #2a00dd;
- margin-top: 10PX;
- .first {
- background: #2a00dd;
- width: 8%;
- height: 40PX;
- line-height: 36PX;
- float: left;
- color: #fff;
- font-size: 24PX;
- font-weight: bold;
- text-align: center;
- a {
- font-size: 24PX;
- color: #fff;
- display: block;
- width: 100%;
- height: 40PX;
- line-height: 36PX;
- font-weight: normal;
- }
- }
- ul {
- width: 92%;
- height: auto;
- overflow: hidden;
- float: right;
- display: flex;
- flex-wrap: wrap;
- }
- ul li {
- flex: 1;
- height: 40PX;
- line-height: 40PX;
- text-align: center;
- min-width: 9%;
- max-width: 13%;
- width: 13%;
- overflow: hidden;
- }
- ul a {
- font-size: 20PX;
- color: #2a00dd !important;
- display: block;
- width: 100%;
- height: 40PX;
- line-height: 36PX;
- }
- }
- .headerNavBottom {
- width: 100%;
- overflow: hidden;
- background: #fff;
- box-sizing: border-box;
- height: 40PX;
- border-radius: 10PX;
- border: 2PX solid #dd3e00;
- margin-top: 10PX;
- .first {
- background: #dd3e00;
- width: 8%;
- height: 40PX;
- line-height: 36PX;
- float: left;
- color: #fff;
- font-size: 24PX;
- font-weight: bold;
- text-align: center;
- a {
- font-size: 24PX;
- color: #fff;
- display: block;
- width: 100%;
- height: 40PX;
- line-height: 36PX;
- font-weight: normal;
- }
- }
- ul {
- width: 92%;
- height: auto;
- overflow: hidden;
- float: right;
- display: flex;
- flex-wrap: wrap;
- }
- ul li {
- flex: 1;
- height: 40PX;
- line-height: 40PX;
- text-align: center;
- min-width: 9%;
- max-width: 13%;
- width: 13%;
- overflow: hidden;
- }
- ul a {
- font-size: 20PX;
- color: #dd3e00 !important;
- display: block;
- width: 100%;
- height: 40PX;
- line-height: 36PX;
- }
- }
- }
- @media screen and (max-width: 1400px) {
- .headerNavBox {
- margin-top: 15px;
- a {
- margin: 0 10px;
- width: 75px;
- height: 20px;
- line-height: 20px;
- border-radius: 5px;
- font-size: 11px;
- }
- }
- .headerNav-pc {
- box-sizing: border-box;
- padding: 0 10px;
- }
- .headerNavMainBox .headerNavTop ul li a,
- .headerNavMainBox .headerNavCenter ul li a,
- .headerNavMainBox .headerNavBottom ul li a {
- font-size: 11px;
- }
- .headerNavMainBox .headerNavTop .first a {
- font-size: 14px;
- }
- .headerNavMainBox .headerNavCenter .first a {
- font-size: 14px;
- }
- .headerNavMainBox .headerNavBottom .first a {
- font-size: 14px;
- }
- }
- @media screen and (min-width: 801px) and (max-width: 1400px) {
- .headerNavBox-mobile {
- display: none;
- }
- }
- @media screen and (max-width: 800px) {
- .headerNav-pc {
- position: sticky;
- top: 0;
- z-index: 1000;
- width: 100%;
- display: none;
- }
- .headerNavBox {
- width: 100%;
- text-align: center;
- display: flex;
- align-items: center;
- justify-content: space-between;
- box-sizing: border-box;
- padding: 0 5px;
- a {
- width: 19%;
- display: inline-block;
- height: 60px;
- line-height: 60px;
- box-sizing: border-box;
- border: solid 1px #0e28e6;
- text-align: center;
- font-size: 24px;
- color: #0e28e6;
- text-align: center;
- }
- }
- .headerNavMainBox {
- width: 100%;
- overflow: hidden;
- margin: 20px auto 0;
- .headerNavTop,
- .headerNavCenter,
- .headerNavBottom {
- display: flex;
- align-items: center;
- justify-content: space-between;
- ul {
- width: 95%;
- display: flex;
- flex-wrap: wrap;
- li {
- width: 120px;
- height: 35px;
- line-height: 35px;
- text-align: center;
- a {
- font-size: 16px;
- color: #fff;
- font-weight: bold;
- }
- }
- }
- }
- .headerNavTop {
- width: 100%;
- //height: 70px;
- overflow: hidden;
- background: #0e28e6;
- .first {
- height: 70px;
- padding-left: 5px;
- overflow: hidden;
- float: left;
- text-align: center;
- a {
- font-size: 16px;
- color: #fff;
- font-weight: bold;
- }
- }
- }
- .headerNavCenter {
- width: 100%;
- //height: 40px;
- overflow: hidden;
- background: #0072ff;
- margin-top: 4px;
- .first {
- height: 40px;
- padding-left: 5px;
- float: left;
- color: #fff;
- font-size: 16px;
- font-weight: bold;
- text-align: center;
- a {
- font-size: 16px;
- color: #fff;
- font-weight: bold;
- }
- }
- }
- .headerNavBottom {
- background: #f90;
- //height: 40px;
- margin-top: 4px;
- overflow: hidden;
- .first {
- //width: 5%;
- height: 40px;
- padding-left: 5px;
- float: left;
- color: #fff;
- font-size: 16px;
- font-weight: bold;
- text-align: center;
- a {
- font-size: 16px;
- color: #fff;
- font-weight: bold;
- }
- }
- }
- }
- .headerNavBox-mobile {
- position: fixed;
- top: 0;
- width: 100%;
- height: 80px;
- background: #f1f1f1;
- border-bottom: 1px solid #ccc;
- padding: 0 40px;
- position: fixed;
- top: 0;
- left: 0;
- z-index: 999;
- display: flex;
- align-items: center;
- justify-content: space-between;
- box-sizing: border-box;
- .headerNavBox-mobile-welcome {
- font-size: 32px;
- }
- .headerNavBox-mobile-btn {
- font-size: 32px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- img {
- width: 40px;
- height: 40px;
- margin-left: 20px;
- }
- }
- }
- .headerNavBox-mobile-menu {
- position: fixed;
- top: 80px;
- left: 0;
- width: 100%;
- background: #0e28e6;
- box-sizing: border-box;
- padding: 20px;
- a {
- font-size: 40px;
- color: #fff;
- margin: 0 10px;
- white-space: nowrap;
- }
- .headerNavBox-mobile-menu-list {
- border-bottom: 1px solid #c1c1c1;
- padding: 30px 0;
- }
- .headerNavBox-mobile-menu-button {
- padding: 20px 0;
- img {
- width: 70px;
- height: 70px;
- display: block;
- margin: 0 auto;
- }
- }
- }
- }
- //自适应 end ----------------------------------------></style>
|