提交 28d79ea1 编写于 作者: View Design's avatar View Design

io

上级 0a903e12
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
<div class="flex items-center text-xl gap-2"> <div class="flex items-center text-xl gap-2">
<UIcon name="i-heroicons-squares-2x2" /> <UIcon name="i-heroicons-squares-2x2" />
<div>{{ collect }}</div> <div>{{ collect }}</div>
<UBadge color="gray" variant="soft" :label="count" />
</div> </div>
</template> </template>
</div> </div>
...@@ -43,6 +44,10 @@ defineProps({ ...@@ -43,6 +44,10 @@ defineProps({
description: { description: {
type: String, type: String,
default: '' default: ''
},
count: {
type: Number,
default: 0
} }
}) })
const searchQuery = ref('') const searchQuery = ref('')
......
<template> <template>
<div class="w-full items-center flex flex-col"> <div class="w-full items-center flex flex-col">
<ILibraryHeader v-if="currentCollect" :collect="currentCollect.name" :description="currentCollect.description" /> <ILibraryHeader
v-if="currentCollect"
:collect="currentCollect.name"
:description="currentCollect.description"
:count="currentCollect.record_count"
/>
<div class="container max-w-screen-lg flex flex-col p-6"> <div class="container max-w-screen-lg flex flex-col p-6">
<div class="flex gap-10"> <div class="flex gap-10">
<div class="flex flex-col flex-grow"> <div class="flex flex-col flex-grow">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册