From c6dd8dbc948097260355958540ef93a482d1608c Mon Sep 17 00:00:00 2001
From: "chen.home" <1147347984@qq.com>
Date: Sat, 27 Aug 2022 00:12:33 +0800
Subject: [PATCH] =?UTF-8?q?feat(component):=20=E5=B0=81=E8=A3=85=E5=88=86?=
=?UTF-8?q?=E9=A1=B5=E5=99=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
mock/module/list.ts | 2 +-
src/components/{ => common}/NaiveProvider.vue | 0
src/components/{ => custom}/EIcon.vue | 0
src/components/custom/Pagination.vue | 51 +++++++++++++++++++
src/components/{ => custom}/SvgIcon.vue | 0
src/views/list/commonList/index.vue | 42 ++++++++++-----
6 files changed, 80 insertions(+), 15 deletions(-)
rename src/components/{ => common}/NaiveProvider.vue (100%)
rename src/components/{ => custom}/EIcon.vue (100%)
create mode 100644 src/components/custom/Pagination.vue
rename src/components/{ => custom}/SvgIcon.vue (100%)
diff --git a/mock/module/list.ts b/mock/module/list.ts
index 3d02a96..0224086 100644
--- a/mock/module/list.ts
+++ b/mock/module/list.ts
@@ -2,7 +2,7 @@ import Mock from 'mockjs';
import { resultSuccess } from '../utils';
const userList = Mock.mock({
- 'list|20': [
+ 'list|10': [
{
id: '@id',
name: '@cname',
diff --git a/src/components/NaiveProvider.vue b/src/components/common/NaiveProvider.vue
similarity index 100%
rename from src/components/NaiveProvider.vue
rename to src/components/common/NaiveProvider.vue
diff --git a/src/components/EIcon.vue b/src/components/custom/EIcon.vue
similarity index 100%
rename from src/components/EIcon.vue
rename to src/components/custom/EIcon.vue
diff --git a/src/components/custom/Pagination.vue b/src/components/custom/Pagination.vue
new file mode 100644
index 0000000..7b01276
--- /dev/null
+++ b/src/components/custom/Pagination.vue
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
diff --git a/src/components/SvgIcon.vue b/src/components/custom/SvgIcon.vue
similarity index 100%
rename from src/components/SvgIcon.vue
rename to src/components/custom/SvgIcon.vue
diff --git a/src/views/list/commonList/index.vue b/src/views/list/commonList/index.vue
index d0c3f79..4e8ef10 100644
--- a/src/views/list/commonList/index.vue
+++ b/src/views/list/commonList/index.vue
@@ -1,10 +1,10 @@
-
+
- 条件1
+ 条件1
@@ -56,7 +56,8 @@
下载
-
+
+
@@ -65,7 +66,7 @@