优化
This commit is contained in:
parent
4b131de229
commit
8374281574
@ -38,6 +38,35 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 实践项目 -->
|
||||
<div v-if="item.id == '1813831932748894208'" class="list">
|
||||
<div class="item" v-for="(item, index) in teachingAchievements2" :key="index">
|
||||
<div class="img">
|
||||
<img :src="imgurl + item.contentImg" alt="">
|
||||
</div>
|
||||
<div class="tt">{{ item.contentTitle }}</div>
|
||||
<div class="desc">
|
||||
<div class="desc" v-html="item.summary"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 实践项目 -->
|
||||
<div v-if="item.id == '1813832045458231296'" class="list">
|
||||
<div class="item" v-for="(item, index) in teachingAchievements3" :key="index">
|
||||
<div class="img">
|
||||
<img :src="imgurl + item.contentImg" alt="">
|
||||
</div>
|
||||
<div class="tt">{{ item.contentTitle }}</div>
|
||||
<div class="desc">
|
||||
<div class="desc" v-html="item.summary"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 通用 -->
|
||||
<div class="neirong" v-html="pageContextList[index]" v-else></div>
|
||||
</div>
|
||||
@ -131,6 +160,8 @@ export default {
|
||||
return {
|
||||
imgurl: process.env.VUE_APP_BASE_API,
|
||||
teachingAchievements: [],
|
||||
teachingAchievements2: [],
|
||||
teachingAchievements3: [],
|
||||
pageContextList: [],
|
||||
input4: "",
|
||||
show_search: true,
|
||||
@ -195,6 +226,16 @@ export default {
|
||||
this.teachingAchievements.push(element);
|
||||
});
|
||||
}
|
||||
if (cloumnItem.id == "1813831932748894208") {
|
||||
cloumnItem.children.list.forEach(element => {
|
||||
this.teachingAchievements2.push(element);
|
||||
});
|
||||
}
|
||||
if (cloumnItem.id == "1813832045458231296") {
|
||||
cloumnItem.children.list.forEach(element => {
|
||||
this.teachingAchievements3.push(element);
|
||||
});
|
||||
}
|
||||
// cloumnItem.categoryName
|
||||
});
|
||||
});
|
||||
@ -826,6 +867,7 @@ export default {
|
||||
line-height: 18px;
|
||||
|
||||
}
|
||||
|
||||
.list {
|
||||
width: 80%;
|
||||
margin: 30px auto;
|
||||
|
Loading…
Reference in New Issue
Block a user