index.wxml 1.7 KB

123456789101112131415161718192021222324
  1. <view class="word">
  2. <scroll-view class="system" scroll-into-view='{{portID}}' scroll-with-animation scroll-y style="height: {{height}}rpx; width: 240rpx;">
  3. <view class="classify line-1" wx:for="{{list}}">
  4. <view class="label">{{item.systemname}}</view>
  5. <view class="option line-1 {{portID=='S'+items.systemclientid?'current':''}}" wx:for="{{item.clients}}" wx:for-item="items" id="{{'S'+items.systemclientid}}" wx:for-index="i" data-index="{{index}}" data-i="{{i}}" bindtap="changePortID">
  6. {{items.systemclientname}}
  7. </view>
  8. </view>
  9. </scroll-view>
  10. <scroll-view class="left-list" scroll-into-view='{{leftIntoViewId}}' scroll-top='{{scrollTop}}' scroll-with-animation scroll-y style="height: {{height}}rpx;">
  11. <view class="option line-1 {{leftIntoViewId==('M'+item.systemmoduleid)?'current':''}}" wx:for="{{list[systemIndex].clients[portIndex].modules}}" id="{{'M'+item.systemmoduleid}}" bindtap="changeType" data-item="{{item}}">
  12. {{item.systemmodulename}}
  13. </view>
  14. </scroll-view>
  15. <scroll-view class="right-list" bindscroll='viewScroll' scroll-top='{{scrollTop}}' scroll-into-view='{{rightIntoViewId}}' scroll-with-animation scroll-y style="height: {{height}}rpx;">
  16. <view class="group {{'M1'+item.systemmoduleid}}" wx:for="{{list[systemIndex].clients[portIndex].modules}}" wx:for-index="in" id="{{'M'+item.systemmoduleid}}">
  17. <group class="My_group" apps="{{item.apps}}" id='{{item.systemmoduleid}}' bind:callback='checkBack' />
  18. </view>
  19. <view style="height: {{height-80}}rpx;" />
  20. </scroll-view>
  21. </view>
  22. <!-- <Yl_Empty wx:if="{{list.length==0}}" /> -->