游戏增加更多游戏功能后,抖音无法打开
84 浏览2019年08月09日作者:dlshuziyu

问题描述:游戏添加更多游戏功能,抖音无法加载游戏

报错截图、相关bug:var winSize = wx.getSystemInfoSync();
MeSDKNative.MoreGame =tt.createMoreGamesButton({
type: "image",
image: "images/gengduo_btn.png",
//text:"更多游戏",
style: {
left: winSize.windowWidth*0.9-50,
top: winSize.windowHeight*0.1,
width: 50,
height: 50,
lineHeight: 40,
//backgroundColor: "#ff0000",
textColor: "#ffffff",
textAlign: "center",
fontSize: 14,
borderRadius: 4,
borderWidth: 0,
borderColor: '#ff0000'
},
appLaunchOptions: [
{
appId: "ttxxxxd",
query: "foo=bar&baz=qux",
extraData: {}
}
],
onNavigateToMiniGame(res) {
console.log("跳转其他小游戏", res)
}
});
MeSDKNative.MoreGame.onTap(() => {
console.log('点击更多游戏')
});

复现步骤:

联系方式:15110226828

最后一次编辑于 2019 年 08 月 09 日
0 条评论

相关文章

专题推荐

热门文章

热门问答