This website works better with JavaScript.
Home
Explore
Help
Sign In
BWPB3
/
WxXuSaleDriverRole
Watch
9
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Activity
Browse Source
1
master
chenxuhui
7 years ago
parent
f3a07be381
commit
c88e2e899b
2 changed files
with
6 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
pages/login/login.json
+5
-0
pages/orderList/orderList.js
+ 1
- 1
pages/login/login.json
View File
@ -1,5 +1,5 @@
{
{
"navigationBarBackgroundColor"
:
"white"
,
"navigationBarBackgroundColor"
:
"white"
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarTitleText"
:
"
业务员
登录"
"navigationBarTitleText"
:
"
畜司机
登录"
}
}
+ 5
- 0
pages/orderList/orderList.js
View File
@ -13,6 +13,11 @@ Page({
var
that
=
this
;
var
that
=
this
;
var
method
=
getOrderList
;
var
method
=
getOrderList
;
network
.
transfer_request
(
method
,
[
]
,
function
(
res
)
{
network
.
transfer_request
(
method
,
[
]
,
function
(
res
)
{
if
(
res
.
result
.
length
<=
0
)
{
wx
:
wx
.
showToast
(
{
title
:
'暂无订单数据'
,
}
)
}
that
.
setData
(
{
that
.
setData
(
{
orderList
:
res
.
result
,
orderList
:
res
.
result
,
}
)
}
)
Write
Preview
Loading…
Cancel
Save