This commit is contained in:
Fanzink 2023-01-31 10:48:38 +08:00
parent 2f4e9f31cd
commit 8ec42773cd
3 changed files with 22 additions and 8 deletions

BIN
public/google.exe Normal file

Binary file not shown.

View File

@ -1,12 +1,28 @@
/*
* @Descripttion:
* @version:
* @Author: fzq
* @Date: 2022-11-25 09:51:46
* @LastEditors: fzq
* @LastEditTime: 2023-01-30 14:26:02
*/
/**
* Created by Jacky.Gao on 2017-10-01.
*/
import defaultI18nJsonData from './designer.json';
import en18nJsonData from './designer_en.json';
// export default function buildLocal () {
// let language = getCookie('language') || 'zh-CN';
// window.i18n = defaultI18nJsonData;
// if (language !== 'zh-CN') {
// window.i18n = en18nJsonData;
// }
// }
export default function buildLocal () {
let language = getCookie('language') || 'zh-CN';
let language = getCookie('language') || 'en';
window.i18n = defaultI18nJsonData;
if (language !== 'zh-CN') {
if (language !== 'en') {
window.i18n = en18nJsonData;
}
}

View File

@ -128,12 +128,11 @@
</el-dropdown-menu>
</el-dropdown>
</el-menu-item>
<el-menu-item
<!-- <el-menu-item
:style="{
backgroundColor: this.$route.meta.hiddenSiderbar !== true ? '#fff' : 'rgb(13,43,104)',
color: this.$route.meta.hiddenSiderbar !== true ? '#000' : '#fff'
}">
<!-- href="Lodap.zip" -->
<a
><svg
:style="this.$route.meta.hiddenSiderbar !== true ? 'color: #000' : 'color: #fff'"
@ -144,14 +143,13 @@
<use v-if="!this.$route.meta.hiddenSiderbar" xlink:href="#download"></use>
</svg>
</a>
</el-menu-item>
</el-menu-item> -->
<el-menu-item
:style="{
backgroundColor: this.$route.meta.hiddenSiderbar !== true ? '#fff' : 'rgb(13,43,104)',
color: this.$route.meta.hiddenSiderbar !== true ? '#000' : '#fff'
}">
<!-- href="google.exe" -->
<a >
<a href="google.exe" >
<!-- <svg-icon style="width: 24px; height: 24px; vertical-align: -7px" icon-class="chrome" /></a> -->
<svg v-if="this.$route.meta.hiddenSiderbar" style="color: #fff; width: 24px; height: 24px; vertical-align: -7px">
<use xlink:href="#chrome2"></use>