perf(仪表板): 移动端仪表板排序功能-国际化
This commit is contained in:
parent
1074fcc912
commit
8da40c53da
@ -16,6 +16,7 @@ yoy = "yoy"
|
|||||||
YOY = "YOY"
|
YOY = "YOY"
|
||||||
Leafs = "Leafs"
|
Leafs = "Leafs"
|
||||||
leafs = "leafs"
|
leafs = "leafs"
|
||||||
|
hiden = "hiden"
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
extend-exclude = [
|
extend-exclude = [
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"uni-popup.cancel": "cancel",
|
"uni-popup.cancel": "cancel",
|
||||||
"uni-popup.ok": "ok",
|
"uni-popup.ok": "ok",
|
||||||
"uni-popup.placeholder": "pleace enter",
|
"uni-popup.placeholder": "please enter",
|
||||||
"uni-popup.title": "Hint",
|
"uni-popup.title": "Hint",
|
||||||
"uni-popup.shareTitle": "Share to"
|
"uni-popup.shareTitle": "Share to"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,7 +47,11 @@
|
|||||||
"clearConfirm": "Are You Sure To Clean All History ?",
|
"clearConfirm": "Are You Sure To Clean All History ?",
|
||||||
"noHistory": "There Are No Any History",
|
"noHistory": "There Are No Any History",
|
||||||
"contentPrefix": "The Content Is ",
|
"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": {
|
"me": {
|
||||||
"moreInfo": "More",
|
"moreInfo": "More",
|
||||||
|
|||||||
@ -48,7 +48,11 @@
|
|||||||
"clearConfirm": "确定清除全部历史记录?",
|
"clearConfirm": "确定清除全部历史记录?",
|
||||||
"noHistory": "您还没有历史记录",
|
"noHistory": "您还没有历史记录",
|
||||||
"contentPrefix": "您输入的内容为 ",
|
"contentPrefix": "您输入的内容为 ",
|
||||||
"contentSuffix": " 如果点击确定,将记录到历史搜索,并返回.如果取消不做操作"
|
"contentSuffix": " 如果点击确定,将记录到历史搜索,并返回.如果取消不做操作",
|
||||||
|
"create-time-desc": "按创建时间降序",
|
||||||
|
"create-time-asc": "按创建时间升序",
|
||||||
|
"create-name-desc": "按照名称降序",
|
||||||
|
"create-name-asc": "按照名称升序"
|
||||||
},
|
},
|
||||||
"me": {
|
"me": {
|
||||||
"moreInfo": "更多信息",
|
"moreInfo": "更多信息",
|
||||||
|
|||||||
@ -49,7 +49,11 @@
|
|||||||
"clearConfirm": "確定清除全部歷史記錄?",
|
"clearConfirm": "確定清除全部歷史記錄?",
|
||||||
"noHistory": "您還沒有歷史記錄",
|
"noHistory": "您還沒有歷史記錄",
|
||||||
"contentPrefix": "您輸入的內容為 ",
|
"contentPrefix": "您輸入的內容為 ",
|
||||||
"contentSuffix": " 如果點擊確定,將紀錄到歷史紀錄"
|
"contentSuffix": " 如果點擊確定,將紀錄到歷史紀錄",
|
||||||
|
"create-time-desc": "按創建時間降序",
|
||||||
|
"create-time-asc": "按創建時間升序",
|
||||||
|
"create-name-desc": "按照名稱降序",
|
||||||
|
"create-name-asc": "按照名稱升序"
|
||||||
},
|
},
|
||||||
"me": {
|
"me": {
|
||||||
"moreInfo": "更多信息",
|
"moreInfo": "更多信息",
|
||||||
|
|||||||
@ -54,19 +54,19 @@ export default {
|
|||||||
],
|
],
|
||||||
nodes: [],
|
nodes: [],
|
||||||
pickerValueArray: [{
|
pickerValueArray: [{
|
||||||
label: '按创建时间升序',
|
label: this.$t('dir.create-time-asc'),
|
||||||
value: 'time_asc'
|
value: 'time_asc'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '按创建时间降序',
|
label: this.$t('dir.create-time-desc'),
|
||||||
value: 'time_desc'
|
value: 'time_desc'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '按名称升序',
|
label: this.$t('dir.create-name-asc'),
|
||||||
value: 'name_asc'
|
value: 'name_asc'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '按名称降序',
|
label: this.$t('dir.create-name-desc'),
|
||||||
value: 'name_desc'
|
value: 'name_desc'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -139,7 +139,7 @@ export default {
|
|||||||
onNavigationBarButtonTap(e) {
|
onNavigationBarButtonTap(e) {
|
||||||
let that = this;
|
let that = this;
|
||||||
if (e.index === 0) {
|
if (e.index === 0) {
|
||||||
this.$refs.popup.open('buttom')
|
this.$refs.popup.open('bottom')
|
||||||
uni.hideTabBar()
|
uni.hideTabBar()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user