|
@@ -4,7 +4,8 @@
|
|
|
<div class="learn-detail-wrapper" v-if="!mobile">
|
|
<div class="learn-detail-wrapper" v-if="!mobile">
|
|
|
<!--面包屑-->
|
|
<!--面包屑-->
|
|
|
<el-breadcrumb class="learn-breadcrumb">
|
|
<el-breadcrumb class="learn-breadcrumb">
|
|
|
- <el-breadcrumb-item :to="{ path: '/learn' }">客栈学院</el-breadcrumb-item>
|
|
|
|
|
|
|
+ <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
|
|
|
|
|
+ <el-breadcrumb-item :to="{ path: '/learn' }">全部课程</el-breadcrumb-item>
|
|
|
<el-breadcrumb-item>课程详情</el-breadcrumb-item>
|
|
<el-breadcrumb-item>课程详情</el-breadcrumb-item>
|
|
|
</el-breadcrumb>
|
|
</el-breadcrumb>
|
|
|
|
|
|
|
@@ -13,7 +14,7 @@
|
|
|
<!--已购买-->
|
|
<!--已购买-->
|
|
|
<div class="purchased">
|
|
<div class="purchased">
|
|
|
<a :href="`${'/lv/'+sale_id}`" class="video">
|
|
<a :href="`${'/lv/'+sale_id}`" class="video">
|
|
|
- <img class="play" src="@/assets/img/learn/video@2x.png" alt="play">
|
|
|
|
|
|
|
+ <img class="play" @click="cnzz('客栈学院','课程详情+播放按钮PLAY','')" src="@/assets/img/learn/video@2x.png" alt="play">
|
|
|
<img class="bg-img" :src="defaultImg" v-real-img="learnDetail.info.img" alt="">
|
|
<img class="bg-img" :src="defaultImg" v-real-img="learnDetail.info.img" alt="">
|
|
|
</a>
|
|
</a>
|
|
|
<div class="intro">
|
|
<div class="intro">
|
|
@@ -291,6 +292,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
}else{
|
|
}else{
|
|
|
|
|
+ this.cnzz("客栈学院","课程详情+收藏","");
|
|
|
this.$axios.$post('/uapi/collection/add', params).then(res => {
|
|
this.$axios.$post('/uapi/collection/add', params).then(res => {
|
|
|
let { data, status, info } = res
|
|
let { data, status, info } = res
|
|
|
if(status === 1){
|
|
if(status === 1){
|
|
@@ -312,6 +314,7 @@ export default {
|
|
|
next: location.href + '?act=pay'
|
|
next: location.href + '?act=pay'
|
|
|
}
|
|
}
|
|
|
if (!this.userinfo || !this.userinfo.nickname) {
|
|
if (!this.userinfo || !this.userinfo.nickname) {
|
|
|
|
|
+ this.cnzz("客栈学院","课程详情+立即购买","");
|
|
|
// 未登录时 => 去登录
|
|
// 未登录时 => 去登录
|
|
|
if (this.deviceType.ios || this.deviceType.android) {
|
|
if (this.deviceType.ios || this.deviceType.android) {
|
|
|
window.location.href = "proginn://login?backToPage=true";
|
|
window.location.href = "proginn://login?backToPage=true";
|
|
@@ -328,6 +331,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
// 继续学习
|
|
// 继续学习
|
|
|
}else {
|
|
}else {
|
|
|
|
|
+ this.cnzz("客栈学院","课程详情+继续学习","");
|
|
|
window.location.href = '/lv/'+ this.sale_id
|
|
window.location.href = '/lv/'+ this.sale_id
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|