index.axml 920 B

12345678910111213141516171819202122232425262728293031
  1. <view class='area-picker-index {{className}}' style='{{style}}' ref='saveChildRef0'>
  2. <van-popup
  3. show='{{ show }}'
  4. position='bottom'
  5. onClose="onClose"
  6. overlay-style="background:rgba(0,0,0,0.4);"
  7. custom-style='height: 50%;'
  8. ref='saveChildRef1'
  9. >
  10. <!-- <view class='topTab'>
  11. <text class='cancel' onTap='antmoveAction' data-antmove-tap='onClose'>
  12. 取消
  13. </text>
  14. <text class='sure' onTap='antmoveAction' data-antmove-tap='sure'>
  15. 确定
  16. </text>
  17. </view> -->
  18. <van-picker
  19. show-toolbar="{{!!title}}"
  20. title="{{title}}"
  21. confirm-button-text="确定"
  22. cancel-button-text="取消"
  23. columns="{{ addressList }}"
  24. value-key="name"
  25. onChange="change"
  26. onCancel="onCancel"
  27. onConfirm="onConfirm"
  28. />
  29. </van-popup>
  30. <view class="picker" onTap="showPopup">{{result_show?result_show:'请选择'}}</view>
  31. </view>