提交 13194f28 编写于 作者: guangjun.yang's avatar guangjun.yang

查找是否有没有绑定的卡

上级 793f40a6
...@@ -1005,9 +1005,7 @@ export default { ...@@ -1005,9 +1005,7 @@ export default {
if(this.hasBindCard) { if(this.hasBindCard) {
_this.videoOptions.trySeeTime = 300000; _this.videoOptions.trySeeTime = 300000;
_this.videoOptions.autoplay = false; _this.videoOptions.autoplay = false;
} else { }
_this.hasNoUsedCard();
}
let mp4Url = _this.videoOptions.mp4; let mp4Url = _this.videoOptions.mp4;
// 判断是否是mp4 // 判断是否是mp4
if(mp4Url.lastIndexOf('.mp4') > 0) { if(mp4Url.lastIndexOf('.mp4') > 0) {
...@@ -1094,6 +1092,7 @@ export default { ...@@ -1094,6 +1092,7 @@ export default {
// 如果 hasBindCard 为false,则获取卡信息 0:未绑卡 1:已绑卡 // 如果 hasBindCard 为false,则获取卡信息 0:未绑卡 1:已绑卡
if (!_this.hasBindCard) { if (!_this.hasBindCard) {
_this.preJumper(); _this.preJumper();
_this.hasNoUsedCard();
} }
} }
}); });
......
...@@ -898,8 +898,6 @@ export default { ...@@ -898,8 +898,6 @@ export default {
_this.videoOptions.trySeeTime = 0; _this.videoOptions.trySeeTime = 0;
_this.videoOptions.autoplay = false; _this.videoOptions.autoplay = false;
// 如果没有绑定卡,则查询是否有未绑定的卡 // 如果没有绑定卡,则查询是否有未绑定的卡
} else {
_this.logged && _this.hasNoUsedCard();
} }
let mp4Url = _this.videoOptions.mp4; let mp4Url = _this.videoOptions.mp4;
// 判断是否是mp4 // 判断是否是mp4
...@@ -994,6 +992,7 @@ export default { ...@@ -994,6 +992,7 @@ export default {
// 如果 hasBindCard 为false,则获取卡信息 0:未绑卡 1:已绑卡 // 如果 hasBindCard 为false,则获取卡信息 0:未绑卡 1:已绑卡
if (!_this.hasBindCard) { if (!_this.hasBindCard) {
_this.preJumper(); _this.preJumper();
_this.logged && _this.hasNoUsedCard();
} }
// let shareUrl = encodeURIComponent(location.href); // let shareUrl = encodeURIComponent(location.href);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册