From 0f636f2be85a4b03eb583e96843e5cbb73dbd6ce Mon Sep 17 00:00:00 2001 From: wlikett <2331964395@qq.com> Date: Fri, 1 Dec 2023 12:21:43 +0800 Subject: [PATCH] icon --- package.json | 1 + pnpm-lock.yaml | 3 + src/compontents/uploadImg.vue | 65 ++++ src/main.ts | 4 + src/views/EnterpriseCertification.vue | 491 ++++++++++++++++++++++++++ src/views/equip/list.vue | 13 + 6 files changed, 577 insertions(+) create mode 100644 src/compontents/uploadImg.vue create mode 100644 src/views/EnterpriseCertification.vue create mode 100644 src/views/equip/list.vue diff --git a/package.json b/package.json index 3ce7113..1347b0e 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false" }, "dependencies": { + "@element-plus/icons-vue": "^2.3.1", "@vueuse/core": "^10.6.1", "axios": "^1.6.2", "element-plus": "^2.4.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 185f7e7..3963f05 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,6 +5,9 @@ settings: excludeLinksFromLockfile: false dependencies: + '@element-plus/icons-vue': + specifier: ^2.3.1 + version: 2.3.1(vue@3.3.4) '@vueuse/core': specifier: ^10.6.1 version: 10.6.1(vue@3.3.4) diff --git a/src/compontents/uploadImg.vue b/src/compontents/uploadImg.vue new file mode 100644 index 0000000..f1da0cf --- /dev/null +++ b/src/compontents/uploadImg.vue @@ -0,0 +1,65 @@ + + + diff --git a/src/main.ts b/src/main.ts index 5dcad83..3a0909a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,4 +1,5 @@ import './assets/main.css' +import * as ElementPlusIconsVue from '@element-plus/icons-vue' import { createApp } from 'vue' import { createPinia } from 'pinia' @@ -7,6 +8,9 @@ import App from './App.vue' import router from './router' const app = createApp(App) +for (const [key, component] of Object.entries(ElementPlusIconsVue)) { + app.component(key, component) +} app.use(createPinia()) app.use(router) diff --git a/src/views/EnterpriseCertification.vue b/src/views/EnterpriseCertification.vue new file mode 100644 index 0000000..cbdcb8c --- /dev/null +++ b/src/views/EnterpriseCertification.vue @@ -0,0 +1,491 @@ + + + + diff --git a/src/views/equip/list.vue b/src/views/equip/list.vue new file mode 100644 index 0000000..af967e5 --- /dev/null +++ b/src/views/equip/list.vue @@ -0,0 +1,13 @@ + + +