<script setup>
import { ref } from 'vue'
const sheetShow = ref(false);

// 定义一个方法来显示搜索弹出框
const showSearch = () => {
  sheetShow.value = true;
};
showSearch
</script>

<template>
  <div class="positionSearch flex-col">
    <van-popup v-model:show="sheetShow" round class="positionSearchPopup">
      <div class="content">
        <van-form @submit="onSubmit">
          <van-field v-model="userName" name="userName" label="用户名"
            placeholder="请输入用户姓名" />
        </van-form>
      </div>
    </van-popup>
  </div>
</template>

<style scoped></style>