{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "九聚财务",
"navigationStyle": "custom", // 自定义头部导航栏
"enablePullDownRefresh": true, // 下拉刷新支持
"navigationBarTitleText": "门店收益", //设置导航标题
"navigationBarBackgroundColor": "#ffffff", //设置导航背景色
"navigationBarTextStyle": "black", //设置导航文字颜色
"usingComponents": { //引用外部组件
"i-card": "../../dist/card/index"
}
}
},
],
"tabBar": {
"color": "#989898", // 文字的颜色
"selectedColor": "#2F5FF6", // 选中后文字的颜色
"borderStyle": "black",
"backgroundColor": "#ffffff", // 背景颜色
// 注:tabBar.list 需至少包含2项
"list": [{
"iconPath": "./static/img/组12270@2x.png", // 未选中显示图片
"selectedIconPath": "./static/img/组12268@2x.png", // 选中显示图片
"pagePath": "pages/index/index",
"text": "合同"
},
{
"pagePath": "pages/personal/personal",
"iconPath": "./static/img/组12269@2x.png",
"selectedIconPath": "./static/img/组12271@2x.png",
"text": "我的"
}
]
},
// 用于设置应用的状态栏、导航条、标题、窗口背景色等。
// 注:它会被个体的样式覆盖掉。例如:pages[0].style.navigationBarTextStyle:'#ffffff'
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
// 启动模式配置,仅开发期间生效,用于模拟直达页面的场景,如:小程序转发后,用户点击所打开的页面。
"condition": {
"current": 0, // 当前激活的模式,list节点的索引值
// 启动模式列表
"list": [{
"name": "提现", // 启动模式名称
"path": "pages/personal/withdraw/withdraw" // 启动页面路径
},
{
"name": "在线签署填写信息",
"path": "pages/personal/personmessage/personmessage"
},
{
"name": "提现2",
"path": "pages/personal/withdraw/withsuccess"
},
{
"name": "支付详情",
"path": "pages/personal/pay/pay"
}
]
}
}
uniapp pages.json文件配置
最新推荐文章于 2025-03-12 10:10:50 发布