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
8a30ee11
Commit
8a30ee11
authored
Aug 15, 2024
by
石建新(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
19156449
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
Date.vue
src/Components/assistingAgriculture/index/Date.vue
+4
-0
specialOfferZoneList.vue
...assistingAgriculture/RuralTravel/specialOfferZoneList.vue
+14
-4
No files found.
src/Components/assistingAgriculture/index/Date.vue
View file @
8a30ee11
...
...
@@ -37,6 +37,10 @@ const props = defineProps({
},
});
const
reset
=
()
=>
{
selectedItem
.
value
=
null
;
};
defineExpose
({
reset
});
onMounted
(
async
()
=>
{
getStartDateList
();
});
...
...
src/pages/assistingAgriculture/RuralTravel/specialOfferZoneList.vue
View file @
8a30ee11
...
...
@@ -86,10 +86,10 @@
<wd-icon
size=
"24rpx"
class=
"icons"
></wd-icon>
</view>
</view>
<Sort
v-show=
"rotate"
@
sortParams=
"sortParams"
/>
<DepartureDate
v-show=
"rotate2"
@
dataParams=
"dataParams"
/>
<ScenicSpots
v-show=
"rotate3"
@
placeParams=
"placeParams"
/>
<Screen
v-show=
"rotate4"
@
screenParams=
"screenParams"
/>
<Sort
v-show=
"rotate"
ref=
"sortRef"
@
sortParams=
"sortParams"
/>
<DepartureDate
v-show=
"rotate2"
ref=
"departureDateRef"
@
dataParams=
"dataParams"
/>
<ScenicSpots
v-show=
"rotate3"
ref=
"scenicSpotsRef"
@
placeParams=
"placeParams"
/>
<Screen
v-show=
"rotate4"
ref=
"screenRef"
@
screenParams=
"screenParams"
/>
</view>
<view
class=
"list"
>
<view
@
click=
"jumpPage(item)"
class=
"item"
v-for=
"(item, index) in cardData"
:key=
"index"
>
...
...
@@ -140,6 +140,10 @@ const textColor = ref('#ffffff');
const
backIconColor
=
ref
(
'white'
);
const
current
=
ref
(
0
);
const
isLoadReachBottom
=
ref
(
null
);
const
sortRef
=
ref
(
null
);
const
departureDateRef
=
ref
(
null
);
const
scenicSpotsRef
=
ref
(
null
);
const
screenRef
=
ref
(
null
);
const
params
=
ref
({
current
:
1
,
size
:
15
,
...
...
@@ -235,6 +239,12 @@ const screenParams = (item, type) => {
});
};
const
resetParams
=
()
=>
{
if
(
sortRef
.
value
||
departureDateRef
.
value
||
scenicSpotsRef
.
value
||
screenRef
.
value
)
{
sortRef
.
value
.
reset
();
departureDateRef
.
value
.
reset
();
scenicSpotsRef
.
value
.
reset
();
screenRef
.
value
.
reset
();
}
params
.
value
=
{
size
:
15
,
current
:
1
,
...
...
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