mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
f34373b0d1
commit
5ca7605128
@ -240,6 +240,8 @@
|
||||
title: '9'
|
||||
}, {
|
||||
title: '挂'
|
||||
}, {
|
||||
title: '学'
|
||||
}
|
||||
], // 车牌开头字母的列表
|
||||
// gualist:[], // 挂车号
|
||||
@ -321,7 +323,7 @@
|
||||
return
|
||||
}
|
||||
if (i == 2) {
|
||||
if (this.inplist[2].title.length == 5) {
|
||||
if (this.inplist[2].title.length >= 5) {
|
||||
this.chehao = this.inplist[0].title + this.inplist[1].title + this.inplist[2].title
|
||||
this.$emit('confirm', this.chehao);
|
||||
this.close();
|
||||
@ -364,10 +366,10 @@
|
||||
// // 阻止“挂”按键点击
|
||||
// return
|
||||
// }
|
||||
if (this.inplist[2].title.length < 5) {
|
||||
if (this.inplist[2].title.length < 6) {
|
||||
this.ary.push(title)
|
||||
}
|
||||
if (this.inplist[2].title.length == 5) {
|
||||
if (this.inplist[2].title.length == 6) {
|
||||
this.pandaun()
|
||||
}
|
||||
}
|
||||
@ -642,10 +644,10 @@
|
||||
position: relative;
|
||||
|
||||
.keyboard_title {
|
||||
width: 16%;
|
||||
width: 13%;
|
||||
height: 80rpx;
|
||||
background-color: #FFFFFF;
|
||||
margin: 0.33%;
|
||||
margin: 0.6%;
|
||||
box-shadow: 2rpx 2rpx 5rpx 2rpx #888888;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
|
||||
@ -93,6 +93,10 @@
|
||||
border-radius: 4rpx;
|
||||
}
|
||||
|
||||
.green-border{
|
||||
border: 2rpx solid #39b54a;
|
||||
}
|
||||
|
||||
.plate-num-text {
|
||||
flex: 1;
|
||||
line-height: 100rpx;
|
||||
|
||||
@ -43,6 +43,10 @@
|
||||
:class="inputOnFocusIndex=='6'?'plate-nums-foc':'plate-nums-first'">
|
||||
<text class="plate-num-text">{{inputPlates.index6}}</text>
|
||||
</view>
|
||||
<view bindtap="inputClick" data-id="7" class="green-border"
|
||||
:class="inputOnFocusIndex=='7'?'plate-nums-foc':'plate-nums-first'">
|
||||
<text class="plate-num-text">{{inputPlates.index7}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -147,7 +151,7 @@
|
||||
if (isWxOrAli() == 'ALIPAY') {
|
||||
this._refreshAliPayOpenId();
|
||||
} else {
|
||||
this._refreshWechatOpenId();
|
||||
//this._refreshWechatOpenId();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user