refactor(项目设置): 应用设置样式优化、i18n

This commit is contained in:
shiziyuan9527 2022-01-11 14:36:18 +08:00 committed by 刘瑞斌
parent 1d6d73a40b
commit e15672af3d
4 changed files with 22 additions and 14 deletions

View File

@ -1,5 +1,5 @@
<template>
<app-manage-item :title="title" :append-span="4" :middle-span="10" :prepend-span="10">
<app-manage-item :title="title" :append-span="3" :middle-span="12" :prepend-span="9">
<template #middle>
<span class="timing_name">{{ $t('project.keep_recent') }}</span>
<el-select v-model="selfQuantity" placeholder=" " size="mini"
@ -70,18 +70,11 @@ export default {
selfUnit: "",
selfChoose: this.choose,
selfExpr: this.expr,
quantityOptions: [
"1", "2", "3", "4", "5", "6", "7", "8", "9",
"10", "11", "12", "13", "14",
"15", "16", "17", "18", "19",
"20", "21", "22", "23", "24",
"25", "26", "27", "28", "29",
"30", "31",
],
quantityOptions: 31,
unitOptions: [
{value: "D", label: "天"},
{value: "M", label: "月"},
{value: "Y", label: "年"},
{value: "D", label: this.$t('commons.date_unit.day')},
{value: "M", label: this.$t('commons.date_unit.month')},
{value: "Y", label: this.$t('commons.date_unit.year')},
]
}
},
@ -114,7 +107,7 @@ export default {
}
.timing_select {
width: 60px;
margin-left: 3px;
width: 80px;
margin-left: 2px;
}
</style>

View File

@ -161,6 +161,11 @@ export default {
weeks_4: 'Thur',
weeks_5: 'Fri',
weeks_6: 'Sat',
date_unit: {
day: "Day",
month: "Month",
year: "Year"
},
test_unit: 'tests',
remove: 'Remove',
next_level: "Next level",

View File

@ -155,6 +155,11 @@ export default {
weeks_4: '周四',
weeks_5: '周五',
weeks_6: '周六',
date_unit: {
day: "天",
month: "月",
year: "年"
},
test_unit: '测试',
system_parameter_setting: '系统参数设置',
connection_successful: '连接成功',

View File

@ -155,6 +155,11 @@ export default {
weeks_4: '周四',
weeks_5: '周五',
weeks_6: '周六',
date_unit: {
day: "天",
month: "月",
year: "年"
},
test_unit: '測試',
system_parameter_setting: '系統參數設置',
connection_successful: '連接成功',