[更新]更新动态tabBar
This commit is contained in:
27
app.js
27
app.js
@@ -6,7 +6,6 @@
|
||||
*/
|
||||
|
||||
import apis from "./apis/index"
|
||||
|
||||
const QQMapWX = require("./lib/qqmap-wx-jssdk.min.js");
|
||||
|
||||
App({
|
||||
@@ -18,13 +17,6 @@ App({
|
||||
|
||||
//挂载api方法
|
||||
wx.$api = apis
|
||||
|
||||
//获取模版信息
|
||||
apis.publics.storeConfig({
|
||||
company_id: "17"
|
||||
}).then(res=>{
|
||||
console.log(res)
|
||||
})
|
||||
},
|
||||
globalData: {
|
||||
navAppInfo : {
|
||||
@@ -32,25 +24,6 @@ App({
|
||||
envVersion : "trial",
|
||||
goodUrl : "/pages/goods/show?goodsId=",
|
||||
cardUrl : "/pages/card/index?cardid="
|
||||
},
|
||||
storeModule: {
|
||||
selected : 0,
|
||||
color : "#4e4f51",
|
||||
selectedColor: "#0b0041",
|
||||
list : [
|
||||
{
|
||||
"pagePath": "/pages/mall/index",
|
||||
"text": "商城",
|
||||
"iconPath": "/static/tabbar/tabbar_icon_01.png",
|
||||
"selectedIconPath": "/static/tabbar/tabbar_icon_show_01.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "/pages/user/index",
|
||||
"text": "我的",
|
||||
"iconPath": "/static/tabbar/tabbar_icon_03.png",
|
||||
"selectedIconPath": "/static/tabbar/tabbar_icon_show_03.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user