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

文案与提示等

上级 22b19e1a
......@@ -9,7 +9,7 @@
</div>
<div class="bottom">
<img src="../../images/cme/phrase2/info.png" />
<span>激活或购买后可学习课程</span>
<span>{{desc}}</span>
</div>
</article>
<article class="right">
......@@ -24,6 +24,10 @@ export default {
cardInfo: {
type: Object,
default: () => {}
},
desc: {
type: String,
default: "激活或购买后可学习课程"
}
},
data() {
......
<template>
<div class="free-tips-wrapper">
<div class="free-tips-wrapper" @click="buyCard">
<div class="left">
<img src="../../images/question/warning-h.png" alt />
<span class="text">免费练习{{total}}题,解锁全部题目需完成购买</span>
</div>
<img class="right" @click="buyCard" src="../../images/question/arror-right.png" alt />
<img class="right" src="../../images/question/arror-right.png" alt />
</div>
</template>
<script>
......
......@@ -132,6 +132,12 @@ export default {
setEntry: true
};
this.currentQuestion.favorFlag = this.currentQuestion.favorFlag == 0 ? 1 : 0;
let operateText = "收藏成功";
if(param.operateType == 2) {
operateText = "取消收藏";
}
Toast(operateText);
this.POST("onlineexam/collectExamTitle", param).then(res => {
if (res.code == "000000") {
if(res.data) {
......
......@@ -149,7 +149,7 @@
<CourseDialog
:subContent="subContent"
confirmBtnText="激活并去学习"
confirmBtnText="激活"
needSubContent
:isShowDialog="showBindCardTips"
@handlerAction="handlerAction"
......@@ -566,7 +566,7 @@ export default {
if (res.code == "000000") {
this.showLoading = false;
this.cardInfo = (res.data && res.data[0]) || { id: 0, name: "职称考精讲课程卡" };
this.subContent = `您已购买“${this.cardInfo.goodsName}”,是否用此卡绑定并激活当前课程。学习卡激活码一旦使用,不可更改不可退回`
this.subContent = `您已购买“${this.cardInfo.goodsName}”,是否使用此卡绑定并激活当前内容?一旦使用,不可更改或退回`
}
});
},
......
......@@ -40,6 +40,7 @@
<BindCardButton
v-if="!bindStatus"
:cardInfo="cardInfo"
desc="激活或购买后可做题"
@changeClick="changeClick"
@gotoBuy="confirm"
></BindCardButton>
......@@ -51,7 +52,7 @@
</ChangeCard>
<CourseDialog
:subContent="subContent"
confirmBtnText="激活并去习"
confirmBtnText="激活并去习"
needSubContent
:isShowDialog="showBindCardTips"
@handlerAction="handlerAction"
......@@ -238,7 +239,7 @@ export default {
if (res.code == "000000") {
// this.showLoading = false;
this.cardInfo = (res.data && res.data[0]) || { id: 0, name: "职称考精讲课程卡" };
this.subContent = `您已购买“${this.cardInfo.goodsName}”,是否用此卡绑定并激活当前课程。学习卡激活码一旦使用,不可更改不可退回`
this.subContent = `您已购买“${this.cardInfo.goodsName}”,是否使用此卡绑定并激活当前内容?一旦使用,不可更改或退回`
}
});
},
......
......@@ -30,7 +30,7 @@
<!-- 主动提示:激活并去学习 -->
<CourseDialog
:subContent="subContent"
confirmBtnText="激活并去练习"
confirmBtnText="激活"
needSubContent
:isShowDialog="showBindCardTips"
@handlerAction="handlerAction"
......@@ -474,7 +474,7 @@ export default {
id: 0,
name: "题库卡"
};
this.subContent = `您已购买${this.cardInfo.goodsName}”,是否用此卡绑定并激活当前题库。题库卡激活码一旦使用,不可更改不可退回`;
this.subContent = `您已购买${this.cardInfo.goodsName}”,是否使用此卡绑定并激活当前内容?一旦使用,不可更改或退回`;
}
});
},
......
......@@ -161,7 +161,7 @@
<!-- 主动提示:激活并去学习 -->
<CourseDialog
:subContent="subContent"
confirmBtnText="激活并去学习"
confirmBtnText="激活"
needSubContent
:isShowDialog="showBindCardTips"
@handlerAction="handlerAction"
......@@ -553,7 +553,7 @@ export default {
if (res.code == "000000") {
this.showLoading = false;
this.cardInfo = (res.data && res.data[0]) || { id: 0, name: "职称考精讲课程卡" };
this.subContent = `您已购买“${this.cardInfo.goodsName}”,是否用此卡绑定并激活当前课程。学习卡激活码一旦使用,不可更改不可退回`
this.subContent = `您已购买“${this.cardInfo.goodsName}”,是否使用此卡绑定并激活当前内容?一旦使用,不可更改或退回`
}
});
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册