pages.json
{
"pages":[
{
"path":"componets/zaiui-common/view/home",
"style":{
//開啓下拉刷新
"enablePullDownRefresh":true
}
},
{
"path":"componets/zaiui-common/view/view",
"style":{
//開啓下拉刷新
"enablePullDownRefresh":true,
//導航欄的標題內容
"navigationBarTitleText":"視圖頁面",
//導航欄頁面樣式
"navigationStyle":"default",
//導航欄背景顏色
"navigationBarBackgroundColor":"#f40",
//導航欄字體顏色
"navigationBarTextStyle":"white",
"app-plus":{
"bounce":"none",//關閉窗口回彈效果
"softinputNavBar":"none"
}
}
}
],
"globalStyle":{
//全局導航欄字體顏色
"navigationBarTextStyle":"black",
//全局導航欄背景顏色
"navigationBarBackgroundColor":"#ff0000",
//頁面背景顏色
"backgroundColor":"#fff",
//全局導航欄的樣式
"navigationStyle":"custom"
},
//底部tab標籤
"tabBar":{
//tab字體顏色
"color":"#333",
//tab字體選中的顏色
"selectedColor":"#f40",
//tab邊框
"borderStyle":"white",
//tab背景顏色
"backgroundColor":"#fff",
//tab底部情況
"list":[{
//tab標籤的路徑
"pagePath":"components/zaiui-common/view/home",
//icon圖標
"iconPath":"static/images/tab/home.png",
//選中的icon圖標
"selectedIconPath":"static/images/tab/homeselected.png",
//tab的文字
"test":"首頁"
},
{
"pagePath":"components/zaiui-common/view/order",
"iconPath":"static/images/tab/order.png",
"selectedIconPath":"static/images/tab/orderselected.png",
"test":"訂單"
},
{
"pagePath":"components/zaiui-common/view/my",
"iconPath":"static/images/tab/my.png",
"selectedIconPath":"static/images/tab/myselected.png",
"test":"我的"
}]
}
}