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.
37 lines
1.5 KiB
37 lines
1.5 KiB
<view class="time-picker">
|
|
<wux-popup position="bottom" visible="{{visible}}" bind:close="onPopupClose">
|
|
<view class="time-picker">
|
|
<view class="title">{{matterName}}</view>
|
|
<view class="day" bindtap="showDatePicker">
|
|
<view class="time-icon">
|
|
<image src="../../images/time-icon.png"></image>
|
|
</view>
|
|
<view class="time">{{currentTime}}</view>
|
|
<view class="trigger"></view>
|
|
</view>
|
|
<view class="hour-list">
|
|
<checkbox-group bindchange="onCheckboxChange">
|
|
<view class="hour-item" wx:for="{{hoursList}}" wx:key="id">
|
|
<view class="left">
|
|
<checkbox disabled="{{item.disabled}}" value="{{item.id}}" color="#E3271C" checked="{{item.checked}}"></checkbox>
|
|
<view class="time">{{item.time}}</view>
|
|
</view>
|
|
<view class="tip" wx:if="{{item.disabled}}">{{item.reason}}</view>
|
|
</view>
|
|
</checkbox-group>
|
|
</view>
|
|
<view class="book-btn-container">
|
|
<view class="book-btn" hover-class="hover-book-btn" hover-stay-time="150" bindtap="appointmentmini">立即预约</view>
|
|
</view>
|
|
</view>
|
|
</wux-popup>
|
|
<wux-picker cols="1"
|
|
options="{{datePickerOptions}}"
|
|
value="{{datePickerValue}}"
|
|
visible="{{datePickerVisible}}"
|
|
controlled
|
|
bind:confirm="datePickerConfirm"
|
|
bind:cancel="datePickerCancel"
|
|
bind:visibleChange="datePickerVisibleChange">
|
|
</wux-picker>
|
|
</view>
|
|
|