提交 88dd2d22 编写于 作者: L liumj

弹窗问题

上级 7a5cb18b
......@@ -157,7 +157,7 @@
that.getOrderInfo(res.data.orderNo)
} else {
if (res.code >= 300 && res.code < 400) {
this.$msgBox.showMsgBox({
this.$msgBox({
content: res.msg,
isShowCancelBtn: false
}).then(() => {
......@@ -166,7 +166,7 @@
this.$router.push({name: 'login'})
}).catch(() => {})
} else {
this.$msgBox.showMsgBox({
this.$msgBox({
content: res.msg,
isShowCancelBtn: false
}).then(() => {
......@@ -177,7 +177,7 @@
}
}
}).catch(() => {
this.$msgBox.showMsgBox({
this.$msgBox({
content: '提交失败,请重试',
isShowCancelBtn: false
})
......@@ -223,7 +223,7 @@
}
console.log(this.money)
if (this.money <= 0) {
this.$msgBox.showMsgBox({
this.$msgBox({
content: '活动异常,请联系客服',
isShowCancelBtn: false
}).then(() => {
......
......@@ -212,7 +212,7 @@
} else if (res.data.orderStatus === 2) {
if (that.order.courseType === 3) {
this.close();
this.$msgBox.showMsgBox({
this.$msgBox({
content: '购买成功',
isShowCancelBtn: false
}).then(res => {
......
......@@ -51,7 +51,7 @@ export default {
return false;
}
if (!item.isFree) {
this.$msgBox.showMsgBox({
this.$msgBox({
content: '购买后才可以下载',
isShowCancelBtn: false
}).then(() => {
......
......@@ -49,7 +49,7 @@ export default {
if (res.code === 200) {
this.play(Object.assign({vid: vid}, res.data));
} else if (res.code === 402) {
this.$msgBox.showMsgBox({
this.$msgBox({
content: '购买后才可以观看',
isShowCancelBtn: false
})
......
......@@ -44,8 +44,8 @@
<dl v-for="(one, index) in courseInfo.chapterList" :key="index">
<dt>{{index + 1}}章:{{one.chapterName}}</dt>
<dd v-for="(two, num) in one.periodList" :key="num" :class="{on : nowNo == two.id}" @click="videoPlay(two)"><i class="iconfont">&#xe690;</i><span>{{num + 1}}讲:</span>{{two.periodName}}
<span class="no_video2" v-if="!two.periodVideoDTOList || !two.periodVideoDTOList.length">(未更新)</span>
<span class="c_blue" v-if="courseInfo.isFree || two.isFree">(免费)</span>
<span class="no_video2" v-if="!two.videoVid">(未更新)</span>
<span class="c_blue" v-if="two.isFree">(免费)</span>
</dd>
</dl>
</div>
......@@ -107,7 +107,7 @@ export default {
return false;
}
if (!item.isFree) {
this.$msgBox.showMsgBox({
this.$msgBox({
content: '购买后才可以下载',
isShowCancelBtn: false
}).then(() => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册