fix: doc slot

This commit is contained in:
xingyu4j
2025-11-13 17:44:44 +08:00
parent 8a4af8c55b
commit 83a5ca15b5
8 changed files with 145 additions and 118 deletions

View File

@@ -82,10 +82,12 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template>
<Page auto-content-height>
<template #doc>
<DocAlert
title="会员等级、积分、签到"
url="https://doc.iocoder.cn/member/level/"
/>
</template>
<FormModal @success="handleRefresh" />
<Grid table-title="等级列表">

View File

@@ -42,10 +42,12 @@ const [Grid] = useVbenVxeGrid({
<template>
<Page auto-content-height>
<template #doc>
<DocAlert
title="会员等级、积分、签到"
url="https://doc.iocoder.cn/member/level/"
/>
</template>
<Grid table-title="积分记录列表" />
</Page>

View File

@@ -176,7 +176,9 @@ onMounted(async () => {
<template>
<Page auto-content-height>
<template #doc>
<DocAlert title="自动回复" url="https://doc.iocoder.cn/mp/auto-reply/" />
</template>
<FormModal @success="handleRefresh" />

View File

@@ -99,8 +99,9 @@ async function handleDelete(id: number) {
<template>
<Page auto-content-height>
<div class="h-full">
<!-- 搜索工作栏 -->
<Card class="mb-4" :bordered="false">
<Card class="h-[10%]" :bordered="false">
<Form :model="queryParams" layout="inline">
<Form.Item label="公众号">
<WxAccountSelect @change="onAccountChanged" />
@@ -108,7 +109,7 @@ async function handleDelete(id: number) {
</Form>
</Card>
<Card :bordered="false">
<Card :bordered="false" class="mt-4 h-[90%]">
<Tabs v-model:active-key="type" @change="onTabChange">
<!-- tab 1图片 -->
<Tabs.TabPane :key="UploadType.Image">
@@ -126,7 +127,11 @@ async function handleDelete(id: number) {
支持 bmp/png/jpeg/jpg/gif 格式大小不超过 2M
</UploadFile>
<!-- 列表 -->
<ImageTable :list="list" :loading="loading" @delete="handleDelete" />
<ImageTable
:list="list"
:loading="loading"
@delete="handleDelete"
/>
<!-- 分页组件 -->
<div class="mt-4 flex justify-end">
<Pagination
@@ -156,7 +161,11 @@ async function handleDelete(id: number) {
格式支持 mp3/wma/wav/amr文件大小不超过 2M播放长度不超过 60s
</UploadFile>
<!-- 列表 -->
<VoiceTable :list="list" :loading="loading" @delete="handleDelete" />
<VoiceTable
:list="list"
:loading="loading"
@delete="handleDelete"
/>
<!-- 分页组件 -->
<div class="mt-4 flex justify-end">
<Pagination
@@ -188,7 +197,11 @@ async function handleDelete(id: number) {
<!-- 新建视频的弹窗 -->
<UploadVideo v-model:open="showCreateVideo" @uploaded="getList" />
<!-- 列表 -->
<VideoTable :list="list" :loading="loading" @delete="handleDelete" />
<VideoTable
:list="list"
:loading="loading"
@delete="handleDelete"
/>
<!-- 分页组件 -->
<div class="mt-4 flex justify-end">
<Pagination
@@ -203,5 +216,6 @@ async function handleDelete(id: number) {
</Tabs.TabPane>
</Tabs>
</Card>
</div>
</Page>
</template>

View File

@@ -81,11 +81,12 @@ const [Grid, gridApi] = useVbenVxeGrid({
<template>
<Page auto-content-height>
<template #doc>
<DocAlert
title="会员等级、积分、签到"
url="https://doc.iocoder.cn/member/level/"
/>
</template>
<FormModal @success="handleRefresh" />
<Grid table-title="等级列表">
<template #toolbar-tools>

View File

@@ -42,10 +42,12 @@ const [Grid] = useVbenVxeGrid({
<template>
<Page auto-content-height>
<template #doc>
<DocAlert
title="会员等级、积分、签到"
url="https://doc.iocoder.cn/member/level/"
/>
</template>
<Grid table-title="积分记录列表" />
</Page>

View File

@@ -166,7 +166,9 @@ onMounted(async () => {
<template>
<Page auto-content-height>
<template #doc>
<DocAlert title="自动回复" url="https://doc.iocoder.cn/mp/auto-reply/" />
</template>
<!-- tab 切换 -->
<ContentWrap>

View File

@@ -239,7 +239,9 @@ onMounted(async () => {
<template>
<Page auto-content-height>
<template #doc>
<DocAlert title="公众号图文" url="https://doc.iocoder.cn/mp/article/" />
</template>
<FormModal
@success="