通告功能
This commit is contained in:
parent
0eeae08bea
commit
12841688af
@ -232,9 +232,14 @@
|
||||
methods: {
|
||||
toggle(type, key) {
|
||||
this.type = type
|
||||
this.popupImgUrl = getStrData(key)
|
||||
// open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
|
||||
this.$refs.popup.open(type)
|
||||
if (type == 'center') {
|
||||
//公众号跳转
|
||||
wx.openOfficialAccountProfile({
|
||||
username: 'tonggaokuaijie', // 此处填写公众号的微信号
|
||||
success: res => {},
|
||||
fail: res => {}
|
||||
})
|
||||
}
|
||||
},
|
||||
getDetail() {
|
||||
queryDetail({
|
||||
|
Loading…
Reference in New Issue
Block a user