Merge remote-tracking branch 'origin/main'

# Conflicts:
#	tzipc-ui/src/views/zf/bigscreen/index.vue
This commit is contained in:
zhanghan11 2024-04-09 16:33:28 +08:00
commit d4483a22cd
3 changed files with 518 additions and 687 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -146,11 +146,12 @@ export default {
created() { created() {
this.getCode(); this.getCode();
this.getCookie(); this.getCookie();
}, },
methods: { methods: {
getTitleBg() { getTitleBg() {
const theme = localStorage.getItem("data-theme") || 'redTheme' const theme = localStorage.getItem("data-theme") || 'default'
window.document.documentElement.setAttribute('data-theme', theme)
window.document.documentElement.setAttribute('class', 'light')
if (theme === 'default') return '/theme/default/loginTitle.png' if (theme === 'default') return '/theme/default/loginTitle.png'
if (theme === 'redTheme') return '/theme/redTheme/loginTitle.png' if (theme === 'redTheme') return '/theme/redTheme/loginTitle.png'
return '/theme/default/loginTitle.png' return '/theme/default/loginTitle.png'

File diff suppressed because it is too large Load Diff