1
PC-20250623MANY\Administrator
2025-07-06 580572e6a215291e6bc10faed249d6e13a00e8d8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<template lang="pug">
section.quotes-header.flex.justify-between.p-4.bg-white
    div.flex
        img.w-8.h-8.mr-4(@click="emitSorts" src="@/components/quotes-header/sort.png" alt="sort")
        //- img.w-8.h-8(@click="route('/quotes/edit')" src="@/components/quotes-header/edit.png" alt="edit")
    div
        van-icon.font-bold(name="search" size="32" color="#000" @click="router.push(`/quotes/search?id=${listId}`)")
 
</template>
 
<script setup lang="ts">
import { useRouter } from 'vue-router';
 
const emits = defineEmits(['show-sort'])
const router = useRouter()
const props = defineProps({
    listId: {
        type: String,
        default: ''
    }
})
 
 
//// methods
const emitSorts = () => {
    emits('show-sort')
}
 
 
 
</script>