Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 优化新能源键位空值显示状态 #842

Merged
merged 2 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading