refactor: mp comps

This commit is contained in:
xingyu4j
2025-11-13 14:44:08 +08:00
parent 9a53edec8d
commit 1ef38bc8b9
45 changed files with 48 additions and 2678 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts" setup>
import type { Rule } from 'ant-design-vue/es/form';
import type { Reply } from '#/views/mp/components/wx-reply';
import type { Reply } from '#/views/mp/components';
import { computed, ref } from 'vue';
@@ -10,7 +10,7 @@ import { getDictOptions } from '@vben/hooks';
import { Form, FormItem, Input, Select, SelectOption } from 'ant-design-vue';
import { WxReplySelect } from '#/views/mp/components/wx-reply';
import { WxReply } from '#/views/mp/components';
import { MsgType } from './types';
@@ -131,7 +131,7 @@ defineExpose({
/>
</FormItem>
<FormItem label="回复消息">
<WxReplySelect v-model="reply" />
<WxReply v-model="reply" />
</FormItem>
</Form>
</div>

View File

@@ -1,8 +1,10 @@
<script lang="ts" setup>
import { WxMusic } from '#/views/mp/components/wx-music';
import { WxNews } from '#/views/mp/components/wx-news';
import { WxVideoPlayer } from '#/views/mp/components/wx-video-play';
import { WxVoicePlayer } from '#/views/mp/components/wx-voice-play';
import {
WxMusic,
WxNews,
WxVideoPlayer,
WxVoicePlayer,
} from '#/views/mp/components';
// TODO @hw迁移到 /Users/yunai/Java/yudao-ui-admin-vben-v5/apps/web-antd/src/views/mp/autoReply/modules 里;组件名可能要换一个,= = 之前写的不太好;类似 content.vue ?本质是内容~
defineOptions({ name: 'ReplyContentCell' });