提交 26f46413 authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 342fa8d4
......@@ -7,28 +7,22 @@ export default { name: 'AppHeader' }
<template>
<header class="app-header">
<div class="logo">
<router-link to="/"
><img src="https://webapp-pub.ezijing.com/project_online/fdc/fdc_header_logo.png"
/></router-link>
<router-link to="/">
<img src="https://webapp-pub.ezijing.com/project_online/fdc/fdc_header_logo.png" />
</router-link>
</div>
</header>
</template>
<style lang="scss">
.app-header {
height: 64px;
position: absolute;
top: 23px;
left: 72px;
height: 110px;
padding: 0 72px;
z-index: 1000;
display: flex;
align-items: center;
justify-content: space-between;
background-color: #fff;
color: #fff;
.logo {
width: 120px;
height: 100%;
}
}
</style>
......@@ -12,7 +12,6 @@
.app-main {
position: relative;
flex: 1;
top: 110px;
}
.app-main-inner {
margin: 0 auto;
......
......@@ -4,6 +4,7 @@ import { ref } from 'vue'
import CardQuery from '../components/CardQuery.vue'
import StudyLogin from '../components/StudyLogin.vue'
import ManagerLogin from '../components/ManagerLogin.vue'
import { useRoute } from 'vue-router'
const tabList: Array<{ tabName: string }> = [
{
tabName: '证书查询'
......@@ -15,7 +16,9 @@ const tabList: Array<{ tabName: string }> = [
tabName: '管理员登录'
}
]
const activeIndex = ref(1)
const route = useRoute()
const index = route.query.index ? parseInt(route.query.index as string) : 1
const activeIndex = ref(index)
function handleTabChange(index: number) {
activeIndex.value = index
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论