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

激活/购买后可参加考试

上级 8b99f40c
......@@ -173,6 +173,9 @@ export default {
});
}
// 在浏览器中
if(!isWeiXin()) {
// 没有绑定则提示去购买/激活
if(!this.hasBindCard) {
if(item.type == 1) {
Toast('激活/购买后可参加考试');
......@@ -180,9 +183,8 @@ export default {
Toast('激活/购买后可学习完整课程');
}
return;
}
if(!isWeiXin()) {
// 已经绑定则前往云鹊医APP
} else {
if(item.type == 1) {
Toast('请前往云鹊医APP参加考试');
} else if(item.type == 2){
......@@ -190,6 +192,8 @@ export default {
}
return;
}
}
if(!this.logged) {
if(item.type == 1) {
Toast('请前往云鹊医APP参加考试');
......
......@@ -87,9 +87,12 @@ export default {
margin-left: 1px;
margin-right: 4px;
}
& > span {
font-size: 12px;
color: #979899;
}
}
}
.right {
display: flex;
flex-direction: row;
......
......@@ -90,9 +90,12 @@ export default {
margin-left: 1px;
margin-right: 4px;
}
& > span {
font-size: 12px;
color: #979899;
}
}
}
.right {
display: flex;
flex-direction: row;
......
......@@ -676,7 +676,7 @@ export default {
this.showLoading = false;
// this.isShowPopup = true;
this.cardInfo = (res.data && res.data[0]) || { id: 0, name: "职称考精讲课程卡" };
this.subContent = `您已购买“${this.cardInfo.name}”,是否用此卡绑定并激活当前课程。学习卡激活码一旦使用,不可更改不可退回`
this.subContent = `您已购买“${this.cardInfo.goodsName}”,是否用此卡绑定并激活当前课程。学习卡激活码一旦使用,不可更改不可退回`
}
});
},
......
......@@ -635,7 +635,7 @@ export default {
if (res.code == "000000") {
this.showLoading = false;
this.cardInfo = (res.data && res.data[0]) || { id: 0, name: "国家级继续教育项目(远程)学习卡" };
this.subContent = `您已购买“${this.cardInfo.name}”,是否用此卡绑定并激活当前课程。学习卡激活码一旦使用,不可更改不可退回`
this.subContent = `您已购买“${this.cardInfo.goodsName}”,是否用此卡绑定并激活当前课程。学习卡激活码一旦使用,不可更改不可退回`
}
});
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册