inputCarNumber.wxml 5.77 KB
<view class="so-mask data-v-7ccb2f34"><view class="{{['bg-icon','data-v-7ccb2f34',set]}}"><image class="bac data-v-7ccb2f34" src="{{carBg}}" mode></image><view class="bg-text data-v-7ccb2f34"><view class="bg-text-top data-v-7ccb2f34">输 入 车 牌 号</view><view class="bg-text-bottom data-v-7ccb2f34">输入完整车牌号,查询停车信息</view></view></view><view class="so-plate animation-scale-up data-v-7ccb2f34"><view class="so-plate-head data-v-7ccb2f34"><view class="so-plate-type data-v-7ccb2f34"><radio-group data-event-opts="{{[['change',[['typeChange',['$event']]]]]}}" bindchange="__e" class="data-v-7ccb2f34"><label class="data-v-7ccb2f34"><radio value="1" checked="{{type===1}}" class="data-v-7ccb2f34"></radio>普通车牌</label><label class="data-v-7ccb2f34"><radio value="2" checked="{{type===2}}" class="data-v-7ccb2f34"></radio>新能源车牌</label></radio-group></view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="so-plate-body data-v-7ccb2f34" bindtap="__e"><view class="{{['so-plate-word','data-v-7ccb2f34',(currentInputIndex==0)?'active':'']}}" data-index="0" data-event-opts="{{[['tap',[['inputSwitch',['$event']]]]]}}" bindtap="__e"><text class="data-v-7ccb2f34">{{currentInputValue[0]}}</text></view><view class="{{['so-plate-word','data-v-7ccb2f34',(currentInputIndex==1)?'active':'']}}" data-index="1" data-event-opts="{{[['tap',[['inputSwitch',['$event']]]]]}}" bindtap="__e"><text class="data-v-7ccb2f34">{{currentInputValue[1]}}</text></view><view class="so-plate-dot data-v-7ccb2f34"></view><view class="{{['so-plate-word','data-v-7ccb2f34',(currentInputIndex==2)?'active':'']}}" data-index="2" data-event-opts="{{[['tap',[['inputSwitch',['$event']]]]]}}" bindtap="__e"><text class="data-v-7ccb2f34">{{currentInputValue[2]}}</text></view><view class="{{['so-plate-word','data-v-7ccb2f34',(currentInputIndex==3)?'active':'']}}" data-index="3" data-event-opts="{{[['tap',[['inputSwitch',['$event']]]]]}}" bindtap="__e"><text class="data-v-7ccb2f34">{{currentInputValue[3]}}</text></view><view class="{{['so-plate-word','data-v-7ccb2f34',(currentInputIndex==4)?'active':'']}}" data-index="4" data-event-opts="{{[['tap',[['inputSwitch',['$event']]]]]}}" bindtap="__e"><text class="data-v-7ccb2f34">{{currentInputValue[4]}}</text></view><view class="{{['so-plate-word','data-v-7ccb2f34',(currentInputIndex==5)?'active':'']}}" data-index="5" data-event-opts="{{[['tap',[['inputSwitch',['$event']]]]]}}" bindtap="__e"><text class="data-v-7ccb2f34">{{currentInputValue[5]}}</text></view><view class="{{['so-plate-word','data-v-7ccb2f34',(currentInputIndex==6)?'active':'']}}" data-index="6" data-event-opts="{{[['tap',[['inputSwitch',['$event']]]]]}}" bindtap="__e"><text class="data-v-7ccb2f34">{{currentInputValue[6]}}</text></view><block wx:if="{{type==2}}"><view class="{{['so-plate-word','data-v-7ccb2f34',(currentInputIndex==7)?'active':'']}}" data-index="7" data-event-opts="{{[['tap',[['inputSwitch',['$event']]]]]}}" bindtap="__e"><text class="data-v-7ccb2f34">{{currentInputValue[7]}}</text></view></block></view></view><view style="padding:0 10px;position:fixed;bottom:0;left:0;" class="data-v-7ccb2f34"><view hidden="{{!(plateShowOrHide)}}" class="so-plate-foot data-v-7ccb2f34"><view class="so-plate-keyboard data-v-7ccb2f34" style="{{'height:'+(keyboardHeight)+';'}}"><view id="keyboard" class="data-v-7ccb2f34"><block wx:if="{{inputType==1}}"><block class="data-v-7ccb2f34"><block wx:for="{{provinceText}}" wx:for-item="el" wx:for-index="__i0__" wx:key="*this"><view class="so-plate-key data-v-7ccb2f34" hover-class="hover" data-value="{{el}}" data-event-opts="{{[['tap',[['chooseKey',['$event']]]]]}}" bindtap="__e">{{el}}</view></block></block></block><block wx:if="{{inputType==1}}"><block class="data-v-7ccb2f34"><text class="so-plate-key fill-block data-v-7ccb2f34"></text><text class="so-plate-key fill-block data-v-7ccb2f34"></text></block></block><block wx:if="{{inputType>=3}}"><block class="data-v-7ccb2f34"><block wx:for="{{numberText}}" wx:for-item="el" wx:for-index="__i1__" wx:key="*this"><view class="so-plate-key data-v-7ccb2f34" hover-class="hover" data-value="{{el}}" data-event-opts="{{[['tap',[['chooseKey',['$event']]]]]}}" bindtap="__e">{{el}}</view></block></block></block><block wx:if="{{inputType>=2}}"><block class="data-v-7ccb2f34"><block wx:for="{{wordText}}" wx:for-item="el" wx:for-index="__i2__" wx:key="*this"><view class="so-plate-key data-v-7ccb2f34" hover-class="hover" data-value="{{el}}" data-event-opts="{{[['tap',[['chooseKey',['$event']]]]]}}" bindtap="__e">{{el}}</view></block></block></block><block wx:if="{{inputType==3}}"><block class="data-v-7ccb2f34"><block wx:for="{{fillBlock}}" wx:for-item="el" wx:for-index="__i3__" wx:key="num"><text class="so-plate-key fill-block data-v-7ccb2f34"></text></block></block></block><block wx:if="{{inputType==4}}"><block class="data-v-7ccb2f34"><block wx:for="{{lastWordText}}" wx:for-item="el" wx:for-index="__i4__" wx:key="*this"><view class="so-plate-key data-v-7ccb2f34" hover-class="hover" data-value="{{el}}" data-event-opts="{{[['tap',[['chooseKey',['$event']]]]]}}" bindtap="__e">{{el}}</view></block></block></block><block wx:if="{{inputType==4}}"><text class="so-plate-key fill-block data-v-7ccb2f34"></text></block></view></view><view class="so-plate-btn-group data-v-7ccb2f34"><view class="data-v-7ccb2f34"><button data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="so-plate-btn so-plate-btn--cancel data-v-7ccb2f34" bindtap="__e">取消</button></view><view class="data-v-7ccb2f34"><button data-event-opts="{{[['tap',[['deleteKey',['$event']]]]]}}" class="so-plate-btn so-plate-btn--delete data-v-7ccb2f34" bindtap="__e">删除</button><button data-event-opts="{{[['tap',[['exportPlate',['$event']]]]]}}" class="so-plate-btn so-plate-btn--submit data-v-7ccb2f34" bindtap="__e">完成</button></view></view></view></view></view>