u-picker.wxml
1.5 KB
<view class="u-picker-warrper data-v-5f82d502"><view wx:if="{{a}}" class="u-picker-input cursor-pointer data-v-5f82d502" bindtap="{{c}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><view class="data-v-5f82d502">{{b}}</view></block></view><u-popup wx:if="{{q}}" class="data-v-5f82d502" u-s="{{['d']}}" bindclose="{{p}}" u-i="5f82d502-0" bind:__l="__l" u-p="{{q}}"><view class="u-picker data-v-5f82d502"><u-toolbar wx:if="{{d}}" class="data-v-5f82d502" u-s="{{['right']}}" bindcancel="{{e}}" bindconfirm="{{f}}" u-i="5f82d502-1,5f82d502-0" bind:__l="__l" u-p="{{g}}"><view slot="right"><slot name="toolbar-right"></slot></view></u-toolbar><slot name="toolbar-bottom"></slot><picker-view class="u-picker__view data-v-5f82d502" indicatorStyle="{{i}}" value="{{j}}" immediateChange="{{k}}" style="{{'height:' + l}}" bindchange="{{m}}"><picker-view-column wx:for="{{h}}" wx:for-item="item" wx:key="e" class="u-picker__view__column data-v-5f82d502"><block wx:if="{{item.a}}"><view wx:for="{{item.b}}" wx:for-item="item1" wx:key="b" class="u-picker__view__column__item u-line-1 data-v-5f82d502" style="{{'height:' + item.c + ';' + ('line-height:' + item.d) + ';' + ('font-weight:' + item1.c) + ';' + ('display:' + 'block')}}">{{item1.a}}</view></block></picker-view-column></picker-view><view wx:if="{{n}}" class="u-picker--loading data-v-5f82d502"><u-loading-icon wx:if="{{o}}" class="data-v-5f82d502" u-i="5f82d502-2,5f82d502-0" bind:__l="__l" u-p="{{o}}"></u-loading-icon></view></view></u-popup></view>