[更新]更新动态tabBar

This commit is contained in:
唐明明
2020-12-28 17:13:09 +08:00
parent 5f2a66b04f
commit c34a1d6021
5 changed files with 68 additions and 38 deletions

27
app.js
View File

@@ -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"
}
]
}
}
})