定制方案全新升级

This commit is contained in:
aixianling
2022-07-14 18:00:07 +08:00
parent a6cd4d2578
commit 5e91aee82e

View File

@@ -100,10 +100,10 @@ export default {
selectedColor: "#197DF0", selectedColor: "#197DF0",
backgroundColor: "#ffffff", backgroundColor: "#ffffff",
list: [ list: [
{pagePath: "pages/home/home", text: "首页", iconPath: "TabBar/home.png", selectedIconPath: "TabBar/home_selected.png"}, {pagePath: "pages/home/home", text: "首页", iconPath: "static/TabBar/home.png", selectedIconPath: "static/TabBar/home_selected.png"},
{pagePath: "pages/service/service", text: "应用", iconPath: "TabBar/service.png", selectedIconPath: "TabBar/service_selected.png"}, {pagePath: "pages/service/service", text: "应用", iconPath: "static/TabBar/service.png", selectedIconPath: "static/TabBar/service_selected.png"},
v.form.customTabbar, v.form.customTabbar,
{pagePath: "pages/mine/my", text: "我的", iconPath: "TabBar/me.png", selectedIconPath: "TabBar/me_selected.png"} {pagePath: "pages/mine/my", text: "我的", iconPath: "static/TabBar/me.png", selectedIconPath: "static/TabBar/me_selected.png"}
] ]
}), }),
customTabbar: { customTabbar: {
@@ -112,8 +112,8 @@ export default {
id, id,
pagePath: `pages/${name}/${name}`, pagePath: `pages/${name}/${name}`,
text: label, text: label,
iconPath: `TabBar/custom.png`, iconPath: `static/TabBar/custom.png`,
selectedIconPath: `TabBar/custom_selected.png` selectedIconPath: `static/TabBar/custom_selected.png`
} }
}, },
get() { get() {
@@ -182,8 +182,8 @@ export default {
this.$set(this.form, 'customTabbar', customTabbar || { this.$set(this.form, 'customTabbar', customTabbar || {
pagePath: "pages/AppEnteringVillage/AppEnteringVillage", pagePath: "pages/AppEnteringVillage/AppEnteringVillage",
text: "进村", text: "进村",
iconPath: "TabBar/village.png", iconPath: "static/TabBar/custom.png",
selectedIconPath: "TabBar/village_selected.png" selectedIconPath: "static/TabBar/custom_selected.png"
}) })
} }
} }