Skip to content

Commit

Permalink
Merge pull request #842 from wsd000/feat_license_plate_keyboard
Browse files Browse the repository at this point in the history
feat: 优化新能源键位空值显示状态
  • Loading branch information
qifeng0748 authored Nov 21, 2023
2 parents f6d2da1 + 550308a commit c88aa86
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 22 deletions.
Binary file added components/_style/images/new-energy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 5 additions & 19 deletions components/license-plate-input/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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;
Expand All @@ -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;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/license-plate-keyboard/mixed-key-board.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion components/license-plate-keyboard/short-cut-row.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion components/license-plate/demo/cases/demo0.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
},
mounted() {
// setTimeout(()=>{
// this.defaultValue = '23338888888'
// this.defaultValue = '2333888 '
// },10000)
},
methods: {},
Expand Down

0 comments on commit c88aa86

Please sign in to comment.