This commit is contained in:
2025-11-26 15:17:27 +08:00
commit a8e4f56999
350 changed files with 25023 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<template>
<span class="iconfont icon-search search" @click="showDialog"></span>
</template>
<script setup lang="ts">
import { useStore } from '../../store'
const { state } = useStore()
const showDialog = () => {
state.searchDialog = true
state.showDropdownMenu = false
}
</script>
<style scoped lang="less">
.search {
cursor: pointer;
font-size: 2vw;
color: var(--font-color-grey);
transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
&:hover {
transform: translateY(-3px);
}
}
@media (max-width: 768px) {
.search {
font-size: 4vh;
}
}
</style>