<!--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> 
      <select-date bindchange="onChangeDate" minDate="{{minDate}}" maxDate="{{maxDate}}" currentDate="{{currentDate}}" counts="{{counts}}"></select-date>
</van-popup>


































