Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
1221a1c9
Commit
1221a1c9
authored
Nov 06, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成功页面的修改
parent
81f49110
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
10 deletions
+37
-10
pages.json
pages.json
+4
-1
offline-success.vue
pages/reserve/offline-success.vue
+33
-9
No files found.
pages.json
View file @
1221a1c9
...
...
@@ -450,7 +450,10 @@
},{
"path"
:
"share_qrcode"
},{
"path"
:
"offline-success"
"path"
:
"offline-success"
,
"style"
:
{
"navigationStyle"
:
"custom"
}
},{
"path"
:
"draw"
}
...
...
pages/reserve/offline-success.vue
View file @
1221a1c9
...
...
@@ -28,15 +28,16 @@
<text
style=
"font-size: 33px;"
>
{{
payInfo
.
total_price
}}
</text>
</view>
</view>
<
!--
<
view
class=
"pay-item"
style=
"margin-top: 10px;"
>
<view
class=
"pay-item"
style=
"margin-top: 10px;"
>
<text>
订单编号:
</text>
<text>
5465464646
</text>
<text>
{{
OrderInfo
.
OrderNo
?
OrderInfo
.
OrderNo
:
''
}}
</text>
</view>
<view
class=
"pay-item"
>
<text>
下单时间:
</text>
<text>
5465464646
</text>
</view>
-->
<view
class=
"pay-item"
style=
"margin-top: 10px;"
>
<text>
{{
OrderInfo
.
CreateDate
?
OrderInfo
.
CreateDate
:
''
}}
</text>
</view>
<view
class=
"pay-item"
>
<text>
支付方式:
</text>
<text>
微信
</text>
</view>
...
...
@@ -58,7 +59,8 @@
pageTitle
:
"交易成功"
,
mainColor
:
""
,
headStyle
:{},
payInfo
:{}
payInfo
:{},
OrderInfo
:{}
};
},
...
...
@@ -72,19 +74,41 @@
});
let
nav
=
uni
.
getMenuButtonBoundingClientRect
().
top
;
this
.
headStyle
.
paddingTop
=
nav
+
'px'
;
this
.
init
()
},
mounted
()
{
},
methods
:
{
init
()
{
this
.
payInfo
.
OpenId
=
uni
.
getStorageSync
(
'mall_UserInfo'
).
OpenId
;
this
.
request2
({
url
:
'/api/OSGoods/GetOfflineOrderInfo'
,
data
:
{
OrderId
:
this
.
payInfo
.
OrderId
,
NewUserId
:
0
,
}
},
(
res
)
=>
{
this
.
OrderInfo
=
res
.
data
}
);
},
goback
(){
uni
.
navigateBack
({})
},
godingdan
(){
uni
.
reLaunch
({
url
:
'/pages/reserve/personal/orderList?status=2'
});
try
{
uni
.
reLaunch
({
url
:
'/pages/reserve/personal/orderList?status=2'
,
});
}
catch
(
e
)
{
console
.
log
(
e
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment