mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] SubmitBar: inherit wrong font size (#857)
This commit is contained in:
parent
bd8dd90a28
commit
7d3b63eb15
@ -7,7 +7,7 @@
|
|||||||
<slot />
|
<slot />
|
||||||
<div class="van-submit-bar__price">
|
<div class="van-submit-bar__price">
|
||||||
<template v-if="hasPrice">
|
<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-interger">¥{{ priceInterger }}.</span>
|
||||||
<span class="van-submit-bar__price-decimal">{{ priceDecimal }}</span>
|
<span class="van-submit-bar__price-decimal">{{ priceDecimal }}</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -19,24 +19,24 @@
|
|||||||
&__bar {
|
&__bar {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
display: flex;
|
display: flex;
|
||||||
line-height: 50px;
|
font-size: 16px;
|
||||||
|
align-items: center;
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__price {
|
&__price {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
padding-right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__price-text {
|
|
||||||
font-size: 15px;
|
|
||||||
color: $gray-darker;
|
color: $gray-darker;
|
||||||
|
padding-right: 12px;
|
||||||
|
|
||||||
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__price-interger {
|
&__price-interger {
|
||||||
color: $red;
|
color: $red;
|
||||||
font-size: 16px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__price-decimal {
|
&__price-decimal {
|
||||||
@ -48,7 +48,7 @@
|
|||||||
width: 110px;
|
width: 110px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
font-size: 15px;
|
font-size: 16px;
|
||||||
|
|
||||||
&--disabled {
|
&--disabled {
|
||||||
border: none;
|
border: none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user