diff --git a/mock/module/user.ts b/mock/module/user.ts index 61ea704..814939e 100644 --- a/mock/module/user.ts +++ b/mock/module/user.ts @@ -223,6 +223,15 @@ const userRoutes = [ icon: 'icon-park-outline:clipboard', }, }, + { + name: 'plugin_icons', + path: '/plugin/icons', + meta: { + title: '图标', + requiresAuth: true, + icon: 'icon-park-outline:winking-face-with-open-eyes', + }, + }, ], }, { diff --git a/src/components/custom/IconSelect/icons.ts b/src/components/custom/IconSelect/icons.ts new file mode 100644 index 0000000..4b84361 --- /dev/null +++ b/src/components/custom/IconSelect/icons.ts @@ -0,0 +1,35 @@ +export const icons = [ + 'icon-park-outline:ad-product', + 'icon-park-outline:all-application', + 'icon-park-outline:hamburger-button', + 'icon-park-outline:setting', + 'icon-park-outline:add-one', + 'icon-park-outline:reduce-one', + 'icon-park-outline:close-one', + 'icon-park-outline:help', + 'icon-park-outline:info', + 'icon-park-outline:grid-four', + 'icon-park-outline:key-two', + 'icon-park-outline:write', + 'icon-park-outline:fire', + 'icon-park-outline:memory-card-one', + 'icon-park-outline:coupon', + 'icon-park-outline:ticket-one', + 'icon-park-outline:pay-code-two', + 'icon-park-outline:wallet-one', + 'icon-park-outline:gift', + 'icon-park-outline:mail', + 'icon-park-outline:log', + 'icon-park-outline:people', + 'icon-park-outline:alarm-clock', + 'ic:baseline-filter-1', + 'ic:baseline-filter-2', + 'ic:baseline-filter-3', + 'ic:baseline-filter-4', + 'ic:baseline-filter-5', + 'ic:baseline-filter-6', + 'ic:baseline-filter-7', + 'ic:baseline-filter-8', + 'ic:baseline-filter-9', + 'ic:baseline-filter-9-plus', +]; diff --git a/src/components/custom/IconSelect/index.vue b/src/components/custom/IconSelect/index.vue new file mode 100644 index 0000000..574f752 --- /dev/null +++ b/src/components/custom/IconSelect/index.vue @@ -0,0 +1,43 @@ + + + + + diff --git a/src/views/plugin/clipboard/index.vue b/src/views/plugin/clipboard/index.vue index 584f5f2..65a1235 100644 --- a/src/views/plugin/clipboard/index.vue +++ b/src/views/plugin/clipboard/index.vue @@ -1,7 +1,7 @@