|
@ -9,7 +9,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="item-container" style="align-items: center; width: 100%;"> |
|
|
<view class="item-container" style="align-items: center; width: 100%;"> |
|
|
<view class="thumb-box" v-for="(item1, index1) in filterList" :key="index1" @click="openCheck(item1.path)" |
|
|
<view class="thumb-box" v-for="(item1, index1) in filterList" :key="index1" @click="openCheck(item1)" |
|
|
style="text-align: center; "> |
|
|
style="text-align: center; "> |
|
|
<view class="" style="position: relative; "> |
|
|
<view class="" style="position: relative; "> |
|
|
<image class="item-menu-image" :src="'/static/menus/'+item1.componentName" mode=""> |
|
|
<image class="item-menu-image" :src="'/static/menus/'+item1.componentName" mode=""> |
|
@ -42,7 +42,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="item-container"> |
|
|
<view class="item-container"> |
|
|
<view class="thumb-box" v-for="(item1, index1) in item.children" :key="index1" |
|
|
<view class="thumb-box" v-for="(item1, index1) in item.children" :key="index1" |
|
|
@click="openCheck(item1.path)"> |
|
|
@click="openCheck(item1)"> |
|
|
<view class="" style="position: relative; "> |
|
|
<view class="" style="position: relative; "> |
|
|
<!-- <u-badge class="item-menu-badge" v-if="item1.count>0" type="error" :count="item1.count" :offset="position" |
|
|
<!-- <u-badge class="item-menu-badge" v-if="item1.count>0" type="error" :count="item1.count" :offset="position" |
|
|
:showZero="false"></u-badge> --> |
|
|
:showZero="false"></u-badge> --> |
|
@ -401,9 +401,10 @@ |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
openCheck(url) { |
|
|
openCheck(item) { |
|
|
|
|
|
let name = item.name.split('\\n').join('') |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: "/" + url |
|
|
url: `/${item.path}?title=${name}` |
|
|
}); |
|
|
}); |
|
|
this.filterList = [] |
|
|
this.filterList = [] |
|
|
}, |
|
|
}, |
|
|