纸通宝SAAS仓库
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.
 

48 lines
3.6 KiB

<van-popup position="bottom" show="{{ visible }}" bind:close="hide" z-index="29">
<view class="van-hairline--bottom" wx:if="{{plateList.length}}" style="padding-bottom:12rpx">
<view class="flex flex-justify" style="padding-right:32rpx">
<view class="flex flex-center" style="justify-content: flex-start;padding: 24rpx 32rpx">
<text style="height:30rpx;width:6rpx;background-image: linear-gradient(180deg, #007AFF 0%, #027BFF 15%, #5AABFF 45%, #CAF4FE 100%);"></text>
<text class="text-black text-sg text-bold" style="margin-left: 12rpx">车辆历史记录</text>
</view>
<van-button plain type="info" round custom-style="margin-top:12rpx" size="small" bind:click="tapClear">清空输入</van-button>
</view>
<van-grid column-num="3" border="{{fasle}}">
<van-grid-item use-slot wx:for="{{ plateList }}" wx:key="index" content-style="padding:12rpx">
<van-button plain custom-style="height:72rpx;width:180rpx;padding:0rpx" data-index="{{index}}" bind:click="tapFinish">{{item}}</van-button>
</van-grid-item>
</van-grid>
</view>
<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" style="width: 160rpx" wx:if="{{activeIndex == 0 && triplet}}" bindtap="tapTriplet">三轮车</view>
<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>
</van-popup>