- <view class="picker">
- <picker-view indicator-class="indicator" style="width: 100%; height: 300px;" value="{{value}}" bindchange="pickerChange">
- <picker-view-column style="width: 100%; text-align: center;">
- <view wx:for="{{years}}" style="line-height: 90rpx">{{item}}年</view>
- </picker-view-column>
- <picker-view-column style="width: 100%; text-align: center;">
- <view wx:for="{{months}}" style="line-height: 90rpx">{{item}}月</view>
- </picker-view-column>
- <picker-view-column style="width: 100%; text-align: center;">
- <view wx:for="{{days}}" style="line-height: 90rpx">{{item}}日</view>
- </picker-view-column>
- </picker-view>
- </view>
|