Commit 5dc8226ce14559f48f8b979809f8a054ce7935e5

Authored by 陈小婷
1 parent 7bae4c37

fix: 整体图标调整

mock/sys/menu.ts
@@ -9,7 +9,7 @@ const dashboardRoute = { @@ -9,7 +9,7 @@ const dashboardRoute = {
9 meta: { 9 meta: {
10 title: 'routes.dashboard.welcome', 10 title: 'routes.dashboard.welcome',
11 affix: true, 11 affix: true,
12 - icon: 'ant-design:home-outlined', 12 + icon: 'bx:bx-home',
13 }, 13 },
14 }; 14 };
15 15
src/components/Upload/src/BasicUpload.vue
1 <template> 1 <template>
2 <div> 2 <div>
3 <a-button-group> 3 <a-button-group>
4 - <a-button type="primary" @click="openUploadModal" preIcon="ant-design:cloud-upload-outlined"> 4 + <a-button type="primary" @click="openUploadModal" preIcon="carbon:cloud-upload">
5 {{ t('component.upload.upload') }} 5 {{ t('component.upload.upload') }}
6 </a-button> 6 </a-button>
7 <Tooltip placement="bottom" v-if="showPreview"> 7 <Tooltip placement="bottom" v-if="showPreview">
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 <template v-if="fileListRef.length">{{ fileListRef.length }}</template> 10 <template v-if="fileListRef.length">{{ fileListRef.length }}</template>
11 </template> 11 </template>
12 <a-button @click="openPreviewModal"> 12 <a-button @click="openPreviewModal">
13 - <Icon icon="ant-design:eye-outlined" /> 13 + <Icon icon="bi:eye" />
14 <template v-if="fileListRef.length && showPreviewNumber"> 14 <template v-if="fileListRef.length && showPreviewNumber">
15 {{ fileListRef.length }} 15 {{ fileListRef.length }}
16 </template> 16 </template>
src/layouts/default/header/UserDropdown.tsx
@@ -103,7 +103,7 @@ export default defineComponent({ @@ -103,7 +103,7 @@ export default defineComponent({
103 <MenuItem 103 <MenuItem
104 key="loginOut" 104 key="loginOut"
105 text={t('layout.header.dropdownItemLoginOut')} 105 text={t('layout.header.dropdownItemLoginOut')}
106 - icon="ant-design:poweroff-outlined" 106 + icon="carbon:power"
107 /> 107 />
108 </> 108 </>
109 )} 109 )}
src/layouts/default/multitabs/useTabDropdown.ts
@@ -62,40 +62,40 @@ export function useTabDropdown(tabContentProps: TabContentProps) { @@ -62,40 +62,40 @@ export function useTabDropdown(tabContentProps: TabContentProps) {
62 index === tabStore.getTabsState.length - 1 && tabStore.getLastDragEndIndexState >= 0; 62 index === tabStore.getTabsState.length - 1 && tabStore.getLastDragEndIndexState >= 0;
63 const dropMenuList: DropMenu[] = [ 63 const dropMenuList: DropMenu[] = [
64 { 64 {
65 - icon: 'ant-design:reload-outlined', 65 + icon: 'ion:reload-sharp',
66 event: MenuEventEnum.REFRESH_PAGE, 66 event: MenuEventEnum.REFRESH_PAGE,
67 text: t('layout.multipleTab.redo'), 67 text: t('layout.multipleTab.redo'),
68 disabled: refreshDisabled, 68 disabled: refreshDisabled,
69 }, 69 },
70 { 70 {
71 - icon: 'ant-design:close-outlined', 71 + icon: 'clarity:close-line',
72 event: MenuEventEnum.CLOSE_CURRENT, 72 event: MenuEventEnum.CLOSE_CURRENT,
73 text: t('layout.multipleTab.close'), 73 text: t('layout.multipleTab.close'),
74 disabled: meta?.affix || disabled, 74 disabled: meta?.affix || disabled,
75 divider: true, 75 divider: true,
76 }, 76 },
77 { 77 {
78 - icon: 'ant-design:pic-left-outlined', 78 + icon: 'line-md:arrow-close-left',
79 event: MenuEventEnum.CLOSE_LEFT, 79 event: MenuEventEnum.CLOSE_LEFT,
80 text: t('layout.multipleTab.closeLeft'), 80 text: t('layout.multipleTab.closeLeft'),
81 disabled: closeLeftDisabled, 81 disabled: closeLeftDisabled,
82 divider: false, 82 divider: false,
83 }, 83 },
84 { 84 {
85 - icon: 'ant-design:pic-right-outlined', 85 + icon: 'line-md:arrow-close-right',
86 event: MenuEventEnum.CLOSE_RIGHT, 86 event: MenuEventEnum.CLOSE_RIGHT,
87 text: t('layout.multipleTab.closeRight'), 87 text: t('layout.multipleTab.closeRight'),
88 disabled: closeRightDisabled, 88 disabled: closeRightDisabled,
89 divider: true, 89 divider: true,
90 }, 90 },
91 { 91 {
92 - icon: 'ant-design:pic-center-outlined', 92 + icon: 'dashicons:align-center',
93 event: MenuEventEnum.CLOSE_OTHER, 93 event: MenuEventEnum.CLOSE_OTHER,
94 text: t('layout.multipleTab.closeOther'), 94 text: t('layout.multipleTab.closeOther'),
95 disabled: disabled, 95 disabled: disabled,
96 }, 96 },
97 { 97 {
98 - icon: 'ant-design:line-outlined', 98 + icon: 'clarity:minus-line',
99 event: MenuEventEnum.CLOSE_ALL, 99 event: MenuEventEnum.CLOSE_ALL,
100 text: t('layout.multipleTab.closeAll'), 100 text: t('layout.multipleTab.closeAll'),
101 disabled: disabled, 101 disabled: disabled,
src/router/routes/index.ts
@@ -20,7 +20,7 @@ const MainRoute: AppRouteModule = { @@ -20,7 +20,7 @@ const MainRoute: AppRouteModule = {
20 component: LAYOUT, 20 component: LAYOUT,
21 redirect: PageEnum.BASE_HOME, 21 redirect: PageEnum.BASE_HOME,
22 meta: { 22 meta: {
23 - icon: 'ant-design:home-outlined', 23 + icon: 'bx:bx-home',
24 title: 'routes.dashboard.dashboard', 24 title: 'routes.dashboard.dashboard',
25 }, 25 },
26 }; 26 };
src/router/routes/modules/dashboard.ts
@@ -8,7 +8,7 @@ const dashboard: AppRouteModule = { @@ -8,7 +8,7 @@ const dashboard: AppRouteModule = {
8 component: LAYOUT, 8 component: LAYOUT,
9 redirect: '/dashboard/welcome', 9 redirect: '/dashboard/welcome',
10 meta: { 10 meta: {
11 - icon: 'ant-design:home-outlined', 11 + icon: 'bx:bx-home',
12 title: 'routes.dashboard.dashboard', 12 title: 'routes.dashboard.dashboard',
13 }, 13 },
14 children: [ 14 children: [
src/router/routes/modules/demo/charts.ts
@@ -8,7 +8,7 @@ const charts: AppRouteModule = { @@ -8,7 +8,7 @@ const charts: AppRouteModule = {
8 component: LAYOUT, 8 component: LAYOUT,
9 redirect: '/charts/apexChart', 9 redirect: '/charts/apexChart',
10 meta: { 10 meta: {
11 - icon: 'ant-design:area-chart-outlined', 11 + icon: 'vaadin:spline-area-chart',
12 title: 'routes.demo.charts.charts', 12 title: 'routes.demo.charts.charts',
13 }, 13 },
14 children: [ 14 children: [
src/router/routes/modules/demo/comp.ts
@@ -8,7 +8,7 @@ const comp: AppRouteModule = { @@ -8,7 +8,7 @@ const comp: AppRouteModule = {
8 component: LAYOUT, 8 component: LAYOUT,
9 redirect: '/comp/basic', 9 redirect: '/comp/basic',
10 meta: { 10 meta: {
11 - icon: 'ant-design:table-outlined', 11 + icon: 'ic:outline-settings-input-component',
12 title: 'routes.demo.comp.comp', 12 title: 'routes.demo.comp.comp',
13 }, 13 },
14 14
src/router/routes/modules/demo/editor.ts
@@ -8,7 +8,7 @@ const editor: AppRouteModule = { @@ -8,7 +8,7 @@ const editor: AppRouteModule = {
8 component: LAYOUT, 8 component: LAYOUT,
9 redirect: '/editor/markdown', 9 redirect: '/editor/markdown',
10 meta: { 10 meta: {
11 - icon: 'ant-design:table-outlined', 11 + icon: 'carbon:table-split',
12 title: 'routes.demo.editor.editor', 12 title: 'routes.demo.editor.editor',
13 }, 13 },
14 children: [ 14 children: [
src/router/routes/modules/demo/form.ts
@@ -8,7 +8,7 @@ const form: AppRouteModule = { @@ -8,7 +8,7 @@ const form: AppRouteModule = {
8 component: LAYOUT, 8 component: LAYOUT,
9 redirect: '/form/basic', 9 redirect: '/form/basic',
10 meta: { 10 meta: {
11 - icon: 'ant-design:table-outlined', 11 + icon: 'mdi:form-select',
12 title: 'routes.demo.form.form', 12 title: 'routes.demo.form.form',
13 }, 13 },
14 children: [ 14 children: [
src/router/routes/modules/demo/table.ts
@@ -8,7 +8,7 @@ const table: AppRouteModule = { @@ -8,7 +8,7 @@ const table: AppRouteModule = {
8 component: LAYOUT, 8 component: LAYOUT,
9 redirect: '/table/basic', 9 redirect: '/table/basic',
10 meta: { 10 meta: {
11 - icon: 'ant-design:table-outlined', 11 + icon: 'carbon:table-split',
12 title: 'routes.demo.table.table', 12 title: 'routes.demo.table.table',
13 }, 13 },
14 14
src/router/routes/modules/home.ts
@@ -8,7 +8,7 @@ const dashboard: AppRouteModule = { @@ -8,7 +8,7 @@ const dashboard: AppRouteModule = {
8 component: LAYOUT, 8 component: LAYOUT,
9 redirect: '/home/welcome', 9 redirect: '/home/welcome',
10 meta: { 10 meta: {
11 - icon: 'ant-design:home-outlined', 11 + icon: 'bx:bx-home',
12 title: 'routes.dashboard.welcome', 12 title: 'routes.dashboard.welcome',
13 }, 13 },
14 children: [ 14 children: [
@@ -19,7 +19,7 @@ const dashboard: AppRouteModule = { @@ -19,7 +19,7 @@ const dashboard: AppRouteModule = {
19 meta: { 19 meta: {
20 title: 'routes.dashboard.welcome', 20 title: 'routes.dashboard.welcome',
21 affix: true, 21 affix: true,
22 - icon: 'ant-design:home-outlined', 22 + icon: 'bx:bx-home',
23 }, 23 },
24 }, 24 },
25 ], 25 ],
src/views/demo/feat/context-menu/index.vue
@@ -25,14 +25,14 @@ @@ -25,14 +25,14 @@
25 items: [ 25 items: [
26 { 26 {
27 label: 'New', 27 label: 'New',
28 - icon: 'ant-design:plus-outlined', 28 + icon: 'bi:plus',
29 handler: () => { 29 handler: () => {
30 createMessage.success('click new'); 30 createMessage.success('click new');
31 }, 31 },
32 }, 32 },
33 { 33 {
34 label: 'Open', 34 label: 'Open',
35 - icon: 'ant-design:folder-open-filled', 35 + icon: 'bx:bxs-folder-open',
36 handler: () => { 36 handler: () => {
37 createMessage.success('click open'); 37 createMessage.success('click open');
38 }, 38 },
@@ -47,12 +47,12 @@ @@ -47,12 +47,12 @@
47 items: [ 47 items: [
48 { 48 {
49 label: 'New', 49 label: 'New',
50 - icon: 'ant-design:plus-outlined', 50 + icon: 'bi:plus',
51 51
52 children: [ 52 children: [
53 { 53 {
54 label: 'New1-1', 54 label: 'New1-1',
55 - icon: 'ant-design:plus-outlined', 55 + icon: 'bi:plus',
56 divider: true, 56 divider: true,
57 children: [ 57 children: [
58 { 58 {
@@ -69,7 +69,7 @@ @@ -69,7 +69,7 @@
69 }, 69 },
70 { 70 {
71 label: 'New1-2', 71 label: 'New1-2',
72 - icon: 'ant-design:plus-outlined', 72 + icon: 'bi:plus',
73 }, 73 },
74 ], 74 ],
75 }, 75 },
src/views/demo/page/account/center/data.tsx
@@ -19,10 +19,10 @@ export const tags: string[] = [ @@ -19,10 +19,10 @@ export const tags: string[] = [
19 '前端开发', 19 '前端开发',
20 'vue3', 20 'vue3',
21 ]; 21 ];
22 - 22 +<span class="iconify" data-icon="jam:codepen-circle" data-inline="false"></span>;
23 export const teams: ListItem[] = [ 23 export const teams: ListItem[] = [
24 { 24 {
25 - icon: 'ant-design:alipay-circle-outlined', 25 + icon: 'ri:alipay-fill',
26 title: '科学搬砖组', 26 title: '科学搬砖组',
27 color: '#ff4000', 27 color: '#ff4000',
28 }, 28 },
@@ -32,22 +32,22 @@ export const teams: ListItem[] = [ @@ -32,22 +32,22 @@ export const teams: ListItem[] = [
32 color: '#7c51b8', 32 color: '#7c51b8',
33 }, 33 },
34 { 34 {
35 - icon: 'ant-design:alipay-circle-outlined', 35 + icon: 'ri:alipay-fill',
36 title: '高逼格设计', 36 title: '高逼格设计',
37 color: '#00adf7', 37 color: '#00adf7',
38 }, 38 },
39 { 39 {
40 - icon: 'ant-design:codepen-circle-filled', 40 + icon: 'jam:codepen-circle',
41 title: '程序员日常', 41 title: '程序员日常',
42 color: '#00adf7', 42 color: '#00adf7',
43 }, 43 },
44 { 44 {
45 - icon: 'ant-design:behance-square-filled', 45 + icon: 'fa:behance-square',
46 title: '科学搬砖组', 46 title: '科学搬砖组',
47 color: '#7c51b8', 47 color: '#7c51b8',
48 }, 48 },
49 { 49 {
50 - icon: 'ant-design:dribbble-circle-filled', 50 + icon: 'jam:codepen-circle',
51 title: '程序员日常', 51 title: '程序员日常',
52 color: '#ff4000', 52 color: '#ff4000',
53 }, 53 },
@@ -55,15 +55,15 @@ export const teams: ListItem[] = [ @@ -55,15 +55,15 @@ export const teams: ListItem[] = [
55 55
56 export const details: ListItem[] = [ 56 export const details: ListItem[] = [
57 { 57 {
58 - icon: 'ant-design:contacts-outlined', 58 + icon: 'ic:outline-contacts',
59 title: '交互专家', 59 title: '交互专家',
60 }, 60 },
61 { 61 {
62 - icon: 'ant-design:cluster-outlined', 62 + icon: 'grommet-icons:cluster',
63 title: '某某某事业群', 63 title: '某某某事业群',
64 }, 64 },
65 { 65 {
66 - icon: 'ant-design:home-outlined', 66 + icon: 'bx:bx-home-circle',
67 title: '福建省厦门市', 67 title: '福建省厦门市',
68 }, 68 },
69 ]; 69 ];
@@ -87,9 +87,9 @@ export const achieveList: TabItem[] = [ @@ -87,9 +87,9 @@ export const achieveList: TabItem[] = [
87 ]; 87 ];
88 88
89 export const actions: any[] = [ 89 export const actions: any[] = [
90 - { icon: 'ant-design:star-outlined', text: '156', color: '#018ffb' },  
91 - { icon: 'ant-design:like-filled', text: '156', color: '#459ae8' },  
92 - { icon: 'ant-design:message-filled', text: '2', color: '#42d27d' }, 90 + { icon: 'clarity:star-line', text: '156', color: '#018ffb' },
  91 + { icon: 'bx:bxs-like', text: '156', color: '#459ae8' },
  92 + { icon: 'bx:bxs-message-dots', text: '2', color: '#42d27d' },
93 ]; 93 ];
94 94
95 export const articleList = (() => { 95 export const articleList = (() => {
src/views/demo/page/account/setting/BaseSetting.vue
@@ -9,9 +9,7 @@ @@ -9,9 +9,7 @@
9 <div class="mb-2">头像</div> 9 <div class="mb-2">头像</div>
10 <img width="140" :src="headerImg" /> 10 <img width="140" :src="headerImg" />
11 <Upload :showUploadList="false"> 11 <Upload :showUploadList="false">
12 - <Button type="ghost" class="ml-5">  
13 - <Icon icon="ant-design:upload-outlined" />更换头像  
14 - </Button> 12 + <Button type="ghost" class="ml-5"> <Icon icon="feather:upload" />更换头像 </Button>
15 </Upload> 13 </Upload>
16 </div> 14 </div>
17 </a-col> 15 </a-col>
src/views/demo/page/account/setting/data.ts
@@ -108,7 +108,7 @@ export const accountBindList: ListItem[] = [ @@ -108,7 +108,7 @@ export const accountBindList: ListItem[] = [
108 title: '绑定淘宝', 108 title: '绑定淘宝',
109 description: '当前未绑定淘宝账号', 109 description: '当前未绑定淘宝账号',
110 extra: '绑定', 110 extra: '绑定',
111 - avatar: 'ant-design:taobao-outlined', 111 + avatar: 'ri:taobao-fill',
112 color: '#ff4000', 112 color: '#ff4000',
113 }, 113 },
114 { 114 {
@@ -116,7 +116,7 @@ export const accountBindList: ListItem[] = [ @@ -116,7 +116,7 @@ export const accountBindList: ListItem[] = [
116 title: '绑定支付宝', 116 title: '绑定支付宝',
117 description: '当前未绑定支付宝账号', 117 description: '当前未绑定支付宝账号',
118 extra: '绑定', 118 extra: '绑定',
119 - avatar: 'ant-design:alipay-outlined', 119 + avatar: 'fa-brands:alipay',
120 color: '#2eabff', 120 color: '#2eabff',
121 }, 121 },
122 { 122 {
src/views/demo/page/list/search/data.tsx
@@ -15,9 +15,9 @@ export const searchList = (() =&gt; { @@ -15,9 +15,9 @@ export const searchList = (() =&gt; {
15 })(); 15 })();
16 16
17 export const actions: any[] = [ 17 export const actions: any[] = [
18 - { icon: 'ant-design:star-outlined', text: '156', color: '#018ffb' },  
19 - { icon: 'ant-design:like-filled', text: '156', color: '#459ae8' },  
20 - { icon: 'ant-design:message-filled', text: '2', color: '#42d27d' }, 18 + { icon: 'clarity:star-line', text: '156', color: '#018ffb' },
  19 + { icon: 'bx:bxs-like', text: '156', color: '#459ae8' },
  20 + { icon: 'bx:bxs-message-dots', text: '2', color: '#42d27d' },
21 ]; 21 ];
22 22
23 export const schemas: FormSchema[] = [ 23 export const schemas: FormSchema[] = [
src/views/demo/table/FixedColumn.vue
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 :actions="[ 6 :actions="[
7 { 7 {
8 label: '删除', 8 label: '删除',
9 - icon: 'ant-design:area-chart-outlined', 9 + icon: 'ic:outline-delete-outline',
10 onClick: handleDelete.bind(null, record), 10 onClick: handleDelete.bind(null, record),
11 }, 11 },
12 ]" 12 ]"
src/views/demo/tree/EditTree.vue
@@ -29,14 +29,14 @@ @@ -29,14 +29,14 @@
29 handler: () => { 29 handler: () => {
30 console.log('点击了新增', node); 30 console.log('点击了新增', node);
31 }, 31 },
32 - icon: 'ant-design:plus-outlined', 32 + icon: 'bi:plus',
33 }, 33 },
34 { 34 {
35 label: '删除', 35 label: '删除',
36 handler: () => { 36 handler: () => {
37 console.log('点击了删除', node); 37 console.log('点击了删除', node);
38 }, 38 },
39 - icon: 'ant-design:folder-open-filled', 39 + icon: 'bx:bxs-folder-open',
40 }, 40 },
41 ]; 41 ];
42 } 42 }