From 9ccbd2d34460a55fdfccf280185e16304e969df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E5=98=89?= <282227179@qq.com> Date: Thu, 7 Nov 2024 16:31:32 +0800 Subject: [PATCH] vue --- UML/.gitignore | 24 + UML/.vscode/extensions.json | 3 + UML/README.md | 5 + UML/index.html | 13 + UML/package.json | 22 + UML/public/logo.png | Bin 0 -> 2316 bytes UML/public/user.png | Bin 0 -> 776 bytes UML/public/vite.svg | 1 + UML/src/App.vue | 25 + UML/src/assets/vue.svg | 1 + UML/src/main.js | 23 + UML/src/request.js | 7 + UML/src/router.js | 60 ++ UML/src/store/index.js | 15 + UML/src/style.css | 79 +++ UML/src/view/forgot-password/index.vue | 9 + UML/src/view/login.vue | 228 ++++++ UML/src/view/register/index.vue | 9 + UML/src/view/user/MyInfo.vue | 88 +++ UML/src/view/user/index.vue | 120 ++++ UML/vant-component/.gitignore | 24 + UML/vant-component/.vscode/extensions.json | 3 + UML/vant-component/README.md | 5 + UML/vant-component/index.html | 13 + UML/vant-component/package.json | 19 + UML/vant-component/public/vite.svg | 1 + UML/vant-component/src/App.vue | 30 + UML/vant-component/src/assets/vue.svg | 1 + .../src/components/HelloWorld.vue | 43 ++ UML/vant-component/src/components/button.vue | 20 + UML/vant-component/src/main.js | 8 + UML/vant-component/src/style.css | 79 +++ UML/vant-component/vite.config.js | 7 + UML/vant-component/yarn.lock | 469 ++++++++++++ UML/vite.config.js | 7 + UML/yarn.lock | 668 ++++++++++++++++++ 36 files changed, 2129 insertions(+) create mode 100644 UML/.gitignore create mode 100644 UML/.vscode/extensions.json create mode 100644 UML/README.md create mode 100644 UML/index.html create mode 100644 UML/package.json create mode 100644 UML/public/logo.png create mode 100644 UML/public/user.png create mode 100644 UML/public/vite.svg create mode 100644 UML/src/App.vue create mode 100644 UML/src/assets/vue.svg create mode 100644 UML/src/main.js create mode 100644 UML/src/request.js create mode 100644 UML/src/router.js create mode 100644 UML/src/store/index.js create mode 100644 UML/src/style.css create mode 100644 UML/src/view/forgot-password/index.vue create mode 100644 UML/src/view/login.vue create mode 100644 UML/src/view/register/index.vue create mode 100644 UML/src/view/user/MyInfo.vue create mode 100644 UML/src/view/user/index.vue create mode 100644 UML/vant-component/.gitignore create mode 100644 UML/vant-component/.vscode/extensions.json create mode 100644 UML/vant-component/README.md create mode 100644 UML/vant-component/index.html create mode 100644 UML/vant-component/package.json create mode 100644 UML/vant-component/public/vite.svg create mode 100644 UML/vant-component/src/App.vue create mode 100644 UML/vant-component/src/assets/vue.svg create mode 100644 UML/vant-component/src/components/HelloWorld.vue create mode 100644 UML/vant-component/src/components/button.vue create mode 100644 UML/vant-component/src/main.js create mode 100644 UML/vant-component/src/style.css create mode 100644 UML/vant-component/vite.config.js create mode 100644 UML/vant-component/yarn.lock create mode 100644 UML/vite.config.js create mode 100644 UML/yarn.lock diff --git a/UML/.gitignore b/UML/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/UML/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/UML/.vscode/extensions.json b/UML/.vscode/extensions.json new file mode 100644 index 0000000..a7cea0b --- /dev/null +++ b/UML/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["Vue.volar"] +} diff --git a/UML/README.md b/UML/README.md new file mode 100644 index 0000000..1511959 --- /dev/null +++ b/UML/README.md @@ -0,0 +1,5 @@ +# Vue 3 + Vite + +This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 ` + + diff --git a/UML/package.json b/UML/package.json new file mode 100644 index 0000000..9b631ca --- /dev/null +++ b/UML/package.json @@ -0,0 +1,22 @@ +{ + "name": "lesson2_1", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview" + }, + "dependencies": { + "axios": "^1.7.7", + "element-plus": "2.2.19", + "pinia": "2.0.27", + "vue": "^3.4.37", + "vue-router": "4" + }, + "devDependencies": { + "@vitejs/plugin-vue": "^5.1.2", + "vite": "^5.4.1" + } +} diff --git a/UML/public/logo.png b/UML/public/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..20a2c5700aa2e82d8061b5749a72422ad9973004 GIT binary patch literal 2316 zcmdUx`8N~_8^=dxn9MMvA#2PG24hcTnPkk^vla=BB};b@A-kIyk}MgKT`nqIX_&H> zH5AF33^HVmp=%^JYu7#RIro2fpL3q)`Fy|UJm)+=J?FV+Yi-KUC(Z`|0Qk+#i1tT4 z=-&i$A61S4FcJXZ0^44=WPBw53xWUW{}U#lGDnL~gQb}e*$JrZ1VmkOaE%K6@s%KO@$*~`KL-)9)OS&8%yE4t6 z8|5O(8F)=knG7^HJ0qQ)IHwH&@Ln}1;xAoiwd9ZIPpZT3c>7<2@)WT26HY{_m3WUv zJFtFPJy3Qx&rZu9&v<1gDwiH4JVLJ)#_MhSfez%HHqeSiRYUc10L=;S)L#`-_#;IoXxn27p6bdW$^t-&n zAYJ=R|Aa31JTjEM=P{LO^>yRK7nK@^!tag+_S=zp8N+Grj*G?vT(0#8&h1)1s!NWr>D|cs+p3tZ{ z!{&LUpGkPWLP)=&&XdjpLVeyw`Q)pUj-5ql-4^dO9ZB^r@}J3xOIfg?6aa*LVy`z< zh*)+aEV0eD+Rn{S2S-_D|pX`ghcIY-J0LnZQ_dxwWkch`EE#i*~Qm*?OV zB&NFk^Q*D=>Mo9h!8i%$hru4K?C(5{|1nJ}WsrRg;7zF2Q`(%n^VxMUB>~>6#ZTy8 zP5U3#p?aW&8-!G>s))If68lWBowHcTZn3ZaC(^)h(yD&mxanG0TNGo0bVuZ!)GsB7 zMsT^F?A$?00s}_p#&tLFk`|buVo>&PYcxgh5D0(#YHH>#T0 zlOubRM0H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