Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Culm
pica-professional-exam
提交
41e000ff
提交
41e000ff
编写于
7月 09, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
去兑换,去购买
上级
cf7a9ab4
变更
3
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
1117 行增加
和
9 行删除
+1117
-9
bind-card-button.vue
src/components/cme/bind-card-button.vue
+10
-7
merge-detail copy 2.vue
src/views/merge-detail copy 2.vue
+1046
-0
merge-detail.vue
src/views/merge-detail.vue
+61
-2
未找到文件。
src/components/cme/bind-card-button.vue
浏览文件 @
41e000ff
...
...
@@ -13,8 +13,8 @@
</div>
</article>
<article
class=
"right"
>
<span
class=
"left"
>
去兑换
</span>
<span
class=
"right"
>
去购买
</span>
<span
@
click=
"gotoExchange"
class=
"left"
>
去兑换
</span>
<span
@
click=
"gotoBuy"
class=
"right"
>
去购买
</span>
</article>
</section>
</
template
>
...
...
@@ -30,8 +30,11 @@ export default {
return
{};
},
methods
:
{
btnClick
()
{
this
.
$emit
(
"btnClick"
);
gotoExchange
()
{
this
.
$emit
(
"gotoExchange"
);
},
gotoBuy
()
{
this
.
$emit
(
"gotoBuy"
);
}
}
};
...
...
@@ -57,9 +60,10 @@ export default {
font-size
:
12px
;
// align-items: ;
.top
{
height
:
px2rem
(
27px
);
margin-top
:
px2rem
(
3px
);
height
:
px2rem
(
24px
);
.discount
{
color
:
#
FB5B
52
;
color
:
#
fb5b
52
;
font-size
:
px2rem
(
18px
);
font-weight
:
700
;
margin-right
:
px2rem
(
4px
);
...
...
@@ -71,7 +75,6 @@ export default {
.bottom
{
display
:
flex
;
flex-direction
:
row
;
img
{
width
:
px2rem
(
12px
);
height
:
px2rem
(
12px
);
...
...
src/views/merge-detail copy 2.vue
0 → 100644
浏览文件 @
41e000ff
此差异已折叠。
点击以展开。
src/views/merge-detail.vue
浏览文件 @
41e000ff
...
...
@@ -130,7 +130,12 @@
:type=
"project.currentProgress > 1 ? 'primary' : 'disabled'"
></ExjumperButton>
<div
v-if=
"project.cmeType == 2"
style=
"padding-top: 30px"
></div>
<BindCardButton
v-if=
"project.cmeType == 2 && !project.hasBindCard"
:cardInfo=
"cardInfo"
></BindCardButton>
<BindCardButton
v-if=
"project.cmeType == 2 && !project.hasBindCard"
:cardInfo=
"cardInfo"
:gotoExchange=
"gotoExchange"
:gotoBuy=
"gotoBuy"
></BindCardButton>
<!--
<CardPopup
:cardInfo=
"cardInfo"
:isShow=
"isShowPopup"
@
clickOverlay=
"clickOverlay"
@
cancle=
"jumpToCardList()"
@
confirm=
"confirm"
></CardPopup>
-->
<Loading
v-show=
"showLoading"
/>
...
...
@@ -345,6 +350,16 @@ export default {
methods
:
{
...
mapActions
([
"setUserInfo"
]),
// 打开兑换码弹框
gotoExchange
()
{
},
// 调用支付页面
gotoBuy
()
{
},
// 查询教培项目广告位配置信息
getAdvertInfoList
()
{
let
param
=
{
...
...
@@ -502,6 +517,49 @@ export default {
// 跳转到原生的购买页面
confirm
()
{
let
appVersion
=
this
.
userInfo
.
appVersion
;
let
appVersionNum
=
appVersion
.
split
(
'.'
).
join
(
''
);
if
(
appVersionNum
<
341
)
{
Toast
(
'请您下载新版本App'
);
return
;
}
this
.
$sendBuriedData
({
component_tag
:
`885#8852`
});
// this.isShowPopup = false;
// let pageUrl = this.project.examBtnUrl;
// 直接传入项目ID(projectId)
let
projectId
=
this
.
project
.
projectId
;
let
paramList
=
[
{
key
:
"className"
,
value
:
"com.picahealth.yunque.activitys.studycard.StudyCardDetailActivity###PicaDo.LearningCardVC"
,
type
:
4
,
seqNo
:
1
},
{
key
:
"goodId"
,
value
:
this
.
cardInfo
.
id
,
type
:
4
,
seqNo
:
1
},
{
key
:
"courseUrl"
,
// value: encodeURIComponent(pageUrl),
value
:
projectId
,
type
:
4
,
seqNo
:
1
}
];
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
"M200"
,
jsonString
:
paramList
});
},
// 跳转到原生的购买页面
confirmOld
()
{
this
.
$sendBuriedData
({
component_tag
:
`885#8852`
});
...
...
@@ -798,7 +856,8 @@ export default {
_this
.
showLoading
=
false
;
},
800
);
// TODO 如果 hasBindCard 为false,则获取卡信息
// 如果 hasBindCard 为false,则获取卡信息 0:未绑卡 1:已绑卡
this
.
hasBindCard
=
res
.
data
.
cardStatus
!=
0
?
false
:
true
;
_this
.
preJumper
()
}
});
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录