From 90ee29e34797a37b633bce3ebf781e412f2fd1d6 Mon Sep 17 00:00:00 2001 From: zhangxiaomeng <1362468712@qq.com> Date: Wed, 5 Feb 2025 09:43:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kcui/src/view/Login.vue | 219 +++++++++++++++++++++ kcui/src/view/TWInfo.vue | 68 ++++--- src/main/java/com/main/woka/Web/Dao/KcInfo.java | 251 ++++++++++++++++++++++++ 3 files changed, 511 insertions(+), 27 deletions(-) create mode 100644 kcui/src/view/Login.vue create mode 100644 src/main/java/com/main/woka/Web/Dao/KcInfo.java diff --git a/kcui/src/view/Login.vue b/kcui/src/view/Login.vue new file mode 100644 index 0000000..7809294 --- /dev/null +++ b/kcui/src/view/Login.vue @@ -0,0 +1,219 @@ + + + diff --git a/kcui/src/view/TWInfo.vue b/kcui/src/view/TWInfo.vue index 06050d1..42a273b 100644 --- a/kcui/src/view/TWInfo.vue +++ b/kcui/src/view/TWInfo.vue @@ -14,16 +14,16 @@
-
-
-
{{ item }}
+
+
+
{{ item.name }}
-
-
{{ item }}
+
+
{{ item.name }}
+ style="width: 0.9vw;height:0.9vw;object-fit: contain;float: right;margin-top: 8%;" >
@@ -33,17 +33,19 @@
-
+
-
- -
{{ item }}
+
+ +
{{ item }}
-
- - +
+ +
@@ -65,12 +67,14 @@
-
...
-
-
{{item}}
+
...
+
+
+ {{ item }}
-
...
+
+
...
@@ -93,7 +97,14 @@ export default { data() { return { userName: "李明", - mulu: ["图文认知", "视频资源", "动画显示", "计算模块", "知识图谱", "帮助文档"], + mulu: [ + {id: 0, name: "图文资源", info: "TwInfo"}, + {id: 1, name: "视频资源", info: "SpInfo"}, + {id: 2, name: "动画显示", info: "DhInfo"}, + {id: 3, name: "计算模块", info: "JsInfo"}, + {id: 4, name: "知识图谱", info: "Graph"}, + {id: 4, name: "帮助文档", info: "Help"} + ], page: "图文认知", typeList: ["海洋大气", "海洋文学", "海洋地理", "复杂水声", "复杂电磁"], contentList: [], @@ -104,17 +115,20 @@ export default { total: 0, totalPage: 0, pagesList: [], - onePagesList:[], + onePagesList: [], } }, methods: { - changeType(item){ - console.log("dhjasdhkahdkjahskjhdkj") + goInfo(info){ + console.log(info) + this.$router.push('/'+info) + }, + changeType(item) { this.twType = item; this.getContentList(); }, - choosePage(item){ + choosePage(item) { console.log(item); this.pageNum = item; this.getContentList(); @@ -133,17 +147,17 @@ export default { this.totalPage = res.data.totalPages; var aaa = 0; - this.onePagesList =[]; + this.onePagesList = []; this.pagesList = []; - if(this.pageNum