YZProjectCloud/yanzhu-ui-app/miniprogram/pages/components/voucher-datetime/index.wxml

24 lines
1.2 KiB
Plaintext
Raw Normal View History

2024-10-13 11:24:45 +08:00
<!--pages/components/voucher-select/index.wxml-->
<view class="voucher_select_max" bindtap="showPopup" style="width: {{width}};">
2025-08-02 15:44:20 +08:00
<view class="voucher_select_min">
<input class="celect_frame_min" placeholder="{{placeholder}}" placeholder-style="color:#6777aa;" value="{{value}}"
disabled="true" />
</view>
<view class="voucher_select_icon">
<image src="../../../images/web_select_date.png"></image>
</view>
2024-10-13 11:24:45 +08:00
</view>
<van-popup show="{{ show }}" bind:close="onClose" position="bottom" custom-class="popup_style">
2025-08-02 15:44:20 +08:00
<view class="option_list_title">
<view class="option_list_title_btn" bindtap="onClose">取消</view>
<view>{{placeholder}}</view>
<view class="option_list_title_btn" bindtap="onConfirm">确认</view>
</view>
<van-datetime-picker type="datetime" show-toolbar="{{fales}}" value="{{ currDate }}" bind:input="onInput"
min-date="{{ minDate }}" max-date="{{ maxDate }}" formatter="{{ formatter }}" visible-item-count="{{counts}}"
custom-class="time_select_style" column-class="time_list_style" active-class="time_active_style" />
<!-- <select-date-copy bindchange="onChangeDate" maxDate="{{maxDate}}" currentDate="{{newCurrentDate}}" counts="{{counts}}"></select-date-copy> -->
</van-popup>