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

2 years ago
const {hot} = require('uni-pages-hot-modules')
module.exports = hot((pagesJson)=>{
return{
...pagesJson,
pages:[
2 years ago
...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",
2 years ago
// iconWidth:"35rpx",
2 years ago
list:[
2 years ago
{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"},
2 years ago
]
},
2 years ago
}
})