<!--pages/components/voucher-select/index.wxml--> <view class="voucher_select_max" bindtap="showPopup" style="width: {{width}};"> <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> </view> <van-popup show="{{ show }}" bind:close="onClose" position="bottom" custom-class="popup_style"> <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="{{ currentDate }}" 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>