index.wxml 1.0 KB

12345678910111213141516171819202122
  1. <!--components/addCarNumber/index.wxml-->
  2. <view class="transparent" bindtap="showpopup" >{{value?value:placeholder}}</view>
  3. <van-popup
  4. show="{{ show }}"
  5. overlay-style="background: transparent"
  6. position="bottom"
  7. bind:close="onClose"
  8. custom-class="set-bottom"
  9. >
  10. <!-- 中文开头 -->
  11. <view class="container" wx:if="{{showAreaWord}}">
  12. <view class="box box-chinese box-active" wx:for="{{areaWordList}}" data-value="{{item}}" bindtap="getValue">{{item}}</view>
  13. <view class="box box-max"></view>
  14. </view>
  15. <!-- 英文数字 -->
  16. <view class="container" wx:if="{{!showAreaWord}}">
  17. <view class="box box-number box-active" wx:for="{{numberList}}" data-value="{{item}}" bindtap="getValue">{{item}}</view>
  18. <view class="box box-number box-active" wx:for="{{wordList}}" data-value="{{item}}" bindtap="getValue">{{item}}</view>
  19. <view class="box box-number box-max bg-red" bindtap="delete">删除</view>
  20. <view class="box box-number box-max bg-blue" bindtap="onClose" wx:if="{{showCompleteButton}}" >完成</view>
  21. </view>
  22. </van-popup>