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 line
1.7 KiB
1 line
1.7 KiB
3 years ago
|
<view class="uni-datetime-picker"><view data-event-opts="{{[['tap',[['tiggerTimePicker',['$event']]]]]}}" bindtap="__e"><block wx:if="{{$slots.default}}"><slot></slot></block><block wx:else><view class="uni-datetime-picker-timebox uni-datetime-picker-flex">{{''+pickValue}}<block wx:if="{{!pickValue}}"><view class="uni-datetime-picker-time">请选择</view></block><uni-icons class="content-clear-icon is-textarea-icon" vue-id="3032dea2-1" type="clear" size="{{clearSize}}" color="#c0c4cc" data-event-opts="{{[['^click',[['onClear']]]]}}" bind:click="__e" bind:__l="__l"></uni-icons><view class="uni-datetime-picker-down-arrow"></view></view></block></view><block wx:if="{{visible}}"><view data-event-opts="{{[['tap',[['initTimePicker',['$event']]]]]}}" class="uni-datetime-picker-mask" bindtap="__e"></view></block><block wx:if="{{visible}}"><view class="uni-datetime-picker-popup"><view class="uni-title">请选择</view><picker-view class="uni-datetime-picker-view" indicator-style="{{indicatorStyle}}" value="{{pickValue}}" data-event-opts="{{[['change',[['bindPickerChange',['$event']]]]]}}" bindchange="__e"><picker-view-column class="uni-datetime-picker-colon"><block wx:for="{{pickData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="uni-datetime-picker-item">{{item.name}}</view></block></picker-view-column></picker-view><view class="uni-datetime-picker-btn"><view class="uni-datetime-picker-btn-group"><view data-event-opts="{{[['tap',[['tiggerTimePicker',['$event']]]]]}}" class="uni-datetime-picker-cancel" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['setTime',['$event']]]]]}}" bindtap="__e">确定</view></view></view></view></block></view>
|