Commit 2fbaf903 authored by 蔡亮华(贵阳日报)'s avatar 蔡亮华(贵阳日报)
parents 7beba5f6 e56386d9
...@@ -84,34 +84,15 @@ ...@@ -84,34 +84,15 @@
<image mode="aspectFill" :src="imgUrl + item.pic"></image> <image mode="aspectFill" :src="imgUrl + item.pic"></image>
<view class="info"> <view class="info">
<text class="title multi-line">{{ item.prodName }}</text> <text class="title multi-line">{{ item.prodName }}</text>
<text class="subtitle">赠价值59元特产伴手礼一份</text> <!-- <text class="subtitle">{{ item.brief }}</text> -->
<text class="subtitle"></text>
<view class="tag-list"> <view class="tag-list">
<!-- <text class="tag">可定明日</text>
<text class="tag">可定明日</text> <text class="tag">可定明日</text>
<text class="tag">可定明日</text> <text class="tag">可定明日</text> -->
<text class="tag">可定明日</text>
</view>
<view class="fs-box">
<text class="fs-num">{{ item.score }}分</text>
<text style="margin-left: 20rpx" class="sales-volume">
月销{{ item.monthSoldNum }}
</text>
</view>
<text class="address">{{ item.tripArea }}出发</text>
</view>
<text class="price">¥{{ item.price }}</text>
</view>
<view class="item" v-for="(item, index) in cardData" :key="index">
<image mode="aspectFill" :src="imgUrl + item.pic"></image>
<view class="info">
<text class="title multi-line">{{ item.prodName }}</text>
<text class="subtitle">赠价值59元特产伴手礼一份</text>
<view class="tag-list">
<text class="tag">可定明日</text>
<text class="tag">可定明日</text>
<text class="tag">可定明日</text>
</view> </view>
<view class="fs-box"> <view class="fs-box">
<text class="fs-num">{{ item.score }}分</text> <text class="fs-num" v-if="item.score">{{ item.score }}分</text>
<text style="margin-left: 20rpx" class="sales-volume"> <text style="margin-left: 20rpx" class="sales-volume">
月销{{ item.monthSoldNum }} 月销{{ item.monthSoldNum }}
</text> </text>
...@@ -148,13 +129,6 @@ const params = ref({ ...@@ -148,13 +129,6 @@ const params = ref({
current: 1, current: 1,
size: 15, size: 15,
isEnd: false, isEnd: false,
sortType: '',
dateType: '', // 日期
allocateDate: '',
attractionId: '',
startCity: '',
serviceCommitment: '',
labelId: '',
}); });
const shopSwiperList = ref([ const shopSwiperList = ref([
'https://registry.npmmirror.com/wot-design-uni-assets/*/files/redpanda.jpg', 'https://registry.npmmirror.com/wot-design-uni-assets/*/files/redpanda.jpg',
...@@ -209,33 +183,29 @@ const dataParams = (item, datePart) => { ...@@ -209,33 +183,29 @@ const dataParams = (item, datePart) => {
}; };
// 景点 // 景点
const placeParams = (info) => { const placeParams = (info) => {
console.log('id', info); params.value.attractionIdList = [info.id];
params.value.attractionId = info.id;
refresh().then(() => { refresh().then(() => {
queryOfferProdListFn(); queryOfferProdListFn();
}); });
}; // 筛选 }; // 筛选
const screenParams = (item, type) => { const screenParams = (item, type) => {
if (type === 'screen') { if (type === 'screen') {
params.value.startCity = item.tripCity; params.value.startCityList = [item.tripCity];
} else if (type === 'serve') { } else if (type === 'serve') {
params.value.serviceCommitment = item.labelName; params.value.serviceList = [item.labelName];
} else if (type === 'people') { } else if (type === 'people') {
params.value.labelId = item.labelName; params.value.forPeopleList = [item.labelName];
} }
refresh().then(() => { refresh().then(() => {
queryOfferProdListFn(); queryOfferProdListFn();
}); });
}; };
const resetParams = () => { const resetParams = () => {
params.value.sortType = null; params.value = {
params.value.attractionId = null; size: 15,
params.value.dateType = null; current: 1,
params.value.startCity = null; isEnd: false,
params.value.serviceCommitment = null; };
params.value.labelId = null;
params.value.allocateDate = null;
refresh().then(() => { refresh().then(() => {
queryOfferProdListFn(); queryOfferProdListFn();
}); });
...@@ -471,6 +441,7 @@ page { ...@@ -471,6 +441,7 @@ page {
font-weight: bold; font-weight: bold;
/* 主题色 */ /* 主题色 */
color: #fa5151; color: #fa5151;
margin-left: auto;
align-self: flex-end; align-self: flex-end;
} }
} }
......
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