|
@@ -36,34 +36,6 @@
|
|
|
// 设置底部tabbar 样式
|
|
|
const theme = getApp().globalData.theme
|
|
|
this.theme = theme
|
|
|
- uni.setTabBarItem({
|
|
|
- "index": 0,
|
|
|
- "iconPath": "static/"+theme+"/tabbar/home.png",
|
|
|
- "selectedIconPath": "static/"+theme+"/tabbar/home-active.png",
|
|
|
- })
|
|
|
- uni.setTabBarItem({
|
|
|
- "index": 1,
|
|
|
- "iconPath": "static/"+theme+"/tabbar/stock.png",
|
|
|
- "selectedIconPath": "static/"+theme+"/tabbar/stock-active.png",
|
|
|
- })
|
|
|
- uni.setTabBarItem({
|
|
|
- "index": 2,
|
|
|
- "iconPath": "static/"+theme+"/tabbar/shelf.png",
|
|
|
- "selectedIconPath": "static/"+theme+"/tabbar/shelf-active.png",
|
|
|
- })
|
|
|
- uni.setTabBarItem({
|
|
|
- "index": 3,
|
|
|
- "iconPath": "static/"+theme+"/tabbar/user.png",
|
|
|
- "selectedIconPath": "static/"+theme+"/tabbar/user-active.png",
|
|
|
- })
|
|
|
- uni.setTabBarStyle({
|
|
|
- color: this.$config("topBarTitleColors"),
|
|
|
- selectedColor: this.$config("primaryColor"),
|
|
|
- borderStyle: 'white',
|
|
|
- complete: function(res){
|
|
|
- console.log(res)
|
|
|
- }
|
|
|
- })
|
|
|
// 数字货架导航按钮
|
|
|
this.storageRacksNavList = [
|
|
|
{
|