|
|
@ -180,7 +180,7 @@ export default { |
|
|
|
tagActive: 'new', |
|
|
|
tagId: null, |
|
|
|
PublicityList:[], |
|
|
|
PublicityListImg:[], |
|
|
|
PublicityListImg:null, |
|
|
|
messageText:'没有新的消息!', |
|
|
|
day:null, |
|
|
|
tipContent:null, |
|
|
@ -360,7 +360,9 @@ export default { |
|
|
|
let res = await communityPublicity(parm) |
|
|
|
if (res.code === 0) { |
|
|
|
this.PublicityList = res.data.list.slice(0, 2) |
|
|
|
this.PublicityListImg = res.data.list.filter((item)=>item.top === 1) |
|
|
|
if(!this.PublicityListImg){ |
|
|
|
this.PublicityListImg = res.data.list.filter((item)=>item.top === 1); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
handelChangeTags(val,title){ |
|
|
|