picker.wxml 1.0 KB

123456789101112131415161718192021
  1. <!--picker/picker.wxml-->
  2. <view class="full-box {{isOpen?'cur':''}}">
  3. <!--<view class="modal" bindtap="tapModal"></view>-->
  4. <view class="{{donghua?'pickers':'pickers_'}}">
  5. <view class="picker-header" style="{{pickerHeaderStyle}}">
  6. <view bindtap="cancle" class="cancel_button">
  7. <text style="{{cancelStyle}}">{{cancelText}}</text>
  8. </view>
  9. <view bindtap="sure" class="sure_buttton">
  10. <text style="{{sureStyle}}">{{sureText}}</text>
  11. </view>
  12. </view>
  13. <picker-view value="{{value}}" class="picker-content" bindpickstart="_bindpickstart" bindchange="_bindChange" bindpickend="_bindpickend" indicator-style="{{indicatorStyle}}" mask-style="{{maskStyle}}">
  14. <picker-view-column wx:for="{{columnsData}}" wx:key="{{index}}">
  15. <view wx:for="{{item}}" wx:for-item="itemIn" class="picker-line" wx:key="{{index}}">
  16. <text class="line1" style="{{chooseItemTextStyle}}">{{isUseKeywordOfShow?itemIn[keyWordsOfShow]:itemIn}}</text>
  17. </view>
  18. </picker-view-column>
  19. </picker-view>
  20. </view>
  21. </view>