官方提供了接口:

 

view class="footer"  button open-type = "openGroupProfile" class="footer-tips" group-id="620033746"v1.0 by:IWH  @text加群玩!/text/button/view

 QQ小程序:轻水印

这里和微信小程序一样,需要在按钮上设置open-type 还要加一个group-id,就是群号,最后就是和跳转小程序与一样,在app.json配置数据

 

 这里最多10个群号。

"groupIdList":[   "620033746"  ],

 

TAG标签: 微信小程序qq社区

http://www.xiaochengxub.com/read-104510.html