style: remove icon activated effects

This commit is contained in:
Hakadao
2023-10-12 01:51:04 +08:00
parent b398605a65
commit 046320252c
2 changed files with 9 additions and 3 deletions

View File

@@ -76,8 +76,10 @@ function toggleDark() {
:class="{ active: activatedPage === dock.page }"
@click="emit('change-page', dock.page)"
>
<Icon v-if="activatedPage === dock.page" :icon="dock.iconActivated" />
<Icon v-else :icon="dock.icon" />
<Icon :icon="dock.icon" />
<!-- <Icon v-if="activatedPage === dock.page" :icon="dock.iconActivated" />
<Icon v-else :icon="dock.icon" /> -->
</button>
</Tooltip>
</template>

View File

@@ -132,6 +132,10 @@ function setCurrentTitle() {
@click="changeMenuItem(menuItem.value)"
>
<Icon
text="xl center" w-40px h-20px flex="~ shrink-0" justify-center
:icon="menuItem.icon"
/>
<!-- <Icon
v-if="menuItem.value === activatedMenuItem"
text="xl center" w-40px h-20px flex="~ shrink-0" justify-center
:icon="menuItem.iconActivated"
@@ -140,7 +144,7 @@ function setCurrentTitle() {
v-else
text="xl center" w-40px h-20px flex="~ shrink-0" justify-center
:icon="menuItem.icon"
/>
/> -->
<span shrink-0>{{ menuItem.title }}</span>
</a>
</li>