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

修改文案

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