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>
39 lines
994 B
TypeScript
39 lines
994 B
TypeScript
/** 抖音:主包 ≤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',
|
||
},
|
||
})
|