<template>
  <div class="search-container">
    <div class="search-button" @click="handleShowSearch" />
    <van-popup v-model:show="showSearch" position="top" style="height: 70%">

    </van-popup>
  </div>
</template>

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

const showSearch = ref(false);

const handleShowSearch = () => {
  showSearch.value = true;
}
</script>

<style lang="scss" scoped>
.search-button {
  background: url('@/assets/images/command/search.png') no-repeat;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: 100% 100%;
  cursor: pointer;
  margin-bottom: 10px;
}
</style>
