Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Culm
pica-professional-exam
提交
291276fc
提交
291276fc
编写于
10月 21, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
跳转到H5购买页面
上级
f47c623e
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
60 行增加
和
2 行删除
+60
-2
goods-detail.vue
src/views/goods-detail.vue
+1
-0
merge-detail.vue
src/views/merge-detail.vue
+1
-1
question-bank.vue
src/views/question-bank.vue
+31
-0
question-detail.vue
src/views/question-detail.vue
+27
-1
未找到文件。
src/views/goods-detail.vue
浏览文件 @
291276fc
...
@@ -197,6 +197,7 @@ export default {
...
@@ -197,6 +197,7 @@ export default {
},
},
changeCardAction
(
cardKey
,
isInTips
)
{
changeCardAction
(
cardKey
,
isInTips
)
{
},
},
showCouponPopup
()
{
showCouponPopup
()
{
...
...
src/views/merge-detail.vue
浏览文件 @
291276fc
...
@@ -581,7 +581,7 @@ export default {
...
@@ -581,7 +581,7 @@ export default {
},
},
confirm
()
{
confirm
()
{
alert
(
'wwwww
'
);
console
.
log
(
'new confirm
'
);
this
.
$sendBuriedData
({
this
.
$sendBuriedData
({
component_tag
:
`882#88203`
component_tag
:
`882#88203`
});
});
...
...
src/views/question-bank.vue
浏览文件 @
291276fc
...
@@ -334,6 +334,9 @@ export default {
...
@@ -334,6 +334,9 @@ export default {
component_tag
:
`885#88516`
component_tag
:
`885#88516`
});
});
},
},
//去购买操作-先校验登录
//去购买操作-先校验登录
confirm
()
{
confirm
()
{
this
.
checkTokenForNative
(()
=>
{
this
.
checkTokenForNative
(()
=>
{
...
@@ -343,7 +346,35 @@ export default {
...
@@ -343,7 +346,35 @@ export default {
component_tag
:
`885#88517`
component_tag
:
`885#88517`
});
});
},
},
// 新购买方法
confirmGoBuy
()
{
confirmGoBuy
()
{
console
.
log
(
'new confirm'
);
this
.
$sendBuriedData
({
component_tag
:
`882#88203`
});
let
pageUrl
=
getWebPageUrl
(
`/profexam/#/question-bank?id=
${
this
.
secondSubjectId
}
&secondSubjectId=
${
this
.
secondSubjectId
}
`
);
let
courseUrl
=
encodeURIComponent
(
pageUrl
);
let
paramPageUrl
=
getWebPageUrl
(
`profexam/#/goods-detail?goodsId=
${
this
.
cardInfo
.
id
}
&projectId=
${
this
.
secondSubjectId
}
&courseUrl=
${
courseUrl
}
`
);
let
paramList
=
[
{
key
:
"pageUrl"
,
value
:
paramPageUrl
,
type
:
4
,
seqNo
:
1
}
]
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
"M300"
,
jsonString
:
paramList
});
},
// 原原生购买方法
confirmGoBuyOld
()
{
let
appVersion
=
this
.
userInfo
.
appVersion
||
""
;
let
appVersion
=
this
.
userInfo
.
appVersion
||
""
;
let
appVersionNum
=
appVersion
.
split
(
"."
).
join
(
""
);
let
appVersionNum
=
appVersion
.
split
(
"."
).
join
(
""
);
if
(
appVersionNum
<
344
)
{
if
(
appVersionNum
<
344
)
{
...
...
src/views/question-detail.vue
浏览文件 @
291276fc
...
@@ -242,8 +242,34 @@ export default {
...
@@ -242,8 +242,34 @@ export default {
}
}
},
},
//
跳转到(原生)购买页面
//
新购买方法
confirmGoBuy
()
{
confirmGoBuy
()
{
console
.
log
(
'new confirm'
);
this
.
$sendBuriedData
({
component_tag
:
`882#88203`
});
let
pageUrl
=
getWebPageUrl
(
`/profexam/#/question-bank?id=
${
this
.
secondSubjectId
}
&secondSubjectId=
${
this
.
secondSubjectId
}
`
);
let
courseUrl
=
encodeURIComponent
(
pageUrl
);
let
paramPageUrl
=
getWebPageUrl
(
`profexam/#/goods-detail?goodsId=
${
this
.
cardId
}
&projectId=
${
this
.
secondSubjectId
}
&courseUrl=
${
courseUrl
}
`
);
let
paramList
=
[
{
key
:
"pageUrl"
,
value
:
paramPageUrl
,
type
:
4
,
seqNo
:
1
}
]
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
"M300"
,
jsonString
:
paramList
});
},
// 跳转到(原生)购买页面
confirmGoBuyOld
()
{
let
appVersion
=
this
.
userInfo
.
appVersion
||
""
;
let
appVersion
=
this
.
userInfo
.
appVersion
||
""
;
let
appVersionNum
=
appVersion
.
split
(
"."
).
join
(
""
);
let
appVersionNum
=
appVersion
.
split
(
"."
).
join
(
""
);
if
(
appVersionNum
<
344
)
{
if
(
appVersionNum
<
344
)
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录