From 13672363f08765e391c4a41fb0f458fd9817a1c9 Mon Sep 17 00:00:00 2001 From: shangbin Date: Fri, 28 Jan 2022 17:39:54 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E7=A7=BB=E9=99=A4=E6=89=80=E6=9C=89?= =?UTF-8?q?=E4=B8=8D=E6=94=AF=E6=8C=81=E7=9A=84el-icon=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- package-lock.json | 5 + package.json | 8 +- src/App.vue | 5 +- src/components-v2/VCC.vue | 31 ++-- src/components/AttributeInput.vue | 15 +- src/components/CodeStructure.vue | 35 +++-- src/components/JSCodeEditorDialog.vue | 10 +- src/components/RawComponents.vue | 14 +- src/components/nested.vue | 26 ++- src/libs/main-panel.js | 8 +- src/libs/store.js | 11 +- src/main.js | 29 +++- src/map/data.index.js | 2 +- src/map/style.index.js | 2 +- src/map/template.index.js | 2 +- src/rawComponents/element/button.vue | 11 +- src/rawComponents/element/form-base.vue | 5 - src/rawComponents/element/icon.vue | 45 +++--- src/rawComponents/vant/button.vue | 3 +- src/rawComponents/vant/display.vue | 200 ++++++++++++------------ src/rawComponents/vant/layout.vue | 119 +++++++------- src/rawComponents/vant/nav.vue | 9 +- 23 files changed, 305 insertions(+), 292 deletions(-) diff --git a/README.md b/README.md index 93b0bf4..629bd4e 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ npm i npm run dev ``` -运行完成后,就可以访问[http://localhost:8008/](http://localhost:8008/)预览效果了. +运行完成后,就可以访问[http://localhost:9818/](http://localhost:9818/)预览效果了. ## 使用介绍 diff --git a/package-lock.json b/package-lock.json index c7e1d6d..092885a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1172,6 +1172,11 @@ "resolved": "https://rg.cnpmjs.org/@element-plus/icons/download/@element-plus/icons-0.0.11.tgz", "integrity": "sha1-mxh8ACd0VIuRGFDRf6X8L5pRX1c=" }, + "@element-plus/icons-vue": { + "version": "0.2.6", + "resolved": "https://r.cnpmjs.org/@element-plus/icons-vue/-/icons-vue-0.2.6.tgz", + "integrity": "sha512-2gg7VCq4d2firgl7/aVym4Cx/wqKFwKybEQGJiiWJN4urW36+QdAEG1knqSD9qidbjhVp0Jnc9XdSTR1/4Whzw==" + }, "@hapi/address": { "version": "2.1.4", "resolved": "https://r.cnpmjs.org/@hapi/address/download/@hapi/address-2.1.4.tgz", diff --git a/package.json b/package.json index 48f3e34..6ea91f5 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,10 @@ ], "main": "./dist/vcc.umd.min.js", "scripts": { - "dev": "vite --port 8008", - "serve": "vite --port 8008", + "dev": "vite --port 9818", + "serve": "vite --port 9818", "build:release": "vite build --base=https://static.imonkey.xueersi.com/vcc3/", - "build": "vue-cli-service build --report --target lib --name vcc './src/components-v2/VCC.vue' && node ./src/script/distClear.js", + "build": "vue-cli-service build --report --target lib --name vcc './src/components-v2/VCC.vue'", "build:win": "vue-cli-service build --report --target lib --name vcc ./src/components-v2/VCC.vue && node ./src/script/distClear.js", "compileAndbuild:dev": "npm run compileComponent && vue-cli-service build", "lint": "vue-cli-service lint", @@ -22,7 +22,7 @@ "debugParser": "node ./src/test/parserJsCode.js" }, "dependencies": { - "@element-plus/icons": "0.0.11", + "@element-plus/icons-vue": "^0.2.6", "@vitejs/plugin-vue": "^1.10.0", "@vue/compiler-sfc": "^3.2.22", "ant-design-vue": "^3.0.0-alpha.14", diff --git a/src/App.vue b/src/App.vue index 0175597..64854d4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,5 @@ - +} diff --git a/src/rawComponents/vant/layout.vue b/src/rawComponents/vant/layout.vue index c4e9789..953e128 100644 --- a/src/rawComponents/vant/layout.vue +++ b/src/rawComponents/vant/layout.vue @@ -1,66 +1,63 @@ +