Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Culm
pica-professional-exam
提交
e7091ec6
提交
e7091ec6
编写于
6月 09, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
获取学习卡信息
上级
74c4ac3c
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
9 行增加
和
1 行删除
+9
-1
I-credit-detail.vue
src/views/I-credit-detail.vue
+7
-1
merge-detail.vue
src/views/merge-detail.vue
+2
-0
未找到文件。
src/views/I-credit-detail.vue
浏览文件 @
e7091ec6
...
...
@@ -21,12 +21,14 @@
<!--
<img
@
click=
"isBuy(1)"
class=
"img"
src=
"https://file.yunqueyi.com/h5/images/tinified/i-detail-8.png"
>
-->
<CardPopup
:cardInfo=
"cardInfo"
:isShow=
"isShowPopup"
@
cancle=
"jumpToCardList"
@
confirm=
"confirm"
></CardPopup>
<Loading
v-if=
"showLoading"
/>
</section>
</
template
>
<
script
>
import
ExjumperButton
from
"@/components/cme/exjumper-button"
;
import
CommonNavbar
from
"@/components/common/common-navbar"
;
import
CardPopup
from
"@/components/cme/card-popup"
;
import
Loading
from
"@/components/common/common-loading"
;
export
default
{
data
()
{
return
{
...
...
@@ -42,12 +44,14 @@ export default {
id
:
0
},
cmeToken
:
''
,
showLoading
:
false
,
}
},
components
:
{
CommonNavbar
,
CardPopup
,
ExjumperButton
ExjumperButton
,
Loading
},
created
()
{
let
_this
=
this
;
...
...
@@ -66,6 +70,7 @@ export default {
methods
:
{
// 判断用户是否购买过I类学习卡
isBuy
(
cardType
)
{
this
.
showLoading
=
true
;
let
param
=
{
cardType
:
cardType
,
token
:
this
.
cmeToken
,
...
...
@@ -110,6 +115,7 @@ export default {
}
this
.
POST
(
"trade/goods/cardList"
,
param
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
this
.
showLoading
=
false
;
this
.
isShowPopup
=
true
;
this
.
cardInfo
=
res
.
data
&&
res
.
data
[
0
]
||
{
id
:
0
}
;
}
...
...
src/views/merge-detail.vue
浏览文件 @
e7091ec6
...
...
@@ -336,6 +336,7 @@ export default {
// 判断用户是否购买过I类学习卡
isBuy
(
cardType
)
{
this
.
showLoading
=
true
;
let
param
=
{
cardType
:
cardType
,
setEntry
:
true
,
...
...
@@ -410,6 +411,7 @@ export default {
}
this
.
POST
(
"trade/goods/cardList"
,
param
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
this
.
showLoading
=
false
;
this
.
isShowPopup
=
true
;
this
.
cardInfo
=
res
.
data
&&
res
.
data
[
0
]
||
{
id
:
0
}
;
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录