From bb81f1e59cac5758d9ddd52f23403416e0f68fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chhk=E2=80=9D?= <“hhk@mail.com”> Date: Tue, 30 Jul 2024 15:01:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=9A=82=E6=8F=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/officialWebsite/contact.vue | 29 +++++++-------- ruoyi-ui/src/views/officialWebsite/team.vue | 37 ++++++++++--------- 2 files changed, 32 insertions(+), 34 deletions(-) diff --git a/ruoyi-ui/src/views/officialWebsite/contact.vue b/ruoyi-ui/src/views/officialWebsite/contact.vue index b2adf55..45d1507 100644 --- a/ruoyi-ui/src/views/officialWebsite/contact.vue +++ b/ruoyi-ui/src/views/officialWebsite/contact.vue @@ -20,16 +20,17 @@
-
+ + +
+ +
{{item.contentTitle}}
+
- - - - -
@@ -71,7 +72,7 @@ export default { isMounted: false, } }, - mounted() { + created() { // 页面加载完毕调用 this.initPageData(); }, @@ -85,7 +86,7 @@ export default { if (this.currentActive == value) { return } - this.currentActive = value + this.currentActive = value; }, initPageData() { @@ -94,16 +95,12 @@ export default { "pageNum": 1, "pageSize": 10 } + debugger; getPageColumn(routeParam).then(response => { - response.data.forEach(cloumnItem => { - this.nav.push(cloumnItem); + debugger; - let context = ""; - cloumnItem.children.list.forEach(element => { - context += element.contentDetail; - }); - - this.pageContextList.push(context); + response.data[0].children.list.forEach(cloumnItem => { + this.fourlist.push(cloumnItem); // cloumnItem.categoryName }); diff --git a/ruoyi-ui/src/views/officialWebsite/team.vue b/ruoyi-ui/src/views/officialWebsite/team.vue index c053328..913de9a 100644 --- a/ruoyi-ui/src/views/officialWebsite/team.vue +++ b/ruoyi-ui/src/views/officialWebsite/team.vue @@ -22,25 +22,20 @@
- -
-
-
-
-
-
-
人机工程仿真分析平台
+
{{item.contentTitle}}
- 人机工程学是一门涉及人体测量学、工业设计、工业工程、心理学、美学等多个领域的交叉学科,其研究目的是实现不同的作业中人、机器、环境三者间的协调。即运用上述学科的知识、研究方法、评价手段,对工作器具、工作方式和工作环境的设计进行分析,并提出改造建议,使得作业在效率、安全、健康、舒适等方面的性能得以有效提高。 +
@@ -49,10 +44,10 @@
- --> + - + @@ -89,7 +91,9 @@ export default { }, data() { return { + imgurl: process.env.VUE_APP_BASE_API, pageContextList: [], + teachingAchievements:[], nav: [ // { name: '教学团队' }, // { name: '教学成果' }, @@ -99,7 +103,7 @@ export default { } }, - mounted() { + created() { // 页面加载完毕调用 this.initPageData(); }, @@ -125,13 +129,10 @@ export default { getPageColumn(routeParam).then(response => { response.data.forEach(cloumnItem => { this.nav.push(cloumnItem); - - let context = ""; cloumnItem.children.list.forEach(element => { - context += element.contentDetail; + this.teachingAchievements.push(element); }); - this.pageContextList.push(context); // cloumnItem.categoryName });