index.wxml 943 Bytes
<!-- <view wx:if="{{pickerShow}}" class="dialog_mask {{pickerShow?'dialog_show':''}}">
    <view class="dialog_mask" bindtap="bindCancelDate"></view>
    <view class="dialog_container">
        <view class="header flex_scb">
            <view class="cancle" bindtap="bindCancelDate">取消</view>
            <view class="title">日期选择</view>
            <view class="comfirm" bindtap="bindConfirmDate">确定</view>
        </view>
        <view class="main">
            <picker mode="date" value="{{date}}" start="2015-09-01" end="2017-09-01" bindchange="bindDateChange">
                <view class="picker">
                当前选择: {{date}}
                </view>
            </picker>
        </view>
    </view>
</view> -->
<picker wx:if="{{pickerShow}}" mode="date" value="{{date}}" start="2015-09-01" end="2017-09-01" bindchange="bindDateChange">
    <view class="picker">
    当前选择: {{date}}
    </view>
</picker>