style: 调整参数输入框样式

- 删除文本区域的单位显示
- WIP:暂时注释掉尚未开发完成的帮助页面
This commit is contained in:
2025-12-06 16:44:37 +08:00
parent efb595f086
commit c44cf80300
2 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@
<v-icon class="mr-3" color="primary" icon="mdi-tune" size="large" /> <v-icon class="mr-3" color="primary" icon="mdi-tune" size="large" />
{{ $t('parameters') }} {{ $t('parameters') }}
</v-col> </v-col>
<v-col class="d-flex align-end justify-center flex-column" cols="6"> <!-- <v-col class="d-flex align-end justify-center flex-column" cols="6">
<v-tooltip content-class="transparent-tooltip" transition="fade-transition"> <v-tooltip content-class="transparent-tooltip" transition="fade-transition">
<v-card <v-card
class="pa-2" class="pa-2"
@ -25,7 +25,7 @@
</template> </template>
</v-tooltip> </v-tooltip>
</v-col> </v-col> -->
</v-row> </v-row>
</v-card-title> </v-card-title>
@ -44,26 +44,26 @@
<param-input-field <param-input-field
v-model="maxWheelbase" v-model="maxWheelbase"
:disabled="!isCustomMode" :disabled="!isCustomMode"
:label="`${$t('maxWheelbase')} (${maxWheelbase.unit})`" :label="`${$t('maxWheelbase')}`"
/> />
</v-col> </v-col>
<v-col cols="12"> <v-col cols="12">
<param-input-field <param-input-field
v-model="hubDiameter" v-model="hubDiameter"
:disabled="!isCustomMode" :disabled="!isCustomMode"
:label="`${$t('hubDiameter')} (${hubDiameter.unit})`" :label="`${$t('hubDiameter')}`"
/> />
</v-col> </v-col>
<v-col cols="12"> <v-col cols="12">
<param-input-field <param-input-field
v-model="paperCoreDiameter" v-model="paperCoreDiameter"
:label="`${$t('paperTubeInnerDiameter')} (${paperCoreDiameter.unit})`" :label="`${$t('paperTubeInnerDiameter')}`"
/> />
</v-col> </v-col>
<v-col cols="12"> <v-col cols="12">
<param-input-field <param-input-field
v-model="paperRollWallThickness" v-model="paperRollWallThickness"
:label="`${$t('paperRollWallThickness')} (${paperRollWallThickness.unit})`" :label="`${$t('paperRollWallThickness')}`"
/> />
</v-col> </v-col>
</v-row> </v-row>

View File

@ -4,7 +4,7 @@
:disabled="disabled" :disabled="disabled"
hide-details hide-details
hide-spin-buttons hide-spin-buttons
:label="label + ' (' + $t(`units.${modelValue.unit}`) + ')'" :label="label"
:model-value="modelValue.value.toString()" :model-value="modelValue.value.toString()"
:suffix="$t(`units.${modelValue.unit}`)" :suffix="$t(`units.${modelValue.unit}`)"
type="number" type="number"