index.wxml
1.11 KB
<!--tabRepairOrder/components/timeSelect/index.wxml-->
<popup show="{{ show }}" title="{{ title }}" bindconfirm="confirm" height="50%" bindcancel="cancel">
<view class="fixed-content">
<view class="fixed-body">
<picker-view class="picker picker_max" value="{{ dateValues }}" indicator-class="indicator" bindchange="changeDate">
<picker-view-column>
<block wx:for="{{ days }}" wx:key="index">
<view class="view">{{item}}</view>
</block>
</picker-view-column>
</picker-view>
<picker-view class="picker" value="{{ hourValues }}" indicator-class="indicator" bindchange="changeHour">
<picker-view-column>
<block wx:for="{{ hours }}" wx:key="index">
<view class="view">{{item}}时</view>
</block>
</picker-view-column>
</picker-view>
<picker-view wx:if="{{ !loading }}" class="picker" value="{{ minuteValues }}" indicator-class="indicator" bindchange="changeMinutes">
<picker-view-column>
<block wx:for="{{ minutes }}" wx:key="index">
<view class="view">{{item}}分</view>
</block>
</picker-view-column>
</picker-view>
</view>
</view>
</popup>