Commit 353e454e by 李伟康

修改车牌号组件

1 parent a09195cf
...@@ -169,7 +169,7 @@ export default { ...@@ -169,7 +169,7 @@ export default {
plateNo plateNo
} = this } = this
const index = plateIndex const index = plateIndex
if(!plateNo[index]) return if (!plateNo[index] && index == 0) return
if (plateIndex > 0) --plateIndex if (plateIndex > 0) --plateIndex
this.plateNo[index] = '' this.plateNo[index] = ''
this.plateIndex = plateIndex this.plateIndex = plateIndex
...@@ -295,13 +295,13 @@ export default { ...@@ -295,13 +295,13 @@ export default {
border: none; border: none;
} }
} }
&-bottom{ &-bottom {
position: absolute; position: absolute;
width: 100%; width: 100%;
min-height: 400rpx; min-height: 400rpx;
left: 0; left: 0;
bottom: 0; bottom: 0;
background: rgba($color: #B6B6B6, $alpha: .16); background: rgba($color: #b6b6b6, $alpha: 0.16);
} }
&-keyboard { &-keyboard {
padding: 10px; padding: 10px;
...@@ -357,19 +357,20 @@ export default { ...@@ -357,19 +357,20 @@ export default {
opacity: 0.2; opacity: 0.2;
} }
} }
.type-2{ .type-2 {
display: block; display: block;
position: relative; position: relative;
.keyboard-left{ .keyboard-left {
width: 100%; width: 100%;
} }
.number{ .number {
width: 100%; width: 100%;
} }
.letter,.suffix{ .letter,
.suffix {
width: calc(100% - 70px); width: calc(100% - 70px);
} }
.keyboard-del{ .keyboard-del {
position: absolute; position: absolute;
right: 10px; right: 10px;
top: 47px; top: 47px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!