|
@ -2,7 +2,8 @@
|
2
|
2
|
<div class="tab-contain">
|
3
|
3
|
<baseContent v-for="item in paltNews" :key="item.index" :itemSingle="item" :showOwner="false"></baseContent>
|
4
|
4
|
<Loading v-show="loadingModalShow" :loadingComplete="loadingComplete" :isLoading="isLoading" v-on:upup="loadLower"></Loading>
|
5
|
|
</div>
|
|
5
|
<div class="nodataList" v-show="nodata">暂无数据</div>
|
|
6
|
</div>
|
6
|
7
|
</template>
|
7
|
8
|
|
8
|
9
|
<script>
|
|
@ -20,7 +21,8 @@
|
20
|
21
|
loadingModalShow: true, // 是否显示按钮
|
21
|
22
|
loadingComplete: false, // 是否全部加载
|
22
|
23
|
isFormSearch: false, // 数据加载
|
23
|
|
isLoading: false // button style...
|
|
24
|
isLoading: false, // button style...
|
|
25
|
nodata: false
|
24
|
26
|
};
|
25
|
27
|
},
|
26
|
28
|
components: {
|
|
@ -55,6 +57,9 @@
|
55
|
57
|
that.loadingModalShow = false;
|
56
|
58
|
that.isFormSearch = false;
|
57
|
59
|
};
|
|
60
|
} else {
|
|
61
|
that.loadingModalShow = false;
|
|
62
|
that.nodata = true;
|
58
|
63
|
}
|
59
|
64
|
};
|
60
|
65
|
});
|
|
@ -68,3 +73,9 @@
|
68
|
73
|
}
|
69
|
74
|
};
|
70
|
75
|
</script>
|
|
76
|
|
|
77
|
<style>
|
|
78
|
.nodataList{
|
|
79
|
text-align: center;
|
|
80
|
}
|
|
81
|
</style>
|