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" />
{{ $t('parameters') }}
</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-card
class="pa-2"
@ -25,7 +25,7 @@
</template>
</v-tooltip>
</v-col>
</v-col> -->
</v-row>
</v-card-title>
@ -44,26 +44,26 @@
<param-input-field
v-model="maxWheelbase"
:disabled="!isCustomMode"
:label="`${$t('maxWheelbase')} (${maxWheelbase.unit})`"
:label="`${$t('maxWheelbase')}`"
/>
</v-col>
<v-col cols="12">
<param-input-field
v-model="hubDiameter"
:disabled="!isCustomMode"
:label="`${$t('hubDiameter')} (${hubDiameter.unit})`"
:label="`${$t('hubDiameter')}`"
/>
</v-col>
<v-col cols="12">
<param-input-field
v-model="paperCoreDiameter"
:label="`${$t('paperTubeInnerDiameter')} (${paperCoreDiameter.unit})`"
:label="`${$t('paperTubeInnerDiameter')}`"
/>
</v-col>
<v-col cols="12">
<param-input-field
v-model="paperRollWallThickness"
:label="`${$t('paperRollWallThickness')} (${paperRollWallThickness.unit})`"
:label="`${$t('paperRollWallThickness')}`"
/>
</v-col>
</v-row>

View File

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