添加俄语版本
This commit is contained in:
+16
-3
@@ -120,7 +120,11 @@
|
||||
}, {
|
||||
label: this.$t('en'),
|
||||
id: 'en'
|
||||
}]
|
||||
},{
|
||||
label: this.$t('ru'),
|
||||
id: 'ru'
|
||||
}
|
||||
]
|
||||
],
|
||||
columnstime:[
|
||||
[{
|
||||
@@ -193,8 +197,9 @@
|
||||
var that = this
|
||||
uni.setLocale(e.value[0].id)
|
||||
this.$i18n.locale = e.value[0].id
|
||||
// uni.setStorageSync('i18locale', e.value[0].id);
|
||||
uni.setStorageSync('i18locale', e.value[0].id);
|
||||
this.showlang = false
|
||||
console.log(uni.getLocale())
|
||||
this.columns =[
|
||||
[{
|
||||
label: this.$t('zh'),
|
||||
@@ -202,7 +207,11 @@
|
||||
}, {
|
||||
label: this.$t('en'),
|
||||
id: 'en'
|
||||
}]
|
||||
},{
|
||||
label: this.$t('ru'),
|
||||
id: 'ru'
|
||||
}
|
||||
]
|
||||
];
|
||||
this.columnstime =[
|
||||
[{
|
||||
@@ -442,6 +451,10 @@
|
||||
.grid-text {
|
||||
color: #222222;
|
||||
font-size: 24rpx;
|
||||
white-space: nowrap;
|
||||
width: 95%;
|
||||
overflow-x: scroll;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user