统一退出到门户首页的按钮

This commit is contained in:
郭永超 2025-07-01 11:24:13 +08:00
parent fc6f43627d
commit be5db5ff8f
2 changed files with 8 additions and 3 deletions

View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1751332976710" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9309" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48"><path d="M950.093 487.772L770.318 314.694c-14.382-13.851-35.955-13.851-50.336 0-14.382 13.842-14.382 34.614 0 48.465l118.647 114.228H493.461c-21.573 0-35.955 13.842-35.955 34.614s14.382 34.614 35.955 34.614h345.168L719.99 660.843c-14.382 13.851-14.382 34.623 0 48.465 7.192 6.93 14.382 10.386 25.164 10.386 10.792 0 17.982-3.465 25.173-10.386l179.775-176.535s0-3.465 3.6-3.465c10.782-10.386 10.782-31.149-3.6-41.535z" p-id="9310"></path><path d="M853.01 754.307c-21.573 0-35.955 13.851-35.955 34.614v69.237c0 20.763-14.382 34.614-35.955 34.614H169.865c-21.573 0-35.955-13.851-35.955-34.614V165.841c0-20.763 14.382-34.614 35.955-34.614H781.1c21.573 0 35.955 13.851 35.955 34.614v69.237c0 20.764 14.382 34.614 35.955 34.614s35.955-13.851 35.955-34.614v-69.237c0-58.842-46.736-103.842-107.865-103.842H169.865c-61.119 0-107.865 45-107.865 103.842v692.317C62 917 108.747 962 169.865 962H781.1c61.128 0 107.865-45 107.865-103.842v-69.237c0-20.764-14.382-34.614-35.955-34.614z" p-id="9311"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -6,7 +6,9 @@
<div class="right-menu">
<template v-if="appStore.device !== 'mobile'">
<div class="right-menu-back" @click="goHome()">门户首页</div>
<el-tooltip effect="dark" content="退出" placement="bottom">
<img src="@/assets/images/quit.svg" alt="" class="right-menu-back" @click="goHome" />
</el-tooltip>
<header-search id="header-search" class="right-menu-item" />
@ -164,10 +166,12 @@ function toggleTheme() {
}
.right-menu-back {
width: 20px;
height: 20px;
cursor: pointer;
display: inline-block;
padding-right: 10px;
font-size: 14px;
margin-top: 16px;
margin-right: 5px;
}
.right-menu-back:hover {
color: var(--el-menu-active-color);