框架主题文件
app.json : 小程序公共设置,小程序的全局配置文件
app.js: 小程序的逻辑文件,用于注册小程序全局实例,编译时会和其他页面逻辑文件打包成js文件
app.wxss:小程序公共样式,对全局页面有效
配置文件
{
//页面路径配置
"page":[
"mypages/index/index",
...
],
//默认窗口设置
"window":{
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "微信接口功能演示",
"backgroundColor": "#eeeeee",
"backgroundTextStyle": "light",
//支持旋转屏幕
"pageOrientation":"auto"
},
//底部tab设置
"tabBar":{
"color":"#000000",
"selectedColor":"#ff7f50",
"backgroundColor":"#ffffff",
"borderStyle":"black",
"position":"bottom",
"text":[
{
"iconPath":"images/home.png",
"selectedIconPath":"images/home-selected.png",
"text":"首页"
}