[Doc] translate SubmitBar && GoodsAction (#367)

This commit is contained in:
neverland
2017-11-30 20:09:55 +08:00
committed by GitHub
parent 78789c6d21
commit b50d8cd8f6
9 changed files with 101 additions and 97 deletions
+3
View File
@@ -68,5 +68,8 @@ export default {
pullingText: 'Pull to refresh...',
loosingText: 'Loose to refresh...',
loadingText: 'Loading...'
},
vanSubmitBar: {
label: 'Total'
}
};
+3
View File
@@ -72,5 +72,8 @@ export default {
pullingText: '下拉即可刷新...',
loosingText: '释放即可刷新...',
loadingText: '加载中...'
},
vanSubmitBar: {
label: '合计:'
}
};
+2 -1
View File
@@ -7,7 +7,7 @@
<slot />
<div class="van-submit-bar__price">
<template v-if="hasPrice">
<span class="van-submit-bar__price-text">合计</span>
<span class="van-submit-bar__price-text">{{ label || $t('label') }}</span>
<span class="van-submit-bar__price-interger">¥{{ priceInterger }}.</span>
<span class="van-submit-bar__price-decimal">{{ priceDecimal }}</span>
</template>
@@ -33,6 +33,7 @@ export default {
tip: String,
type: Number,
price: Number,
label: String,
loading: Boolean,
disabled: Boolean,
buttonText: String,