|
@@ -1,8 +1,7 @@
|
|
|
<template >
|
|
|
<view>
|
|
|
<u-tabbar v-model="myCurrent" :list="tabbarList"
|
|
|
- :before-switch="beforeSwitch"
|
|
|
- :mid-button="true" active-color="#1677ff"></u-tabbar>
|
|
|
+ :before-switch="beforeSwitch" active-color="#009143"></u-tabbar>
|
|
|
|
|
|
</view>
|
|
|
</template>
|
|
@@ -21,33 +20,32 @@
|
|
|
oldindex:this.current,
|
|
|
myCurrent:this.current,
|
|
|
tabbarList: [{
|
|
|
- iconPath: "motuoche-diandongche",
|
|
|
- selectedIconPath: "motuoche-diandongche",
|
|
|
- text: '充电中',
|
|
|
+ iconPath: "home-3-line",
|
|
|
+ selectedIconPath: "home-3-fill",
|
|
|
+ text: '主页 ',
|
|
|
count: 0,
|
|
|
isDot: true,
|
|
|
customIcon: true,
|
|
|
- pagePath2:"/pages/index/index?k=1",
|
|
|
-
|
|
|
+ pagePath2:"/pages/index/index",
|
|
|
},
|
|
|
{
|
|
|
- iconPath: "/static/img/min_button_select.png",
|
|
|
- selectedIconPath: "/static/img/min_button_select.png",
|
|
|
- text: '充电',
|
|
|
+ iconPath: "road-map-line",
|
|
|
+ selectedIconPath: "road-map-fill",
|
|
|
+ text: '找桩',
|
|
|
midButton: true,
|
|
|
customIcon: true,
|
|
|
- pagePath2:"/pages/charge/index",
|
|
|
+ pagePath2:"/pages/searchPile/searchPile",
|
|
|
},
|
|
|
{
|
|
|
- iconPath: "31wode",
|
|
|
- selectedIconPath: "31wode",
|
|
|
+ iconPath: "user-5-line",
|
|
|
+ selectedIconPath: "user-5-fill",
|
|
|
text: '我的',
|
|
|
count: 0,
|
|
|
isDot: false,
|
|
|
customIcon: true,
|
|
|
pagePath2:"/pages/user/index",
|
|
|
- },
|
|
|
- ],
|
|
|
+ }
|
|
|
+ ],
|
|
|
};
|
|
|
|
|
|
},methods:{
|