update
@ -407,16 +407,23 @@ router.beforeEach(async (to: any, from, next) => {
|
|||||||
'legionProducts', 'devItem', 'tufting', 'Winding', 'Large_Format',
|
'legionProducts', 'devItem', 'tufting', 'Winding', 'Large_Format',
|
||||||
'GetonAgain', 'OffsiteDevList', 'Mechanicschild', 'Mechanicsson', 'historyData', 'jixieHistoryData'
|
'GetonAgain', 'OffsiteDevList', 'Mechanicschild', 'Mechanicsson', 'historyData', 'jixieHistoryData'
|
||||||
]
|
]
|
||||||
if (lang && languageHash(lang) && languageHash(lang) != getStoredLanguage()) {
|
|
||||||
saveStoredLanguage(languageHash(lang))
|
|
||||||
window.location.reload()
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
// 返回 false 以取消导航
|
// 返回 false 以取消导航
|
||||||
if (to.path == "/") {
|
if (to.path == "/") {
|
||||||
sessionStorage.setItem("screen_hash", to.query.hash);
|
sessionStorage.setItem("screen_hash", to.query.hash);
|
||||||
next();
|
next();
|
||||||
} else if (arr.includes(address)) {
|
} else {
|
||||||
|
if (lang && languageHash(lang) && languageHash(lang) != getStoredLanguage()) {
|
||||||
|
saveStoredLanguage(languageHash(lang))
|
||||||
|
window.location.reload()
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
next();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
else if (arr.includes(address)) {
|
||||||
next();
|
next();
|
||||||
} else {
|
} else {
|
||||||
let res: any = await selectPermission({ address, hash })
|
let res: any = await selectPermission({ address, hash })
|
||||||
@ -432,7 +439,7 @@ router.beforeEach(async (to: any, from, next) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
})
|
})
|
||||||
|
|
||||||
// router.beforeEach(async (to: any, from, next) => {
|
// router.beforeEach(async (to: any, from, next) => {
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<div class="float">
|
<div class="float">
|
||||||
<div class="floating1" id="floating">
|
<div class="floating1" id="floating">
|
||||||
<div class="roate">
|
<div class="roate">
|
||||||
<div class="roate-item" id="roate-item">
|
<div class="roate-item1" id="roate-item">
|
||||||
<span class="data">{{ props.allData.data1 }}%</span>
|
<span class="data">{{ props.allData.data1 }}%</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -47,7 +47,7 @@
|
|||||||
<div class="floating4" id="floating">
|
<div class="floating4" id="floating">
|
||||||
<div class="roate">
|
<div class="roate">
|
||||||
<div class="roate-item4" id="roate-item">
|
<div class="roate-item4" id="roate-item">
|
||||||
<span class="data" style="margin: 20px 15px 0 0">{{ props.allData.data4 }}</span>
|
<span class="data">{{ props.allData.data4 }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p class="title">{{ props.allData.title4 }}</p>
|
<p class="title">{{ props.allData.title4 }}</p>
|
||||||
@ -102,7 +102,7 @@ const getData2Style = (data2Value: string) => {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.roate-item {
|
.roate-item1 {
|
||||||
bottom: 70%;
|
bottom: 70%;
|
||||||
background: url(./../img/j1.png) no-repeat center;
|
background: url(./../img/j1.png) no-repeat center;
|
||||||
animation: roate 6s linear infinite;
|
animation: roate 6s linear infinite;
|
||||||
@ -171,7 +171,6 @@ const getData2Style = (data2Value: string) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.data {
|
.data {
|
||||||
margin: 20px 0 0 10px;
|
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
@ -282,7 +282,9 @@ function errWebsocket(val) {
|
|||||||
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
if (thisLang != "简体中文") {
|
||||||
|
videoUrl.value = "https://d.tufting222.cn/video/yzy/micor_edos_english.mp4"
|
||||||
|
}
|
||||||
|
|
||||||
getDeviceProduction()
|
getDeviceProduction()
|
||||||
getmDevList()
|
getmDevList()
|
||||||
|