mirror of
https://gitee.com/gz-yami/mall4v.git
synced 2025-12-26 07:16:27 +08:00
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" href="/favicon.ico" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
<script id="qqMap" charset="utf-8"></script>
|
|
<meta name="renderer" content="webkit">
|
|
<title></title>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<script type="module" src="/src/main.js"></script>
|
|
<script>
|
|
console.log('mall4j.v231106')
|
|
const webConfigData = JSON.parse(localStorage.getItem('b2cWebConfigData'));
|
|
if (webConfigData) {
|
|
let lang = localStorage.getItem('b2cLang')
|
|
if (lang !== 'en') {
|
|
document.title = webConfigData.bsTitleContentCn || ''
|
|
} else {
|
|
document.title = webConfigData.bsTitleContentEn || ''
|
|
}
|
|
let facicon = document.querySelector('link[rel="icon"]')
|
|
if (facicon !== null) {
|
|
facicon.href = webConfigData.bsTitleImg
|
|
} else {
|
|
facicon = document.createElement('link')
|
|
facicon.rel = 'icon'
|
|
facicon.href = webConfigData.bsTitleImg
|
|
document.head.appendChild(facicon)
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|