<template>
  <div class="searchWrap">
    <a-input-search
      v-model:value="searchInfo"
      placeholder="请输入"
      enter-button="搜索"
      size="large"
      @search="onSearch"
    />
  </div>
</template>

<script lang="ts" setup>
  import { ref } from 'vue';

  const searchInfo = ref('');
  const onSearch = () => {};
</script>

<style lang="less" scoped>
  .searchWrap {
    width: 500px;
    margin: 0 auto 30px;
  }
</style>
