|
@@ -3,7 +3,7 @@
|
|
|
<el-row>
|
|
|
<el-col :span="24" class="main animate__animated animate__backInRight" v-loading="loading">
|
|
|
<div class="left">
|
|
|
- <div class="left_1">
|
|
|
+ <div class="left_1" @click="toHome">
|
|
|
<el-image class="image" v-if="configInfo && configInfo.logoUrl && configInfo.logoUrl.length > 0" :src="getUrl(configInfo.logoUrl)" fit="fill" />
|
|
|
<el-image class="image" v-else :src="siteInfo.logoUrl" fit="fill" />
|
|
|
<div class="left_title">{{ configInfo.zhTitle || siteInfo.zhTitle }}</div>
|
|
@@ -73,6 +73,10 @@ const toOut = () => {
|
|
|
userStore.logOut()
|
|
|
router.push({ path: '/login', query: { status: '1' } })
|
|
|
}
|
|
|
+// 返回首页
|
|
|
+const toHome = () => {
|
|
|
+ router.push({ path: `/` })
|
|
|
+}
|
|
|
const getUrl = (item) => {
|
|
|
if (item && item.length > 0) return `${import.meta.env.VITE_APP_HOST}${item[0].uri}`
|
|
|
}
|
|
@@ -98,6 +102,7 @@ watch(
|
|
|
border-top-right-radius: 40px;
|
|
|
border-bottom-right-radius: 40px;
|
|
|
.left_1 {
|
|
|
+ cursor: default;
|
|
|
padding-top: 20px;
|
|
|
padding-left: 10px;
|
|
|
padding-right: 10px;
|