Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0eeb572f0f | ||
|
|
fce7c78de3 |
@@ -38,3 +38,4 @@ app/.test-tmp-stream/
|
|||||||
TUICallKit-Vue3/.env
|
TUICallKit-Vue3/.env
|
||||||
/.codegraph
|
/.codegraph
|
||||||
app/artifacts/
|
app/artifacts/
|
||||||
|
/artifacts
|
||||||
|
|||||||
@@ -1595,17 +1595,26 @@ async function goMorePage() {
|
|||||||
uni.navigateTo({ url: buildMorePageUrl() })
|
uni.navigateTo({ url: buildMorePageUrl() })
|
||||||
}
|
}
|
||||||
|
|
||||||
function openGamePage(url) {
|
function goEndlessGamePage() {
|
||||||
|
// #ifdef MP-WEIXIN
|
||||||
|
wx.navigateToMiniProgram({
|
||||||
|
appId: 'wx0c2a9d5ebad26a3f',
|
||||||
|
path: 'tongji/endless-game/index',
|
||||||
|
envVersion: 'release',
|
||||||
|
fail(err) {
|
||||||
|
if (err?.errMsg?.includes('cancel')) return
|
||||||
|
uni.showToast({ title: '暂时无法打开课堂', icon: 'none' })
|
||||||
|
}
|
||||||
|
})
|
||||||
|
// #endif
|
||||||
|
// #ifndef MP-WEIXIN
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url,
|
url: '/tongji/endless-game/index',
|
||||||
fail() {
|
fail() {
|
||||||
uni.showToast({ title: '暂时无法打开游戏', icon: 'none' })
|
uni.showToast({ title: '暂时无法打开游戏', icon: 'none' })
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
// #endif
|
||||||
|
|
||||||
function goEndlessGamePage() {
|
|
||||||
openGamePage('/tongji/endless-game/index')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function navToUser() {
|
function navToUser() {
|
||||||
|
|||||||
Reference in New Issue
Block a user