@@ -78,6 +78,9 @@ export default {
return v.usetype == "file"
});
this.detail = res.data;
+ uni.setNavigationBarTitle({
+ title: res.data.title,
+ })
setTimeout(() => { this.showListbox = true }, 100)
})
},
if (this.cutoff(res.msg)) return;
res.data.cover = this.getSpecifiedImage(res.data.attinfos[0] || {})
methods: {
@@ -205,6 +205,9 @@ export default {
this.$refs.timer.showTime = res.data.countdown;
this.showFinish = true;
}
this.$nextTick(() => { this.setSwiperHeight() })
@@ -49,7 +49,6 @@
<script>
export default {
-
data() {
return {
crumbs: [],
@@ -83,6 +82,9 @@ export default {
}]
this.getType()
this.getList(true)
+ title: '考试',
onShow() {
this.updateList()