提交 346ab446 authored 作者: lihuihui's avatar lihuihui

修改文案

上级 32084a7f
......@@ -51,8 +51,10 @@
</div>
</template>
<script>
import action from '@action'
export default {
mounted() {
// this.newsList()
if (this.$route.query.point) {
setTimeout(() => {
this.pointScroll()
......@@ -73,6 +75,21 @@ export default {
path: path
})
}
},
newsList() {
if (!Object.keys(this.$store.state.classify).length) {
setTimeout(() => {
this.articleClassify = this.$store.state.classify
this.newsList()
}, 2000)
} else {
const findId = this.articleClassify.children.find(item => {
return item.display_name === '我是学校'
})
action.articleAction.getArticle({ category_id: findId.id }).then(res => {
this.data = res.data.list[0].content
})
}
}
},
watch: {
......
<template>
<div class="candida-box">
<div class="candida-box content-max-width" v-html="data">
<div class="module1 content-max-width">
<div class="title" id="point1">考生报名</div>
<div class="dosc">1+X证书制度是国家职业教育改革方案实施的重要举措,为全面落实《国家职业教育改革实施方案》和教育部等四部印发的《关于在院校实施“学历证书”+若干职业技能等级证书制度试点方案》(简称1+X证书)文件精神,高效有序推进《金融产品数字化营销职业技能等级证书》考核工作,对已申报1+X证书试点的院校,现开启考试报名工作,有关事项安排如下:</div>
......@@ -90,12 +90,20 @@
</div>
</template>
<script>
import action from '@action'
export default {
mounted() {
this.newsList()
if (this.$route.query.point) {
this.pointScroll()
}
},
data() {
return {
articleClassify: this.$store.state.classify,
data: ''
}
},
methods: {
pointScroll(){
$('html, body').animate({
......@@ -110,6 +118,21 @@ export default {
path: path
})
}
},
newsList() {
if (!Object.keys(this.$store.state.classify).length) {
setTimeout(() => {
this.articleClassify = this.$store.state.classify
this.newsList()
}, 2000)
} else {
const findId = this.articleClassify.children.find(item => {
return item.display_name === '我是考生'
})
action.articleAction.getArticle({ category_id: findId.id }).then(res => {
this.data = res.data.list[0].content
})
}
}
},
watch: {
......
<template>
<div class="teacher-box">
<div class="teacher-box content-max-width">
<div class="module1 content-max-width">
<div class="title">师资培训报名</div>
<div class="p">网站师资培训页面选择项目课程点击在线报名,填写培训申请表后,关注审核结果和培训通知。</div>
......@@ -64,7 +64,14 @@
</div>
</template>
<script>
import action from '@action'
export default {
data() {
return {
articleClassify: this.$store.state.classify,
datas: ''
}
},
mounted() {
if (this.$route.query.point) {
setTimeout(() => {
......@@ -86,6 +93,22 @@ export default {
path: path
})
}
},
newsList() {
debugger
if (!Object.keys(this.$store.state.classify).length) {
setTimeout(() => {
this.articleClassify = this.$store.state.classify
this.newsList()
}, 2000)
} else {
const findId = this.articleClassify.children.find(item => {
return item.display_name === '我是老师'
})
action.articleAction.getArticle({ category_id: findId.id }).then(res => {
this.datas = res.data.list[0].content
})
}
}
},
watch: {
......
......@@ -143,7 +143,7 @@ export default {
},
data() {
const _this = this
return {//this.$store.state.classify
return {
articleClassify: this.$store.state.classify,
tabsIndex: 0,
newsTabIndex: 0,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论