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