index.wxml 408 B

12345678
  1. <view class="projectbox">
  2. <block wx:for="{{projectList}}" wx:key="{{index}}">
  3. <view class="proname">{{item.projectName}}</view>
  4. <block wx:for="{{item.children}}" wx:for-item="items" wx:key="{{items.tenantId}}">
  5. <view class="children children{{items.tenantId===tenantId?'active':''}}" data-index="{{items}}" bindtap="chooseTenant">{{items.tenantName}}</view>
  6. </block>
  7. </block>
  8. </view>