try {
// 九宫格 设置大小和位置无实际作用
const nineGridGamePanel = tt.createGridGamePanel({
gridCount: "nine",
query: {
},
});
nineGridGamePanel.show();
} catch (error) {
console.error("创建游戏推荐组件失败", error);
tt.navigateToMiniProgram({
appId: 'ttc9e5bf5856eff54001', // 小游戏站appid
path: 'pages/circle/index?appId=tt115867e58e51073102',
success: (res) => {
console.log("跳转成功", res)
},
fail: (res) => {
console.log("跳转失败", res)
},
});
}