- <!--templates/picker/picker.wxml-->
- <template name='picker'>
- <view class='picker-container' >
- <view class='picker-wrapper'>
- <view class='picker-cancel' data-index='-1' bindtap='checkPickerModel'></view>
- <scroll-view scroll-y class="picker-list {{pickerIndex==2?'auto':''}}">
- <block wx:for='{{list}}' wx:key='{{index}}'>
- <view class='picker-li {{index == actIndex ? "picker-li-active" : ""}}' data-index='{{index}}' bindtap='checkPickerModel'>
- {{item}}
- </view>
- </block>
- </scroll-view>
- </view>
- </view>
- </template>
|