Commit 036bf2eb authored by liwei's avatar liwei

加了页面的底部备案信息

parent a60da243
...@@ -27,8 +27,15 @@ ...@@ -27,8 +27,15 @@
<el-card v-if="themeType && themeType === '8'" style="margin:.75rem"> <el-card v-if="themeType && themeType === '8'" style="margin:.75rem">
<app-main /> <app-main />
</el-card> </el-card>
<app-main v-else /> <app-main v-else />
<div class="footer">
<div class="titleText">Copyrights © 2024 All Rights Reserved by</div>
<div class="text_body">
<div class="textOne" @click="handleJumpTextOne">京ICP备xxxxxxx号-1</div>
<img v-if="logo" :src="logo" class="bottomLogo">
<div class="textTwo" @click="handleJumpTextTwo">津公网安备xxxxxxxxxx</div>
</div>
</div>
<right-panel> <right-panel>
<settings /> <settings />
</right-panel> </right-panel>
...@@ -58,6 +65,11 @@ export default { ...@@ -58,6 +65,11 @@ export default {
settings settings
}, },
mixins: [ResizeMixin], mixins: [ResizeMixin],
data() {
return {
logo: require('@/assets/image/policeDadgeIcon.png')
}
},
computed: { computed: {
currentPath() { currentPath() {
// R正常路由跳转 Y打开新页且没有菜单结构 G打开新页有菜单结构 // R正常路由跳转 Y打开新页且没有菜单结构 G打开新页有菜单结构
...@@ -88,6 +100,12 @@ export default { ...@@ -88,6 +100,12 @@ export default {
console.log('aaaaa', this.$route) console.log('aaaaa', this.$route)
}, },
methods: { methods: {
handleJumpTextOne() {
window.open('https://beian.miit.gov.cn/#/Integrated/index', '_blank')
},
handleJumpTextTwo() {
window.open('https://beian.mps.gov.cn/#/query/webSearch?code=12011602300248', '_blank')
},
handleClickOutside() { handleClickOutside() {
this.$store.dispatch('app/closeSideBar', { withoutAnimation: false }) this.$store.dispatch('app/closeSideBar', { withoutAnimation: false })
} }
...@@ -95,4 +113,32 @@ export default { ...@@ -95,4 +113,32 @@ export default {
} }
</script> </script>
<style lang="scss" scoped></style> <style lang="scss" scoped>
.footer{
width: 100%;
height: 80px;
background-color: #F4F4F4;
.titleText{
padding: 15px 0;
text-align: center;
color: black;
}
.text_body{
display: flex;
justify-content: center;
.textOne{
cursor: pointer;
color: black;
}
.bottomLogo{
width: 20px;
height: 20px;
margin: 0 10px;
}
.textTwo{
cursor: pointer;
color: black;
}
}
}
</style>
...@@ -166,6 +166,14 @@ ...@@ -166,6 +166,14 @@
</el-form> </el-form>
<!-- 底部 --> <!-- 底部 -->
<div class="el-login-footer" /> <div class="el-login-footer" />
<div class="footer">
<div class="titleText">Copyrights © 2024 All Rights Reserved by</div>
<div class="text_body">
<div class="textOne" @click="handleJumpTextOne">京ICP备xxxxxxx号-1</div>
<img v-if="logo" :src="logo" class="bottomLogo">
<div class="textTwo" @click="handleJumpTextTwo">津公网安备xxxxxxxxxxxxx</div>
</div>
</div>
</div> </div>
</template> </template>
...@@ -180,6 +188,7 @@ export default { ...@@ -180,6 +188,7 @@ export default {
components: { Verify }, components: { Verify },
data() { data() {
return { return {
logo: require('@/assets/image/policeDadgeIcon.png'),
reLocation: '', reLocation: '',
codeUrl: '', codeUrl: '',
cookiePassword: '', cookiePassword: '',
...@@ -214,6 +223,12 @@ export default { ...@@ -214,6 +223,12 @@ export default {
this.getCookie() this.getCookie()
}, },
methods: { methods: {
handleJumpTextOne() {
window.open('https://beian.miit.gov.cn/#/Integrated/index', '_blank')
},
handleJumpTextTwo() {
window.open('https://beian.mps.gov.cn/#/query/webSearch?code=12011602300248', '_blank')
},
goDetail(path) { goDetail(path) {
this.$router.push({ this.$router.push({
path: path, path: path,
...@@ -325,7 +340,40 @@ export default { ...@@ -325,7 +340,40 @@ export default {
} }
</script> </script>
<style rel="stylesheet/scss" lang="scss"> <style rel="stylesheet/scss" lang="scss" scoped>
.footer{
font-size: 14px;
width: 100%;
height: 80px;
background-color: #214E90;
position: fixed;
bottom: 0;
text-align: center;
color: #fff;
letter-spacing: 1px;
.titleText{
padding: 15px 0;
text-align: center;
color: #FFFFFF;
}
.text_body{
display: flex;
justify-content: center;
.textOne{
cursor: pointer;
color: #FFFFFF;
}
.bottomLogo{
width: 20px;
height: 20px;
margin: 0 10px;
}
.textTwo{
cursor: pointer;
color: #FFFFFF;
}
}
}
.my_btn { .my_btn {
position: relative; position: relative;
width: 100%; width: 100%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment