提交 1877a1f3 编写于 作者: guangjun.yang's avatar guangjun.yang

未绑定有学习

上级 e504cdbe
...@@ -737,9 +737,11 @@ export default { ...@@ -737,9 +737,11 @@ export default {
this.NEW_GET(`cme/project/${_this.projectId}/info`, param).then(res => { this.NEW_GET(`cme/project/${_this.projectId}/info`, param).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
_this.hasBindCard = res.data.cardStatus == 0 ? false : true; _this.hasBindCard = res.data.cardStatus == 0 ? false : true;
_this.limitTimes = res.data.trySeeTime;
if(videoUrl) { if(videoUrl) {
_this.videoOptions.mp4 = videoUrl; _this.videoOptions.mp4 = videoUrl;
this.limitTimes = this.$route.query.trySeeTime || 300000; this.limitTimes = this.$route.query.trySeeTime || 300000;
_this.videoOptions.trySeeTime = this.$route.query.trySeeTime || 300000;
} else { } else {
_this.videoOptions.mp4 = res.data.attachmentUrl; _this.videoOptions.mp4 = res.data.attachmentUrl;
_this.videoOptions.trySeeTime = res.data.trySeeTime || 300000; _this.videoOptions.trySeeTime = res.data.trySeeTime || 300000;
...@@ -813,7 +815,8 @@ export default { ...@@ -813,7 +815,8 @@ export default {
intorOffsetTop intorOffsetTop
); );
// 直接跳转 // 直接跳转
if (_this.project.jumpToContents) { // if (_this.project.jumpToContents) {
if (_this.hasBindCard) {
setTimeout(() => { setTimeout(() => {
this.jumpCatalogue(); this.jumpCatalogue();
}, 200); }, 200);
...@@ -825,7 +828,6 @@ export default { ...@@ -825,7 +828,6 @@ export default {
}, 800); }, 800);
// 如果 hasBindCard 为false,则获取卡信息 0:未绑卡 1:已绑卡 // 如果 hasBindCard 为false,则获取卡信息 0:未绑卡 1:已绑卡
_this.limitTimes = res.data.trySeeTime;
if (!_this.hasBindCard) { if (!_this.hasBindCard) {
_this.preJumper(); _this.preJumper();
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册