Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
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
高淑倩
7-Eleven
Commits
552afe42
Commit
552afe42
authored
Aug 22, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 退款列表
parent
c2226262
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
order.js
src/pages/order/order.js
+8
-3
No files found.
src/pages/order/order.js
View file @
552afe42
...
...
@@ -118,8 +118,10 @@ wxService.page({
this
.
setData
({
orderList
:
this
.
data
.
pageNo
==
1
?
[...
data
]
:
[...
this
.
data
.
orderList
,
...
data
],
noMoreFlag
:
data
.
length
<
pageSize
?
true
:
false
,
no_data
:
data
.
length
?
true
:
false
},
()
=>
{
this
.
setData
({
no_data
:
this
.
data
.
orderList
.
length
?
true
:
false
})
wx
.
setStorageSync
(
'orderList'
,
this
.
data
.
orderList
)
})
}
...
...
@@ -140,8 +142,11 @@ wxService.page({
wx
.
hideLoading
()
this
.
setData
({
orderList
:
this
.
data
.
pageNo
==
1
?
[...
data
]
:
[...
this
.
data
.
orderList
,
...
data
],
noMoreFlag
:
data
.
length
<
pageSize
?
true
:
false
,
no_data
:
data
.
length
?
true
:
false
noMoreFlag
:
data
.
length
<
pageSize
?
true
:
false
},()
=>
{
this
.
setData
({
no_data
:
this
.
data
.
orderList
.
length
?
true
:
false
})
})
}
}
...
...
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