Fix: 调整页面文本 & 修改国际化文本

This commit is contained in:
2025-07-18 10:21:39 +08:00
parent 22caff155b
commit cb743741d2
6 changed files with 18 additions and 15 deletions

View File

@ -86,19 +86,19 @@
<v-row>
<v-col cols="12">
<result-card
:label="`${$t('recommendBeltThickness')} (${result.recommendBeltThickness.unit})`"
:label="`${$t('recommendBeltThickness')}`"
:value="result.recommendBeltThickness"
/>
</v-col>
<v-col cols="12">
<result-card
:label="`${$t('recommendBeltWidth')} (${result.recommendBeltWidth.unit})`"
:label="`${$t('recommendBeltWidth')}`"
:value="result.recommendBeltWidth"
/>
</v-col>
<v-col cols="12">
<result-card
:label="`${$t('recommendBeltLength')} (${result.recommendBeltLength.unit})`"
:label="`${$t('recommendBeltLength')}`"
:value="result.recommendBeltLength"
/>
</v-col>

View File

@ -137,13 +137,13 @@
<th>{{ $t('paperGrammage') }}</th>
<th>{{ $t('cumulativeThickness') }}</th>
<th>{{ $t('angle') }}</th>
<th>{{ $t('paperWidth') }}</th>
<th>{{ $t('paperTapeWidth') }}</th>
</tr>
</thead>
<transition-group name="fade" tag="tbody">
<tr v-for="(record, index) in recordList" :key="index" class="table-row-item">
<td>{{ record.layer }}</td>
<td>{{ record.grammage.value.toFixed(2) }} {{ record.grammage.unit }}</td>
<td>{{ record.grammage.value }} {{ record.grammage.unit }}</td>
<td>{{ record.cumulativeThickness.value.toFixed(2) }} {{ record.cumulativeThickness.unit }}</td>
<td>{{ record.angle.value.toFixed(2) }} {{ record.angle.unit }}</td>
<td>{{ record.paperWidth.value.toFixed(2) }} {{ record.paperWidth.unit }}</td>

View File

@ -96,13 +96,13 @@
<v-row>
<v-col cols="12">
<result-card
:label="`${$t('singlePaperTubeWeight')}(${result.singlePaperTubeWeight.unit})`"
:label="`${$t('singlePaperTubeWeight')}`"
:value="result.singlePaperTubeWeight"
/>
</v-col>
<v-col cols="12">
<result-card
:label="`${$t('totalPaperTubeWeight')}(${result.totalPaperTubeWeight.unit})`"
:label="`${$t('totalPaperTubeWeight')}`"
:value="result.totalPaperTubeWeight"
/>
</v-col>

View File

@ -3,6 +3,7 @@
density="compact"
:disabled="disabled"
hide-details
hide-spin-buttons
:label="label"
:model-value="modelValue.value.toString()"
:suffix="modelValue.unit"

View File

@ -1,17 +1,17 @@
{
"appTitle": "Paper Tube Production Calculator",
"beltSpecificationCalculate": "Belt Specification Calculate",
"multiLayerPaperTapeWidthAngleCalculate": "MultiLayer Paper Tape Width Angle Calculate",
"beltSpecificationCalculate": "Belt Specification",
"multiLayerPaperTapeWidthAngleCalculate": "MultiLayer Paper Tape Width & Angle",
"paperCoreDiameter": "Paper core diameter",
"paperDensity": "Paper density",
"paperGrammage": "Grammage",
"paperRollExternalDiameter": "Paper roll external diameter",
"paperRollLength": "Paper roll length",
"paperRollWallThickness": "Paper roll wall thickness",
"paperRollWeightLengthCalculate": "Paper Roll Weight Length Calculate",
"paperTapeWidthAngleCalculate": "Paper Tape Width Angle Calculate",
"paperTubeProductionCalculate": "Paper Tube Production Calculate",
"paperTubeWeightCalculate": "Paper Tube Weight Calculate",
"paperRollWeightLengthCalculate": "Paper Roll Weight Length",
"paperTapeWidthAngleCalculate": "Paper Tape Width & Angle",
"paperTubeProductionCalculate": "Paper Tube Production",
"paperTubeWeightCalculate": "Paper Tube Weight",
"parameters": "Parameters",
"productionAmount": "Production amount",
"reset": "Reset",
@ -70,5 +70,6 @@
"allRightsReserved": "All Rights Reserved",
"close": "Close",
"officialWebsite": "Official website",
"loading": "Loading"
"loading": "Loading",
"paperTapeWidth": "Paper tape width"
}

View File

@ -70,5 +70,6 @@
"allRightsReserved": "版权所有",
"close": "关闭",
"officialWebsite": "官方网站",
"loading": "加载中"
"loading": "加载中",
"paperTapeWidth": "纸带宽度"
}