From 88b018b02485adc1d705e6d91cbd3dd9bf3ec52b Mon Sep 17 00:00:00 2001 From: winwin2011 Date: Sat, 11 Jun 2022 12:28:23 +0800 Subject: [PATCH] feat: upload ui (#11) * chore: basic upload * chore: ui * chore: copy * fix: remove hard code --- app/App.vue | 7 ++-- app/components/ImageInfo.vue | 42 +++++++++++++++++++++++ app/components/ui/TextField.vue | 7 ---- app/pages/index.vue | 61 ++++++++++++++++++++++++++------- package.json | 1 + pnpm-lock.yaml | 6 ++++ 6 files changed, 102 insertions(+), 22 deletions(-) create mode 100644 app/components/ImageInfo.vue delete mode 100644 app/components/ui/TextField.vue diff --git a/app/App.vue b/app/App.vue index 8db6aae..5f67608 100644 --- a/app/App.vue +++ b/app/App.vue @@ -1,7 +1,7 @@ diff --git a/app/components/ImageInfo.vue b/app/components/ImageInfo.vue new file mode 100644 index 0000000..1353836 --- /dev/null +++ b/app/components/ImageInfo.vue @@ -0,0 +1,42 @@ + + + diff --git a/app/components/ui/TextField.vue b/app/components/ui/TextField.vue deleted file mode 100644 index 81a45e3..0000000 --- a/app/components/ui/TextField.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/app/pages/index.vue b/app/pages/index.vue index 4b9b7d6..4e65bde 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -1,29 +1,64 @@ + + diff --git a/package.json b/package.json index 00d729e..80e6d79 100644 --- a/package.json +++ b/package.json @@ -61,6 +61,7 @@ "@types/node": "^17.0.36", "@types/rollup-plugin-auto-external": "^2.0.2", "@unocss/reset": "^0.34.1", + "@vicons/ionicons5": "^0.12.0", "@vitejs/plugin-vue": "^2.3.3", "concurrently": "^7.2.0", "dotenv": "^16.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0a4f1df..f6a3ef7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,7 @@ specifiers: '@types/node': ^17.0.36 '@types/rollup-plugin-auto-external': ^2.0.2 '@unocss/reset': ^0.34.1 + '@vicons/ionicons5': ^0.12.0 '@vitejs/plugin-vue': ^2.3.3 '@vueuse/core': ^8.5.0 '@vueuse/integrations': ^8.5.0 @@ -76,6 +77,7 @@ devDependencies: '@types/node': registry.npmmirror.com/@types/node/17.0.36 '@types/rollup-plugin-auto-external': registry.npmmirror.com/@types/rollup-plugin-auto-external/2.0.2 '@unocss/reset': registry.npmmirror.com/@unocss/reset/0.34.1 + '@vicons/ionicons5': 0.12.0 '@vitejs/plugin-vue': registry.npmmirror.com/@vitejs/plugin-vue/2.3.3_vite@2.9.9+vue@3.2.36 concurrently: registry.npmmirror.com/concurrently/7.2.0 dotenv: registry.npmmirror.com/dotenv/16.0.1 @@ -128,6 +130,10 @@ packages: resolution: {integrity: sha512-LISYGoacASedVKV2XN4dYC46QpbrvUYq2X8NjAnAsxZEqdK5RPxr82WG5MW8j/7RSJv3k4flpXXf1kSSt1G4fQ==} dev: true + /@vicons/ionicons5/0.12.0: + resolution: {integrity: sha512-Iy1EUVRpX0WWxeu1VIReR1zsZLMc4fqpt223czR+Rpnrwu7pt46nbnC2ycO7ItI/uqDLJxnbcMC7FujKs9IfFA==} + dev: true + /acorn-walk/8.2.0: resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} engines: {node: '>=0.4.0'}