From 2d49f87ceaa6e8c41acef4f6fdec1c9a78140775 Mon Sep 17 00:00:00 2001 From: 100011797 <2642441182@qq.com> Date: Wed, 11 Jan 2023 18:24:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A1=A8=E6=A0=BC=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 6 +- src/components/CardBox/index.vue | 93 ++++++------ src/components/Table/index.vue | 102 +++++++------ src/components/Table/old/index.module.less | 45 ------ src/components/Table/old/index.tsx | 168 --------------------- src/views/demo/index.vue | 6 +- src/views/demo/table/index.vue | 111 ++++++++++---- 7 files changed, 193 insertions(+), 338 deletions(-) delete mode 100644 src/components/Table/old/index.module.less delete mode 100644 src/components/Table/old/index.tsx diff --git a/components.d.ts b/components.d.ts index e30d186c..2ef70390 100644 --- a/components.d.ts +++ b/components.d.ts @@ -7,6 +7,7 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { + AAlert: typeof import('ant-design-vue/es')['Alert'] ABadge: typeof import('ant-design-vue/es')['Badge'] AButton: typeof import('ant-design-vue/es')['Button'] ACard: typeof import('ant-design-vue/es')['Card'] @@ -16,13 +17,12 @@ declare module '@vue/runtime-core' { ADatePicker: typeof import('ant-design-vue/es')['DatePicker'] ADivider: typeof import('ant-design-vue/es')['Divider'] AEmpty: typeof import('ant-design-vue/es')['Empty'] - ADatePicker: typeof import('ant-design-vue/es')['DatePicker'] - ADivider: typeof import('ant-design-vue/es')['Divider'] - AEmpty: typeof import('ant-design-vue/es')['Empty'] AForm: typeof import('ant-design-vue/es')['Form'] AFormItem: typeof import('ant-design-vue/es')['FormItem'] AInput: typeof import('ant-design-vue/es')['Input'] + AInputNumber: typeof import('ant-design-vue/es')['InputNumber'] AInputPassword: typeof import('ant-design-vue/es')['InputPassword'] + AModal: typeof import('ant-design-vue/es')['Modal'] APagination: typeof import('ant-design-vue/es')['Pagination'] APopconfirm: typeof import('ant-design-vue/es')['Popconfirm'] ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup'] diff --git a/src/components/CardBox/index.vue b/src/components/CardBox/index.vue index fc942f65..1cc26f6e 100644 --- a/src/components/CardBox/index.vue +++ b/src/components/CardBox/index.vue @@ -2,17 +2,10 @@
-
+
@@ -27,7 +20,7 @@ -
+
@@ -47,21 +40,12 @@ >
- - -
- -
-
+
- - + + + + +
@@ -89,18 +87,26 @@ diff --git a/src/components/Table/index.vue b/src/components/Table/index.vue index 9a623d59..d352dcc4 100644 --- a/src/components/Table/index.vue +++ b/src/components/Table/index.vue @@ -15,9 +15,13 @@
- +
+ + + +
- - - - +
@@ -46,23 +41,21 @@
- +