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.
|
|
|
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:{
|
|
|
|
iconfontSrc:"https://at.alicdn.com/t/c/font_3852037_qesfnqbc6t.ttf",
|
|
|
|
color:"#999",
|
|
|
|
selectedColor:"#10C176",
|
|
|
|
backgroundColor:"#fff",
|
|
|
|
list:[
|
|
|
|
{pagePath:"pages/home/index",text:"首页",iconfont:{text:"\ue602",selectedText:"\ue602",fontSize:"30rpx",color:"#999",selectedColor:"#10C176"}},
|
|
|
|
{pagePath:"pages/massif/index",text:"地块管理",iconfont:{text:"\ue866",selectedText:"\ue866",fontSize:"30rpx",color:"#999",selectedColor:"#10C176"}},
|
|
|
|
{pagePath:"pages/home/my",text:"我的",iconfont:{text:"\ue941",selectedText:"\ue941",fontSize:"30rpx",color:"#999",selectedColor:"#10C176"}},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
}
|
|
|
|
})
|