tm-pickersView.wxml 1.1 KB

1
  1. <view class="{{['tm-pickersView','flex-start','px-24',black_tmeme?'grey-darken-5':bgColor]}}"><block wx:if="{{listData.length>0}}"><picker-view class="tm-pickersBView-wk" value="{{value_default}}" mask-style="{{black_tmeme?'opacity:0;':''}}" indicator-style="height:50px;" indicator-class="tm-pickersBView-item-h" data-event-opts="{{[['change',[['change',['$event']]]],['pickstart',[['$emit',['aniStart']]]],['pickend',[['$emit',['aniEnd']]]]]}}" bindchange="__e" bindpickstart="__e" bindpickend="__e"><block wx:for="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><picker-view-column><block wx:for="{{listData[index]}}" wx:for-item="item_data" wx:for-index="index_pub" wx:key="index_pub"><view class="{{['tm-pickersBView-item','fulled-height','flex-center','',value_default[index]==index_pub?'text-size-n text-weight-b active':'',black_tmeme?'bk':'']}}" style="margin:0 5px;"><block wx:if="{{dataType=='string'}}"><text>{{item_data}}</text></block><block wx:if="{{dataType=='object'}}"><text>{{item_data[rangKey]}}</text></block></view></block></picker-view-column></block></picker-view></block></view>