Applets == traverse multiple small programs through the array array

Code: an array of sets of arrays traversing modelList

<view class='modelitem' wx:for="{{modelList}}" data-order='{{item.name}}' wx:key>
            <view class='modelitemTitle' bindtap='modelitemTitle' data-index="{{index}}">{{item.name}}</view>
            <block wx:if="{{item.shows}}">
              <view class='modelitem_item' bindtap='modelitem_item' data-name='{{itemTwo.name}}' data-model='{{itemTwo.id}}' wx:for="{{item.shopTruckModelEntityList}}" wx:key wx:for-item="itemTwo">
                {{itemTwo.name}}
              </view>
            </block>
          </view>

 

Guess you like

Origin www.cnblogs.com/520BigBear/p/11328593.html