功能暂提

This commit is contained in:
“hhk” 2024-07-30 15:01:42 +08:00
parent 6836af3090
commit bb81f1e59c
2 changed files with 32 additions and 34 deletions

View File

@ -20,16 +20,17 @@
<div class="contact">
<div class="info">
<!-- main -->
<div v-for="(item, index) in nav " :key=index>
<!-- <div v-for="(item, index) in nav " :key=index>
<div class="about-conts-item1" v-if="currentActive == index">
<div class="neirong" v-html="pageContextList[index]"></div>
</div>
</div> -->
<div class="info-item" v-for="(item,index) in fourlist" :key="index">
<img :src="imgurl + item.contentImg" alt="">
<div class="p">{{item.contentTitle}}</div>
<div class="desc" v-html="item.contentDetail"></div>
</div>
<!-- <div class="info-item" v-for="(item,index) in fourlist" :key="index">-->
<!-- <img :src=" imgurl + item.contentImg " alt="">-->
<!-- <div class="p">{{item.contentTitle}}</div>-->
<!-- <div class="desc" v-html="item.contentDetail"></div>-->
<!-- </div>-->
</div>
<div class="map">
@ -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
});

View File

@ -22,25 +22,20 @@
</div>
</div>
<div class="about-conts">
<!-- main -->
<div v-for="(item, index) in nav " :key=index>
<div class="teaching-list" v-if="currentActive == index">
<div class="neirong" v-html="pageContextList[index]"></div>
</div>
</div>
<!-- 教学成果 -->
<!-- <div class="ayptjs" v-if="currentActive == 1">
<div class="ayptjs" v-if="currentActive == 1">
<div class="tt">教学成果</div>
<div class="ayptjs-list">
<div class="item" v-for="(item, index) in 8">
<div class="item" v-for="(item, index) in teachingAchievements" :key="index" @click="showDetails(item)">
<div class="img">
<img src="../../assets/gw/Snipaste_2024-07-23_22-51-23.jpg" alt="">
<img :src="imgurl + item.contentImg" alt="">
<!-- <img src="../../assets/gw/Snipaste_2024-07-23_22-51-23.jpg" alt=""> -->
</div>
<div class="text">
<div class="tts">人机工程仿真分析平台</div>
<div class="tts">{{item.contentTitle}}</div>
<div class="desc">
人机工程学是一门涉及人体测量学工业设计工业工程心理学美学等多个领域的交叉学科其研究目的是实现不同的作业中人机器环境三者间的协调即运用上述学科的知识研究方法评价手段对工作器具工作方式和工作环境的设计进行分析并提出改造建议使得作业在效率安全健康舒适等方面的性能得以有效提高
<div class="desc" v-html="item.summary"></div>
</div>
</div>
<div class="more">
@ -49,10 +44,10 @@
</div>
</div>
</div>
</div> -->
</div>
<!-- 教学团队 -->
<!-- <div class="team" v-if="currentActive == 0">
<div class="team" v-if="currentActive == 0">
<div class="tt">教学团队</div>
<div class="team-list">
<div class="item" v-for="(item, index) in 8">
@ -62,6 +57,13 @@
<div class="tts">王尔特</div>
</div>
</div>
</div>
<!-- main -->
<!-- <div v-for="(item, index) in nav " :key=index>
<div class="teaching-list" v-if="currentActive == index">
<div class="neirong" v-html="pageContextList[index]"></div>
</div>
</div> -->
@ -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
});