|
@@ -25,7 +25,7 @@
|
|
|
<text @click="mediumClickHandler(item)" v-for="item in mediumSelect" :key="item.value" :class="[item.IsChoose ? 'active' : '', 'text-item', 'medium-item']">{{ item.name }}</text>
|
|
|
</view>
|
|
|
<!-- 活动列表 -->
|
|
|
- <view class="collect-ul">
|
|
|
+ <view class="collect-ul" v-if="haveData">
|
|
|
<view class="collect-ltem" v-for="(item, index) in collectList" :key="index">
|
|
|
<view class="title-date" @click="goDetail(item)">
|
|
|
<text :class="item.ActivityType == 1 ? '' : 'xianxia'">{{ item.ActivityType == 1 ? "线上" : "线下" }}</text>
|
|
@@ -70,6 +70,10 @@
|
|
|
</view>
|
|
|
<u-loadmore :status="status" icon-type="flower" :load-text="loadText" margin-top="20" v-if="totalPage > 1" />
|
|
|
</view>
|
|
|
+ <view class="nodata" v-else>
|
|
|
+ <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/act_search.png" mode="" class="nodata_ico"></image>
|
|
|
+ <text>暂无活动</text>
|
|
|
+ </view>
|
|
|
<view v-if="showAudioBox">
|
|
|
<audioModule :showAudioPop.sync="showAudioPop" />
|
|
|
</view>
|
|
@@ -111,10 +115,11 @@ export default {
|
|
|
jurisdictionList: {},
|
|
|
hasPermission: "", //权限
|
|
|
mediumSelect: [
|
|
|
- { name: "视频", value: "2", IsChoose: false },
|
|
|
- { name: "音频", value: "3", IsChoose: false },
|
|
|
+ { name: "视频", value: 1, IsChoose: false },
|
|
|
+ { name: "音频", value: 2, IsChoose: false },
|
|
|
],
|
|
|
mediumActive: "",
|
|
|
+ haveData: true,
|
|
|
};
|
|
|
},
|
|
|
mixins: [mediaMixins],
|
|
@@ -129,6 +134,7 @@ export default {
|
|
|
PlayBack: 1,
|
|
|
IsShowJurisdiction: this.isGetJurisdiction,
|
|
|
ChartPermissionIds: this.chartPermissionIds,
|
|
|
+ Filter: this.mediumActive == "1,2" || !this.mediumActive ? 0 : Number(this.mediumActive),
|
|
|
});
|
|
|
if (res.Ret === 200) {
|
|
|
this.status = this.page_no < res.Data.Paging.Pages ? "loadmore" : "nomore";
|
|
@@ -235,6 +241,8 @@ export default {
|
|
|
});
|
|
|
this.mediumActive = arr.join(",");
|
|
|
console.log(this.mediumActive);
|
|
|
+ this.page_no = 1;
|
|
|
+ this.getActivityList();
|
|
|
},
|
|
|
},
|
|
|
|
|
@@ -313,7 +321,7 @@ export default {
|
|
|
color: #333;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- justify-content:space-between ;
|
|
|
+ justify-content: space-between;
|
|
|
.text-item {
|
|
|
width: 150rpx;
|
|
|
text-align: center;
|