更新客服图片链接
This commit is contained in:
parent
9c97e993ef
commit
0a944ca7df
4
.env.dev
4
.env.dev
@ -7,5 +7,5 @@ VITE_AI_SHOP_BASE_URL=http://192.168.0.115:8081
|
||||
VITE_WEBSOCKET_BASE_URL=ws://${VITE_HOST}:7025/copyright
|
||||
# 18634604067
|
||||
VITE_USERID=80d3365e-0597-4988-979e-18ef1c3ec671
|
||||
# VITE_CURRENT_THEME=fzkj
|
||||
VITE_CURRENT_THEME=mzw
|
||||
VITE_CURRENT_THEME=fzkj
|
||||
# VITE_CURRENT_THEME=mzw
|
||||
|
11
index.html
11
index.html
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user