<!-- 前台导入wxmlUtil.wxs -->
<wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
<loading wx:if="{{loading}}"></loading>
<van-sticky scroll-top="0">
  <!-- 查询条件 -->
  <dk-dropdown-menu model:searchForm="{{searchForm}}" bind:search="searchData" searchTextPlaceholder="{{wxmlUtil.setSearchPlaceholder($t,['roleFunName'])}}">
  </dk-dropdown-menu>
  <view style="display: flex;background-color: white;padding:18rpx;padding-right: 40rpx;padding-left:40rpx;">
    <view style="width: 60%;display: flex;margin-left: 20rpx;">
      <view style="width: 18%;">
        <van-image width="40rpx" height="40rpx" src="{{imageUrl + 'Vector.png'}}" />
      </view>
      <view class="font" style="width: 82%;">{{item.staffName}}</view>
    </view>
    <view style="width: 40%;text-align: right;">
      <view style="display: flex;">
        <view class="font" style="width: 60%;text-align: center;">{{ allchecked? $t['allEnable']:$t['allDisable'] }}</view>
        <view style="width: 65%;text-align: right;">
          <van-switch bind:change="onChangeSwitch" active-color="#1677FF" checked="{{ allchecked }}" size="18px"></van-switch>
        </view>

      </view>

    </view>
  </view>
</van-sticky>

<van-tabs active="{{activeTabs}}" bind:change="onChange">
  <van-tab title="小程序">
    <dk-collapse-item wx:if="{{tableDataWXP.length > 0}}" list="{{tableDataWXP}}" bind:obtainList="obtainList"></dk-collapse-item>
  </van-tab>
  <van-tab title="WEB">
    <dk-collapse-item-more wx:if="{{tableDataWEB.length > 0}}" list="{{tableDataWEB}}" bind:obtainList="obtainList"></dk-collapse-item-more>
  </van-tab>
</van-tabs>
<view style="height: 200rpx;"></view> 
<dk-save-button model:value="{{btnFormData}}" btnAutoWidthFlag="{{true}}" btnRightFlag="{{true}}" buttonList="{{buttonFootList}}" contentList="{{contentnFootList}}" bind:open="save"></dk-save-button>
 