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-row>
<v-col cols="12"> <v-col cols="12">
<result-card <result-card
:label="`${$t('recommendBeltThickness')} (${result.recommendBeltThickness.unit})`" :label="`${$t('recommendBeltThickness')}`"
:value="result.recommendBeltThickness" :value="result.recommendBeltThickness"
/> />
</v-col> </v-col>
<v-col cols="12"> <v-col cols="12">
<result-card <result-card
:label="`${$t('recommendBeltWidth')} (${result.recommendBeltWidth.unit})`" :label="`${$t('recommendBeltWidth')}`"
:value="result.recommendBeltWidth" :value="result.recommendBeltWidth"
/> />
</v-col> </v-col>
<v-col cols="12"> <v-col cols="12">
<result-card <result-card
:label="`${$t('recommendBeltLength')} (${result.recommendBeltLength.unit})`" :label="`${$t('recommendBeltLength')}`"
:value="result.recommendBeltLength" :value="result.recommendBeltLength"
/> />
</v-col> </v-col>

View File

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

View File

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

View File

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

View File

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

View File

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