index.axml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <view class='addCarNumber-index {{className}}' style='{{style}}' ref='saveChildRef0'>
  2. <view onTap='antmoveAction' data-antmove-tap='showpopup'>
  3. {{value?value:placeholder}}
  4. </view>
  5. <van-popup
  6. show='{{ show }}'
  7. overlay-style='background: transparent;'
  8. position='bottom'
  9. onClose='onClose'
  10. ref='saveChildRef1'
  11. >
  12. <view a:if='{{showAreaWord}}' class='container'>
  13. <view
  14. a:for='{{areaWordList}}'
  15. class='box box-chinese box-active'
  16. data-value='{{item}}'
  17. ref-numbers='{{areaWordList}}'
  18. onTap='antmoveAction'
  19. data-antmove-tap='getValue'
  20. >
  21. {{item}}
  22. </view>
  23. <view class='box box-max'>
  24. </view>
  25. </view>
  26. <view a:if='{{!showAreaWord}}' class='container'>
  27. <view
  28. a:for='{{numberList}}'
  29. class='box box-number box-active'
  30. data-value='{{item}}'
  31. ref-numbers='{{numberList}}'
  32. onTap='antmoveAction'
  33. data-antmove-tap='getValue'
  34. >
  35. {{item}}
  36. </view>
  37. <view
  38. a:for='{{wordList}}'
  39. class='box box-number box-active'
  40. data-value='{{item}}'
  41. ref-numbers='{{wordList}}'
  42. onTap='antmoveAction'
  43. data-antmove-tap='getValue'
  44. >
  45. {{item}}
  46. </view>
  47. <view class='box box-number box-max bg-red' style="font-size:24rpx;padding:24rpx 30rpx;" onTap='antmoveAction' data-antmove-tap='delete'>
  48. 删除
  49. </view>
  50. <view
  51. a:if='{{showCompleteButton}}'
  52. class='box box-number box-max bg-blue'
  53. style="font-size:24rpx;padding:24rpx 30rpx;"
  54. onTap='antmoveAction'
  55. data-antmove-tap='onClose'
  56. >
  57. 完成
  58. </view>
  59. </view>
  60. </van-popup>
  61. </view>