提交 7bf9662e authored 作者: xuyanwei's avatar xuyanwei

资源更新中

......@@ -67,7 +67,7 @@
},
toView(item){
console.log(item,1);
Toast.fail('功能开发中')
Toast.fail('资源更新中')
// this.$router.push({name:'myWrongDetail',query:{code:item.code}})
}
......
......@@ -12,7 +12,7 @@
<ul class="cont2 homePublic">
<li @click="$router.push({name:'weekPractice'})"><h1><img src="../../assets/img/home/icon_dati.png" alt=""></h1>
<li @click="toMoon"><h1><img src="../../assets/img/home/icon_dati.png" alt=""></h1>
<div class="other">
<h2>在线答题</h2>
<h3>GO<img src="../../assets/img/home/triangle.png" alt=""></h3>
......@@ -51,7 +51,7 @@
watch: {},
methods: {
toMoon(){
Toast.fail('功能开发中')
Toast.fail('资源更新中')
// this.$router.push({name:'moonMatch'})
}
},
......
......@@ -74,13 +74,13 @@ export default {
getList(){
getMoonListAPI(this.listQuery).then(res=>{
console.log(res.data.data,22);
if(res.data.code == 0){
this.list = res.data.data.list
}
})
},
linkTo(item){
linkTo(item){
//答题状态 0未开始 1开始答题 2继续答题 3重新答题 -1已过期(无答题记录) -2(有答题记录)
let begin = ()=>{
this.$router.push({name:'match',query:{id:item.id, title:item.name}})
......@@ -100,7 +100,7 @@ export default {
'-2':()=> false,
}
// status[item.examStatus]()
Toast.fail('功能开发中')
Toast.fail('资源更新中')
// this.$router.push({name:'match',query:{id:item.id, title:item.name}})
}
}
......
......@@ -34,7 +34,6 @@
watch: {},
methods: {
getVideo(data){
console.log(1111,process.env)
return `${process.env.BASE_API}/file/${data}/index.m3u8`
},
// 播放视频
......@@ -43,7 +42,6 @@
if(res.data.code == 0){
let startIndex=res.data.data.indexOf('.mp4');
let file=res.data.data.slice(0,startIndex);
console.log('返回路径',this.getVideo(file));
let player = new HlsJsPlayer({
id: 'mse',
url: this.getVideo(file),
......@@ -58,10 +56,6 @@
},
getCollectioncheck(){
getCollectioncheckAPI({
videoId:this.$route.query.id,
......
......@@ -69,7 +69,7 @@
},
toView(item){
console.log(item,1);
Toast.fail('功能开发中')
Toast.fail('资源更新中')
// this.$router.push({name:'myWrongDetail',query:{code:item.code}})
}
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论