|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
- <view class="content-ul">
|
|
|
+ <view class="content-ul" v-if="haveData">
|
|
|
<view class="item-ul">
|
|
|
<block v-for="(item, index) in newDataList" :key="index">
|
|
|
<view v-if="index % 2 == 0 && item.IsShowData">
|
|
@@ -46,6 +46,10 @@
|
|
|
</block>
|
|
|
</view>
|
|
|
</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>
|
|
|
<morning-dlg v-if="isMorningShow" :isMorningShow.sync="isMorningShow" :morningItem.sync="morningItem" />
|
|
|
</view>
|
|
|
</template>
|
|
@@ -80,6 +84,7 @@ export default {
|
|
|
newDataList: [],
|
|
|
isMorningShow: false, // 晨会的弹框
|
|
|
morningItem: {}, // 晨会的弹框
|
|
|
+ haveData: true,
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
@@ -123,7 +128,7 @@ export default {
|
|
|
listArr.push({ ...obj, IsShowData: obj.Article || obj.Newchart || obj.Roadshow || obj.Activity || obj.ThreeSummary || obj.IndustrialResource });
|
|
|
});
|
|
|
this.newDataList = this.pageNumSynthetical === 1 ? listArr : [...this.newDataList, ...listArr];
|
|
|
- console.log(this.newDataList);
|
|
|
+ this.haveData = this.newDataList && this.newDataList.length ? true : false;
|
|
|
}
|
|
|
},
|
|
|
// 晨会弹框显示
|