Authored by baoss

修复消息页无数据时不显示提示及禁止webview下拉刷新

@@ -22,7 +22,7 @@ export default { @@ -22,7 +22,7 @@ export default {
22 }, 22 },
23 isTitle: { 23 isTitle: {
24 type: Boolean, 24 type: Boolean,
25 - default: true, 25 + default: false,
26 } 26 }
27 }, 27 },
28 methods: { 28 methods: {
@@ -5,11 +5,10 @@ @@ -5,11 +5,10 @@
5 ref="scroll" 5 ref="scroll"
6 :options="options" 6 :options="options"
7 @pulling-up="onPullingUp" 7 @pulling-up="onPullingUp"
8 - :data="newsList.list"  
9 - v-if="newsList.list && newsList.list.length > 0"> 8 + :data="newsList.list">
10 <div class="news-content"> 9 <div class="news-content">
11 <Tab v-if="newsList.tabList.length > 0" :list="newsList.tabList || []"></Tab> 10 <Tab v-if="newsList.tabList.length > 0" :list="newsList.tabList || []"></Tab>
12 - <List v-if="newsList.list && newsList.list.length > 0" :list="newsList.list || []"></List> 11 + <List v-if="newsList.list && newsList.list.length > 0" isTitle :list="newsList.list || []"></List>
13 <UfoNoItem v-else :tip="`暂无数据`" style="margin-top: 60px"></UfoNoItem> 12 <UfoNoItem v-else :tip="`暂无数据`" style="margin-top: 60px"></UfoNoItem>
14 </div> 13 </div>
15 </Scroll> 14 </Scroll>
@@ -5,8 +5,7 @@ @@ -5,8 +5,7 @@
5 ref="scroll" 5 ref="scroll"
6 :options="options" 6 :options="options"
7 @pulling-up="onPullingUp" 7 @pulling-up="onPullingUp"
8 - :data="newsList.list"  
9 - v-if="newsList.list && newsList.list.length > 0"> 8 + :data="newsList.list">
10 <div class="news-content"> 9 <div class="news-content">
11 <Title :title="title"></Title> 10 <Title :title="title"></Title>
12 <List v-if="newsList.list && newsList.list.length > 0" :list="newsList.list || []"></List> 11 <List v-if="newsList.list && newsList.list.length > 0" :list="newsList.list || []"></List>