<!--packageE/healthy/component/healthy_age/healthy_age.wxml-->

<view class="content">
    <text style="color:red;" wx:if="{{question.is_require==1}}">*</text>
    <text>{{site+1}}.出生日期</text>
</view>


<!-- <view class="vanPicke">
    <van-datetime-picke 
        show-toolbar="{{false}}" 
        type="date" 
        item-height="40" 
        active-class="activePicke" 
        column-class="columnPicke"
        min-date="1949" 
    />
</view> -->


 <view class="page-body">
    <picker-view indicator-style="height: 50px;" style="width: 100%; height: 500rpx;" value="{{selected}}" bindchange="change">
      <picker-view-column>
        <view wx:for="{{years}}" wx:key="{{years}}" class="{{item == years[selected[0]] ? 'activeClass' : ''}}" style="line-height: 50px; text-align: center;font-size:32rpx;">{{item}}</view>
      </picker-view-column>
      <picker-view-column>
        <view wx:for="{{months}}" wx:key="{{months}}" class="{{item == months[selected[1]] ? 'activeClass' : ''}}" style="line-height: 50px; text-align: center;font-size:32rpx;">{{item}}</view>
      </picker-view-column>
      <picker-view-column>
        <view wx:for="{{days}}" wx:key="{{days}}" class="{{item == days[selected[2]] ? 'activeClass' : ''}}" style="line-height: 50px; text-align: center;font-size:32rpx;">{{item}}</view>
      </picker-view-column>
    </picker-view>
      <text class="seatText text1">年</text>
      <text class="seatText text2">月</text>
      <text class="seatText text3">日</text>
  </view>




