Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-customer-new-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-customer-new-master
Commits
64a65226
Commit
64a65226
authored
Jan 17, 2025
by
Smile
Committed by
wux
Jan 21, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug197:(app/h5)首页-订单列表订单查询问题,请看截图,底部下拉无法翻页问题
parent
478a7c1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
pages.json
src/pages.json
+2
-1
index.vue
src/pages/index/index.vue
+14
-1
No files found.
src/pages.json
View file @
64a65226
...
...
@@ -3,7 +3,8 @@
{
"path"
:
"pages/index/index"
,
"style"
:
{
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
,
"onReachBottomDistance"
:
50
}
},
{
...
...
src/pages/index/index.vue
View file @
64a65226
...
...
@@ -268,6 +268,7 @@ export default {
banner
:
[],
orderData
:
[],
page
:
1
,
pages
:
1
,
isIdcard
:
false
,
statusData
:
[],
name
:
{},
...
...
@@ -326,6 +327,12 @@ export default {
this
.
getOrderData
()
}
},
onReachBottom
()
{
if
(
this
.
pages
>
this
.
page
){
this
.
page
++
this
.
getOrderData
()
}
},
methods
:
{
changeIndex
(){
this
.
page
=
1
...
...
@@ -606,7 +613,13 @@ export default {
.
get
(
'
/app-api/my/order/dynamic/page
'
,
{
page
:
this
.
page
,
rows
:
6
,
searchKey
:
this
.
searchKey
,
statusList
:
this
.
config
.
status
.
value
[
this
.
config
.
status
.
index
]
})
.
then
((
res
)
=>
{
if
(
res
.
code
==
0
&&
res
.
data
)
{
this
.
orderData
=
res
.
data
.
list
if
(
this
.
page
==
1
){
this
.
orderData
=
res
.
data
.
list
this
.
pages
=
res
.
data
.
pages
}
else
{
this
.
orderData
=
this
.
orderData
.
concat
(
res
.
data
.
list
)
}
}
})
},
...
...
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