|
|
@ -67,8 +67,8 @@ |
|
|
|
url="https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzkxNzQ5MzUzNg==&scene=110#wechat_redirect" |
|
|
|
size="small">关注</van-button> |
|
|
|
</div> |
|
|
|
<van-popup v-model="showLaunch" round> |
|
|
|
<launch-weapp v-if="showLaunch"></launch-weapp> |
|
|
|
<van-popup v-model="showLaunch" round v-if="mpObj"> |
|
|
|
<launch-weapp :mpObj="mpObj"></launch-weapp> |
|
|
|
</van-popup> |
|
|
|
<Android></Android> |
|
|
|
</div> |
|
|
@ -86,7 +86,8 @@ export default { |
|
|
|
myCommunity: [ |
|
|
|
{ |
|
|
|
imgSrc: require('@/assets/images/houseQR/1.png'), |
|
|
|
title: '我的信息' |
|
|
|
title: '我的信息', |
|
|
|
path: '/mine' |
|
|
|
}, |
|
|
|
{ |
|
|
|
imgSrc: require('@/assets/images/houseQR/2.png'), |
|
|
@ -126,28 +127,33 @@ export default { |
|
|
|
serverList: [ |
|
|
|
{ |
|
|
|
imgSrc: require('@/assets/images/houseQR/bot_1.png'), |
|
|
|
title: '户政服务' |
|
|
|
title: '户政服务', |
|
|
|
}, |
|
|
|
{ |
|
|
|
imgSrc: require('@/assets/images/houseQR/bot_2.png'), |
|
|
|
title: '身份证业务' |
|
|
|
}, |
|
|
|
{ |
|
|
|
imgSrc: require('@/assets/images/houseQR/bot_3.png'), |
|
|
|
title: '公积金' |
|
|
|
}, |
|
|
|
title: '12333', |
|
|
|
type:'security-1', |
|
|
|
appId:'wxf419ad41949b1db6', |
|
|
|
url:'pages/index/index.html' |
|
|
|
}, |
|
|
|
// { |
|
|
|
// imgSrc: require('@/assets/images/houseQR/bot_3.png'), |
|
|
|
// title: '公积金' |
|
|
|
// }, |
|
|
|
{ |
|
|
|
imgSrc: require('@/assets/images/houseQR/bot_4.png'), |
|
|
|
title: '电子社保', |
|
|
|
type: 'security' |
|
|
|
type: 'security', |
|
|
|
appId:'wx6163d215ef686f78', |
|
|
|
url:'pages/home/index.html' |
|
|
|
} |
|
|
|
], |
|
|
|
formData: null, |
|
|
|
showLaunch:false |
|
|
|
showLaunch:false, |
|
|
|
mpObj:null |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|
console.log(this.$store.state.app.houseId, '路由中') |
|
|
|
this.houesId = this.$store.state.app.houseId |
|
|
|
this.getHouseInfo() |
|
|
|
}, |
|
|
@ -182,16 +188,16 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
getHouseInfo() { |
|
|
|
console.log(this.houesId) |
|
|
|
getHouseInfoQR(this.houesId).then(res => { |
|
|
|
this.formData = res.data |
|
|
|
this.formData = res.data; |
|
|
|
}) |
|
|
|
}, |
|
|
|
handelCLickJump(item) { |
|
|
|
if (item.path) { |
|
|
|
this.$router.push({ path: item.path }) |
|
|
|
}else if(item.type === 'security'){ |
|
|
|
this.$router.push({ path: item.path}) |
|
|
|
}else if(item.type === 'security' || item.type === 'security-1'){ |
|
|
|
this.showLaunch = true; |
|
|
|
this.mpObj = item; |
|
|
|
} |
|
|
|
else { |
|
|
|
Notify({ type: 'primary', message: '功能持续开放中,敬请期待!' }) |
|
|
@ -203,4 +209,13 @@ export default { |
|
|
|
|
|
|
|
<style scoped lang="less"> |
|
|
|
@import './index'; |
|
|
|
:deep .van-popup{ |
|
|
|
width: 290px; |
|
|
|
height: 244px; |
|
|
|
padding-top: 15px; |
|
|
|
box-sizing: border-box; |
|
|
|
background: url('@/assets/images/houseQR/dialog_bg.png') no-repeat; |
|
|
|
background-size: 100% 100%; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
</style> |
|
|
|