添加页面
This commit is contained in:
25
miniprogram/pages/manage/groupDetail/groupDetail.wxml
Normal file
25
miniprogram/pages/manage/groupDetail/groupDetail.wxml
Normal file
@@ -0,0 +1,25 @@
|
||||
<page-plugin isAuth="{{authInfo['SF_ERP_GROUP_VIEW']}}" loading="{{loading}}" is-login="{{isLogin}}"
|
||||
bind:handleLogin="handleLogin" customStyle="padding-top: 0">
|
||||
<empty-plugin wx:if="{{list.length == 0}}" />
|
||||
<view wx:if="{{list.length}}" class="top">
|
||||
<view class="header">
|
||||
<view class="name">菜单名称</view>
|
||||
<view class="name2">目录名称</view>
|
||||
<view class="functions">权限点</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:for="{{list}}" wx:key="menu_id" class="content">
|
||||
<view class="name">{{item.menu_ch_name}}</view>
|
||||
<view style="display: flex;flex-direction: column;flex: 1;">
|
||||
<view wx:for="{{item.children}}" wx:key="menu_id" wx:for-item="item2"
|
||||
style="display: flex;flex: 1;">
|
||||
<view class="name2" style="flex-shrink: 0;">{{item2.menu_ch_name}}</view>
|
||||
<view style="display: flex;" class="functions">
|
||||
<block wx:for="{{item2.functions}}" wx:key="function_id">
|
||||
<view wx:if="{{item.web_checked}}">{{item.function_ch_name}}</view>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</page-plugin>
|
||||
Reference in New Issue
Block a user