Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
8 years ago
Commit
e9faab569e778698f62de10a1fa3b32276aac913
1 parent
8b56c534
notice-text-change
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
apps/cart/models/pay.js
public/scss/cart/_pay-success.css
apps/cart/models/pay.js
View file @
e9faab5
...
...
@@ -381,7 +381,8 @@ class payModel extends global.yoho.BaseModel {
return
Promise
.
all
([
this
.
_getBanner
(
param
),
this
.
_getOthersBuy
(
param
),
this
.
getOtherDetail
(
param
)
this
.
getOtherDetail
(
param
),
this
.
getPayResultText
(
param
)
]).
then
((
result
)
=>
{
let
resu
=
{
...
...
@@ -405,7 +406,7 @@ class payModel extends global.yoho.BaseModel {
}
if
(
result
&&
result
[
2
]
&&
result
[
2
].
data
&&
result
[
2
].
data
.
payment_amount
)
{
resu
.
packageTitle
=
_
.
get
(
result
[
2
],
'data.package_titl
e'
,
''
);
resu
.
packageTitle
=
_
.
get
(
result
[
3
],
'data.notic
e'
,
''
);
resu
.
payment
=
result
[
2
].
data
.
payment_amount
;
...
...
@@ -430,6 +431,19 @@ class payModel extends global.yoho.BaseModel {
return
resu
;
});
}
/**
* 获取支付结果信息
*/
getPayResultText
(
params
)
{
return
this
.
get
({
data
:
{
method
:
'app.SpaceOrders.getOrderExNotice'
,
order_code
:
params
.
orderCode
,
uid
:
params
.
uid
}
});
}
}
module
.
exports
=
payModel
;
...
...
public/scss/cart/_pay-success.css
View file @
e9faab5
...
...
@@ -6,12 +6,16 @@
.top-tip
{
width
:
100%
;
height
:
240px
;
border-bottom
:
solid
1px
#e0e0e0
;
text-align
:
center
;
background-color
:
#fff
;
z-index
:
2
;
p
{
padding-left
:
25px
;
padding-right
:
25px
;
}
.img-c
{
margin-top
:
25px
;
width
:
102px
;
...
...
Please
register
or
login
to post a comment