|
@ -35,12 +35,12 @@ |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
<scroll-view :scroll-top="scrollRightTop" scroll-y scroll-with-animation class="right-box" |
|
|
<scroll-view :scroll-top="scrollRightTop" scroll-y scroll-with-animation class="right-box" |
|
|
@scroll="rightScroll"> |
|
|
@scroll="rightScroll"> |
|
|
<view class="page-view" style="margin-bottom: 200rpx;"> |
|
|
<view class="page-view" style="padding-bottom: 100rpx;"> |
|
|
<view class="class-item" :id="'item' + index" v-for="(item , index) in tabbar" :key="index"> |
|
|
<view class="class-item" :id="'item' + index" v-for="(item , index) in tabbar" :key="index"> |
|
|
<view class="item-title"> |
|
|
<view class="item-title"> |
|
|
<text>{{item.name}}</text> |
|
|
<text>{{item.name}}</text> |
|
|
</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.path)"> |
|
|
<view class="" style="position: relative; "> |
|
|
<view class="" style="position: relative; "> |
|
@ -108,7 +108,7 @@ |
|
|
uni.hideLoading() |
|
|
uni.hideLoading() |
|
|
if (res.menus.length > 0) { |
|
|
if (res.menus.length > 0) { |
|
|
var menus = res.menus.filter(item => item.name == "PDA菜单管理") |
|
|
var menus = res.menus.filter(item => item.name == "PDA菜单管理") |
|
|
if (menus.length > 0) { |
|
|
if (menus!=undefined&&menus.length > 0) { |
|
|
var tab = menus[0].children.filter(res => res.visible == true) |
|
|
var tab = menus[0].children.filter(res => res.visible == true) |
|
|
tab.forEach(res => { |
|
|
tab.forEach(res => { |
|
|
for (var i = 0; i < res.children.length; i++) { |
|
|
for (var i = 0; i < res.children.length; i++) { |
|
|