Skip to content

Commit 95aca8e

Browse files
committed
add view && refine css
1 parent a3a331b commit 95aca8e

File tree

8 files changed

+242
-548
lines changed

8 files changed

+242
-548
lines changed

src/assets/iconfont/iconfont.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,30 @@
1414
'' +
1515
'</symbol>' +
1616
'' +
17+
'<symbol id="icon-zonghe" viewBox="0 0 1024 1024">' +
18+
'' +
19+
'<path d="M770.56 460.8l250.88 0C998.4 220.16 803.84 25.6 563.2 2.56l0 250.88C668.16 273.92 750.08 355.84 770.56 460.8L770.56 460.8zM770.56 460.8" ></path>' +
20+
'' +
21+
'<path d="M460.8 253.44 460.8 2.56C220.16 25.6 25.6 220.16 2.56 460.8l250.88 0C273.92 355.84 355.84 273.92 460.8 253.44L460.8 253.44zM460.8 253.44" ></path>' +
22+
'' +
23+
'<path d="M563.2 770.56l0 250.88c243.2-23.04 435.2-217.6 460.8-460.8l-250.88 0C750.08 668.16 668.16 750.08 563.2 770.56L563.2 770.56zM563.2 770.56" ></path>' +
24+
'' +
25+
'<path d="M253.44 563.2 2.56 563.2c23.04 243.2 217.6 435.2 460.8 460.8l0-250.88C355.84 750.08 273.92 668.16 253.44 563.2L253.44 563.2zM253.44 563.2" ></path>' +
26+
'' +
27+
'</symbol>' +
28+
'' +
1729
'<symbol id="icon-404" viewBox="0 0 1024 1024">' +
1830
'' +
1931
'<path d="M931.6 585.6l0 79c28.6-60.2 44.8-127.4 44.8-198.4C976.4 211 769.4 4 514.2 4S52 211 52 466.2c0 3.2 0.2 6.4 0.2 9.6l166-206 96.4 0L171.8 485.6l46.4 0 0-54.8 99.2-154.6 0 209.4 0 100 0 82.4-99.2 0 0-82.4L67.6 585.6c43 161 170.6 287.4 332.4 328.6-10.4 26.2-40.6 89.4-90.8 100.6-62.2 14 168.8 3.4 333.6-104.6 126.6-36.6 230.8-125.8 287.4-242.2l-97.6 0 0-82.4-166.2 0 0-87.2 0-12.8L666.4 476l166.2-206.2 94 0-140.4 215.8 46.4 0 0-59 99.2-154 0 213.2L931.8 585.6zM366.2 608c-4.8-11.2-7.2-23.2-7.2-36L359 357.6c0-12.8 2.4-24.8 7.2-36 4.8-11.2 11.4-21 19.6-29.2 8.2-8.2 18-14.8 29.2-19.6 11.2-4.8 23.2-7.2 36-7.2l81.6 0c12.8 0 24.8 2.4 36 7.2 11 4.8 20.6 11.2 28.8 19.2l-88.6 129.4 0-23c0-4.8-1.6-8.8-4.8-12-3.2-3.2-7.2-4.8-12-4.8-4.8 0-8.8 1.6-12 4.8-3.2 3.2-4.8 7.2-4.8 12l0 72L372.6 620C370.2 616.2 368 612.2 366.2 608zM624.4 572c0 12.8-2.4 24.8-7.2 36-4.8 11.2-11.4 21-19.6 29.2-8.2 8.2-18 14.8-29.2 19.6-11.2 4.8-23.2 7.2-36 7.2l-81.6 0c-12.8 0-24.8-2.4-36-7.2-11.2-4.8-21-11.4-29.2-19.6-3.6-3.6-7-7.8-10-12l99.2-144.6 0 50.6c0 4.8 1.6 8.8 4.8 12 3.2 3.2 7.2 4.8 12 4.8 4.8 0 8.8-1.6 12-4.8 3.2-3.2 4.8-7.2 4.8-12l0-99.6 92.6-135.2c6.6 7.4 12 15.8 16 25.2 4.8 11.2 7.2 23.2 7.2 36L624.2 572z" ></path>' +
2032
'' +
2133
'</symbol>' +
2234
'' +
35+
'<symbol id="icon-theme" viewBox="0 0 1024 1024">' +
36+
'' +
37+
'<path d="M788.00002 159.831491C756.00002 128 746 128 724.3801 128L642 128C642 128 576 188.923077 512 188.923077 448 188.923077 384 128 384 128L299.204802 128C276.629934 128 266 140.923077 245.847214 159.831491L81.582979 323.871735C70.243732 335.19552 52 371.692308 81.582979 408.655004 81.582979 408.655004 224.023667 540.29784 238.000003 541.53846L238.000003 835.076924C238.000003 868.452352 286.579 896 320 896L706 896C739.419808 896 788.00002 868.452352 788.00002 835.076924L788.00002 541.53846C802.145492 540.385864 942.448564 408.654992 942.448564 408.654992 974.00002 372 965.851264 334.883878 942.448584 311.513109L788.00002 159.831491Z" ></path>' +
38+
'' +
39+
'</symbol>' +
40+
'' +
2341
'<symbol id="icon-EXCEL" viewBox="0 0 1024 1024">' +
2442
'' +
2543
'<path d="M625.664 132.608V199.68h309.76v43.008h-309.76V312.32h309.76v43.008h-309.76v68.608h309.76v43.008h-309.76v68.608h309.76v43.008h-309.76v68.608h309.76v43.008h-309.76v68.096h309.76v43.008h-309.76v89.088H1024v-757.76h-398.336zM0 914.944L577.024 1024V0L0 109.056" ></path>' +

