Skip to content

Commit

Permalink
feat: 优化新能源键位空值显示状态
Browse files Browse the repository at this point in the history
  • Loading branch information
weishuodan committed Nov 20, 2023
1 parent 8ea1fba commit 4acd74a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 19 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.
22 changes: 4 additions & 18 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 @@ -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/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 4acd74a

Please sign in to comment.