Commit 95bc0156 authored by 周俊涛(东信)'s avatar 周俊涛(东信)
parents 57c855dc 42d43848
...@@ -115,6 +115,13 @@ ...@@ -115,6 +115,13 @@
></wd-icon> ></wd-icon>
</view> </view>
</view> </view>
|
<view class="bootom-top">
<view class="option" @tap="resetParams">
<text>清空</text>
<wd-icon size="24rpx" class="icons"></wd-icon>
</view>
</view>
<Sort v-show="rotate" @sortParams="sortParams" /> <Sort v-show="rotate" @sortParams="sortParams" />
<DepartureDate v-show="rotate2" @dataParams="dataParams" /> <DepartureDate v-show="rotate2" @dataParams="dataParams" />
<ScenicSpots v-show="rotate3" @placeParams="placeParams" /> <ScenicSpots v-show="rotate3" @placeParams="placeParams" />
...@@ -255,12 +262,14 @@ const screenParams = (item, type) => { ...@@ -255,12 +262,14 @@ const screenParams = (item, type) => {
console.log(item, type, 111); console.log(item, type, 111);
if (type === 'screen') { if (type === 'screen') {
startCity.value = item.tripCity; startCity.value = item.tripCity;
getProd();
} else if (type === 'serve') { } else if (type === 'serve') {
serviceCommitment.value = item.labelName; serviceCommitment.value = item.labelName;
getProd();
} else if (type === 'people') { } else if (type === 'people') {
labelId.value = item.labelName; labelId.value = item.labelName;
}
getProd(); getProd();
}
}; };
// 查询列表 // 查询列表
const getProd = () => { const getProd = () => {
...@@ -282,7 +291,16 @@ const getProd = () => { ...@@ -282,7 +291,16 @@ const getProd = () => {
cardList.value = res.data.records; cardList.value = res.data.records;
}); });
}; };
const resetParams = () => {
sortType.value = null;
attractionId.value = null;
dateType.value = null;
startCity.value = null;
serviceCommitment.value = null;
labelId.value = null;
allocateDate.value = null;
getProd();
};
function toRouteDetails(item) { function toRouteDetails(item) {
console.log(item, 22222); console.log(item, 22222);
// TODO: 跳转到线路详情 // TODO: 跳转到线路详情
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment