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

代码整理等

上级 f53c8194
...@@ -53,10 +53,10 @@ export default { ...@@ -53,10 +53,10 @@ export default {
// 广告位跳转 // 广告位跳转
jumpPage() { jumpPage() {
if(this.isWeb) { // if(this.isWeb) {
window.location.href = this.showInfo.jumpUrl; // window.location.href = this.showInfo.jumpUrl;
return; // return;
} // }
let paramList = [ let paramList = [
{ {
key: "pageUrl", key: "pageUrl",
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
</div> </div>
<!-- banner视频 --> <!-- banner视频 -->
<CommonTcPlayer ref="tcPlayerRef" v-if="bannerType == 2" style="flex" :options="videoOptions" @sk-tip="isShowSkDialog=true"></CommonTcPlayer> <CommonTcPlayer ref="tcPlayerRef" v-if="bannerType == 2" style="flex" :options="videoOptions" @sk-tip="isShowSkDialog=true"></CommonTcPlayer>
<div class="sk-btn-cover-new" @click="continueStudy()" v-if="bannerType == 2 && hasBindCard" > <!-- <div class="sk-btn-cover-new" @click="continueStudy()" v-if="bannerType == 2 && hasBindCard" >
<span :class="{'android': isAndroid}">继续学习</span> <span :class="{'android': isAndroid}">继续学习</span>
</div> </div> -->
<!-- 项目标题 --> <!-- 项目标题 -->
<CommonDescription <CommonDescription
...@@ -166,25 +166,6 @@ ...@@ -166,25 +166,6 @@
></span> ></span>
</div> </div>
<!-- <ShiKanCommonDialog
class="shikan"
needSubContent
content="试看结束"
subContent="购买后可看完整课程"
confirmBtnText="去购买"
:isShowDialog="isShowSkDialog"
@handlerAction="goBuyKc"
/> -->
<IOSDownloadDialog
class="shikan"
isSingle
content="请您下载新版本App"
cancleBtnText="我知道了"
:isShowDialog="isShowIOSDownloadDialog"
@handlerAction="goBack"
/>
<!-- 未登录提示 --> <!-- 未登录提示 -->
<div class="course-tips" v-if="!logged"> <div class="course-tips" v-if="!logged">
<CourseCovers isSingle coverTips="登录后马上学习课程" rightBtnText="去登录" @btnClick="btnClick"></CourseCovers> <CourseCovers isSingle coverTips="登录后马上学习课程" rightBtnText="去登录" @btnClick="btnClick"></CourseCovers>
...@@ -233,8 +214,6 @@ import ExjumperDialog from "@/components/cme/exjumper-dialog"; ...@@ -233,8 +214,6 @@ import ExjumperDialog from "@/components/cme/exjumper-dialog";
import ExjumperButton from "@/components/cme/exjumper-button"; import ExjumperButton from "@/components/cme/exjumper-button";
import NoMoreContent from "@/components/business/no-more-content"; import NoMoreContent from "@/components/business/no-more-content";
import CommonAdertImg from "@/components/common/common-advert-img"; import CommonAdertImg from "@/components/common/common-advert-img";
import ShiKanCommonDialog from "@/components/cme/common-dialog";
import IOSDownloadDialog from "@/components/cme/common-dialog";
import { getWebPageUrl, gotoPage, getAppVersion } from "@/utils/index"; import { getWebPageUrl, gotoPage, getAppVersion } from "@/utils/index";
import { mapGetters, mapActions } from "vuex"; import { mapGetters, mapActions } from "vuex";
...@@ -351,7 +330,6 @@ export default { ...@@ -351,7 +330,6 @@ export default {
isShowSkDialog: false, isShowSkDialog: false,
isShowEndDialog: false, isShowEndDialog: false,
isShowFFDialog: false, isShowFFDialog: false,
isShowIOSDownloadDialog: false,
needShort: false needShort: false
}; };
}, },
...@@ -376,8 +354,6 @@ export default { ...@@ -376,8 +354,6 @@ export default {
NoMoreContent, NoMoreContent,
BindCardButtonShare, BindCardButtonShare,
ChangeCard, ChangeCard,
ShiKanCommonDialog,
IOSDownloadDialog,
CourseCovers CourseCovers
}, },
...@@ -1009,12 +985,6 @@ export default { ...@@ -1009,12 +985,6 @@ export default {
this.isShowSkDialog = false; this.isShowSkDialog = false;
type == 2 && this.confirm(); type == 2 && this.confirm();
}, },
// 直接返回到上层
goBack() {
this.isShowIOSDownloadDialog = false;
rocNative.goBack();
}
} }
}; };
</script> </script>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册