<!--components/diy-date/index.wxml-->
<picker mode="date" value="{{date}}" start="2008-09-01" end="2050-09-01" bindchange="bindDateChange">
    <view class="picker">
        <view style="font-size: {{txtfontsize}}rpx; color:{{txtcolor}};margin: {{txtmargin}};">{{txt}}</view>
        <view style="font-size: {{datefontsize}}rpx; color:{{datecolor}};margin: {{datemargin}};">{{date}}</view>
    </view>
</picker>