Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
groupPurchase-miniapp
Project
Project
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
彭佳妮(贵阳日报)
groupPurchase-miniapp
Commits
3ee5cecd
Commit
3ee5cecd
authored
Aug 13, 2024
by
张娇(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
乡村旅居列下拉刷新
parent
61ede961
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
pages.json
src/pages.json
+2
-1
RuralTravel.vue
src/pages/assistingAgriculture/RuralTravel/RuralTravel.vue
+7
-0
No files found.
src/pages.json
View file @
3ee5cecd
...
...
@@ -208,7 +208,8 @@
{
"path"
:
"pages/assistingAgriculture/RuralTravel/RuralTravel"
,
"style"
:
{
"navigationBarTitleText"
:
"乡村旅居"
"navigationBarTitleText"
:
"乡村旅居"
,
"enablePullDownRefresh"
:
true
,
}
},
...
...
src/pages/assistingAgriculture/RuralTravel/RuralTravel.vue
View file @
3ee5cecd
...
...
@@ -226,6 +226,13 @@ const locationFiltering = (index) => {
labelId
.
value
=
null
;
}
};
onPullDownRefresh
(()
=>
{
getProd
();
getPopular
();
setTimeout
(()
=>
{
uni
.
stopPullDownRefresh
();
},
1000
);
});
// 查询热门路线
const
getPopular
=
()
=>
{
getPopularList
({
current
:
1
,
size
:
10
}).
then
((
res
)
=>
{
...
...
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