[bugfix] SubmitBar: inherit wrong font size (#857)

This commit is contained in:
neverland 2018-04-12 10:40:40 +08:00 committed by GitHub
parent bd8dd90a28
commit 7d3b63eb15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -7,7 +7,7 @@
<slot />
<div class="van-submit-bar__price">
<template v-if="hasPrice">
<span class="van-submit-bar__price-text">{{ label || $t('label') }}</span>
<span>{{ label || $t('label') }}</span>
<span class="van-submit-bar__price-interger">¥{{ priceInterger }}.</span>
<span class="van-submit-bar__price-decimal">{{ priceDecimal }}</span>
</template>

View File

@ -19,24 +19,24 @@
&__bar {
height: 50px;
display: flex;
line-height: 50px;
font-size: 16px;
align-items: center;
background-color: $white;
}
&__price {
flex: 1;
text-align: right;
padding-right: 10px;
}
&__price-text {
font-size: 15px;
color: $gray-darker;
padding-right: 12px;
span {
display: inline-block;
}
}
&__price-interger {
color: $red;
font-size: 16px;
}
&__price-decimal {
@ -48,7 +48,7 @@
width: 110px;
height: 100%;
border-radius: 0;
font-size: 15px;
font-size: 16px;
&--disabled {
border: none;