This commit is contained in:
jianzhichu
2025-11-12 23:09:53 +08:00
parent 31d0198cc3
commit f7b9c96b08
26 changed files with 238 additions and 109 deletions
+14 -11
View File
@@ -1,6 +1,6 @@
<template>
<ThemeProvider is-root v-bind="themeConfig" :apply-style="false">
<stepin-view system-name="dy.sync.net" :class="`${contentClass}`" :user="user" :navMode="navigation" :useTabs="useTabs" :themeList="themeList" v-model:show-setting="showSetting" v-model:theme="theme" @themeSelect="configTheme" logo-src="@/assets/logo1.png">
<stepin-view system-name="抖音小帮手" :class="`${contentClass}`" :user="user" :navMode="navigation" :useTabs="useTabs" :themeList="themeList" v-model:show-setting="showSetting" v-model:theme="theme" @themeSelect="configTheme" logo-src="@/assets/logo.png">
<template #headerActions>
<HeaderActions @showSetting="showSetting = true" />
</template>
@@ -85,16 +85,16 @@ onMounted(() => {
.apiCheckInitStatus()
.then((res) => {
if (res.code === 0) {
useApiStore()
.apiUserInfo()
.then((res) => {
if (res.code === 0 && res.code !== '') {
if (res.data.avatar && res.data.avatar != null) {
user.avatar = `/upload/${res.data.avatar}`;
}
user.name = res.data.userName;
}
});
// useApiStore()
// .apiUserInfo()
// .then((res) => {
// if (res.code === 0 && res.code !== '') {
// if (res.data.avatar && res.data.avatar != null) {
// user.avatar = `/upload/${res.data.avatar}`;
// }
// user.name = res.data.userName;
// }
// });
}
});
});
@@ -123,6 +123,9 @@ onMounted(() => {
border-radius: 4px;
background: theme('backgroundColor.layout');
}
.system-name {
// color: #16213e !important;
}
}
html {