You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
839 B

const {hot} = require('uni-pages-hot-modules')
module.exports = hot((pagesJson)=>{
return{
...pagesJson,
pages:[
...require("./router/home.js"),
...require("./router/warehouse.js"),
...require("./router/massif.js"),
...require('./router/purchase.js'),
...require('./router/stock.js'),
],
tabBar:{
color:"#999",
selectedColor:"#10C176",
backgroundColor:"#fff",
// iconWidth:"35rpx",
list:[
{pagePath:"pages/home/index",text:"首页",iconPath: "/static/tab_home.png",selectedIconPath: "/static/tab_home_active.png"},
{pagePath:"pages/massif/index",text:"地块管理",iconPath: "/static/tab_massif.png",selectedIconPath: "/static/tab_massif_active.png"},
{pagePath:"pages/home/my",text:"我的",iconPath: "/static/tab_my.png",selectedIconPath: "/static/tab_my_active.png"},
]
},
}
})