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. * Created by Jacky.Gao on 2017-10-01.
*/ */
import defaultI18nJsonData from './designer.json'; import defaultI18nJsonData from './designer.json';
import en18nJsonData from './designer_en.json'; import en18nJsonData from './designer_en.json';
export default function buildLocal () { // export default function buildLocal () {
let language = getCookie('language') || 'zh-CN'; // 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; window.i18n = defaultI18nJsonData;
if (language !== 'zh-CN') { if (language !== 'en') {
window.i18n = en18nJsonData; window.i18n = en18nJsonData;
} }
} }

View File

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