index.wxml 1.2 KB

1234567891011121314151617181920
  1. <!--components/addCarNumber/index.wxml-->
  2. <view style="{{value?'color: #646566':'color: #C8C9CC'}}" bindtap="showpopup">{{value?value:placeholder}}</view>
  3. <van-popup show="{{ show }}" position="bottom" custom-style="height: 50%">
  4. <view class="topTab">
  5. <text class="cancel" bindtap="cancel">取消</text>
  6. <text class="sure {{showCompleteButton?'':'disable'}}" bindtap="onClose">确定</text>
  7. </view>
  8. <!-- 中文开头 -->
  9. <view class="container" wx:if="{{showAreaWord}}">
  10. <view class="box box-chinese box-active" wx:for="{{areaWordList}}" wx:key="index" data-value="{{item}}" bindtap="getValue">{{item}}</view>
  11. <view class="box box-max"></view>
  12. </view>
  13. <!-- 英文数字 -->
  14. <view class="container" wx:if="{{!showAreaWord}}">
  15. <view class="box box-number box-active" wx:for="{{numberList}}" data-value="{{item}}" bindtap="getValue">{{item}}</view>
  16. <view class="box box-number box-active" wx:for="{{wordList}}" data-value="{{item}}" bindtap="getValue">{{item}}</view>
  17. <view class="box box-number box-max bg-red" bindtap="delete">删除</view>
  18. <!-- <view class="box box-number box-max bg-blue" bindtap="onClose" wx:if="{{showCompleteButton}}">完成</view> -->
  19. </view>
  20. </van-popup>