|
@ -27,8 +27,7 @@ |
|
|
<div class="card flex flex-end flex-center2 m-top15 notice"> |
|
|
<div class="card flex flex-end flex-center2 m-top15 notice"> |
|
|
<img src="@/assets/images/icons/notice.png" class="img_17" alt=""> |
|
|
<img src="@/assets/images/icons/notice.png" class="img_17" alt=""> |
|
|
<div class="van-ellipsis flex-1"> |
|
|
<div class="van-ellipsis flex-1"> |
|
|
<van-notice-bar color="#555555" background="#ffffff" text="在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。" /> |
|
|
<van-notice-bar color="#555555" background="#ffffff" text="" /> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<span class="gray notice_time">05-06</span> |
|
|
<span class="gray notice_time">05-06</span> |
|
|
<span class="gray">更多</span> |
|
|
<span class="gray">更多</span> |
|
@ -138,6 +137,8 @@ |
|
|
<script> |
|
|
<script> |
|
|
import registerDialog from '@/components/registerDialog'; |
|
|
import registerDialog from '@/components/registerDialog'; |
|
|
import { communityActivity, icEventOldDiscuss, advertisingTag, communityPublicity,handelClicsupport } from '@/api/home'; |
|
|
import { communityActivity, icEventOldDiscuss, advertisingTag, communityPublicity,handelClicsupport } from '@/api/home'; |
|
|
|
|
|
import { querystaffmessage } from '@/api/message'; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
@ -182,12 +183,26 @@ export default { |
|
|
console.log(this.$store.state.app); |
|
|
console.log(this.$store.state.app); |
|
|
this.agencyId = this.$store.state.app.agencyId; |
|
|
this.agencyId = this.$store.state.app.agencyId; |
|
|
this.userId = this.$store.state.app.userInfo.id; |
|
|
this.userId = this.$store.state.app.userInfo.id; |
|
|
|
|
|
this.customerId = this.$store.state.app.userInfo.customerId; |
|
|
this.communityActivity()//获取轮播图与活动列表 |
|
|
this.communityActivity()//获取轮播图与活动列表 |
|
|
this.icEventOldDiscuss()//获取居民议事列表 |
|
|
this.icEventOldDiscuss()//获取居民议事列表 |
|
|
this.advertisingTag()//获取社区讯息菜单 |
|
|
this.advertisingTag()//获取社区讯息菜单 |
|
|
this.communityPublicity()//获取讯息列表 |
|
|
this.communityPublicity()//获取讯息列表 |
|
|
|
|
|
this.querystaffmessage() |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
async querystaffmessage(){ |
|
|
|
|
|
let parm = { |
|
|
|
|
|
agencyId: this.agencyId, |
|
|
|
|
|
app:'h5', |
|
|
|
|
|
userId: this.userId, |
|
|
|
|
|
pageSize:10, |
|
|
|
|
|
customerId:this.customerId, |
|
|
|
|
|
pageNo:1 |
|
|
|
|
|
} |
|
|
|
|
|
let res = await querystaffmessage(parm) |
|
|
|
|
|
console.log(res); |
|
|
|
|
|
}, |
|
|
async handelClicopposeNum(data){ |
|
|
async handelClicopposeNum(data){ |
|
|
let parm = { |
|
|
let parm = { |
|
|
eventId:data, |
|
|
eventId:data, |
|
|