mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
21 lines
538 B
Vue
21 lines
538 B
Vue
<template>
|
|
<div>
|
|
<hover-container tooltip-content="搜索" class="w-40px h-full" @click="handleSearch">
|
|
<icon-uil:search class="text-20px text-[#666]" />
|
|
</hover-container>
|
|
<search-modal v-model:value="show" />
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { useBoolean } from '@/hooks';
|
|
import { HoverContainer } from '@/components';
|
|
import { SearchModal } from './components';
|
|
|
|
const { bool: show, toggle } = useBoolean();
|
|
function handleSearch() {
|
|
toggle();
|
|
}
|
|
</script>
|
|
<style lang="scss" scoped></style>
|