|
|
@@ -162,13 +162,13 @@ export default { |
|
|
|
})
|
|
|
|
},
|
|
|
|
/* 新闻列表 */
|
|
|
|
getNewsList() {
|
|
|
|
getData() {
|
|
|
|
let data = {
|
|
|
|
// type: 1,
|
|
|
|
pageNum: 1,
|
|
|
|
pageSize: 90
|
|
|
|
pageSize: 100
|
|
|
|
}
|
|
|
|
homeService.getNewsList(data).then(res => {
|
|
|
|
homeService.getData(data).then(res => {
|
|
|
|
res.list.forEach(ele => {
|
|
|
|
if (ele.type == 4) { // 生活服务
|
|
|
|
this.lifeList.push(ele)
|
|
|
@@ -203,7 +203,7 @@ export default { |
|
|
|
},
|
|
|
|
created() {
|
|
|
|
this.getSlideList()
|
|
|
|
this.getNewsList()
|
|
|
|
this.getData()
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
@@ -236,6 +236,7 @@ export default { |
|
|
|
line-height: 22px;
|
|
|
|
padding: 4px 0;
|
|
|
|
height: 22px;
|
|
|
|
white-space: nowrap;
|
|
|
|
a{
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|