You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
945 B
1 lines
945 B
<view class="content"><view class="mix-tree-list"><block wx:for="{{treeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view data-event-opts="{{[['tap',[['treeItemTap',['$0',index],[[['treeList','',index]]]]]]]}}" class="{{['mix-tree-item flex-between',(treeParams.border===true)?'border':'',(item.show)?'show':'',(item.lastRank)?'last':'',(item.showChild)?'showchild':'']}}" style="{{'padding-left:'+(item.rank*15+'px')+';'+('z-index:'+(item.rank*-1+50)+';')}}" catchtap="__e"><view><image class="mix-tree-icon" src="{{item.lastRank?treeParams.lastIcon:item.showChild?treeParams.currentIcon:treeParams.defaultIcon}}"></image>{{''+item.name+''}}</view><block wx:if="{{item.account}}"><view data-event-opts="{{[['tap',[['changeRund',['$0'],[[['treeList','',index]]]]]]]}}" bindtap="__e"><image class="img-round" src="{{item.checked?checkedRund:uncheckRund}}" mode></image></view></block></view></block></block></view></view> |