diff --git a/src/views/demo/base/dialog/index.vue b/src/views/demo/base/dialog/index.vue
deleted file mode 100644
index a5f45bf..0000000
--- a/src/views/demo/base/dialog/index.vue
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
- 删除
-
-
-
-
diff --git a/src/views/demo/base/index.vue b/src/views/demo/base/index.vue
new file mode 100644
index 0000000..b87eaa9
--- /dev/null
+++ b/src/views/demo/base/index.vue
@@ -0,0 +1,89 @@
+
+
+
+
+
+ Default
+ Tertiary
+ Primary
+ Info
+ Success
+ Warning
+ Error
+
+
+
+
+
+ 新增
+
+ 删除
+
+
+ 编辑
+
+ 查看
+
+
+
+
+
+
+
+ 信息
+ 成功
+ 警告
+ 错误
+
+
+
+
+ 删除
+
+
+
+
+
+ 登陆
+
+
+
+
+
+
+
diff --git a/src/views/demo/base/keep-alive/index.vue b/src/views/demo/base/keep-alive/index.vue
index 387ebb6..2d253ba 100644
--- a/src/views/demo/base/keep-alive/index.vue
+++ b/src/views/demo/base/keep-alive/index.vue
@@ -1,8 +1,9 @@
-
+
+
注:右击标签重新加载可重置keep-alive
diff --git a/src/views/demo/base/message/index.vue b/src/views/demo/base/message/index.vue
deleted file mode 100644
index c083083..0000000
--- a/src/views/demo/base/message/index.vue
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
- 登陆
-
-
-
-
-
diff --git a/src/views/demo/base/route.js b/src/views/demo/base/route.js
index 00581a7..e2bf675 100644
--- a/src/views/demo/base/route.js
+++ b/src/views/demo/base/route.js
@@ -4,37 +4,28 @@ export default {
name: 'Test',
path: '/base',
component: Layout,
- redirect: '/base/unocss',
+ redirect: '/base/index',
meta: {
title: '基础功能',
- customIcon: 'logo',
+ icon: 'majesticons:compass-line',
order: 1,
},
children: [
+ {
+ name: 'BaseComponents',
+ path: 'idnex',
+ component: () => import('./index.vue'),
+ meta: {
+ title: '基础组件',
+ icon: 'material-symbols:auto-awesome-outline-rounded',
+ },
+ },
{
name: 'Unocss',
path: 'unocss',
component: () => import('./unocss/index.vue'),
meta: {
- title: '测试unocss',
- icon: 'material-symbols:auto-awesome-outline-rounded',
- },
- },
- {
- name: 'Message',
- path: 'message',
- component: () => import('./message/index.vue'),
- meta: {
- title: '测试Message',
- icon: 'material-symbols:auto-awesome-outline-rounded',
- },
- },
- {
- name: 'Dialog',
- path: 'dialog',
- component: () => import('./dialog/index.vue'),
- meta: {
- title: '测试Dialog',
+ title: 'Unocss',
icon: 'material-symbols:auto-awesome-outline-rounded',
},
},
diff --git a/src/views/demo/base/unocss/index.vue b/src/views/demo/base/unocss/index.vue
index 65d6dc1..65067de 100644
--- a/src/views/demo/base/unocss/index.vue
+++ b/src/views/demo/base/unocss/index.vue
@@ -61,6 +61,6 @@
-
Flex 骰子
+ Flex 骰子