fzq #19

Merged
gtz217 merged 2 commits from fzq into develop 2023-02-03 16:52:40 +08:00
3 changed files with 22 additions and 8 deletions
Showing only changes of commit 8ec42773cd - Show all commits

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';
// 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') || '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>