src/router/index.js

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,17 @@ const KeyboardChart2 = resolve => require(['../views/charts/keyboard2'], resolve
3939
const LineMarker = resolve => require(['../views/charts/line'], resolve);
4040
const MixChart = resolve => require(['../views/charts/mixchart'], resolve);
4141

42-
/* excel*/
42+
/* error log*/
4343
const ErrorLog = resolve => require(['../views/errlog/index'], resolve);
4444

4545
/* excel*/
4646
const ExcelDownload = resolve => require(['../views/excel/index'], resolve);
4747

48+
/* theme*/
49+
const Theme = resolve => require(['../views/theme/index'], resolve);
4850

51+
/* example*/
52+
const DynamicTable = resolve => require(['../views/example/dynamictable'], resolve);
4953

5054

5155
/* admin*/
@@ -86,7 +90,7 @@ export default new Router({
8690
name: '组件',
8791
icon: 'zujian',
8892
children: [
89-
{ path: 'index', component: componentsIndex, name: '介绍' },
93+
{ path: 'index', component: componentsIndex, name: '介绍 ' },
9094
{ path: 'tinymce', component: Tinymce, name: '富文本编辑器' },
9195
{ path: 'markdown', component: Markdown, name: 'Markdown' },
9296
{ path: 'jsoneditor', component: JsonEditor, name: 'JSON编辑器' },
@@ -146,6 +150,27 @@ export default new Router({
146150
{ path: 'download', component: ExcelDownload, name: '导出excel' }
147151
]
148152
},
153+
{
154+
path: '/theme',
155+
component: Layout,
156+
redirect: 'noredirect',
157+
name: 'theme',
158+
icon: 'theme',
159+
noDropdown: true,
160+
children: [
161+
{ path: 'index', component: Theme, name: '换肤' }
162+
]
163+
},
164+
{
165+
path: '/example',
166+
component: Layout,
167+
redirect: 'noredirect',
168+
name: '综合实例',
169+
icon: 'zonghe',
170+
children: [
171+
{ path: 'dynamictable', component: DynamicTable, name: '动态table' }
172+
]
173+
},
149174
// {
150175
// path: '/admin',
151176
// component: Layout,

0 commit comments

Comments
 (0)