This commit is contained in:
PQZ 2025-05-08 14:41:46 +08:00
parent 29baec703e
commit 49269503d1
3 changed files with 27 additions and 13 deletions

View File

@ -113,6 +113,7 @@
this.menuCode = param.menuCode
}
this.selectSiteConfig("platform_tel")
this.selectSiteConfig("join_community")
let that = this
},
@ -247,6 +248,8 @@
setStrData(constant.customer_service, item.value)
} else if (constant.wechat_img == item.name) {
setStrData(constant.wechat_img, item.value)
} else if (constant.join_str == item.name) {
setStrData(constant.join_str, item.value)
}
})
}).catch((e) => {

View File

@ -155,7 +155,7 @@
<image src="@/static/mine/caise/weixin.png" mode="aspectFit"></image>
<view>公众号</view>
</view>
<view class="menu-item" @click="toggle('center',customer_service)">
<view class="menu-item" @click="getCommunity('center',join_str)">
<!-- <image src="@/static/mine/jairushequ.png" mode="aspectFit"></image> -->
<image src="@/static/mine/caise/shequ.png" mode="aspectFit"></image>
<view>加入社区</view>
@ -230,6 +230,8 @@
imageUrl: '',
//
wechat_img: constant.wechat_img,
//
join_str: constant.join_str,
//
customer_service: constant.customer_service,
//
@ -297,6 +299,13 @@
})
}
},
getCommunity(type, key){
this.type = type
this.popupImgUrl = getStrData(key)
// open uni-popup type
this.$refs.popup.open(type)
},
getDetail() {
let param = {
userId: this.userInfo.userId,

View File

@ -17,6 +17,8 @@ const constant = {
wechat_img: 'wechat_img',
//客服二维码
customer_service: 'customer_service',
//加入社区
join_str: 'join',
//发布公告
fbgg: 'fbgg',
}