feat:【antd】【mp】mp 的代码评审(draft)

This commit is contained in:
YunaiV
2025-11-20 18:40:35 +08:00
parent 5b4d3c9820
commit c39a445d77
14 changed files with 76 additions and 28 deletions

View File

@@ -187,8 +187,10 @@ const [Grid, gridApi] = useVbenVxeGrid({
]"
/>
</template>
<!-- TODO @hw按照微信群沟通的换下卡片的样式 -->
<template #content="{ row }">
<DraftTableCell :row="row" />
<!-- TODO @hw增加一列更新时间 -->
</template>
<template #actions="{ row }">
<TableAction

View File

@@ -133,6 +133,7 @@ function onUploadError(err: Error) {
支持 bmp/png/jpeg/jpg/gif 格式大小不超过 2M
</div>
</div>
<!-- TODO @hw这个貌似不行ele 我试了下可以的 -->
<Modal
v-model:open="dialogVisible"
title="图片选择"

View File

@@ -3,6 +3,7 @@ import type { MpDraftApi } from '#/api/mp/draft';
import { WxNews } from '#/views/mp/components';
// TODO @hw按照微信里说的感觉这个可以干掉。少点组件哈。= = mp 模块,小组件可太多了。。。
defineOptions({ name: 'DraftTableCell' });
const props = defineProps<{

View File

@@ -127,6 +127,7 @@ function plusNews() {
</Button>
</div>
</div>
<!-- TODO @hw1每个文章的选中框太粗了2没完全覆盖住文章最好首个文章和第个文章的情况都看看 -->
<div
class="group relative mx-auto w-full cursor-pointer border-t border-[#eaeaea] bg-white py-[5px]"
v-if="index > 0"
@@ -141,6 +142,8 @@ function plusNews() {
<img class="h-full w-full" :src="news.thumbUrl" />
</div>
</div>
<!-- TODO @hw这里的按钮交互不太对应该在每个卡片的里面或者类似公众号现在的交互放到右侧复现本周如果有 2 个文章的时候 -->
<!-- TODO @hw当有 2 个文章的时候挪到第二个文章的时候卡片会变大期望不变大 -->
<div
class="relative -bottom-[25px] hidden text-center group-hover:block"
>