update ui

This commit is contained in:
zyronon
2023-12-05 15:44:23 +08:00
parent 19564559ee
commit 43b50a28bf
3 changed files with 4 additions and 4 deletions

View File

@@ -10,8 +10,8 @@ function goHome(){
<template>
<div class="logo" @click="goHome">
<img v-show="settingStore.theme === 'light'" src="/logo-text-black.png" alt="">
<img v-show="settingStore.theme !== 'light'" src="/logo-text-white.png" alt="">
<img v-show="settingStore.theme === 'dark'" src="/logo-text-white.png" alt="">
<img v-show="settingStore.theme !== 'dark'" src="/logo-text-black.png" alt="">
</div>
</template>

View File

@@ -25,7 +25,7 @@ onMounted(() => {
<nav class="active">
<router-link to="/dict">词典</router-link>
</nav>
<nav @click.stop="runtimeStore.showSettingModal = true"><a href="javascript;;">设置</a></nav>
<nav @click.stop="runtimeStore.showSettingModal = true"><a href="javascript:void(0)">设置</a></nav>
</div>
<RightTopBar/>
</header>