更新客服图片链接

This commit is contained in:
lyp 2025-05-12 17:49:40 +08:00
commit a343b15ac6
3 changed files with 15 additions and 9 deletions

View File

@ -8,8 +8,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="fonts/font-awesome/css/font-awesome.css" />
<title id="page-title"></title>
</head>
<script type="module">
<script type="module">
// import { env } from 'vite';
const titleElement = document.getElementById('page-title');
if (titleElement) {
if (THEME === 'fzkj') {
@ -19,11 +21,12 @@
}
}
const logoElement = document.getElementById('logo');
if (logoElement) {
if (THEME === 'fzkj') {
logoElement.href = '/fzkj.svg';
} else if (THEME ==='mzw') {
logoElement.href = '/miao.svg';
logoElement.href = `${import.meta.env.BASE_URL}fzkj.svg`;
} else if (THEME === 'mzw') {
logoElement.href = `${import.meta.env.BASE_URL}miao.svg`;
}
}
</script>

View File

@ -140,7 +140,8 @@ import InvoiceList from "../../components/invoice/InvoiceList.tsx";
import logoImg from '@theme/img/head/logo.png'
// import userImg from '../../static/homeimg/userimg.png'
import kf from '../../static/head/kf.png'
import kfImg from '../../static/head/kfImg.png'
// import kfImg from '../../static/head/kfImg.png'//@theme/img/right/set.png
import kfImg from '@theme/img/head/kfImg.png'
import headBg from '@theme/img/head/background.png';
import { reMenuActive } from '../../util/cache';
// import BelongPeople from '../../components/BelongPeople/BelongPeople.tsx'
@ -1876,14 +1877,16 @@ export default function Head() {
</div>
<div className='kfHttp' >
<span></span><span className='kfHttpText' onClick={
() => {
if (THEME == 'mzw') {
window.open('https://work.weixin.qq.com/kfid/kfc599f9d40b65ac392')
}
if (THEME =='fzkj') {
window.open('https://work.weixin.qq.com/kfid/kfc2ea0c81bfb1a956c')
} else {
if (THEME == 'fzkj') {
window.open('https://work.weixin.qq.com/kfid/kfc2ea0c81bfb1a956c')
}
}
}
}></span>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 71 KiB