Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Culm
pica-professional-exam
提交
efbe78f6
提交
efbe78f6
编写于
9月 10, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
传递商品ID给课程页面
返回路径放在session中 样式问题
上级
91dd647c
变更
4
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
11 行增加
和
603 行删除
+11
-603
cell-list-detail-share-cmd.vue
src/components/business/cell-list-detail-share-cmd.vue
+0
-595
global.less
src/style/global.less
+4
-0
purchase-rezult.vue
src/views/purchase-rezult.vue
+5
-6
share-merge-detail.vue
src/views/share-merge-detail.vue
+2
-2
未找到文件。
src/components/business/cell-list-detail-share-cmd.vue
已删除
100644 → 0
浏览文件 @
91dd647c
此差异已折叠。
点击以展开。
src/style/global.less
浏览文件 @
efbe78f6
...
...
@@ -180,3 +180,7 @@
color: #449284;
}
}
.van-loading__spinner {
width: 40px !important;
height: 40px !important;
}
src/views/purchase-rezult.vue
浏览文件 @
efbe78f6
...
...
@@ -47,7 +47,7 @@ export default {
// msgContent: "此项目已被其他学习卡绑定,您可以去绑定新的项目,或去云鹊医APP查看订单详情",
msgContent
:
"购买成功"
,
loading
:
true
,
loadingTimes
:
3
,
loadingTimes
:
3
000
,
// 返回值data:0:订单进行中 1:支付并绑定成功 2:订单反馈延时,请稍后再试 3:支付失败,请重新购买 4:订单已被取消,请重新购买
bindStatus
:
0
,
showGoApp
:
true
,
...
...
@@ -59,8 +59,8 @@ export default {
let
{
projectId
,
orderId
,
returnUrl
}
=
this
.
$route
.
query
;
this
.
projectId
=
projectId
||
0
;
this
.
orderId
=
orderId
||
0
;
this
.
returnUrl
=
sessionStorage
.
getItem
(
'returnUrl'
)
||
returnUrl
;
console
.
log
(
'projectId'
,
'
'
,
'
'
,
this
.
projectId
,
this
.
orderId
,
this
.
returnUrl
,
decodeURIComponent
(
this
.
returnUrl
));
this
.
returnUrl
=
sessionStorage
.
getItem
(
'returnUrl'
)
||
decodeURIComponent
(
this
.
returnUrl
)
;
console
.
log
(
'projectId'
,
'
orderId
'
,
this
.
projectId
,
this
.
orderId
,
this
.
returnUrl
,
decodeURIComponent
(
this
.
returnUrl
));
// 直接从商品过来的
// if(!this.projectId) {
// this.msgContent = "购买成功";
...
...
@@ -140,7 +140,6 @@ export default {
orderId
:
this
.
orderId
,
};
this
.
GET
(
`trade/center/order/query`
,
param
).
then
(({
data
})
=>
{
debugger
this
.
loading
=
false
;
this
.
msgContent
=
"购买失败"
;
this
.
isCorrect
=
false
;
...
...
@@ -164,7 +163,7 @@ export default {
this
.
$sendBuriedData
({
component_tag
:
`889#88901`
});
this
.
returnUrl
&&
location
.
replace
(
decodeURIComponent
(
this
.
returnUrl
)
);
this
.
returnUrl
&&
location
.
replace
(
this
.
returnUrl
);
// this.returnUrl && (location.href = decodeURIComponent(this.returnUrl));
},
...
...
@@ -210,7 +209,7 @@ export default {
.text {
margin-top: 12px;
color: #A1A2A3;
font-size: 1
2
px;
font-size: 1
4
px;
}
}
}
...
...
src/views/share-merge-detail.vue
浏览文件 @
efbe78f6
...
...
@@ -122,6 +122,7 @@
:limitTimes=
"limitTimes"
:logged=
"logged"
:projectId=
"projectId"
:goodsId=
"cardInfo.id"
/>
</div>
</div>
...
...
@@ -350,7 +351,7 @@ export default {
this
.
shareUrl
=
getWebPageUrl
(
`profexam/#/sharecoop?uuid=
${
this
.
uuid
}
`
);
location
.
replace
(
this
.
shareUrl
);
}
sessionStorage
.
setItem
(
'returnUrl'
,
this
.
shareUrl
);
const
{
token
,
info
}
=
this
.
$store
.
state
.
user
;
this
.
token
=
getCookie
(
"token"
)
||
token
;
// 如果有token,但没有用户信息,则获取用户信息
...
...
@@ -561,7 +562,6 @@ export default {
this
.
projectId
}
&returnUrl=
${
encodeURIComponent
(
this
.
shareUrl
)}
`
);
sessionStorage
.
setItem
(
'returnUrl'
,
encodeURIComponent
(
this
.
shareUrl
));
window
.
location
.
href
=
jumpUrl
;
});
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录