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

弹框等,文案“去试看”

上级 a3b96367
...@@ -262,6 +262,9 @@ export default { ...@@ -262,6 +262,9 @@ export default {
if(!actionText) { if(!actionText) {
actionText = type == 1 ? '去考试' : '去学习'; actionText = type == 1 ? '去考试' : '去学习';
} }
if(!this.hasBindCard && type == 2) {
actionText = '去试看'
}
return actionText; return actionText;
}, },
// showDialog(introduce) { // showDialog(introduce) {
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<div class="dialog-content">{{content}}</div> <div class="dialog-content">{{content}}</div>
<div v-show="needSubContent" class="dialog-sub-content" v-html="subContent"></div> <div v-show="needSubContent" class="dialog-sub-content" v-html="subContent"></div>
<div class="dialog-footer v-hairline-top"> <div class="dialog-footer v-hairline-top">
<span :class="{'single-btn': isSingle}" @click.stop.prevent="handlerAction(1)">{{cancleBtnText}}</span> <span :class="{'single-btn': isSingle}" @click="handlerAction(1)">{{cancleBtnText}}</span>
<span v-show="!isSingle" class="confirm-btn v-hairline-left" @click.stop.prevent="handlerAction(2)">{{confirmBtnText}}</span> <span v-show="!isSingle" class="confirm-btn v-hairline-left" @click="handlerAction(2)">{{confirmBtnText}}</span>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<img v-show="project.status == 10" class="banner-img-10" src="../images/status-end-cme.png" /> <img v-show="project.status == 10" class="banner-img-10" src="../images/status-end-cme.png" />
</div> </div>
<!-- banner视频 --> <!-- banner视频 -->
<CommonTcPlayer v-if="bannerType == 2" style="flex" :options="videoOptions" @sk-tip="isShowSkDialog = true"></CommonTcPlayer> <CommonTcPlayer v-if="bannerType == 2" style="flex" :options="videoOptions" @sk-tip="isShowSkDialog=true"></CommonTcPlayer>
<!-- 项目标题 --> <!-- 项目标题 -->
<CommonDescription <CommonDescription
:projectName="project.projectName" :projectName="project.projectName"
...@@ -119,15 +119,7 @@ ...@@ -119,15 +119,7 @@
cancleBtnText="我知道了" cancleBtnText="我知道了"
@handlerAction="handlerEJAction" @handlerAction="handlerEJAction"
/> />
<ShiKanCommonDialog
class="shikan"
needSubContent
content="试看结束"
subContent="购买后可看完整课程"
confirmBtnText="去购买"
:isShowDialog="isShowSkDialog"
@handlerAction="goBuyKc"
/>
<ExjumperButton <ExjumperButton
@btnClick="beforeJumpToExam" @btnClick="beforeJumpToExam"
v-if="project.cmeType == 2 && hasBindCard" v-if="project.cmeType == 2 && hasBindCard"
...@@ -160,6 +152,16 @@ ...@@ -160,6 +152,16 @@
@click="copyLink" @click="copyLink"
></span> ></span>
</div> </div>
<ShiKanCommonDialog
class="shikan"
needSubContent
content="试看结束"
subContent="购买后可看完整课程"
confirmBtnText="去购买"
:isShowDialog="isShowSkDialog"
@handlerAction="goBuyKc"
/>
</div> </div>
</template> </template>
<script> <script>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册