|
|
@ -9,7 +9,7 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<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; "> |
|
|
|
<view class="" style="position: relative; "> |
|
|
|
<image class="item-menu-image" :src="'/static/menus/'+item1.componentName" mode=""> |
|
|
@ -42,7 +42,7 @@ |
|
|
|
</view> |
|
|
|
<view class="item-container"> |
|
|
|
<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; "> |
|
|
|
<!-- <u-badge class="item-menu-badge" v-if="item1.count>0" type="error" :count="item1.count" :offset="position" |
|
|
|
:showZero="false"></u-badge> --> |
|
|
@ -401,9 +401,10 @@ |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
openCheck(url) { |
|
|
|
openCheck(item) { |
|
|
|
let name = item.name.split('\\n').join('') |
|
|
|
uni.navigateTo({ |
|
|
|
url: "/" + url |
|
|
|
url: `/${item.path}?title=${name}` |
|
|
|
}); |
|
|
|
this.filterList = [] |
|
|
|
}, |
|
|
|