纸通宝小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

33 lines
2.4 KiB

<wux-popup position="bottom" visible="{{ visible }}" safeArea="bottom" bind:close="hide" zIndex="29">
<view class="flex flex-justify license-number" style="padding:24rpx 32rpx">
<view class="item {{activeIndex == 0 ? 'active':''}}" bindtap="inputKeyboard" data-index="0">{{plateNumber[0]}}</view>
<view class="item {{activeIndex == 1 ? 'active':''}}" bindtap="inputKeyboard" data-index="1">{{plateNumber[1]}}</view>
<view class="item item-dot"><view class="dot"></view></view>
<view class="item {{activeIndex == 2 ? 'active':''}}" bindtap="inputKeyboard" data-index="2">{{plateNumber[2]}}</view>
<view class="item {{activeIndex == 3 ? 'active':''}}" bindtap="inputKeyboard" data-index="3">{{plateNumber[3]}}</view>
<view class="item {{activeIndex == 4 ? 'active':''}}" bindtap="inputKeyboard" data-index="4">{{plateNumber[4]}}</view>
<view class="item {{activeIndex == 5 ? 'active':''}}" bindtap="inputKeyboard" data-index="5">{{plateNumber[5]}}</view>
<view class="item {{activeIndex == 6 ? 'active':''}}" bindtap="inputKeyboard" data-index="6">{{plateNumber[6]}}</view>
</view>
<view class="kb-keyboard" style="background: #d9d9d9">
<view class="kb-keyboard-provs flex-brick" hidden="{{!(mode==1)}}">
<view class="kb-keyboard_td" wx:for="{{provinces}}" bindtap="tapKeyboard" data-val="{{item}}" wx:key="index"> {{item}}</view>
</view>
<view class="kb-keyboard-nums flex-brick" hidden="{{!(mode==2)}}">
<view class="kb-keyboard_td {{activeIndex == 1 ? 'disabled' : '' }}" wx:for="{{numbers}}" bindtap="tapKeyboard"
data-val="{{item}}" wx:key="index">{{item}}</view>
</view>
<view class="kb-keyboard-letters flex-brick" hidden="{{!(mode==2)}}">
<view class="kb-keyboard_td {{activeIndex < 1 ? 'disabled' : '' }}" wx:for="{{letters}}"
bindtap="tapKeyboard" data-val="{{item}}" wx:key="index">{{item}}</view>
</view>
<view class="kb-keyboard-action flex-brick">
<view class="kb-keyboard_td kb-keyboard__del {{activeIndex == 0 && !plateNumber[0] ? 'disabled':''}}" bindtap="tapDelete">
<view class="ico-del"></view>
</view>
<view class="kb-keyboard_td kb-keyboard__finished {{disabled ? 'disabled':''}}" bindtap="tapFinish">确定</view>
</view>
</view>
<view style="height:{{safeBottom}}rpx"></view>
</wux-popup>