administratorSetting.wxml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <view wx:if="{{currentTab == 0}}" class="con">
  2. <view class="title2">修改权限类型</view>
  3. <view class="buttons">
  4. <myButton class="button" type="primary" bindtap="switch1">主管理员</myButton>
  5. <myButton class="button" type="primary" bindtap="switch2">副管理员</myButton>
  6. </view>
  7. </view>
  8. <view wx:if="{{currentTab == 1}}" class="con">
  9. <view class="block">
  10. <view class="cate">新管理员ID</view>
  11. <input class="input" placeholder="可以在设置页面查看" />
  12. </view>
  13. <myButton class="button" type="primary">提交</myButton>
  14. </view>
  15. <view wx:if="{{currentTab == 2}}" class="con">
  16. <view class="primary-text-color text">管理管理员</view>
  17. <view class="block2">
  18. <view class="left">
  19. <image class="btn-icon" src="/images/Tin.png" mode="aspectFill" />
  20. <text>第一个组织</text>
  21. </view>
  22. <view class="primary-text-color">删除</view>
  23. </view>
  24. <!-- 之后写成组件 -->
  25. <view class="primary-text-color text">添加管理员</view>
  26. <view class="block">
  27. <view class="cate">新管理员ID</view>
  28. <input class="input" placeholder="可以在设置页面查看" />
  29. </view>
  30. <myButton class="button" type="primary">提交</myButton>
  31. </view>