fix: pengyouquan yulan

This commit is contained in:
zzc
2026-02-09 20:30:15 +08:00
parent 06ded41769
commit 87a2383d0f
2 changed files with 49 additions and 3 deletions

View File

@@ -62,3 +62,14 @@ export function getDeviceInfo() {
appId: "69665538a49b8ae3be50fe5d",
};
}
/**
* 判断是否处于朋友圈单页模式
*/
export function isSinglePageMode() {
// #ifdef MP-WEIXIN
const launchOptions = uni.getLaunchOptionsSync();
return launchOptions.scene === 1154;
// #endif
return false;
}