Compare commits
2 Commits
master
...
feat_more_
| Author | SHA1 | Date |
|---|---|---|
|
|
6c2494438f | |
|
|
9c51a77dd5 |
|
|
@ -1,4 +1,4 @@
|
||||||
import defaultLang from './lang/zh-cn'
|
import defaultLang from './lang/zh-CN'
|
||||||
|
|
||||||
let lang = defaultLang
|
let lang = defaultLang
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
export default {
|
||||||
|
md: {
|
||||||
|
result_page: {
|
||||||
|
networkError: 'Network error',
|
||||||
|
noInformation: 'No data available',
|
||||||
|
lostWay: 'Page not found',
|
||||||
|
},
|
||||||
|
date_picker: {
|
||||||
|
month: 'Month',
|
||||||
|
minute: 'Minute',
|
||||||
|
hour: 'Hour',
|
||||||
|
day: 'Day',
|
||||||
|
second: 'Second',
|
||||||
|
year: 'Year',
|
||||||
|
},
|
||||||
|
cashier: {
|
||||||
|
payCash: 'Amount',
|
||||||
|
payFail: 'Error. Try again later',
|
||||||
|
payResultSearch: 'Processing...',
|
||||||
|
morePayWays: 'Other payment method',
|
||||||
|
confirm: 'OK',
|
||||||
|
confirmPay: 'Confirm and Pay',
|
||||||
|
pay: 'Pay',
|
||||||
|
paySuccess: 'Payment successful',
|
||||||
|
},
|
||||||
|
scroll_view: {
|
||||||
|
refresh: {
|
||||||
|
freedRefresh: 'Release',
|
||||||
|
pullDownRefresh: 'Pull down',
|
||||||
|
refreshing: 'Refreshing...',
|
||||||
|
},
|
||||||
|
more: {
|
||||||
|
loading: 'Loading more...',
|
||||||
|
allLoaded: 'All loaded',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
captcha: {
|
||||||
|
sendCaptcha: 'Send Code',
|
||||||
|
countdown: 'Resend in {$1}s',
|
||||||
|
},
|
||||||
|
tab_picker: {
|
||||||
|
choose: 'Select',
|
||||||
|
},
|
||||||
|
dialog: {
|
||||||
|
confirm: 'OK',
|
||||||
|
cancel: 'Cancel',
|
||||||
|
},
|
||||||
|
action_sheet: {
|
||||||
|
cancel: 'Cancel',
|
||||||
|
},
|
||||||
|
selector: {
|
||||||
|
cancel: 'Cancel',
|
||||||
|
},
|
||||||
|
number_keyboard: {
|
||||||
|
confirm: 'OK',
|
||||||
|
},
|
||||||
|
picker: {
|
||||||
|
cancel: 'Cancel',
|
||||||
|
confirm: 'Confirm',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
export default {
|
||||||
|
md: {
|
||||||
|
result_page: {
|
||||||
|
networkError: 'Error de red',
|
||||||
|
noInformation: 'No hay datos disponibles',
|
||||||
|
lostWay: 'No se encontró la página',
|
||||||
|
},
|
||||||
|
date_picker: {
|
||||||
|
month: 'Mes',
|
||||||
|
minute: 'Minutos',
|
||||||
|
hour: 'Horas',
|
||||||
|
day: 'Día',
|
||||||
|
second: 'Segundo',
|
||||||
|
year: 'Año',
|
||||||
|
},
|
||||||
|
cashier: {
|
||||||
|
payCash: 'Monto',
|
||||||
|
payFail: 'Error. Intenta de nuevo.',
|
||||||
|
payResultSearch: 'Procesando...',
|
||||||
|
morePayWays: 'Otro método de pago',
|
||||||
|
confirm: 'Aceptar',
|
||||||
|
confirmPay: 'Confirmar y pagar',
|
||||||
|
pay: 'Pago',
|
||||||
|
paySuccess: 'Pago realizado',
|
||||||
|
},
|
||||||
|
scroll_view: {
|
||||||
|
refresh: {
|
||||||
|
freedRefresh: 'Suelta',
|
||||||
|
pullDownRefresh: 'Arrastra hacia abajo',
|
||||||
|
refreshing: 'Actualizando...',
|
||||||
|
},
|
||||||
|
more: {
|
||||||
|
loading: 'Cargando más...',
|
||||||
|
allLoaded: 'Carga completa',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
captcha: {
|
||||||
|
sendCaptcha: 'Enviar código',
|
||||||
|
countdown: 'Reenviar en {$1}s',
|
||||||
|
},
|
||||||
|
tab_picker: {
|
||||||
|
choose: 'Elige una opción',
|
||||||
|
},
|
||||||
|
dialog: {
|
||||||
|
confirm: 'Aceptar',
|
||||||
|
cancel: 'Cancelar',
|
||||||
|
},
|
||||||
|
action_sheet: {
|
||||||
|
cancel: 'Cancelar',
|
||||||
|
},
|
||||||
|
selector: {
|
||||||
|
cancel: 'Cancelar',
|
||||||
|
},
|
||||||
|
number_keyboard: {
|
||||||
|
confirm: 'Aceptar',
|
||||||
|
},
|
||||||
|
picker: {
|
||||||
|
cancel: 'Cancelar',
|
||||||
|
confirm: 'Confirmar',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -1,13 +1,11 @@
|
||||||
export default {
|
export default {
|
||||||
// [\u4e00-\u9fa5]
|
|
||||||
name: 'zh-cn',
|
|
||||||
md: {
|
md: {
|
||||||
'action-sheet': {
|
action_sheet: {
|
||||||
cancel: '取消',
|
cancel: '取消',
|
||||||
},
|
},
|
||||||
captcha: {
|
captcha: {
|
||||||
sendCaptcha: '发送验证码',
|
sendCaptcha: '发送验证码',
|
||||||
countdown: '{$1}秒后重发'
|
countdown: '{$1}秒后重发',
|
||||||
},
|
},
|
||||||
cashier: {
|
cashier: {
|
||||||
payCash: '\u652f\u4ed8\u91d1\u989d\u0028\u5143\u0029',
|
payCash: '\u652f\u4ed8\u91d1\u989d\u0028\u5143\u0029',
|
||||||
|
|
@ -19,30 +17,30 @@ export default {
|
||||||
payFail: '\u652f\u4ed8\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5',
|
payFail: '\u652f\u4ed8\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5',
|
||||||
confirm: '\u6211\u77e5\u9053\u4e86',
|
confirm: '\u6211\u77e5\u9053\u4e86',
|
||||||
},
|
},
|
||||||
'date-picker': {
|
date_picker: {
|
||||||
year: '年',
|
year: '年',
|
||||||
month: '月',
|
month: '月',
|
||||||
day: '日',
|
day: '日',
|
||||||
hour: '时',
|
hour: '时',
|
||||||
minute: '分',
|
minute: '分',
|
||||||
},
|
},
|
||||||
'dialog': {
|
dialog: {
|
||||||
confirm: '确定',
|
confirm: '确定',
|
||||||
cancel: '取消',
|
cancel: '取消',
|
||||||
},
|
},
|
||||||
'number-keyboard': {
|
number_keyboard: {
|
||||||
confirm: '确定',
|
confirm: '确定',
|
||||||
},
|
},
|
||||||
'picker': {
|
picker: {
|
||||||
confirm: '确认',
|
confirm: '确认',
|
||||||
cancel: '取消',
|
cancel: '取消',
|
||||||
},
|
},
|
||||||
'result-page': {
|
result_page: {
|
||||||
networkError: '\u7f51\u7edc\u8fde\u63a5\u5f02\u5e38',
|
networkError: '\u7f51\u7edc\u8fde\u63a5\u5f02\u5e38',
|
||||||
noInformation: '\u6682\u65e0\u4fe1\u606f',
|
noInformation: '\u6682\u65e0\u4fe1\u606f',
|
||||||
lostWay: '\u60a8\u8981\u8bbf\u95ee\u7684\u9875\u9762\u5df2\u4e22\u5931',
|
lostWay: '\u60a8\u8981\u8bbf\u95ee\u7684\u9875\u9762\u5df2\u4e22\u5931',
|
||||||
},
|
},
|
||||||
'scroll-view': {
|
scroll_view: {
|
||||||
more: {
|
more: {
|
||||||
loading: '更多加载中...',
|
loading: '更多加载中...',
|
||||||
allLoaded: '全部已加载',
|
allLoaded: '全部已加载',
|
||||||
|
|
@ -53,11 +51,11 @@ export default {
|
||||||
refreshing: '刷新中...',
|
refreshing: '刷新中...',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'selector': {
|
selector: {
|
||||||
cancel: '取消',
|
cancel: '取消',
|
||||||
},
|
},
|
||||||
'tab-picker': {
|
tab_picker: {
|
||||||
choose: '请选择',
|
choose: '请选择',
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
@ -69,7 +69,7 @@ export default {
|
||||||
},
|
},
|
||||||
cancelText: {
|
cancelText: {
|
||||||
type: String,
|
type: String,
|
||||||
default: t('md.action-sheet.cancel'),
|
default: t('md.action_sheet.cancel'),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -109,11 +109,11 @@ export default {
|
||||||
type: Array,
|
type: Array,
|
||||||
default () {
|
default () {
|
||||||
return [
|
return [
|
||||||
t('md.date-picker.year'),
|
t('md.date_picker.year'),
|
||||||
t('md.date-picker.month'),
|
t('md.date_picker.month'),
|
||||||
t('md.date-picker.day'),
|
t('md.date_picker.day'),
|
||||||
t('md.date-picker.hour'),
|
t('md.date_picker.hour'),
|
||||||
t('md.date-picker.minute'),
|
t('md.date_picker.minute'),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ export default {
|
||||||
},
|
},
|
||||||
okText: {
|
okText: {
|
||||||
type: String,
|
type: String,
|
||||||
default: t('md.number-keyboard.confirm'),
|
default: t('md.number_keyboard.confirm'),
|
||||||
},
|
},
|
||||||
isView: {
|
isView: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|
|
||||||
|
|
@ -70,9 +70,9 @@ export default {
|
||||||
this.text ||
|
this.text ||
|
||||||
{
|
{
|
||||||
// 网络连接异常
|
// 网络连接异常
|
||||||
network: t('md.result-page.networkError'),
|
network: t('md.result_page.networkError'),
|
||||||
// 暂无信息
|
// 暂无信息
|
||||||
empty: t('md.result-page.noInformation'),
|
empty: t('md.result_page.noInformation'),
|
||||||
}[this.type] ||
|
}[this.type] ||
|
||||||
''
|
''
|
||||||
)
|
)
|
||||||
|
|
@ -82,7 +82,7 @@ export default {
|
||||||
this.subtext ||
|
this.subtext ||
|
||||||
{
|
{
|
||||||
// 您要访问的页面已丢失
|
// 您要访问的页面已丢失
|
||||||
lost: t('md.result-page.lostWay'),
|
lost: t('md.result_page.lostWay'),
|
||||||
}[this.type] ||
|
}[this.type] ||
|
||||||
''
|
''
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -16,11 +16,11 @@ export default {
|
||||||
props: {
|
props: {
|
||||||
loadingText: {
|
loadingText: {
|
||||||
type: String,
|
type: String,
|
||||||
default: t('md.scroll-view.more.loading'),
|
default: t('md.scroll_view.more.loading'),
|
||||||
},
|
},
|
||||||
finishedText: {
|
finishedText: {
|
||||||
type: String,
|
type: String,
|
||||||
default: t('md.scroll-view.more.allLoaded'),
|
default: t('md.scroll_view.more.allLoaded'),
|
||||||
},
|
},
|
||||||
isFinished: {
|
isFinished: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|
|
||||||
|
|
@ -34,15 +34,15 @@ export default {
|
||||||
},
|
},
|
||||||
refreshText: {
|
refreshText: {
|
||||||
type: String,
|
type: String,
|
||||||
default: t('md.scroll-view.refresh.pullDownRefresh'),
|
default: t('md.scroll_view.refresh.pullDownRefresh'),
|
||||||
},
|
},
|
||||||
refreshActiveText: {
|
refreshActiveText: {
|
||||||
type: String,
|
type: String,
|
||||||
default: t('md.scroll-view.refresh.freedRefresh'),
|
default: t('md.scroll_view.refresh.freedRefresh'),
|
||||||
},
|
},
|
||||||
refreshingText: {
|
refreshingText: {
|
||||||
type: String,
|
type: String,
|
||||||
default: t('md.scroll-view.refresh.refreshing'),
|
default: t('md.scroll_view.refresh.refreshing'),
|
||||||
},
|
},
|
||||||
rollerColor: {
|
rollerColor: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ export default {
|
||||||
},
|
},
|
||||||
placeholder: {
|
placeholder: {
|
||||||
type: String,
|
type: String,
|
||||||
default: t('md.tab-picker.choose'),
|
default: t('md.tab_picker.choose'),
|
||||||
},
|
},
|
||||||
|
|
||||||
// Mixin Props
|
// Mixin Props
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue