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.
|
|
|
<view class="tki-tree data-v-3571d11d"><view data-event-opts="{{[['tap',[['_cancel',['$event']]]]]}}" class="{{['tki-tree-mask data-v-3571d11d',(showTree)?'show':'']}}" bindtap="__e"></view><view class="{{['tki-tree-cnt data-v-3571d11d',(showTree)?'show':'']}}"><view class="tki-tree-bar data-v-3571d11d"><view class="tki-tree-bar-cancel data-v-3571d11d" style="{{'color:'+(cancelColor)+';'}}" hover-class="hover-c" data-event-opts="{{[['tap',[['_cancel',['$event']]]]]}}" bindtap="__e">取消</view><view class="tki-tree-bar-title data-v-3571d11d" style="{{'color:'+(titleColor)+';'}}">{{title}}</view><view class="tki-tree-bar-confirm data-v-3571d11d" style="{{'color:'+(confirmColor)+';'}}" hover-class="hover-c" data-event-opts="{{[['tap',[['_confirm',['$event']]]]]}}" bindtap="__e">确定</view></view><view class="tki-tree-view data-v-3571d11d"><scroll-view class="tki-tree-view-sc data-v-3571d11d" scroll-y="{{true}}"><block wx:for="{{treeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-3571d11d"><view class="{{['tki-tree-item data-v-3571d11d',(border===true)?'border':'',(item.show)?'show':'',(item.lastRank)?'last':'',(item.showChild)?'showchild':'',(item.open)?'open':'']}}" style="{{'padding-left:'+(item.rank*15+'px')+';'+('z-index:'+(item.rank*-1+50)+';')}}"><view data-event-opts="{{[['tap',[['_treeItemTap',['$0',index],[[['treeList','',index]]]]]]]}}" class="tki-tree-label data-v-3571d11d" catchtap="__e"><image class="tki-tree-icon data-v-3571d11d" src="{{item.lastRank?lastIcon:item.showChild?currentIcon:defaultIcon}}"></image>{{''+item.name+''}}</view><block wx:if="{{selectParent?true:item.lastRank}}"><view data-event-opts="{{[['tap',[['_treeItemSelect',['$0',index],[[['treeList','',index]]]]]]]}}" class="tki-tree-check data-v-3571d11d" catchtap="__e"><block wx:if="{{item.checked}}"><view class="{{['tki-tree-check-yes data-v-3571d11d',(!multiple)?'radio':'']}}" style="{{'border-color:'+(confirmColor)+';'}}"><view class="tki-tree-check-yes-b data-v-3571d11d" style="{{'background-color:'+(confirmColor)+';'}}"></view></view></block><block wx:else><view class="{{['tki-tree-check-no data-v-3571d11d',(!multiple)?'radio':'']}}" style="{{'border-color:'+(confirmColor)+';'}}"></view></block></view></block></view></block></block></scroll-view></view></view></view>
|