From 0e6e977471922c1abc7a898c07dd04befc4c5d00 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Thu, 7 Nov 2024 17:43:28 +0800 Subject: [PATCH] 1 --- .env.production | 4 +- .env.staging | 4 +- src/App.vue | 5 + src/components/OnlineFile/index.vue | 54 +++++ src/layout/components/Navbar/index.vue | 4 +- src/main.js | 3 + src/permission.js | 4 +- src/store/modules/permission.js | 2 +- src/styles/navbar.css | 187 ++++++++++++++++++ src/styles/navbar.css.map | 1 + src/views/dashboard/index.vue | 3 + .../DashboardComponents/AddressBook.vue | 61 +++--- .../system/DashboardComponents/articles.vue | 90 ++++++--- src/views/wujie/index.vue | 16 +- 14 files changed, 373 insertions(+), 65 deletions(-) create mode 100644 src/components/OnlineFile/index.vue create mode 100644 src/styles/navbar.css create mode 100644 src/styles/navbar.css.map diff --git a/.env.production b/.env.production index 5add05e..537ed91 100644 --- a/.env.production +++ b/.env.production @@ -2,7 +2,7 @@ ENV = 'production' # base api -VUE_APP_BASE_API='https://cz-hjjc.115.langye.net' -VUE_APP_UPLOAD_API='https://cz-hjjc.115.langye.net/api/upload-file' +VUE_APP_BASE_API='http://192.168.16.110:8080' +VUE_APP_UPLOAD_API='http://192.168.16.110:8080/api/upload-file' VUE_APP_PREVIEW=//view.langye.net/preview/onlinePreview diff --git a/.env.staging b/.env.staging index 4ef2cb7..e2b8f38 100644 --- a/.env.staging +++ b/.env.staging @@ -4,6 +4,6 @@ NODE_ENV = production ENV = 'staging' # base api -VUE_APP_BASE_API='http://cz-hjjc.115.langye.net' -VUE_APP_UPLOAD_API='http://cz-hjjc.115.langye.net/api/admin/upload-file' +VUE_APP_BASE_API='https://cz-hjjc.115.langye.net' +VUE_APP_UPLOAD_API='https://cz-hjjc.115.langye.net/api/upload-file' VUE_APP_PREVIEW=//view.langye.net/preview/onlinePreview diff --git a/src/App.vue b/src/App.vue index ec9032c..1dc8e21 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,11 +1,16 @@ diff --git a/src/components/OnlineFile/index.vue b/src/components/OnlineFile/index.vue new file mode 100644 index 0000000..6044c74 --- /dev/null +++ b/src/components/OnlineFile/index.vue @@ -0,0 +1,54 @@ +