更新客服图片链接

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

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 71 KiB