|
|
@ -44,11 +44,12 @@ |
|
|
|
<view class="box"> |
|
|
|
<view class="search-box"> |
|
|
|
<img src="https://static.ticket.sz-trip.com/yandu/images/eventCalendar/search.png" class="search-img" /> |
|
|
|
<input type="text" placeholder="搜索" v-model="keywords" @confirm="getList()"/> |
|
|
|
<input type="text" placeholder="搜索" v-model="keywords" @confirm="getList();qdTracker('searchActivity', {searchKeyword: keywords})"/> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="type-box flex-between"> |
|
|
|
<view :class="['type-item',{'type-active': index == typeIndex}]" v-for="(item,index) in typeList" :key="index" @click="typeIndex = index;getList()"> |
|
|
|
<view :class="['type-item',{'type-active': index == typeIndex}]" v-for="(item,index) in typeList" :key="index" |
|
|
|
@click="typeIndex = index;getList();qdTracker('activityCategoryClick', {buttonName: item.title, buttonSort: index})"> |
|
|
|
{{item.title}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -357,11 +358,14 @@ |
|
|
|
this.pageNo = 0 |
|
|
|
this.list = [] |
|
|
|
this.getList() |
|
|
|
|
|
|
|
this.qdTracker('activityCalendarClick', {CalendarDate: this.selectDay}) |
|
|
|
} |
|
|
|
}, |
|
|
|
viewDetail (item) { |
|
|
|
this.goOtherDetail(item) |
|
|
|
if(!item.link_type) { |
|
|
|
uni.setStorageSync('ActivityCategory', this.typeList[this.typeIndex].title) |
|
|
|
uni.navigateTo({ |
|
|
|
url:'/subPackages/eventCalendar/detail?id='+item.id |
|
|
|
}) |
|
|
|