fix: ele统一风格

This commit is contained in:
hw
2025-11-13 18:35:10 +08:00
parent 7733d0a7f4
commit cdae277868
82 changed files with 823 additions and 1159 deletions

View File

@@ -17,12 +17,12 @@ export function useGridColumns(): VxeTableGridOptions['columns'] {
minWidth: 300,
slots: { default: 'content' },
},
{
field: 'updateTime',
title: '更新时间',
minWidth: 180,
formatter: 'formatDateTime', // TODO @YunaiV 接口返回数据不对需要乘1000
},
// {
// field: 'updateTime',
// title: '更新时间',
// minWidth: 180,
// formatter: 'formatDateTime', // TODO @YunaiV 接口返回数据不对需要乘1000
// },
{
title: '操作',
width: 200,

View File

@@ -230,6 +230,10 @@ const [Grid, gridApi] = useVbenVxeGrid({
.vxe-body--column {
.vxe-cell {
padding: 0;
height: auto !important;
img {
width: 300px !important;
}
}
}
}

View File

@@ -11,7 +11,7 @@ import { useAccessStore } from '@vben/stores';
import { Button, Image, message, Modal, Upload } from 'ant-design-vue';
import { UploadType, useBeforeUpload } from '#/utils/useUpload';
import { MaterialSelect } from '#/views/mp/modules';
import { MaterialSelect } from '#/views/mp/components';
const props = defineProps<{
isFirst: boolean;

View File

@@ -1,7 +1,7 @@
<script lang="ts" setup>
import type { Article } from './types';
import { News } from '#/views/mp/modules';
import { News } from '#/views/mp/components';
defineOptions({ name: 'DraftTableCell' });