|
|
@ -1,7 +1,7 @@
|
|
|
|
<script setup lang='ts'>
|
|
|
|
<script setup lang='ts'>
|
|
|
|
import type { DataTableColumns } from 'naive-ui'
|
|
|
|
import type { DataTableColumns } from 'naive-ui'
|
|
|
|
import { computed, h, ref, watch } from 'vue'
|
|
|
|
import { computed, h, ref, watch } from 'vue'
|
|
|
|
import { NButton, NCard, NDataTable, NDivider, NInput, NLayoutContent, NList, NListItem, NModal, NPopconfirm, NSpace, NTabPane, NTabs, NThing, useMessage } from 'naive-ui'
|
|
|
|
import { NButton, NCard, NDataTable, NDivider, NInput, NList, NListItem, NModal, NPopconfirm, NSpace, NTabPane, NTabs, NThing, useMessage } from 'naive-ui'
|
|
|
|
import PromptRecommend from '../../../assets/recommend.json'
|
|
|
|
import PromptRecommend from '../../../assets/recommend.json'
|
|
|
|
import { SvgIcon } from '..'
|
|
|
|
import { SvgIcon } from '..'
|
|
|
|
import { usePromptStore } from '@/store'
|
|
|
|
import { usePromptStore } from '@/store'
|
|
|
@ -408,17 +408,12 @@ const dataSource = computed(() => {
|
|
|
|
</NButton>
|
|
|
|
</NButton>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<NDivider />
|
|
|
|
<NDivider />
|
|
|
|
<NLayoutContent
|
|
|
|
<div class="max-h-[360px] overflow-y-auto space-y-4">
|
|
|
|
style="height: 360px"
|
|
|
|
|
|
|
|
content-style="background: none;"
|
|
|
|
|
|
|
|
:native-scrollbar="false"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<NCard
|
|
|
|
<NCard
|
|
|
|
v-for="info in promptRecommendList"
|
|
|
|
v-for="info in promptRecommendList"
|
|
|
|
:key="info.key" :title="info.key"
|
|
|
|
:key="info.key" :title="info.key"
|
|
|
|
style="margin: 5px;"
|
|
|
|
|
|
|
|
embedded
|
|
|
|
|
|
|
|
:bordered="true"
|
|
|
|
:bordered="true"
|
|
|
|
|
|
|
|
embedded
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<p
|
|
|
|
<p
|
|
|
|
class="overflow-hidden text-ellipsis whitespace-nowrap"
|
|
|
|
class="overflow-hidden text-ellipsis whitespace-nowrap"
|
|
|
@ -442,7 +437,7 @@ const dataSource = computed(() => {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</NCard>
|
|
|
|
</NCard>
|
|
|
|
</NLayoutContent>
|
|
|
|
</div>
|
|
|
|
</NTabPane>
|
|
|
|
</NTabPane>
|
|
|
|
</NTabs>
|
|
|
|
</NTabs>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|