style: 💄 Preference restyle

This commit is contained in:
viarotel 2023-11-02 17:52:43 +08:00
parent f4dfb2ca98
commit 5ace0f7135
2 changed files with 11 additions and 10 deletions

View File

@ -85,8 +85,8 @@
<el-col
v-for="(item_1, index_1) of subModel(item)"
:key="index_1"
:span="12"
:offset="0"
:span="item_1.span || 12"
:offset="item_1.offset || 0"
>
<el-form-item :label="$t(item_1.label)" :prop="item_1.field">
<template #label>

View File

@ -19,14 +19,6 @@ export default {
},
],
},
timeLimit: {
label: 'preferences.record.time-limit.name',
field: '--time-limit',
type: 'Input.number',
value: '',
placeholder: 'preferences.record.time-limit.placeholder',
append: 's',
},
lockVideoOrientation: {
label: 'preferences.record.lock-video-orientation.name',
field: '--lock-video-orientation',
@ -40,6 +32,15 @@ export default {
{ label: '90°', value: '3' },
],
},
timeLimit: {
label: 'preferences.record.time-limit.name',
field: '--time-limit',
type: 'Input.number',
value: '',
placeholder: 'preferences.record.time-limit.placeholder',
append: 's',
span: 24,
},
noVideo: {
label: 'preferences.record.disable-video.name',
field: '--no-video',