Skip to content

Commit 582c6f4

Browse files
committed
refine:set icon-class to english
1 parent 9c2a7e9 commit 582c6f4

30 files changed

+24
-25
lines changed
File renamed without changes.

src/icons/svg/component.svg

Lines changed: 1 addition & 0 deletions
Loading
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/icons/svg/form.svg

Lines changed: 1 addition & 0 deletions
Loading

src/icons/svg/from.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/icons/svg/shouce.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

src/icons/svg/tab.svg

Lines changed: 1 addition & 1 deletion
Loading
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/icons/svg/zujian.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/router/index.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const constantRouterMap = [
3232
path: '/introduction',
3333
component: Layout,
3434
redirect: '/introduction/index',
35-
icon: 'xinrenzhinan',
35+
icon: 'people',
3636
noDropdown: true,
3737
children: [{ path: 'index', component: _import('introduction/index'), name: '简述' }]
3838
}
@@ -50,15 +50,15 @@ export const asyncRouterMap = [
5050
component: Layout,
5151
redirect: '/permission/index',
5252
name: '权限测试',
53-
icon: 'quanxian',
53+
icon: 'lock',
5454
meta: { role: ['admin'] },
5555
noDropdown: true,
5656
children: [{ path: 'index', component: _import('permission/index'), name: '权限测试页', meta: { role: ['admin'] }}]
5757
},
5858
{
5959
path: '/icon',
6060
component: Layout,
61-
icon: 'icons',
61+
icon: 'icon',
6262
noDropdown: true,
6363
children: [{ path: 'index', component: _import('svg-icons/index'), name: 'icons' }]
6464
},
@@ -67,7 +67,7 @@ export const asyncRouterMap = [
6767
component: Layout,
6868
redirect: '/components/index',
6969
name: '组件',
70-
icon: 'zujian',
70+
icon: 'component',
7171
children: [
7272
{ path: 'index', component: _import('components/index'), name: '介绍 ' },
7373
{ path: 'tinymce', component: _import('components/tinymce'), name: '富文本编辑器' },
@@ -88,7 +88,7 @@ export const asyncRouterMap = [
8888
component: Layout,
8989
redirect: '/charts/index',
9090
name: '图表',
91-
icon: 'tubiao',
91+
icon: 'chart',
9292
children: [
9393
{ path: 'index', component: _import('charts/index'), name: '介绍' },
9494
{ path: 'keyboard', component: _import('charts/keyboard'), name: '键盘图表' },
@@ -102,7 +102,7 @@ export const asyncRouterMap = [
102102
component: Layout,
103103
redirect: 'noredirect',
104104
name: '综合实例',
105-
icon: 'zonghe',
105+
icon: 'example',
106106
children: [
107107
{
108108
path: '/example/table',
@@ -117,8 +117,8 @@ export const asyncRouterMap = [
117117
{ path: 'table', component: _import('example/table/table'), name: '综合table' }
118118
]
119119
},
120-
{ path: 'form/edit', icon: 'shouce', component: _import('example/form'), name: '编辑Form', meta: { isEdit: true }},
121-
{ path: 'form/create', icon: 'from', component: _import('example/form'), name: '创建Form' },
120+
{ path: 'form/edit', icon: 'form', component: _import('example/form'), name: '编辑Form', meta: { isEdit: true }},
121+
{ path: 'form/create', icon: 'form', component: _import('example/form'), name: '创建Form' },
122122
{ path: 'tab/index', icon: 'tab', component: _import('example/tab/index'), name: 'Tab' }
123123
]
124124
},
@@ -147,7 +147,7 @@ export const asyncRouterMap = [
147147
component: Layout,
148148
redirect: '/excel/download',
149149
name: 'excel',
150-
icon: 'EXCEL',
150+
icon: 'excel',
151151
children: [
152152
{ path: 'download', component: _import('excel/index'), name: '导出excel' },
153153
{ path: 'download2', component: _import('excel/selectExcel'), name: '导出已选择项' },

src/views/dashboard/admin/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
<div class="info-item">
3535
<count-to class="info-item-num" :startVal='0' :endVal='statisticsData.article_count' :duration='3400'></count-to>
3636
<span class="info-item-text">文章</span>
37-
<icon-svg icon-class="a" class="dashboard-editor-icon"></icon-svg>
37+
<icon-svg icon-class="trendChart1" class="dashboard-editor-icon"></icon-svg>
3838
</div>
3939
<div class="info-item">
4040
<count-to class="info-item-num" :startVal='0' :endVal='statisticsData.pageviews_count' :duration='3600'></count-to>
4141
<span class="info-item-text">浏览量</span>
42-
<icon-svg icon-class="b" class="dashboard-editor-icon"></icon-svg>
42+
<icon-svg icon-class="trendChart2" class="dashboard-editor-icon"></icon-svg>
4343
</div>
4444
</el-card>
4545
</el-col>

src/views/example/tab/components/tabPane.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<el-table-column width="80px" label="重要性">
3131
<template scope="scope">
32-
<icon-svg v-for="n in +scope.row.importance" icon-class="wujiaoxing" :key="n"></icon-svg>
32+
<icon-svg v-for="n in +scope.row.importance" icon-class="star" :key="n"></icon-svg>
3333
</template>
3434
</el-table-column>
3535

src/views/example/table/dragTable.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<el-table-column width="80px" label="重要性">
3131
<template scope="scope">
32-
<icon-svg v-for="n in +scope.row.importance" icon-class="wujiaoxing" class="meta-item__icon" :key="n"></icon-svg>
32+
<icon-svg v-for="n in +scope.row.importance" icon-class="star" class="meta-item__icon" :key="n"></icon-svg>
3333
</template>
3434
</el-table-column>
3535

@@ -47,7 +47,7 @@
4747

4848
<el-table-column align="center" label="拖拽" width="95">
4949
<template scope="scope">
50-
<icon-svg class='drag-handler' icon-class="tuozhuai"></icon-svg>
50+
<icon-svg class='drag-handler' icon-class="drag"></icon-svg>
5151
</template>
5252
</el-table-column>
5353

src/views/example/table/inlineEditTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<el-table-column width="100px" label="重要性">
2525
<template scope="scope">
26-
<icon-svg v-for="n in +scope.row.importance" icon-class="wujiaoxing" class="meta-item__icon" :key="n"></icon-svg>
26+
<icon-svg v-for="n in +scope.row.importance" icon-class="star" class="meta-item__icon" :key="n"></icon-svg>
2727
</template>
2828
</el-table-column>
2929

src/views/example/table/table.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
<el-table-column width="80px" label="重要性">
6262
<template scope="scope">
63-
<icon-svg v-for="n in +scope.row.importance" icon-class="wujiaoxing" class="meta-item__icon" :key="n"></icon-svg>
63+
<icon-svg v-for="n in +scope.row.importance" icon-class="star" class="meta-item__icon" :key="n"></icon-svg>
6464
</template>
6565
</el-table-column>
6666

src/views/login/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55

66
<el-form-item prop="username">
77
<span class="svg-container svg-container_login">
8-
<icon-svg icon-class="yonghuming" />
8+
<icon-svg icon-class="user" />
99
</span>
1010
<el-input name="username" type="text" v-model="loginForm.username" autoComplete="on" placeholder="邮箱" />
1111
</el-form-item>
1212

1313
<el-form-item prop="password">
1414
<span class="svg-container">
15-
<icon-svg icon-class="mima" />
15+
<icon-svg icon-class="password" />
1616
</span>
1717
<el-input name="password" :type="pwdType" @keyup.enter.native="handleLogin" v-model="loginForm.password" autoComplete="on"
1818
placeholder="密码" />
19-
<span class='show-pwd' @click='showPwd'><icon-svg icon-class="yanjing" /></span>
19+
<span class='show-pwd' @click='showPwd'><icon-svg icon-class="eye" /></span>
2020
</el-form-item>
2121

2222
<el-button type="primary" style="width:100%;margin-bottom:30px;" :loading="loading" @click.native.prevent="handleLogin">登录</el-button>

src/views/login/socialsignin.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<template>
22
<div class="social-signup-container">
33
<div class="sign-btn" @click="wechatHandleClick('wechat')">
4-
<span class="wx-svg-container"><icon-svg icon-class="weixin" class="icon"></icon-svg></span> 微信
4+
<span class="wx-svg-container"><icon-svg icon-class="wechat" class="icon"></icon-svg></span> 微信
55
</div>
66
<div class="sign-btn" @click="tencentHandleClick('tencent')">
7-
<span class="qq-svg-container"><icon-svg icon-class="QQ" class="icon"></icon-svg></span> QQ
7+
<span class="qq-svg-container"><icon-svg icon-class="qq" class="icon"></icon-svg></span> QQ
88
</div>
99
</div>
1010
</template>

0 commit comments

Comments
 (0)