28 lines
453 B
Vue
28 lines
453 B
Vue
<template>
|
|
<div
|
|
bg="#fafafc"
|
|
min-h-60
|
|
flex
|
|
items-start
|
|
justify-between
|
|
b-1
|
|
rounded-8
|
|
p-15
|
|
bc-ccc
|
|
dark:bg-black
|
|
h-60
|
|
>
|
|
<n-space wrap :size="[35, 15]">
|
|
<slot />
|
|
</n-space>
|
|
|
|
<div flex-shrink-0>
|
|
<n-button ml-20 size="small" type="primary" @click="emit('search')">搜索</n-button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
const emit = defineEmits(['search', 'reset'])
|
|
</script>
|