Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Culm
pica-professional-exam
提交
d4e1a1cc
提交
d4e1a1cc
编写于
8月 31, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
数据埋点等
上级
f4a0a603
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
76 行增加
和
16 行删除
+76
-16
cell-list-detail-share.vue
src/components/business/cell-list-detail-share.vue
+14
-4
bind-card-button-share.vue
src/components/cme/bind-card-button-share.vue
+3
-0
common-navbar.vue
src/components/common/common-navbar.vue
+3
-0
download-button.vue
src/components/course/download-button.vue
+3
-0
pica-video.vue
src/components/course/pica-video.vue
+3
-0
course-detail.vue
src/views/course-detail.vue
+18
-3
share-merge-detail.vue
src/views/share-merge-detail.vue
+32
-9
未找到文件。
src/components/business/cell-list-detail-share.vue
浏览文件 @
d4e1a1cc
...
@@ -42,10 +42,10 @@
...
@@ -42,10 +42,10 @@
>
>
更新中
更新中
</span>
</span>
<img
class=
"key"
v-else-if=
"!hasBindCard && item.trySeeFlag == 1 && !item.trySeeTime"
@
click=
"toastToBuy('激活/购买后可学习课程')"
src=
"../../images/cme/phrase2/key.png"
alt=
""
>
<img
class=
"key"
v-else-if=
"!hasBindCard && item.trySeeFlag == 1 && !item.trySeeTime"
@
click=
"toastToBuy('激活/购买后可学习课程'
, item
)"
src=
"../../images/cme/phrase2/key.png"
alt=
""
>
<span
<span
v-else-if=
"!hasBindCard && item.trySeeFlag == 1"
v-else-if=
"!hasBindCard && item.trySeeFlag == 1"
@
click=
"gotoExamOrCourse(item)"
@
click=
"gotoExamOrCourse(item
, 'sk'
)"
class=
"text-action"
class=
"text-action"
>
>
去试看
去试看
...
@@ -160,7 +160,12 @@ export default {
...
@@ -160,7 +160,12 @@ export default {
methods
:
{
methods
:
{
// 跳转到考试或课程 type 1: 考试; 2: 课程
// 跳转到考试或课程 type 1: 考试; 2: 课程
// 如果是考试,将根据appVersion判断是新考试还是老考试,如果是301或之前的,都是老考试
// 如果是考试,将根据appVersion判断是新考试还是老考试,如果是301或之前的,都是老考试
gotoExamOrCourse
(
item
)
{
gotoExamOrCourse
(
item
,
type
)
{
if
(
type
==
'sk'
)
{
this
.
$sendBuriedData
({
component_tag
:
`882#88216#
${
item
.
id
}
#
${
item
.
name
}
`
});
}
if
(
!
isWeiXin
())
{
if
(
!
isWeiXin
())
{
if
(
item
.
type
==
1
)
{
if
(
item
.
type
==
1
)
{
Toast
(
'请前往云鹊医APP参加考试'
);
Toast
(
'请前往云鹊医APP参加考试'
);
...
@@ -273,7 +278,12 @@ export default {
...
@@ -273,7 +278,12 @@ export default {
},
},
// 弹框提示
// 弹框提示
toastToBuy
(
toastMsg
)
{
toastToBuy
(
toastMsg
,
item
)
{
if
(
item
)
{
this
.
$sendBuriedData
({
component_tag
:
`882#88215#
${
item
.
id
}
#
${
item
.
name
}
`
});
}
Toast
(
toastMsg
);
Toast
(
toastMsg
);
}
}
}
}
...
...
src/components/cme/bind-card-button-share.vue
浏览文件 @
d4e1a1cc
...
@@ -31,6 +31,9 @@ export default {
...
@@ -31,6 +31,9 @@ export default {
},
},
methods
:
{
methods
:
{
download
()
{
download
()
{
this
.
$sendBuriedData
({
component_tag
:
`882#88217`
});
window
.
location
.
href
=
window
.
location
.
href
=
"https://a.app.qq.com/o/simple.jsp?pkgname=com.picahealth.yunque"
;
"https://a.app.qq.com/o/simple.jsp?pkgname=com.picahealth.yunque"
;
},
},
...
...
src/components/common/common-navbar.vue
浏览文件 @
d4e1a1cc
...
@@ -116,6 +116,9 @@ export default {
...
@@ -116,6 +116,9 @@ export default {
// 生成分享的url
// 生成分享的url
goShare
()
{
goShare
()
{
this
.
$sendBuriedData
({
component_tag
:
`882#88209`
});
let
_this
=
this
;
let
_this
=
this
;
let
videoUrl
=
this
.
$route
.
query
.
videoUrl
||
''
;
let
videoUrl
=
this
.
$route
.
query
.
videoUrl
||
''
;
let
info
=
""
;
let
info
=
""
;
...
...
src/components/course/download-button.vue
浏览文件 @
d4e1a1cc
...
@@ -14,6 +14,9 @@ export default {
...
@@ -14,6 +14,9 @@ export default {
},
},
methods
:
{
methods
:
{
download
()
{
download
()
{
this
.
$sendBuriedData
({
component_tag
:
`882#88210`
});
window
.
location
.
href
=
window
.
location
.
href
=
"https://a.app.qq.com/o/simple.jsp?pkgname=com.picahealth.yunque"
;
"https://a.app.qq.com/o/simple.jsp?pkgname=com.picahealth.yunque"
;
},
},
...
...
src/components/course/pica-video.vue
浏览文件 @
d4e1a1cc
...
@@ -262,6 +262,9 @@ export default {
...
@@ -262,6 +262,9 @@ export default {
},
},
// 重播
// 重播
onReplay
()
{
onReplay
()
{
this
.
$sendBuriedData
({
component_tag
:
`882#88213`
});
this
.
player
.
style
.
display
=
'block'
;
this
.
player
.
style
.
display
=
'block'
;
this
.
player
.
currentTime
=
0
;
this
.
player
.
currentTime
=
0
;
this
.
player
.
play
();
this
.
player
.
play
();
...
...
src/views/course-detail.vue
浏览文件 @
d4e1a1cc
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
<pica-video
ref=
"picaVideo"
:coverType=
"coverType"
:download=
"download"
@
onVideoEnd=
"onVideoEnd"
@
onReplay=
"onReplay"
>
<pica-video
ref=
"picaVideo"
:coverType=
"coverType"
:download=
"download"
@
onVideoEnd=
"onVideoEnd"
@
onReplay=
"onReplay"
>
<!-- 试看结束 -->
<!-- 试看结束 -->
<div
class=
"cover"
v-if=
"logged && coverType === 1"
>
<div
class=
"cover"
v-if=
"logged && coverType === 1"
>
<course-covers
coverTips=
"试看结束
<br
/>
请来云鹊医App学习完整课程" :isSingle="true" rightBtnText="学习完整课程" @btnClick="btnClick" />
<course-covers
coverTips=
"试看结束
<br
/>
请来云鹊医App学习完整课程" :isSingle="true" rightBtnText="学习完整课程" @btnClick="btnClick
(1)
" />
</div>
</div>
<!-- 付费课程,下载App -->
<!-- 付费课程,下载App -->
<div
class=
"cover"
v-if=
"logged && coverType === 2"
>
<div
class=
"cover"
v-if=
"logged && coverType === 2"
>
<course-covers
coverTips=
"本课程为付费课程,请来云鹊医App学习"
:isSingle=
"true"
rightBtnText=
"去云鹊医App"
@
btnClick=
"btnClick"
/>
<course-covers
coverTips=
"本课程为付费课程,请来云鹊医App学习"
:isSingle=
"true"
rightBtnText=
"去云鹊医App"
@
btnClick=
"btnClick
(2)
"
/>
</div>
</div>
<!-- 下一个提示 -->
<!-- 下一个提示 -->
<div
class=
"next-countdown"
v-if=
"coverType === 13"
>
3秒后播放下一节
</div>
<div
class=
"next-countdown"
v-if=
"coverType === 13"
>
3秒后播放下一节
</div>
...
@@ -275,7 +275,13 @@ export default {
...
@@ -275,7 +275,13 @@ export default {
}
}
return
[
chapters
,
curtLecture
];
return
[
chapters
,
curtLecture
];
},
},
btnClick
(
index
)
{
btnClick
(
index
,
type
)
{
// 学习完整课程
if
(
type
==
1
)
{
this
.
$sendBuriedData
({
component_tag
:
`884#88401`
});
}
const
coverType
=
this
.
coverType
;
const
coverType
=
this
.
coverType
;
switch
(
coverType
)
{
switch
(
coverType
)
{
case
1
:
case
1
:
...
@@ -287,6 +293,9 @@ export default {
...
@@ -287,6 +293,9 @@ export default {
break
;
break
;
case
5
:
case
5
:
if
(
index
===
1
)
{
if
(
index
===
1
)
{
this
.
$sendBuriedData
({
component_tag
:
`884#88402`
});
window
.
history
.
back
();
window
.
history
.
back
();
}
else
{
}
else
{
this
.
download
();
this
.
download
();
...
@@ -311,9 +320,15 @@ export default {
...
@@ -311,9 +320,15 @@ export default {
const
{
showFlag
,
trySeeFlag
,
trySeeTime
,
examType
}
=
this
.
course
;
const
{
showFlag
,
trySeeFlag
,
trySeeTime
,
examType
}
=
this
.
course
;
// console.log(lecture);
// console.log(lecture);
if
(
examType
===
2
)
{
// 是考试,mustLearnIds必须完成的lectureId
if
(
examType
===
2
)
{
// 是考试,mustLearnIds必须完成的lectureId
this
.
$sendBuriedData
({
component_tag
:
`884#88405`
});
this
.
$toast
(
'请前往云鹊医APP进行考试'
);
this
.
$toast
(
'请前往云鹊医APP进行考试'
);
return
;
return
;
}
}
this
.
$sendBuriedData
({
component_tag
:
`884#88404#
${
lecture
.
lectureId
}
#
${
lecture
.
lectureName
}
`
});
if
(
lecture
.
lectureId
===
this
.
curtLectureId
)
{
if
(
lecture
.
lectureId
===
this
.
curtLectureId
)
{
return
;
return
;
}
}
...
...
src/views/share-merge-detail.vue
浏览文件 @
d4e1a1cc
...
@@ -27,15 +27,15 @@
...
@@ -27,15 +27,15 @@
<pica-video
ref=
"picaVideo"
:coverType=
"coverType"
:download=
"download"
@
onVideoEnd=
"onVideoEnd"
@
onReplay=
"onReplay"
>
<pica-video
ref=
"picaVideo"
:coverType=
"coverType"
:download=
"download"
@
onVideoEnd=
"onVideoEnd"
@
onReplay=
"onReplay"
>
<!-- 试看结束 -->
<!-- 试看结束 -->
<div
class=
"cover"
v-if=
"logged && coverType === 1"
>
<div
class=
"cover"
v-if=
"logged && coverType === 1"
>
<course-covers
coverTips=
"试看结束
<br
/>
请来云鹊医App学习完整课程" :isSingle="true" rightBtnText="学习完整课程" @btnClick="btnClick" />
<course-covers
coverTips=
"试看结束
<br
/>
请来云鹊医App学习完整课程" :isSingle="true" rightBtnText="学习完整课程" @btnClick="btnClick
(1)
" />
</div>
</div>
<!-- 播放结束,下载App -->
<!-- 播放结束,下载App -->
<div
class=
"cover"
v-if=
"logged && coverType === 2"
>
<div
class=
"cover"
v-if=
"logged && coverType === 2"
>
<course-covers
coverTips=
"播放结束
<br
/>
更多其他课程,请前往鹊医App学习" :isSingle="true" rightBtnText="去云鹊医App" @btnClick="btnClick" />
<course-covers
coverTips=
"播放结束
<br
/>
更多其他课程,请前往鹊医App学习" :isSingle="true" rightBtnText="去云鹊医App" @btnClick="btnClick
(2)
" />
</div>
</div>
<!-- 未登录 -->
<!-- 未登录 -->
<div
class=
"cover"
v-if=
"!logged"
>
<div
class=
"cover"
v-if=
"!logged"
>
<course-covers
coverTips=
"登录后马上学习课程"
:isSingle=
"true"
rightBtnText=
"去登录"
@
btnClick=
"
g
oLogin"
/>
<course-covers
coverTips=
"登录后马上学习课程"
:isSingle=
"true"
rightBtnText=
"去登录"
@
btnClick=
"
beforeG
oLogin"
/>
</div>
</div>
</pica-video>
</pica-video>
</div>
</div>
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
:studyNum=
"project.studyNum"
:studyNum=
"project.studyNum"
:subject=
"project.subject"
:subject=
"project.subject"
/>
/>
<
CommonAdertImg
:advertInfoList=
"advertInfoList"
position=
"0"
/
>
<
!--
<CommonAdertImg
:advertInfoList=
"advertInfoList"
position=
"0"
/>
--
>
<!-- 简介和目录 -->
<!-- 简介和目录 -->
<div
class=
"intro-catalogue-container"
>
<div
class=
"intro-catalogue-container"
>
<div
<div
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
</div>
</div>
</div>
</div>
<
CommonAdertImg
needPadTop
:advertInfoList=
"advertInfoList"
position=
"1"
/
>
<
!--
<CommonAdertImg
needPadTop
:advertInfoList=
"advertInfoList"
position=
"1"
/>
--
>
<NoMoreContent
/>
<NoMoreContent
/>
<div
v-if=
"detailNum
<
=
9
"
class=
"no-more-bottom"
></div>
<div
v-if=
"detailNum
<
=
9
"
class=
"no-more-bottom"
></div>
</div>
</div>
...
@@ -198,7 +198,7 @@ import TeacterIntro from "@/components/cme/teacter-intro";
...
@@ -198,7 +198,7 @@ import TeacterIntro from "@/components/cme/teacter-intro";
import
CommonDialog
from
"@/components/cme/common-dialog"
;
import
CommonDialog
from
"@/components/cme/common-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
{
getWebPageUrl
,
gotoPage
,
getAppVersion
}
from
"@/utils/index"
;
import
{
getWebPageUrl
,
gotoPage
,
getAppVersion
}
from
"@/utils/index"
;
import
{
mapGetters
,
mapActions
}
from
"vuex"
;
import
{
mapGetters
,
mapActions
}
from
"vuex"
;
...
@@ -326,7 +326,7 @@ export default {
...
@@ -326,7 +326,7 @@ export default {
TeacterIntro
,
TeacterIntro
,
CommonDialog
,
CommonDialog
,
ExjumperButton
,
ExjumperButton
,
CommonAdertImg
,
//
CommonAdertImg,
NoMoreContent
,
NoMoreContent
,
BindCardButtonShare
,
BindCardButtonShare
,
ChangeCard
,
ChangeCard
,
...
@@ -375,6 +375,13 @@ export default {
...
@@ -375,6 +375,13 @@ export default {
methods
:
{
methods
:
{
...
mapActions
([
"setUserInfo"
,
"goLogin"
]),
...
mapActions
([
"setUserInfo"
,
"goLogin"
]),
beforeGoLogin
()
{
this
.
$sendBuriedData
({
component_tag
:
`882#88211`
});
this
.
goLogin
();
},
// 解析uuid
// 解析uuid
queryByUuid
(
uuid
)
{
queryByUuid
(
uuid
)
{
let
param
=
{
let
param
=
{
...
@@ -400,11 +407,27 @@ export default {
...
@@ -400,11 +407,27 @@ export default {
onReplay
()
{
onReplay
()
{
this
.
coverType
=
0
;
this
.
coverType
=
0
;
},
},
btnClick
()
{
btnClick
(
index
,
type
)
{
// 学习完整课程
if
(
type
==
1
)
{
this
.
$sendBuriedData
({
component_tag
:
`882#88212`
});
// 播放结束
}
else
if
(
type
==
2
)
{
this
.
$sendBuriedData
({
component_tag
:
`882#88214`
});
}
this
.
download
();
this
.
download
();
},
},
download
()
{
download
(
type
)
{
if
(
type
==
1
)
{
this
.
$sendBuriedData
({
component_tag
:
`882#88210`
});
}
window
.
location
.
href
=
window
.
location
.
href
=
"https://a.app.qq.com/o/simple.jsp?pkgname=com.picahealth.yunque"
;
"https://a.app.qq.com/o/simple.jsp?pkgname=com.picahealth.yunque"
;
},
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录