Showing
1 changed file
with
5 additions
and
3 deletions
@@ -28,9 +28,9 @@ | @@ -28,9 +28,9 @@ | ||
28 | </template> | 28 | </template> |
29 | </div> | 29 | </div> |
30 | </div> | 30 | </div> |
31 | - <div :style="{minHeight: total + 'px',marginTop: '30px'}"> | 31 | + <div :style="{minHeight: total + 'px'}"> |
32 | <ProductList :list="productList.list" v-if="productList.list.length > 0" class="bgColor"></ProductList> | 32 | <ProductList :list="productList.list" v-if="productList.list.length > 0" class="bgColor"></ProductList> |
33 | - <div v-else> 没有数据! </div> | 33 | + <UfoNoItem :tip="`暂无数据`" v-else></UfoNoItem> |
34 | </div> | 34 | </div> |
35 | </div> | 35 | </div> |
36 | </Scroll> | 36 | </Scroll> |
@@ -48,6 +48,7 @@ import Hot from './components/hot'; | @@ -48,6 +48,7 @@ import Hot from './components/hot'; | ||
48 | import ScrollNav from './components/scrollNav'; | 48 | import ScrollNav from './components/scrollNav'; |
49 | import ProductList from '../../list/components/productList'; | 49 | import ProductList from '../../list/components/productList'; |
50 | import { setTimeout } from 'timers'; | 50 | import { setTimeout } from 'timers'; |
51 | +import UfoNoItem from '../../../components/ufo-no-item'; | ||
51 | 52 | ||
52 | const { mapState, mapActions } = createNamespacedHelpers('home/channel'); | 53 | const { mapState, mapActions } = createNamespacedHelpers('home/channel'); |
53 | const { mapState: mapStateList, mapActions: mapActionsList } = createNamespacedHelpers('list'); | 54 | const { mapState: mapStateList, mapActions: mapActionsList } = createNamespacedHelpers('list'); |
@@ -131,7 +132,8 @@ export default { | @@ -131,7 +132,8 @@ export default { | ||
131 | Sticky, | 132 | Sticky, |
132 | cubeSticky: Sticky, | 133 | cubeSticky: Sticky, |
133 | cubeStickyEle: Sticky.Ele, | 134 | cubeStickyEle: Sticky.Ele, |
134 | - ProductList | 135 | + ProductList, |
136 | + UfoNoItem | ||
135 | } | 137 | } |
136 | }; | 138 | }; |
137 | </script> | 139 | </script> |
-
Please register or login to post a comment