mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
feat(Loading): add text-color prop (#7806)
This commit is contained in:
@@ -25,6 +25,15 @@
|
||||
{{ t('loading') }}
|
||||
</van-loading>
|
||||
</demo-block>
|
||||
|
||||
<demo-block :title="t('textColor')">
|
||||
<van-loading size="24px" vertical color="#0094ff">
|
||||
{{ t('loading') }}
|
||||
</van-loading>
|
||||
<van-loading size="24px" vertical text-color="#0094ff">
|
||||
{{ t('loading') }}
|
||||
</van-loading>
|
||||
</demo-block>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -37,6 +46,7 @@ const i18n = {
|
||||
size: '自定义大小',
|
||||
color: '自定义颜色',
|
||||
vertical: '垂直排列',
|
||||
textColor: '自定义文本颜色',
|
||||
},
|
||||
'en-US': {
|
||||
type: 'Type',
|
||||
@@ -44,6 +54,7 @@ const i18n = {
|
||||
size: 'Size',
|
||||
color: 'Color',
|
||||
vertical: 'Vertical',
|
||||
textColor: 'Text Color',
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user