diff --git a/src/menu/index.js b/src/menu/index.js index e78d5eca..d3df29ed 100644 --- a/src/menu/index.js +++ b/src/menu/index.js @@ -135,8 +135,9 @@ const demoElement = { children: [ { path: `${pre}basic-layout`, title: '布局' }, { path: `${pre}basic-container`, title: '布局容器' }, - { path: `${pre}basic-color`, title: '颜色' }, + { path: `${pre}basic-color`, title: '色彩' }, { path: `${pre}basic-typography`, title: '字体' }, + { path: `${pre}basic-icon`, title: '图标' }, { path: `${pre}basic-button`, title: '按钮' } ] } diff --git a/src/pages/demo/element/basic-icon/index.vue b/src/pages/demo/element/basic-icon/index.vue new file mode 100644 index 00000000..d981f9c8 --- /dev/null +++ b/src/pages/demo/element/basic-icon/index.vue @@ -0,0 +1,23 @@ + diff --git a/src/pages/demo/element/basic-typography/index.vue b/src/pages/demo/element/basic-typography/index.vue index 4ecce535..8632c179 100644 --- a/src/pages/demo/element/basic-typography/index.vue +++ b/src/pages/demo/element/basic-typography/index.vue @@ -2,9 +2,90 @@ + + + + +

和畅惠风

+
+
+ + + +

和畅惠风

+
+
+ + + +

和畅惠风

+
+
+
+
+ + + + + + +

RGag

+
+
+ + + +

RGag

+
+
+ + + +

RGag

+
+
+
- + +
+ + + + diff --git a/src/router/index.js b/src/router/index.js index df45d017..565c331d 100755 --- a/src/router/index.js +++ b/src/router/index.js @@ -112,6 +112,7 @@ const routes = [ { path: 'basic-container', name: `${pre}basic-container`, component: () => import('@/pages/demo/element/basic-container/index.vue'), meta }, { path: 'basic-color', name: `${pre}basic-color`, component: () => import('@/pages/demo/element/basic-color/index.vue'), meta }, { path: 'basic-typography', name: `${pre}basic-typography`, component: () => import('@/pages/demo/element/basic-typography/index.vue'), meta }, + { path: 'basic-icon', name: `${pre}basic-icon`, component: () => import('@/pages/demo/element/basic-icon/index.vue'), meta }, { path: 'basic-button', name: `${pre}basic-button`, component: () => import('@/pages/demo/element/basic-button/index.vue'), meta }, { path: 'index', name: `${pre}index`, component: () => import('@/pages/demo/element/index/index.vue'), meta } ])('demo-element-')