...
|
...
|
@@ -8,7 +8,8 @@ |
|
|
:data="newsDeatilList.list">
|
|
|
<div class="news-content">
|
|
|
<Title :title="title"></Title>
|
|
|
<List :list="newsDeatilList && newsDeatilList.list || []" :isTitle="false"></List>
|
|
|
<List v-if="newsDeatilList.list.length > 0" :list="newsDeatilList && newsDeatilList.list || []" :isTitle="false"></List>
|
|
|
<UfoNoItem v-else :tip="`暂无数据`"></UfoNoItem>
|
|
|
</div>
|
|
|
</Scroll>
|
|
|
</div>
|
...
|
...
|
@@ -18,6 +19,7 @@ |
|
|
<script>
|
|
|
import { Style, Scroll } from 'cube-ui'
|
|
|
import { createNamespacedHelpers } from 'vuex';
|
|
|
import UfoNoItem from '../../../components/ufo-no-item';
|
|
|
import Title from './components/title';
|
|
|
import List from './components/list';
|
|
|
const { mapState, mapActions } = createNamespacedHelpers('home/news');
|
...
|
...
|
@@ -26,9 +28,9 @@ export default { |
|
|
data() {
|
|
|
return {
|
|
|
options: {
|
|
|
bounce: {
|
|
|
top: false
|
|
|
},
|
|
|
// bounce: {
|
|
|
// top: false
|
|
|
// },
|
|
|
pullUpLoad: true
|
|
|
},
|
|
|
title: '',
|
...
|
...
|
@@ -68,6 +70,7 @@ export default { |
|
|
Scroll,
|
|
|
Title,
|
|
|
List,
|
|
|
UfoNoItem
|
|
|
}
|
|
|
};
|
|
|
</script>
|
...
|
...
|
|