import{d as p,r as c,o as _,c as r,a as e,b as l,w as d,e as i,f as t,p as h,g as m,_ as u}from"./index-ygQXLtR_.js";const s=o=>(h("data-v-7bdb0e8f"),o=o(),m(),o),f={class:"nopage"},b=s(()=>e("span",{style:{color:"#0074D9"}},"4",-1)),y=s(()=>e("span",{style:{color:"#67C23A"}},"0",-1)),g=s(()=>e("span",{style:{color:"#0074D9"}},"4",-1)),v=s(()=>e("p",null,"你页面走丢了~",-1)),x=p({__name:"404",setup(o){const a=()=>{sessionStorage.pageType=="company"?t.push("/manage/home"):sessionStorage.pageType=="personal"?t.push("/jobseeker/home"):t.push("/job/home")};return(C,S)=>{const n=c("a-button");return _(),r("div",f,[b,y,g,e("div",null,[v,e("p",null,[l(n,{type:"primary",onClick:a},{default:d(()=>[i("返回首页")]),_:1})])])])}}}),I=u(x,[["__scopeId","data-v-7bdb0e8f"]]);export{I as default}; | |||||
import{d as p,r as c,o as _,c as r,a as e,b as l,w as d,e as i,f as t,p as h,g as m,_ as u}from"./index-5fthHg6_.js";const s=o=>(h("data-v-7bdb0e8f"),o=o(),m(),o),f={class:"nopage"},b=s(()=>e("span",{style:{color:"#0074D9"}},"4",-1)),y=s(()=>e("span",{style:{color:"#67C23A"}},"0",-1)),g=s(()=>e("span",{style:{color:"#0074D9"}},"4",-1)),v=s(()=>e("p",null,"你页面走丢了~",-1)),x=p({__name:"404",setup(o){const a=()=>{sessionStorage.pageType=="company"?t.push("/manage/home"):sessionStorage.pageType=="personal"?t.push("/jobseeker/home"):t.push("/job/home")};return(C,S)=>{const n=c("a-button");return _(),r("div",f,[b,y,g,e("div",null,[v,e("p",null,[l(n,{type:"primary",onClick:a},{default:d(()=>[i("返回首页")]),_:1})])])])}}}),I=u(x,[["__scopeId","data-v-7bdb0e8f"]]);export{I as default}; |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||
<script src="https://map.qq.com/api/gljs?v=1.exp&key=MPBBZ-HUICZ-EGRXB-7AHZI-R4GQZ-QWBSO"></script> | <script src="https://map.qq.com/api/gljs?v=1.exp&key=MPBBZ-HUICZ-EGRXB-7AHZI-R4GQZ-QWBSO"></script> | ||||
<title>菊城人才网</title> | <title>菊城人才网</title> | ||||
<script type="module" crossorigin src="/assets/index-ygQXLtR_.js"></script> | |||||
<script type="module" crossorigin src="/assets/index-5fthHg6_.js"></script> | |||||
<link rel="stylesheet" crossorigin href="/assets/index-MiQZPaKl.css"> | <link rel="stylesheet" crossorigin href="/assets/index-MiQZPaKl.css"> | ||||
</head> | </head> | ||||
<body> | <body> |
</div> | </div> | ||||
</a-col> | </a-col> | ||||
<a-col sapn="12"> | <a-col sapn="12"> | ||||
<div | |||||
<div v-if="hasToken" | |||||
style="display: flex;flex-direction: column;align-items: flex-start;justify-content: center;cursor: pointer;"> | style="display: flex;flex-direction: column;align-items: flex-start;justify-content: center;cursor: pointer;"> | ||||
<div @click="toPath(6)">快速注册</div> | <div @click="toPath(6)">快速注册</div> | ||||
<div style="display: flex;flex-direction: column;"> | <div style="display: flex;flex-direction: column;"> | ||||
</template> | </template> | ||||
<script setup lang="ts"> | <script setup lang="ts"> | ||||
import { ref, computed, onMounted, defineEmits, defineProps, watch } from 'vue'; | |||||
import { router } from '@/router'; | import { router } from '@/router'; | ||||
import { store } from '@/store/index'; | |||||
import { useMenu } from '@/hooks/useMenu'; | |||||
let { onMenu, routerCur, routerArrayCur, routerArrayParentChildCur } = useMenu(); | |||||
let hasToken = ref<Boolean>(sessionStorage.getItem('token') ? false : true) | |||||
const toPath = (val) => { | const toPath = (val) => { | ||||
if (val == 6 || val == 7 || val == 8) { | if (val == 6 || val == 7 || val == 8) { | ||||
router.push({ | router.push({ | ||||
path: '/login', | path: '/login', | ||||
}) | }) | ||||
} else { | } else { | ||||
router.push({ | |||||
path: '/about' | |||||
}) | |||||
if(routerCur() == '/about') { | |||||
sessionStorage.setItem('footer_key', val) | |||||
location.reload() | |||||
} else { | |||||
store.commit('getPageType', { | |||||
pageType: '' | |||||
}) | |||||
store.commit('setShowLoginBox', { | |||||
showLoginBox: false | |||||
}) | |||||
sessionStorage.setItem('pageType', '') | |||||
store.commit('permissions/SET_PERMISSION', null) | |||||
store.commit('permissions/SET_MENU', []) | |||||
sessionStorage.setItem('footer_key', val) | |||||
router.push({ | |||||
path: '/about' | |||||
}) | |||||
} | |||||
} | } | ||||
sessionStorage.setItem('footer_key', val) | |||||
} | } | ||||
onMounted(() => { | |||||
sessionStorage.removeItem('footer_key') | |||||
}) | |||||
</script> | </script> | ||||
<style scoped lang="less"> | <style scoped lang="less"> |