官方提供了接口:
<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"
],