- <picker-view indicator-style="height: 50px;" style="width: 100%; height: 300px;" value="{{value}}"
- bindchange="bindChange" data-index="{{value[0]}}" class="flex" indicator-class="indicator">
- <picker-view-column style="flex:1">
- <view wx:for="{{times}}" class="text" style="line-height: 50px;" wx:key="index">{{item}}</view>
- </picker-view-column>
- <picker-view-column style="flex:2">
- <view bindtap="onChangeHours" class="hours" wx:for="{{hours}}" style="line-height: 50px" wx:key="index" data-index="{{index}}">
- <text class="text">{{item.order_time}}</text>
- <image src="/images/icon_radio_01.png" wx:if="{{current != index && item.status == 1}}"></image>
- <image src="/images/my/select_ok.png" wx:if="{{current == index && item.status == 1}}"></image>
- <image src="/images/icon_radio_03.png" wx:if="{{item.status == 0}}"></image>
- </view>
- </picker-view-column>
- </picker-view>
|