|
|
@ -45,7 +45,7 @@ |
|
|
|
<div class="my_community flex flex-wrap"> |
|
|
|
<div style="width: 25%" class="flex flex-y flex-center1 flex-center2" v-for="(item, index) in myCommunity" |
|
|
|
:key="index"> |
|
|
|
<img :src="item.imgSrc" class="img_33 m-top16" alt="" @click="handelCLickJump(index)" /> |
|
|
|
<img :src="item.imgSrc" class="img_33 m-top16" alt="" @click="handelCLickJump(item)" /> |
|
|
|
<span class="font-size14 m-top10">{{ item.title }}</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -85,27 +85,33 @@ export default { |
|
|
|
}, |
|
|
|
{ |
|
|
|
imgSrc: require('@/assets/images/houseQR/2.png'), |
|
|
|
title: '我有诉求' |
|
|
|
title: '我有诉求', |
|
|
|
path:'/event' |
|
|
|
}, |
|
|
|
{ |
|
|
|
imgSrc: require('@/assets/images/houseQR/3.png'), |
|
|
|
title: '社区讯息' |
|
|
|
title: '社区讯息', |
|
|
|
path:'/communityPublicity' |
|
|
|
}, |
|
|
|
{ |
|
|
|
imgSrc: require('@/assets/images/houseQR/4.png'), |
|
|
|
title: '社区活动' |
|
|
|
title: '社区活动', |
|
|
|
path:'/activity' |
|
|
|
}, |
|
|
|
{ |
|
|
|
imgSrc: require('@/assets/images/houseQR/5.png'), |
|
|
|
title: '居民议事' |
|
|
|
title: '居民议事', |
|
|
|
path:'/discussion' |
|
|
|
}, |
|
|
|
{ |
|
|
|
imgSrc: require('@/assets/images/houseQR/6.png'), |
|
|
|
title: '满意度测评' |
|
|
|
title: '满意度测评', |
|
|
|
path:'/mySatisfaction' |
|
|
|
}, |
|
|
|
{ |
|
|
|
imgSrc: require('@/assets/images/houseQR/7.png'), |
|
|
|
title: '可享服务' |
|
|
|
title: '可享服务', |
|
|
|
path:'/Enjoyableservices' |
|
|
|
}, |
|
|
|
{ |
|
|
|
imgSrc: require('@/assets/images/houseQR/8.png'), |
|
|
@ -146,15 +152,9 @@ export default { |
|
|
|
this.formData = res.data |
|
|
|
}) |
|
|
|
}, |
|
|
|
handelCLickJump(index) { |
|
|
|
if (index === 0) { |
|
|
|
if (this.formData.qrCode) { |
|
|
|
location.assign(this.formData.qrCode) |
|
|
|
} else { |
|
|
|
Notify({ type: 'primary', message: '未找到图片!' }) |
|
|
|
} |
|
|
|
} else if (index === 1) { |
|
|
|
this.$router.push({ path: '/event' }) |
|
|
|
handelCLickJump(item) { |
|
|
|
if (item.path) { |
|
|
|
this.$router.push({ path: item.path }) |
|
|
|
} else { |
|
|
|
Notify({ type: 'primary', message: '功能持续开放中,敬请期待!' }) |
|
|
|
} |
|
|
|