This commit is contained in:
parent
159e8ee95f
commit
96f9e6ca4a
BIN
src/assets/logo/柚子娘-绿.png
Normal file
BIN
src/assets/logo/柚子娘-绿.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 606 KiB |
BIN
src/assets/logo/柚子娘.png
Normal file
BIN
src/assets/logo/柚子娘.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
BIN
src/assets/logo/红色字体.png
Normal file
BIN
src/assets/logo/红色字体.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
BIN
src/assets/logo/绿色字体.png
Normal file
BIN
src/assets/logo/绿色字体.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
@ -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>
|
||||
|
@ -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 }}
|
||||
|
@ -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 周期、内置函数等
|
||||
|
Loading…
Reference in New Issue
Block a user