|
|
|
@ -8,7 +8,7 @@ |
|
|
|
<image v-if="routersData.name" :src="'../../static/image/' + routersData.name.replace('/','') + '01.png'" class="highway_logo"></image> |
|
|
|
<image v-if="routersData.name" :src="'../../static/image/' + routersData.name.replace('/','') + '01.png'" class="highway_logo"></image> |
|
|
|
<view class="home_title">{{routersData.meta.title}}</view> |
|
|
|
<view class="home_title">{{routersData.meta.title}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="act_wrap" v-for="(item,index) in routersData.children" :key="index"> |
|
|
|
<view class="act_wrap" v-for="(item,index) in routersData.children" v-if="filterRoute.indexOf(item.meta.title) < 0" :key="index"> |
|
|
|
<view class="act_box" @click="changeShowStatus(index)"> |
|
|
|
<view class="act_box" @click="changeShowStatus(index)"> |
|
|
|
<image v-if="index == 0" src="../../static/image/icon_rundata.png" class="act_logo"></image> |
|
|
|
<image v-if="index == 0" src="../../static/image/icon_rundata.png" class="act_logo"></image> |
|
|
|
<image v-else src="../../static/image/icon_runstatus.png" class="act_logo"></image> |
|
|
|
<image v-else src="../../static/image/icon_runstatus.png" class="act_logo"></image> |
|
|
|
@ -37,7 +37,8 @@ |
|
|
|
return { |
|
|
|
return { |
|
|
|
routersData: [], |
|
|
|
routersData: [], |
|
|
|
showIndex: 0, |
|
|
|
showIndex: 0, |
|
|
|
mobile: getApp().globalData.mobile |
|
|
|
mobile: getApp().globalData.mobile, |
|
|
|
|
|
|
|
filterRoute: ['高速收费站'],//过滤菜单 |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad(options) { |
|
|
|
onLoad(options) { |
|
|
|
|