57 lines
978 B
Vue
57 lines
978 B
Vue
<script lang="ts" setup>
|
|
import { useRouter } from 'vue-router'
|
|
import useUserStore from '@/store/modules/user'
|
|
const userStore = useUserStore()
|
|
const router = useRouter()
|
|
|
|
const goHome = () => {
|
|
if(userStore.userType != 'system'){
|
|
router.push('/index')
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<div class="logo">
|
|
小程序聊天管理
|
|
</div>
|
|
</template>
|
|
|
|
<style lang="scss" scoped>
|
|
.logo {
|
|
width: 100%;
|
|
// height: $base-menu-logo-height;
|
|
padding: 25px 10px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
|
|
// box-shadow: 1px 0 0 rgb(150 150 150 / 20%);
|
|
.logo-img {
|
|
width: $base-menu-logo-height;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
cursor: pointer;
|
|
img {
|
|
height: $base-menu-logo-size;
|
|
width: $base-menu-logo-size;
|
|
}
|
|
}
|
|
|
|
.logo-title {
|
|
font-weight: 500;
|
|
}
|
|
}</style>
|
|
<style lang="scss">
|
|
.-bosch{
|
|
.logo{
|
|
.logo-img{
|
|
display: none;
|
|
|
|
}
|
|
}
|
|
}
|
|
</style>
|