perf(仪表板): 移动端仪表板排序功能-国际化

This commit is contained in:
fit2cloud-chenyw 2024-05-29 19:01:34 +08:00
parent 1074fcc912
commit 8da40c53da
6 changed files with 22 additions and 9 deletions

View File

@ -16,6 +16,7 @@ yoy = "yoy"
YOY = "YOY"
Leafs = "Leafs"
leafs = "leafs"
hiden = "hiden"
[files]
extend-exclude = [

View File

@ -1,7 +1,7 @@
{
"uni-popup.cancel": "cancel",
"uni-popup.ok": "ok",
"uni-popup.placeholder": "pleace enter",
"uni-popup.placeholder": "please enter",
"uni-popup.title": "Hint",
"uni-popup.shareTitle": "Share to"
}

View File

@ -47,7 +47,11 @@
"clearConfirm": "Are You Sure To Clean All History ?",
"noHistory": "There Are No Any History",
"contentPrefix": "The Content Is ",
"contentSuffix": "Will Be Marked As History When You Confirm"
"contentSuffix": "Will Be Marked As History When You Confirm",
"create-time-desc": "Sort by time desc",
"create-time-asc": "Sort by time asc",
"create-name-desc": "Sort by name desc",
"create-name-asc": "Sort by name asc"
},
"me": {
"moreInfo": "More",

View File

@ -48,7 +48,11 @@
"clearConfirm": "确定清除全部历史记录?",
"noHistory": "您还没有历史记录",
"contentPrefix": "您输入的内容为 ",
"contentSuffix": " 如果点击确定,将记录到历史搜索,并返回.如果取消不做操作"
"contentSuffix": " 如果点击确定,将记录到历史搜索,并返回.如果取消不做操作",
"create-time-desc": "按创建时间降序",
"create-time-asc": "按创建时间升序",
"create-name-desc": "按照名称降序",
"create-name-asc": "按照名称升序"
},
"me": {
"moreInfo": "更多信息",

View File

@ -49,7 +49,11 @@
"clearConfirm": "確定清除全部歷史記錄?",
"noHistory": "您還沒有歷史記錄",
"contentPrefix": "您輸入的內容為 ",
"contentSuffix": " 如果點擊確定,將紀錄到歷史紀錄"
"contentSuffix": " 如果點擊確定,將紀錄到歷史紀錄",
"create-time-desc": "按創建時間降序",
"create-time-asc": "按創建時間升序",
"create-name-desc": "按照名稱降序",
"create-name-asc": "按照名稱升序"
},
"me": {
"moreInfo": "更多信息",

View File

@ -54,19 +54,19 @@ export default {
],
nodes: [],
pickerValueArray: [{
label: '按创建时间升序',
label: this.$t('dir.create-time-asc'),
value: 'time_asc'
},
{
label: '按创建时间降序',
label: this.$t('dir.create-time-desc'),
value: 'time_desc'
},
{
label: '按名称升序',
label: this.$t('dir.create-name-asc'),
value: 'name_asc'
},
{
label: '按名称降序',
label: this.$t('dir.create-name-desc'),
value: 'name_desc'
}
],
@ -139,7 +139,7 @@ export default {
onNavigationBarButtonTap(e) {
let that = this;
if (e.index === 0) {
this.$refs.popup.open('buttom')
this.$refs.popup.open('bottom')
uni.hideTabBar()
}
},