首页
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m41s

This commit is contained in:
youzi 2024-12-28 08:39:17 +08:00
parent 159e8ee95f
commit 96f9e6ca4a
7 changed files with 9 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -2,8 +2,10 @@
<div class="boxxx flex justify-between items-center md:py-1 h-[50px]" ref="menuH">
<div class="md:hidden flex items-center">
<div class="logo ml-8 mr-20 flex items-center" @click="toHome">
<img class="rounded-full" src="@/assets/柚子娘.jpg" width="40" alt="">
<img src="@/assets/youzi_title.png" width="200" height="50" alt="">
<img v-if="route.path=='/home'" class="rounded-full mr-2" src="@/assets/logo/柚子娘.png" width="35" alt="">
<img v-else class="rounded-full mr-2" src="@/assets/logo/柚子娘-绿.png" width="28" alt="">
<img v-if="route.path=='/home'" src="@/assets/logo/红色字体.png" width="170" alt="">
<img v-else src="@/assets/logo/绿色字体.png" width="170" alt="">
</div>
<n-menu v-model:value="activeKey" :options="menuInfo.options" mode="horizontal" />
</div>

View File

@ -6,9 +6,9 @@
<div class="w-[200px] my-4" v-for="(i, ii) in navList">
<n-button @click="link(i.menuLink)" class="btn w-full hover:text-[white]" type="primary" ghost>
<template #icon>
<img v-if="!i.exp" width="20" height="20" class="mr-2" :src="'https://favicon.im/' + i.menuLink.split('/')[2]" alt="" @error="i.exp = true">
<div :style="{ backgroundColor: i.color }"
class="w-[20px] h-[20px] text-[12px] text-[white] rounded-full flex justify-center items-center"
<img class="rounded mr-2" v-if="!i.exp" width="20" height="20" :src="'https://favicon.im/' + i.menuLink.split('/')[2]" alt="" @error="i.exp = true">
<div :style="{ backgroundColor: '#50C4D3' }"
class="w-[20px] h-[20px] text-[14px] text-[white] rounded-full"
v-else>{{ i.menuName[0] }}</div>
</template>
{{ i.menuName }}

View File

@ -86,12 +86,12 @@ function select() {
}
function downSelect(i) {
if (i == selectOptions.length - 1) item.value[0].focus()
if (i == selectOptions.length - 1) input.value.focus()
else item.value[i + 1].focus()
}
function upSelect(i) {
if (i == 0) item.value[selectOptions.length - 1].focus()
if (i == 0) input.value.focus()
else item.value[i - 1].focus()
}
//mark