Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-cooperation-cme
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-cooperation-cme
提交
e4a38608
提交
e4a38608
编写于
8月 31, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev-coursedetail-0817' into release
* dev-coursedetail-0817: 数据埋点及样式调整
上级
97127ee5
25fab9ce
变更
6
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
57 行增加
和
15 行删除
+57
-15
cell-list-detail-share.vue
src/components/business/cell-list-detail-share.vue
+13
-3
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
pica-video.vue
src/components/course/pica-video.vue
+5
-2
main.js
src/main.js
+1
-1
share-merge-detail.vue
src/views/share-merge-detail.vue
+32
-9
未找到文件。
src/components/business/cell-list-detail-share.vue
浏览文件 @
e4a38608
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
</span>
</span>
<span
<span
v-else-if=
"!hasBindCard && item.type == 2 && cmeType == 2"
v-else-if=
"!hasBindCard && item.type == 2 && cmeType == 2"
@
click=
"gotoExamOrCourse(item)"
@
click=
"gotoExamOrCourse(item
, 'sk'
)"
class=
"text-action"
class=
"text-action"
style=
"background: #f28662;border: none;color: #fff;"
style=
"background: #f28662;border: none;color: #fff;"
>
>
...
@@ -166,7 +166,12 @@ export default {
...
@@ -166,7 +166,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
:
`883#88316#
${
item
.
id
}
#
${
item
.
name
}
`
});
}
if
(
!
isWeiXin
())
{
if
(
!
isWeiXin
())
{
if
(
item
.
type
==
1
)
{
if
(
item
.
type
==
1
)
{
Toast
(
'请前往云鹊医APP参加考试'
);
Toast
(
'请前往云鹊医APP参加考试'
);
...
@@ -270,7 +275,12 @@ export default {
...
@@ -270,7 +275,12 @@ export default {
},
},
// 弹框提示
// 弹框提示
toastToBuy
()
{
toastToBuy
(
item
)
{
if
(
item
)
{
this
.
$sendBuriedData
({
component_tag
:
`883#88315#
${
item
.
id
}
#
${
item
.
name
}
`
});
}
Toast
(
'购买后可学习课程'
);
Toast
(
'购买后可学习课程'
);
}
}
}
}
...
...
src/components/cme/bind-card-button-share.vue
浏览文件 @
e4a38608
...
@@ -31,6 +31,9 @@ export default {
...
@@ -31,6 +31,9 @@ export default {
},
},
methods
:
{
methods
:
{
download
()
{
download
()
{
this
.
$sendBuriedData
({
component_tag
:
`883#88317`
});
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
浏览文件 @
e4a38608
...
@@ -116,6 +116,9 @@ export default {
...
@@ -116,6 +116,9 @@ export default {
// 生成分享的url
// 生成分享的url
goShare
()
{
goShare
()
{
this
.
$sendBuriedData
({
component_tag
:
`883#88309`
});
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/pica-video.vue
浏览文件 @
e4a38608
...
@@ -262,6 +262,9 @@ export default {
...
@@ -262,6 +262,9 @@ export default {
},
},
// 重播
// 重播
onReplay
()
{
onReplay
()
{
this
.
$sendBuriedData
({
component_tag
:
`883#88313`
});
this
.
player
.
style
.
display
=
'block'
;
this
.
player
.
style
.
display
=
'block'
;
this
.
player
.
currentTime
=
0
;
this
.
player
.
currentTime
=
0
;
this
.
player
.
play
();
this
.
player
.
play
();
...
@@ -635,7 +638,7 @@ export default {
...
@@ -635,7 +638,7 @@ export default {
color: #fff;
color: #fff;
font-size: 12px;
font-size: 12px;
left: 10px;
left: 10px;
bottom:
44
px;
bottom:
12
px;
height: 24px;
height: 24px;
line-height: 24px;
line-height: 24px;
padding: 0 12px;
padding: 0 12px;
...
@@ -666,7 +669,7 @@ export default {
...
@@ -666,7 +669,7 @@ export default {
color: #fff;
color: #fff;
font-size: 12px;
font-size: 12px;
right: 10px;
right: 10px;
bottom:
44
px;
bottom:
12
px;
height: 24px;
height: 24px;
line-height: 24px;
line-height: 24px;
padding: 0 12px 0 22px;
padding: 0 12px 0 22px;
...
...
src/main.js
浏览文件 @
e4a38608
...
@@ -6,7 +6,6 @@ import store from './store/'
...
@@ -6,7 +6,6 @@ import store from './store/'
const
mixins
=
require
(
'@/utils/mixins'
);
const
mixins
=
require
(
'@/utils/mixins'
);
import
'@/utils/rem'
// 引入自适应
import
'@/utils/rem'
// 引入自适应
import
'@/utils/yqy-bridge'
// 移动端服务
import
'@/utils/yqy-bridge'
// 移动端服务
// import FastClick from 'fastclick'
import
vueFilters
from
'@/utils/filter'
import
vueFilters
from
'@/utils/filter'
import
VConsole
from
'vconsole/dist/vconsole.min.js'
import
VConsole
from
'vconsole/dist/vconsole.min.js'
import
BuriedPoint
,{
sendBuriedData
}
from
'web-buried-point'
;
import
BuriedPoint
,{
sendBuriedData
}
from
'web-buried-point'
;
...
@@ -14,6 +13,7 @@ import Vant from 'vant';
...
@@ -14,6 +13,7 @@ import Vant from 'vant';
import
'vant/lib/index.css'
;
import
'vant/lib/index.css'
;
import
clipboard
from
'clipboard'
;
import
clipboard
from
'clipboard'
;
import
"@/utils/wxShare"
import
"@/utils/wxShare"
//注册到vue原型上
//注册到vue原型上
Vue
.
prototype
.
clipboard
=
clipboard
;
Vue
.
prototype
.
clipboard
=
clipboard
;
...
...
src/views/share-merge-detail.vue
浏览文件 @
e4a38608
...
@@ -28,15 +28,15 @@
...
@@ -28,15 +28,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>
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
:studyNum=
"project.studyNum"
:studyNum=
"project.studyNum"
:subject=
"project.subject"
:subject=
"project.subject"
/>
/>
<
CommonAdertImg
:advertInfoList=
"advertInfoList"
position=
"0"
/
>
<
!--
<CommonAdertImg
:advertInfoList=
"advertInfoList"
position=
"0"
/>
--
>
<!-- 步骤条 -->
<!-- 步骤条 -->
<div
v-if=
"project.cmeType != 2"
>
<div
v-if=
"project.cmeType != 2"
>
<CmeStep
<CmeStep
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,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>
...
@@ -227,7 +227,7 @@ import CommonDialog from "@/components/cme/common-dialog";
...
@@ -227,7 +227,7 @@ import CommonDialog from "@/components/cme/common-dialog";
import
ExjumperDialog
from
"@/components/cme/exjumper-dialog"
;
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
{
getWebPageUrl
,
gotoPage
,
getAppVersion
}
from
"@/utils/index"
;
import
{
getWebPageUrl
,
gotoPage
,
getAppVersion
}
from
"@/utils/index"
;
import
{
mapGetters
,
mapActions
}
from
"vuex"
;
import
{
mapGetters
,
mapActions
}
from
"vuex"
;
...
@@ -367,7 +367,7 @@ export default {
...
@@ -367,7 +367,7 @@ export default {
ExjumperButton
,
ExjumperButton
,
ExjumperDialog
,
ExjumperDialog
,
// CardPopup,
// CardPopup,
CommonAdertImg
,
//
CommonAdertImg,
NoMoreContent
,
NoMoreContent
,
BindCardButtonShare
,
BindCardButtonShare
,
ChangeCard
,
ChangeCard
,
...
@@ -414,6 +414,13 @@ export default {
...
@@ -414,6 +414,13 @@ export default {
methods
:
{
methods
:
{
...
mapActions
([
"setUserInfo"
,
"goLogin"
]),
...
mapActions
([
"setUserInfo"
,
"goLogin"
]),
beforeGoLogin
()
{
this
.
$sendBuriedData
({
component_tag
:
`883#88311`
});
this
.
goLogin
();
},
// 解析uuid
// 解析uuid
queryByUuid
(
uuid
)
{
queryByUuid
(
uuid
)
{
let
param
=
{
let
param
=
{
...
@@ -441,11 +448,27 @@ export default {
...
@@ -441,11 +448,27 @@ export default {
this
.
coverType
=
0
;
this
.
coverType
=
0
;
},
},
btnClick
()
{
btnClick
(
index
,
type
)
{
// 学习完整课程
if
(
type
==
1
)
{
this
.
$sendBuriedData
({
component_tag
:
`883#88312`
});
// 播放结束
}
else
if
(
type
==
2
)
{
this
.
$sendBuriedData
({
component_tag
:
`883#88314`
});
}
this
.
download
();
this
.
download
();
},
},
download
()
{
download
(
type
)
{
if
(
type
==
1
)
{
this
.
$sendBuriedData
({
component_tag
:
`883#88310`
});
}
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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录