Commit 353e454e by 李伟康

修改车牌号组件

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