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 />
|
||||
<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>
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user