1234567891011121314151617181920 |
- <!--components/addCarNumber/index.wxml-->
- <view style="{{value?'color: #646566':'color: #C8C9CC'}}" bindtap="showpopup">{{value?value:placeholder}}</view>
- <van-popup show="{{ show }}" position="bottom" custom-style="height: 50%">
- <view class="topTab">
- <text class="cancel" bindtap="cancel">取消</text>
- <text class="sure {{showCompleteButton?'':'disable'}}" bindtap="onClose">确定</text>
- </view>
- <!-- 中文开头 -->
- <view class="container" wx:if="{{showAreaWord}}">
- <view class="box box-chinese box-active" wx:for="{{areaWordList}}" wx:key="index" data-value="{{item}}" bindtap="getValue">{{item}}</view>
- <view class="box box-max"></view>
- </view>
- <!-- 英文数字 -->
- <view class="container" wx:if="{{!showAreaWord}}">
- <view class="box box-number box-active" wx:for="{{numberList}}" data-value="{{item}}" bindtap="getValue">{{item}}</view>
- <view class="box box-number box-active" wx:for="{{wordList}}" data-value="{{item}}" bindtap="getValue">{{item}}</view>
- <view class="box box-number box-max bg-red" bindtap="delete">删除</view>
- <!-- <view class="box box-number box-max bg-blue" bindtap="onClose" wx:if="{{showCompleteButton}}">完成</view> -->
- </view>
- </van-popup>
|