fix: doc slot
This commit is contained in:
@@ -82,10 +82,12 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Page auto-content-height>
|
<Page auto-content-height>
|
||||||
|
<template #doc>
|
||||||
<DocAlert
|
<DocAlert
|
||||||
title="会员等级、积分、签到"
|
title="会员等级、积分、签到"
|
||||||
url="https://doc.iocoder.cn/member/level/"
|
url="https://doc.iocoder.cn/member/level/"
|
||||||
/>
|
/>
|
||||||
|
</template>
|
||||||
|
|
||||||
<FormModal @success="handleRefresh" />
|
<FormModal @success="handleRefresh" />
|
||||||
<Grid table-title="等级列表">
|
<Grid table-title="等级列表">
|
||||||
|
|||||||
@@ -42,10 +42,12 @@ const [Grid] = useVbenVxeGrid({
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Page auto-content-height>
|
<Page auto-content-height>
|
||||||
|
<template #doc>
|
||||||
<DocAlert
|
<DocAlert
|
||||||
title="会员等级、积分、签到"
|
title="会员等级、积分、签到"
|
||||||
url="https://doc.iocoder.cn/member/level/"
|
url="https://doc.iocoder.cn/member/level/"
|
||||||
/>
|
/>
|
||||||
|
</template>
|
||||||
|
|
||||||
<Grid table-title="积分记录列表" />
|
<Grid table-title="积分记录列表" />
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
@@ -176,7 +176,9 @@ onMounted(async () => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Page auto-content-height>
|
<Page auto-content-height>
|
||||||
|
<template #doc>
|
||||||
<DocAlert title="自动回复" url="https://doc.iocoder.cn/mp/auto-reply/" />
|
<DocAlert title="自动回复" url="https://doc.iocoder.cn/mp/auto-reply/" />
|
||||||
|
</template>
|
||||||
|
|
||||||
<FormModal @success="handleRefresh" />
|
<FormModal @success="handleRefresh" />
|
||||||
|
|
||||||
|
|||||||
@@ -99,8 +99,9 @@ async function handleDelete(id: number) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Page auto-content-height>
|
<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 :model="queryParams" layout="inline">
|
||||||
<Form.Item label="公众号">
|
<Form.Item label="公众号">
|
||||||
<WxAccountSelect @change="onAccountChanged" />
|
<WxAccountSelect @change="onAccountChanged" />
|
||||||
@@ -108,7 +109,7 @@ async function handleDelete(id: number) {
|
|||||||
</Form>
|
</Form>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
<Card :bordered="false">
|
<Card :bordered="false" class="mt-4 h-[90%]">
|
||||||
<Tabs v-model:active-key="type" @change="onTabChange">
|
<Tabs v-model:active-key="type" @change="onTabChange">
|
||||||
<!-- tab 1:图片 -->
|
<!-- tab 1:图片 -->
|
||||||
<Tabs.TabPane :key="UploadType.Image">
|
<Tabs.TabPane :key="UploadType.Image">
|
||||||
@@ -126,7 +127,11 @@ async function handleDelete(id: number) {
|
|||||||
支持 bmp/png/jpeg/jpg/gif 格式,大小不超过 2M
|
支持 bmp/png/jpeg/jpg/gif 格式,大小不超过 2M
|
||||||
</UploadFile>
|
</UploadFile>
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<ImageTable :list="list" :loading="loading" @delete="handleDelete" />
|
<ImageTable
|
||||||
|
:list="list"
|
||||||
|
:loading="loading"
|
||||||
|
@delete="handleDelete"
|
||||||
|
/>
|
||||||
<!-- 分页组件 -->
|
<!-- 分页组件 -->
|
||||||
<div class="mt-4 flex justify-end">
|
<div class="mt-4 flex justify-end">
|
||||||
<Pagination
|
<Pagination
|
||||||
@@ -156,7 +161,11 @@ async function handleDelete(id: number) {
|
|||||||
格式支持 mp3/wma/wav/amr,文件大小不超过 2M,播放长度不超过 60s
|
格式支持 mp3/wma/wav/amr,文件大小不超过 2M,播放长度不超过 60s
|
||||||
</UploadFile>
|
</UploadFile>
|
||||||
<!-- 列表 -->
|
<!-- 列表 -->
|
||||||
<VoiceTable :list="list" :loading="loading" @delete="handleDelete" />
|
<VoiceTable
|
||||||
|
:list="list"
|
||||||
|
:loading="loading"
|
||||||
|
@delete="handleDelete"
|
||||||
|
/>
|
||||||
<!-- 分页组件 -->
|
<!-- 分页组件 -->
|
||||||
<div class="mt-4 flex justify-end">
|
<div class="mt-4 flex justify-end">
|
||||||
<Pagination
|
<Pagination
|
||||||
@@ -188,7 +197,11 @@ async function handleDelete(id: number) {
|
|||||||
<!-- 新建视频的弹窗 -->
|
<!-- 新建视频的弹窗 -->
|
||||||
<UploadVideo v-model:open="showCreateVideo" @uploaded="getList" />
|
<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">
|
<div class="mt-4 flex justify-end">
|
||||||
<Pagination
|
<Pagination
|
||||||
@@ -203,5 +216,6 @@ async function handleDelete(id: number) {
|
|||||||
</Tabs.TabPane>
|
</Tabs.TabPane>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
</Card>
|
</Card>
|
||||||
|
</div>
|
||||||
</Page>
|
</Page>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -81,11 +81,12 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Page auto-content-height>
|
<Page auto-content-height>
|
||||||
|
<template #doc>
|
||||||
<DocAlert
|
<DocAlert
|
||||||
title="会员等级、积分、签到"
|
title="会员等级、积分、签到"
|
||||||
url="https://doc.iocoder.cn/member/level/"
|
url="https://doc.iocoder.cn/member/level/"
|
||||||
/>
|
/>
|
||||||
|
</template>
|
||||||
<FormModal @success="handleRefresh" />
|
<FormModal @success="handleRefresh" />
|
||||||
<Grid table-title="等级列表">
|
<Grid table-title="等级列表">
|
||||||
<template #toolbar-tools>
|
<template #toolbar-tools>
|
||||||
|
|||||||
@@ -42,10 +42,12 @@ const [Grid] = useVbenVxeGrid({
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Page auto-content-height>
|
<Page auto-content-height>
|
||||||
|
<template #doc>
|
||||||
<DocAlert
|
<DocAlert
|
||||||
title="会员等级、积分、签到"
|
title="会员等级、积分、签到"
|
||||||
url="https://doc.iocoder.cn/member/level/"
|
url="https://doc.iocoder.cn/member/level/"
|
||||||
/>
|
/>
|
||||||
|
</template>
|
||||||
|
|
||||||
<Grid table-title="积分记录列表" />
|
<Grid table-title="积分记录列表" />
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
@@ -166,7 +166,9 @@ onMounted(async () => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Page auto-content-height>
|
<Page auto-content-height>
|
||||||
|
<template #doc>
|
||||||
<DocAlert title="自动回复" url="https://doc.iocoder.cn/mp/auto-reply/" />
|
<DocAlert title="自动回复" url="https://doc.iocoder.cn/mp/auto-reply/" />
|
||||||
|
</template>
|
||||||
|
|
||||||
<!-- tab 切换 -->
|
<!-- tab 切换 -->
|
||||||
<ContentWrap>
|
<ContentWrap>
|
||||||
|
|||||||
@@ -239,7 +239,9 @@ onMounted(async () => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Page auto-content-height>
|
<Page auto-content-height>
|
||||||
|
<template #doc>
|
||||||
<DocAlert title="公众号图文" url="https://doc.iocoder.cn/mp/article/" />
|
<DocAlert title="公众号图文" url="https://doc.iocoder.cn/mp/article/" />
|
||||||
|
</template>
|
||||||
|
|
||||||
<FormModal
|
<FormModal
|
||||||
@success="
|
@success="
|
||||||
|
|||||||
Reference in New Issue
Block a user