<template>
    <view class="px-20 relative pt-20">
        <mx-search v-model="queryParams.name" placeholder="请输入院校名称" @search="handleSearch"
                   @clear="handleSearch"/>
    </view>
</template>

<script setup>
import {useInjectVoluntarySearch} from "@/pagesOther/pages/voluntary/hooks/useVoluntarySearchInjection";

const emits = defineEmits(['search'])
const {queryParams} = useInjectVoluntarySearch()

const handleSearch = () => emits('search')
</script>

<style scoped>

</style>