Merge pull request #842 from wsd000/feat_license_plate_keyboard

feat: 优化新能源键位空值显示状态
This commit is contained in:
MeloHG 2023-11-21 11:32:20 +08:00 committed by GitHub
commit c88aa86a25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 22 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -22,11 +22,8 @@
v-else
class="md-license-plate-input-item_content"
>
<div v-if="item">{{ item }}</div>
<div v-else class="emptyValue">
<div>+</div>
<div class="emptyValue_text">新能源</div>
</div>
<div v-if="item && item !== ' '">{{ item }}</div>
<div v-else class="emptyValue"></div>
</div>
</div>
</div>
@ -75,7 +72,7 @@
&_content {
width: 100%;
height: 100%;
font-family: PingFangSC-Medium;
font-family: font-family-number;
font-size: 40px;
color: #111A34;
letter-spacing: 0;
@ -85,19 +82,8 @@
.emptyValue{
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #12BB42;
font-size: 36px;
line-height: 36px;
&_text{
color: #61686F;
font-size: 16px;
line-height: 16px;
margin-top: 10px;
}
background: url(../_style/images/new-energy.png) center no-repeat;
background-size: 49px 51px;
}
}
}

View File

@ -78,7 +78,7 @@
background: #FFFFFF;
box-shadow: 0px 2px 0px 0px rgba(159,159,159,0.5);
border-radius: 10px;
font-family: PingFangSC-Regular;
font-family: font-family-normal;
font-size: 40px;
color: #111A34;
font-weight: 400;

View File

@ -50,7 +50,7 @@
background: #FFFFFF;
box-shadow: 0px 2px 0px 0px rgba(159,159,159,0.5);
border-radius: 12px;
font-family: PingFangSC-Regular;
font-family: font-family-normal;
font-size: 40px;
color: #01080F;
letter-spacing: 0;

View File

@ -18,7 +18,7 @@ export default {
},
mounted() {
// setTimeout(()=>{
// this.defaultValue = '23338888888'
// this.defaultValue = '2333888 '
// },10000)
},
methods: {},