From ccbaaed0aacf81c1875f16af2fd6b67b044e6218 Mon Sep 17 00:00:00 2001 From: wangqiujuan0808 <578331299@qq.com> Date: Tue, 31 Oct 2023 23:45:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Bindex.vue | 3 +- src/components/Cindex.vue | 1 - src/components/Gindex.vue | 1 - src/components/Header.vue | 178 +++++++++++++----------- src/components/Index.vue | 283 ++++++++++++++------------------------ src/components/Sindex.vue | 3 +- src/components/Windex.vue | 3 +- src/router/index.js | 5 + src/utils/index.js | 3 +- src/views/Config.vue | 131 ++++++++++++++++++ src/views/Login.vue | 177 +++++++++++++----------- 11 files changed, 441 insertions(+), 347 deletions(-) create mode 100644 src/views/Config.vue diff --git a/src/components/Bindex.vue b/src/components/Bindex.vue index 1fdf99f..438fa94 100644 --- a/src/components/Bindex.vue +++ b/src/components/Bindex.vue @@ -5,7 +5,6 @@
-

数据显示

生物滞留区域面积

@@ -86,7 +85,7 @@ } .one-card-content { width: 100%; - height: 90%; + height: 100%; display: flex; flex-wrap: wrap; justify-content: space-around; diff --git a/src/components/Cindex.vue b/src/components/Cindex.vue index 3436ffe..fd88102 100644 --- a/src/components/Cindex.vue +++ b/src/components/Cindex.vue @@ -5,7 +5,6 @@
-

数据显示

地块面积

diff --git a/src/components/Gindex.vue b/src/components/Gindex.vue index e9dc0c2..b9e8836 100644 --- a/src/components/Gindex.vue +++ b/src/components/Gindex.vue @@ -5,7 +5,6 @@
-

数据显示

径流系数

diff --git a/src/components/Header.vue b/src/components/Header.vue index e29dbb0..e13f6cb 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -1,127 +1,137 @@ \ No newline at end of file diff --git a/src/components/Index.vue b/src/components/Index.vue index 99c64f0..61df449 100644 --- a/src/components/Index.vue +++ b/src/components/Index.vue @@ -1,205 +1,134 @@ +
+ +import Menus from "@/components/Menus.vue"; +import { onMounted, reactive, ref, toRefs, nextTick } from "vue"; +export default { + name: "index", + components: { + Menus, + }, + setup() { + const state = reactive({}); + }, +}; + \ No newline at end of file + } +} + \ No newline at end of file diff --git a/src/components/Sindex.vue b/src/components/Sindex.vue index d6aa387..d192d89 100644 --- a/src/components/Sindex.vue +++ b/src/components/Sindex.vue @@ -31,7 +31,6 @@
-

数据显示

透水铺装面积

@@ -143,7 +142,7 @@ box-shadow: 0 0 8px #99ACB0 inset; .one-card-content { width: 100%; - height: 90%; + height: 100%; display: flex; flex-wrap: wrap; justify-content: space-around; diff --git a/src/components/Windex.vue b/src/components/Windex.vue index 565e24a..65f0052 100644 --- a/src/components/Windex.vue +++ b/src/components/Windex.vue @@ -5,7 +5,6 @@
-

数据显示

降雨量

@@ -86,7 +85,7 @@ } .one-card-content { width: 100%; - height: 90%; + height: 100%; display: flex; flex-wrap: wrap; justify-content: space-around; diff --git a/src/router/index.js b/src/router/index.js index 737f34d..865903d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -56,6 +56,11 @@ const router = createRouter({ path: '/chuxu', name: 'chuxu', component: () => import(/* webpackChunkName: "link" */ '../views/Chuxu.vue') + }, + { + path: '/config', + name: 'config', + component: () => import(/* webpackChunkName: "link" */ '../views/Config.vue') } ] }) diff --git a/src/utils/index.js b/src/utils/index.js index 1f9423c..e19fab2 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -36,5 +36,6 @@ export const pathMap = { green: '世博浦西区活水公园', biology: '世博浦西区活水公园', shentou: '世博浦西区活水公园', - chuxu: '世博浦西区活水公园' + chuxu: '世博浦西区活水公园', + config: '世博浦西区活水公园' } \ No newline at end of file diff --git a/src/views/Config.vue b/src/views/Config.vue new file mode 100644 index 0000000..e4de82e --- /dev/null +++ b/src/views/Config.vue @@ -0,0 +1,131 @@ + + + + \ No newline at end of file diff --git a/src/views/Login.vue b/src/views/Login.vue index df6c7f6..1bfb276 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -4,20 +4,38 @@
-
世博浦西区活水公园
+
{{projectName}}
-