globalStyle
用于设置应用的状态栏、导航条、标题、窗口背景色等。
navgationBar三种设置
TitleText
TextStyle仅支持 black/white
BackgroundColor
针对微信小程序
下拉的设置
backgroundColor 下拉显示出来的窗口的背景色
backgroundTextStyle仅支持 dark / light
下拉与触底
enablePullDownRefresh
onReachBottomDistance
pages数组
存储页面对象,属性path和style
可以设置平台独有样式
style属性参照globalStyle
tabBar标签栏
必选属性:
- list
- color
- selectedColor
- backgroundColor
list 接收一个数组,数组元素最少2个、最多5个 tab
,数组中的每个项都是一个对象
对象的属性值如下:
- pagePath
必选
- text
必选
- iconPath
- selectedIconPath
condition
启动模式配置,仅开发期间生效
current list节点的索引值
list 启动模式列表
list数组元素属性
name
path
query启动参数,可在页面的 onLoad 函数里获得