|
|
@ -51,11 +51,11 @@ |
|
|
|
<view v-if="calendarItem"> |
|
|
|
<image src="https://static.ticket.sz-trip.com/changshu/images/index/title2.png" mode="heightFix" class="title-img"></image> |
|
|
|
|
|
|
|
<view class="calendar-item" @click="calendarItem.type='calendar';gotoDetailByTypeToJdsz(calendarItem)"> |
|
|
|
<image :src="showImgs(calendarItem.post_url)" mode="aspectFill" class="calendar-img"></image> |
|
|
|
<view class="calendar-item" @click="gotoWebUrl(calendarItem)"> |
|
|
|
<image :src="showImg(calendarItem.image)" mode="aspectFill" class="calendar-img"></image> |
|
|
|
<view class="calendar-content flex-column"> |
|
|
|
<view class="title text-overflow">{{calendarItem.name}}</view> |
|
|
|
<view class="subtitle text-overflow">活动时间:{{ calendarItem.begin_date }}—{{ calendarItem.end_date }}</view> |
|
|
|
<view class="title text-overflow">{{calendarItem.title}}</view> |
|
|
|
<view class="subtitle text-overflow">活动时间:{{ calendarItem.start_time }}—{{ calendarItem.end_time }}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
@ -90,7 +90,7 @@ |
|
|
|
<view v-for="(item,indexs) in getColumnItems(index)" :key="indexs" class="hot-item" @click="gotoHotDetail(item)"> |
|
|
|
<view class="image-container"> |
|
|
|
<image :src="item.src" mode="widthFix" class="hot-img"></image> |
|
|
|
<image src="https://static.ticket.sz-trip.com/changshu/images/index/play.png" mode="" class="play-img" v-if="typeIndex == 5"></image> |
|
|
|
<image src="https://static.ticket.sz-trip.com/changshu/images/index/play.png" mode="widthFix" class="play-img" v-if="typeIndex == 5"></image> |
|
|
|
</view> |
|
|
|
<view class="hot-content"> |
|
|
|
<view class="title text-overflowRows">{{item.title || item.name}}</view> |
|
|
@ -447,13 +447,12 @@ |
|
|
|
// 周边特惠活动 |
|
|
|
getCalendarList() { |
|
|
|
this.Post({ |
|
|
|
apiType: 'jdsz', |
|
|
|
page_no: 1, |
|
|
|
page_num: 1 |
|
|
|
}, '/api/pbservice/Actcalendar/getActList').then(res => { |
|
|
|
if(res) { |
|
|
|
this.calendarItem = res.data.rows[0] |
|
|
|
} |
|
|
|
date: '', |
|
|
|
offset: 0, |
|
|
|
limit: 100, |
|
|
|
type_id: 6 |
|
|
|
},'/api/activity/getActivityCalendar').then(res => { |
|
|
|
this.calendarItem = res.data[0] |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 更改热门推荐类型 |
|
|
@ -797,7 +796,7 @@ |
|
|
|
position: relative; |
|
|
|
|
|
|
|
.hot-img { |
|
|
|
height: 267rpx; |
|
|
|
width: 340rpx; |
|
|
|
} |
|
|
|
|
|
|
|
.play-img { |
|
|
|