Commit 5dc8226ce14559f48f8b979809f8a054ce7935e5

Authored by 陈小婷
1 parent 7bae4c37

fix: 整体图标调整

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