nomadro/apps/miniprogram/tt/src/app.config.ts
eric 8c5eb388c1 Scrub BMI medical copy and live-refresh Douyin home A/B + portals.
Rename titles to BMI指数, soften audit-sensitive tips, and subscribe remote config so homepage variant and entrance toggles apply within a few seconds.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-04 19:17:21 +08:00

39 lines
994 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/** 抖音:主包 ≤4MB;电子书进 packageBook 分包 ≤2MB(官方分包限制) */
export default defineAppConfig({
pages: [
'pages/index/index',
'pages/hub/index',
'pages/nav/index',
'pages/community/index',
'pages/mine/index',
'pages/destinations/index',
'pages/destination/index',
'pages/meetups/index',
'pages/vip/index',
],
subPackages: [
{
root: 'packageBook',
name: 'book',
pages: ['pages/book/index', 'pages/reader/index'],
},
],
preloadRule: {
'pages/index/index': {
network: 'all',
packages: ['book'],
},
},
/** 抖音官方:app.json usePrivacyCheck(见隐私协议开发指南) */
usePrivacyCheck: true,
/** 兼容旧字段 */
__usePrivacyCheck__: true,
window: {
backgroundTextStyle: 'light',
navigationBarBackgroundColor: '#0b0f14',
navigationBarTitleText: 'BMI指数',
navigationBarTextStyle: 'white',
backgroundColor: '#0b0f14',
},
})