Compare commits
11 Commits
22caff155b
...
i18n
| Author | SHA1 | Date | |
|---|---|---|---|
| 5c7e77587b | |||
| 21dbc31aa3 | |||
| 00b9ee6a78 | |||
| 38d10d7151 | |||
| 25d4dc7a7f | |||
| e9d254c4e7 | |||
| c85afc9bde | |||
| e1662be76b | |||
| fcbf728225 | |||
| 1733d2ae5b | |||
| cb743741d2 |
@ -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>
|
||||
@ -124,8 +124,8 @@
|
||||
t('50_120Series'),
|
||||
t('200_Series'),
|
||||
t('600_Series'),
|
||||
t('new_120Series'),
|
||||
t('new_200_Series'),
|
||||
t('PT23-120_Series'),
|
||||
t('PT23-200_Series'),
|
||||
t('custom'),
|
||||
])
|
||||
|
||||
@ -199,11 +199,11 @@
|
||||
maxWheelbase: 1675,
|
||||
hubDiameter: 320,
|
||||
},
|
||||
[t('new_120Series')]: {
|
||||
[t('PT23-120_Series')]: {
|
||||
maxWheelbase: 900,
|
||||
hubDiameter: 240,
|
||||
},
|
||||
[t('new_200_Series')]: {
|
||||
[t('PT23-200_Series')]: {
|
||||
maxWheelbase: 1100,
|
||||
hubDiameter: 268,
|
||||
},
|
||||
|
||||
@ -27,26 +27,26 @@
|
||||
<param-input-field
|
||||
v-model="paperCoreDiameter"
|
||||
:disabled="recordList.length > 0"
|
||||
:label="`${$t('paperCoreDiameter')} (${paperCoreDiameter.unit})`"
|
||||
:label="$t('paperCoreDiameter')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="bottomPaperWidth"
|
||||
:disabled="recordList.length > 0"
|
||||
:label="`${$t('bottomPaperWidth')} (${bottomPaperWidth.unit})`"
|
||||
:label="$t('bottomPaperWidth')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperGrammage"
|
||||
:label="`${$t('paperGrammage')} (${paperGrammage.unit})`"
|
||||
:label="$t('paperGrammage')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperDensity"
|
||||
:label="`${$t('paperDensity')} (${paperDensity.unit})`"
|
||||
:label="$t('paperDensity')"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@ -137,16 +137,16 @@
|
||||
<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.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>
|
||||
<td>{{ record.grammage.value }} {{ $t(`units.${record.grammage.unit}`) }}</td>
|
||||
<td>{{ record.cumulativeThickness.value.toFixed(2) }} {{ $t(`units.${record.cumulativeThickness.unit}`) }}</td>
|
||||
<td>{{ record.angle.value.toFixed(2) }} {{ $t(`units.${record.angle.unit}`) }}</td>
|
||||
<td>{{ record.paperWidth.value.toFixed(2) }} {{ $t(`units.${record.paperWidth.unit}`) }}</td>
|
||||
</tr>
|
||||
</transition-group>
|
||||
</v-table>
|
||||
@ -176,8 +176,8 @@
|
||||
|
||||
const paperCoreDiameter = ref<Param>(createParam(76.2, 'mm'))
|
||||
const bottomPaperWidth = ref<Param>(createParam(100, 'mm'))
|
||||
const paperGrammage = ref<Param>(createParam(420, 'g/m²'))
|
||||
const paperDensity = ref<Param>(createParam(0.76, 'g/cm³'))
|
||||
const paperGrammage = ref<Param>(createParam(420, 'g_per_m2'))
|
||||
const paperDensity = ref<Param>(createParam(0.76, 'g_per_cm3'))
|
||||
|
||||
const recordList = ref<LayerRecord[]>([])
|
||||
|
||||
@ -195,7 +195,7 @@
|
||||
layer: recordList.value.length + 1,
|
||||
grammage: paperGrammage.value,
|
||||
cumulativeThickness: createParam(paperTotalThickness + paperRollWallThickness, 'mm'),
|
||||
angle: createParam(beltAngle, '°'),
|
||||
angle: createParam(beltAngle, 'degree'),
|
||||
paperWidth: createParam(paperWidth, 'mm'),
|
||||
}
|
||||
})
|
||||
@ -338,13 +338,13 @@
|
||||
// 添加Results表头列名
|
||||
worksheet.getCell('A8').value = t('layer')
|
||||
worksheet.getCell('A8').style = parameterStyle
|
||||
worksheet.getCell('B8').value = t('paperGrammage') + ` (${recordList.value[0].grammage.unit})`
|
||||
worksheet.getCell('B8').value = t('paperGrammage') + ` (${t(`units.${recordList.value[0].grammage.unit}`)})`
|
||||
worksheet.getCell('B8').style = parameterStyle
|
||||
worksheet.getCell('C8').value = t('cumulativeThickness') + ` (${recordList.value[0].cumulativeThickness.unit})`
|
||||
worksheet.getCell('C8').value = t('cumulativeThickness') + ` (${t(`units.${recordList.value[0].cumulativeThickness.unit}`)})`
|
||||
worksheet.getCell('C8').style = parameterStyle
|
||||
worksheet.getCell('D8').value = t('angle') + ` (${recordList.value[0].angle.unit})`
|
||||
worksheet.getCell('D8').value = t('angle') + ` (${t(`units.${recordList.value[0].angle.unit}`)})`
|
||||
worksheet.getCell('D8').style = parameterStyle
|
||||
worksheet.getCell('E8').value = t('paperWidth') + ` (${recordList.value[0].paperWidth.unit})`
|
||||
worksheet.getCell('E8').value = t('paperWidth') + ` (${t(`units.${recordList.value[0].paperWidth.unit}`)})`
|
||||
worksheet.getCell('E8').style = parameterStyle
|
||||
|
||||
// 添加Results数据
|
||||
@ -420,7 +420,7 @@
|
||||
worksheet.mergeCells('F5:H6')
|
||||
|
||||
// 自动调整列宽
|
||||
for (const [index, column] of worksheet.columns.entries()) {
|
||||
for (const [_index, column] of worksheet.columns.entries()) {
|
||||
let maxLength = 0
|
||||
|
||||
if (column && typeof column.eachCell === 'function') {
|
||||
|
||||
@ -28,31 +28,31 @@
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperCoreDiameter"
|
||||
:label="`${$t('paperCoreDiameter')} (${paperCoreDiameter.unit})`"
|
||||
:label="$t('paperCoreDiameter')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperRollExternalDiameter"
|
||||
:label="`${$t('paperRollExternalDiameter')} (${paperRollExternalDiameter.unit})`"
|
||||
:label="$t('paperRollExternalDiameter')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperRollWidth"
|
||||
:label="`${$t('paperRollWidth')} (${paperRollWidth.unit})`"
|
||||
:label="$t('paperRollWidth')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperDensity"
|
||||
:label="`${$t('paperDensity')} (${paperDensity.unit})`"
|
||||
:label="$t('paperDensity')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperGrammage"
|
||||
:label="`${$t('paperGrammage')} (${paperGrammage.unit})`"
|
||||
:label="$t('paperGrammage')"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@ -126,8 +126,8 @@
|
||||
const paperCoreDiameter = ref<Param>(createParam(76.2, 'mm'))
|
||||
const paperRollExternalDiameter = ref<Param>(createParam(200, 'mm'))
|
||||
const paperRollWidth = ref<Param>(createParam(100, 'mm'))
|
||||
const paperDensity = ref<Param>(createParam(0.76, 'g/cm³'))
|
||||
const paperGrammage = ref<Param>(createParam(420, 'g/m²'))
|
||||
const paperDensity = ref<Param>(createParam(0.76, 'g_per_cm3'))
|
||||
const paperGrammage = ref<Param>(createParam(420, 'g_per_m2'))
|
||||
|
||||
const result = computed(() => {
|
||||
const paperRollExternalRadius = paperRollExternalDiameter.value.value / 2
|
||||
@ -147,8 +147,8 @@
|
||||
paperCoreDiameter.value = createParam(76.2, 'mm')
|
||||
paperRollExternalDiameter.value = createParam(200, 'mm')
|
||||
paperRollWidth.value = createParam(100, 'mm')
|
||||
paperDensity.value = createParam(0.76, 'g/cm³')
|
||||
paperGrammage.value = createParam(420, 'g/m²')
|
||||
paperDensity.value = createParam(0.76, 'g_per_cm3')
|
||||
paperGrammage.value = createParam(420, 'g_per_m2')
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@ -26,19 +26,19 @@
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperCoreDiameter"
|
||||
:label="`${$t('paperCoreDiameter')} (${paperCoreDiameter.unit})`"
|
||||
:label="$t('paperCoreDiameter')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperRollWallThickness"
|
||||
:label="`${$t('paperRollWallThickness')} (${paperRollWallThickness.unit})`"
|
||||
:label="$t('paperRollWallThickness')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="innerPaperWidth"
|
||||
:label="`${$t('innerPaperWidth')} (${innerPaperWidth.unit})`"
|
||||
:label="$t('innerPaperWidth')"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@ -106,8 +106,8 @@
|
||||
const paperWidth = leadingLength * Math.sin(Math.atan(paperRollExternalDiameter * Math.PI / leadingLength))
|
||||
|
||||
return {
|
||||
beltAngle: createParam(beltAngle, '°'),
|
||||
paperHolderAngle: createParam(paperHolderAngle, '°'),
|
||||
beltAngle: createParam(beltAngle, 'degree'),
|
||||
paperHolderAngle: createParam(paperHolderAngle, 'degree'),
|
||||
leadingLength: createParam(leadingLength, 'mm'),
|
||||
paperWidth: createParam(paperWidth, 'mm'),
|
||||
}
|
||||
|
||||
@ -26,49 +26,49 @@
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperCoreDiameter"
|
||||
:label="`${$t('paperCoreDiameter')}(${paperCoreDiameter.unit})`"
|
||||
:label="$t('paperCoreDiameter')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperRollWallThickness"
|
||||
:label="`${$t('paperRollWallThickness')}(${paperRollWallThickness.unit})`"
|
||||
:label="$t('paperRollWallThickness')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperRollLength"
|
||||
:label="`${$t('paperRollLength')}(${paperRollLength.unit})`"
|
||||
:label="$t('paperRollLength')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperDensity"
|
||||
:label="`${$t('paperDensity')}(${paperDensity.unit})`"
|
||||
:label="$t('paperDensity')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="innerPaperWidth"
|
||||
:label="`${$t('innerPaperWidth')}(${innerPaperWidth.unit})`"
|
||||
:label="$t('innerPaperWidth')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="workFrequency"
|
||||
:label="`${$t('workFrequency')}(${workFrequency.unit})`"
|
||||
:label="$t('workFrequency')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="workTime"
|
||||
:label="`${$t('workTime')}(${workTime.unit})`"
|
||||
:label="$t('workTime')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="workEfficiency"
|
||||
:label="`${$t('workEfficiency')}(${workEfficiency.unit})`"
|
||||
:label="$t('workEfficiency')"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@ -162,11 +162,11 @@
|
||||
const paperCoreDiameter = ref<Param>(createParam(76.2, 'mm'))
|
||||
const paperRollWallThickness = ref<Param>(createParam(10, 'mm'))
|
||||
const paperRollLength = ref<Param>(createParam(1000, 'mm'))
|
||||
const paperDensity = ref<Param>(createParam(0.76, 'g/cm³'))
|
||||
const paperDensity = ref<Param>(createParam(0.76, 'g_per_cm3'))
|
||||
const innerPaperWidth = ref<Param>(createParam(105, 'mm'))
|
||||
const workFrequency = ref<Param>(createParam(30, 'Hz'))
|
||||
const workTime = ref<Param>(createParam(8, 'h'))
|
||||
const workEfficiency = ref<Param>(createParam(85, '%'))
|
||||
const workFrequency = ref<Param>(createParam(30, 'hz'))
|
||||
const workTime = ref<Param>(createParam(8, 'hour'))
|
||||
const workEfficiency = ref<Param>(createParam(85, 'percent'))
|
||||
|
||||
const result = computed(() => {
|
||||
const paperRollExternalDiameter = paperCoreDiameter.value.value + 2 * paperRollWallThickness.value.value
|
||||
@ -181,12 +181,12 @@
|
||||
const productionWeightPerDay = productionWeightPerHour * workTime.value.value
|
||||
|
||||
return {
|
||||
feedPaperSpeed: createParam(feedPaperSpeed, 'm/min'),
|
||||
outputSpeed: createParam(outputSpeed, 'm/min'),
|
||||
productionAmountPerHour: createParam(productionAmountPerHour, '支/h'),
|
||||
productionWeightPerHour: createParam(productionWeightPerHour, 'kg/h'),
|
||||
productionAmountPerDay: createParam(productionAmountPerDay, '支'),
|
||||
productionWeightPerDay: createParam(productionWeightPerDay, 'kg'),
|
||||
feedPaperSpeed: createParam(feedPaperSpeed, 'm_per_min'),
|
||||
outputSpeed: createParam(outputSpeed, 'm_per_min'),
|
||||
productionAmountPerHour: createParam(productionAmountPerHour, 'pcs_per_hour'),
|
||||
productionWeightPerHour: createParam(productionWeightPerHour, 'kg_per_hour'),
|
||||
productionAmountPerDay: createParam(productionAmountPerDay, 'pcs_per_day'),
|
||||
productionWeightPerDay: createParam(productionWeightPerDay, 'kg_per_day'),
|
||||
}
|
||||
})
|
||||
|
||||
@ -194,11 +194,11 @@
|
||||
paperCoreDiameter.value = createParam(76.2, 'mm')
|
||||
paperRollWallThickness.value = createParam(10, 'mm')
|
||||
paperRollLength.value = createParam(1000, 'mm')
|
||||
paperDensity.value = createParam(0.76, 'g/cm³')
|
||||
paperDensity.value = createParam(0.76, 'g_per_cm3')
|
||||
innerPaperWidth.value = createParam(105, 'mm')
|
||||
workFrequency.value = createParam(30, 'Hz')
|
||||
workTime.value = createParam(8, 'h')
|
||||
workEfficiency.value = createParam(85, '%')
|
||||
workFrequency.value = createParam(30, 'hz')
|
||||
workTime.value = createParam(8, 'hour')
|
||||
workEfficiency.value = createParam(85, 'percent')
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
@ -26,31 +26,31 @@
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperRollLength"
|
||||
:label="`${$t('paperRollLength')}(${paperRollLength.unit})`"
|
||||
:label="$t('paperRollLength')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperDensity"
|
||||
:label="`${$t('paperDensity')}(${paperDensity.unit})`"
|
||||
:label="$t('paperDensity')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="productionAmount"
|
||||
:label="`${$t('productionAmount')}(${productionAmount.unit})`"
|
||||
:label="$t('productionAmount')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperCoreDiameter"
|
||||
:label="`${$t('paperCoreDiameter')}(${paperCoreDiameter.unit})`"
|
||||
:label="$t('paperCoreDiameter')"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<param-input-field
|
||||
v-model="paperRollWallThickness"
|
||||
:label="`${$t('paperRollWallThickness')}(${paperRollWallThickness.unit})`"
|
||||
:label="$t('paperRollWallThickness')"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@ -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>
|
||||
@ -118,8 +118,8 @@
|
||||
import { createParam, type Param } from '@/types/param'
|
||||
|
||||
const paperRollLength = ref<Param>(createParam(1000, 'mm'))
|
||||
const paperDensity = ref<Param>(createParam(0.76, 'g/cm³'))
|
||||
const productionAmount = ref<Param>(createParam(1000, '支'))
|
||||
const paperDensity = ref<Param>(createParam(0.76, 'g_per_cm3'))
|
||||
const productionAmount = ref<Param>(createParam(1000, 'pcs'))
|
||||
const paperCoreDiameter = ref<Param>(createParam(76.2, 'mm'))
|
||||
const paperRollWallThickness = ref<Param>(createParam(10, 'mm'))
|
||||
|
||||
@ -138,8 +138,8 @@
|
||||
|
||||
const resetParameters = () => {
|
||||
paperRollLength.value = createParam(1000, 'mm')
|
||||
paperDensity.value = createParam(0.76, 'g/cm³')
|
||||
productionAmount.value = createParam(1000, '支')
|
||||
paperDensity.value = createParam(0.76, 'gpcm3')
|
||||
productionAmount.value = createParam(1000, 'pcs')
|
||||
paperCoreDiameter.value = createParam(76.2, 'mm')
|
||||
paperRollWallThickness.value = createParam(10, 'mm')
|
||||
}
|
||||
|
||||
@ -3,9 +3,10 @@
|
||||
density="compact"
|
||||
:disabled="disabled"
|
||||
hide-details
|
||||
:label="label"
|
||||
hide-spin-buttons
|
||||
:label="label + ' (' + $t(`units.${modelValue.unit}`) + ')'"
|
||||
:model-value="modelValue.value.toString()"
|
||||
:suffix="modelValue.unit"
|
||||
:suffix="$t(`units.${modelValue.unit}`)"
|
||||
type="number"
|
||||
variant="outlined"
|
||||
@update:model-value="handleUpdate"
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
size="large"
|
||||
variant="outlined"
|
||||
>
|
||||
{{ value.value.toFixed(2) }} {{ value.unit }}
|
||||
{{ value.value.toFixed(2) }} {{ $t(`units.${value.unit}`) }}
|
||||
</v-chip>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
|
||||
@ -17,7 +17,76 @@
|
||||
|
||||
<v-spacer />
|
||||
|
||||
<v-btn icon="mdi-translate" @click="toggleLanguage" />
|
||||
<v-menu
|
||||
v-model="languageMenu"
|
||||
:close-on-content-click="true"
|
||||
location="bottom end"
|
||||
offset="8"
|
||||
>
|
||||
<template #activator="{ props }">
|
||||
<v-btn
|
||||
v-bind="props"
|
||||
:icon="$vuetify.display.xs"
|
||||
:prepend-icon="$vuetify.display.xs ? undefined : 'mdi-translate'"
|
||||
:size="$vuetify.display.xs ? 'default' : 'large'"
|
||||
variant="text"
|
||||
>
|
||||
<v-icon v-if="$vuetify.display.xs">mdi-translate</v-icon>
|
||||
<span v-else class="text-button">{{ currentLanguage.label }}</span>
|
||||
</v-btn>
|
||||
</template>
|
||||
|
||||
<!-- <v-list
|
||||
class="language-menu"
|
||||
density="compact"
|
||||
min-width="160"
|
||||
>
|
||||
<v-list-item
|
||||
v-for="lang in availableLanguages"
|
||||
:key="lang.code"
|
||||
:activate="locale === lang.code"
|
||||
:title="lang.label"
|
||||
@click="changeLanguage(lang.code)"
|
||||
>
|
||||
<template #append>
|
||||
<v-icon
|
||||
v-if="locale === lang.code"
|
||||
class="text-primary"
|
||||
icon="mdi-check"
|
||||
/>
|
||||
</template>
|
||||
</v-list-item>
|
||||
</v-list> -->
|
||||
<div class="language-pill-container">
|
||||
<v-chip-group
|
||||
v-model="selectedLanguageIndex"
|
||||
direction="vertical"
|
||||
selected-class="text-primary"
|
||||
@update:model-value="handleLanguageChange"
|
||||
>
|
||||
<v-chip
|
||||
v-for="(lang, index) in availableLanguages"
|
||||
:key="lang.code"
|
||||
class="language-pill-large"
|
||||
:color="locale === lang.code ? 'primary' : undefined"
|
||||
label
|
||||
rounded="xl"
|
||||
size="large"
|
||||
:value="index"
|
||||
:variant="locale === lang.code ? 'flat' : 'outlined'"
|
||||
>
|
||||
<v-icon
|
||||
v-if="locale === lang.code"
|
||||
class="mr-2"
|
||||
icon="mdi-check"
|
||||
size="small"
|
||||
/>
|
||||
{{ lang.label }}
|
||||
</v-chip>
|
||||
</v-chip-group>
|
||||
</div>
|
||||
|
||||
</v-menu>
|
||||
</v-app-bar>
|
||||
|
||||
<v-navigation-drawer
|
||||
@ -166,6 +235,7 @@
|
||||
const windowWidth = ref(typeof window === 'undefined' ? 1200 : window.innerWidth)
|
||||
|
||||
const showAboutDialog = ref(false)
|
||||
const languageMenu = ref(false)
|
||||
|
||||
// 应用信息
|
||||
const appInfo = computed(() => {
|
||||
@ -254,8 +324,36 @@
|
||||
})
|
||||
})
|
||||
|
||||
function toggleLanguage () {
|
||||
locale.value = locale.value === 'zh' ? 'en' : 'zh'
|
||||
const availableLanguages = [
|
||||
{
|
||||
code: 'zh',
|
||||
label: '中文(简体)',
|
||||
},
|
||||
{
|
||||
code: 'en',
|
||||
label: 'English',
|
||||
},
|
||||
{
|
||||
code: 'ru',
|
||||
label: 'Русский(Experimental)',
|
||||
},
|
||||
{
|
||||
code: 'sp',
|
||||
label: 'Español(Experimental)',
|
||||
},
|
||||
]
|
||||
const currentLanguage = computed(() => {
|
||||
return availableLanguages.find(lang => lang.code === locale.value) || availableLanguages[0]
|
||||
})
|
||||
|
||||
const selectedLanguageIndex = computed(() => {
|
||||
return availableLanguages.findIndex(lang => lang.code === locale.value)
|
||||
})
|
||||
|
||||
function handleLanguageChange (index: number) {
|
||||
if (index !== undefined && index >= 0 && index < availableLanguages.length) {
|
||||
locale.value = availableLanguages[index].code
|
||||
}
|
||||
}
|
||||
|
||||
function handleSelect (_index: number) {
|
||||
@ -270,3 +368,210 @@
|
||||
document.title = pageTitle.value
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
/* AppBar响应式样式 */
|
||||
@media (max-width: 599px) {
|
||||
.v-app-bar-title {
|
||||
font-size: 0.875rem !important;
|
||||
line-height: 1.2 !important;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: calc(100vw - 120px); /* 为导航按钮和语言按钮留出空间 */
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 600px) and (max-width: 959px) {
|
||||
.v-app-bar-title {
|
||||
font-size: 1rem !important;
|
||||
line-height: 1.3 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* 导航抽屉响应式样式 */
|
||||
@media (max-width: 599px) {
|
||||
.v-list-item-title {
|
||||
font-size: 0.75rem !important;
|
||||
line-height: 1.2 !important;
|
||||
}
|
||||
|
||||
.v-list-item-subtitle {
|
||||
font-size: 0.625rem !important;
|
||||
line-height: 1.2 !important;
|
||||
}
|
||||
|
||||
.v-list-item {
|
||||
min-height: 36px !important;
|
||||
}
|
||||
|
||||
/* 确保文本不会溢出 */
|
||||
.v-list-item-title,
|
||||
.v-list-item-subtitle {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 600px) and (max-width: 959px) {
|
||||
.v-list-item-title {
|
||||
font-size: 0.875rem !important;
|
||||
}
|
||||
|
||||
.v-list-item-subtitle {
|
||||
font-size: 0.75rem !important;
|
||||
}
|
||||
|
||||
.v-app-bar-title {
|
||||
font-size: 1rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* 关于对话框响应式样式 */
|
||||
@media (max-width: 599px) {
|
||||
.v-dialog .v-card-title {
|
||||
font-size: 1rem !important;
|
||||
}
|
||||
|
||||
.v-dialog .v-card-text {
|
||||
font-size: 0.875rem !important;
|
||||
}
|
||||
|
||||
.v-dialog .text-caption {
|
||||
font-size: 0.75rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* 移动设备上的特殊处理 */
|
||||
@media (max-width: 599px) {
|
||||
.v-list-item.pa-4 {
|
||||
padding: 12px 16px !important;
|
||||
}
|
||||
|
||||
.v-list-item.ma-1 {
|
||||
margin: 2px 4px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* 无背景的语言选择器容器 */
|
||||
.language-pill-container {
|
||||
padding: 8px;
|
||||
min-width: 180px;
|
||||
max-width: 320px;
|
||||
}
|
||||
|
||||
/* 大尺寸语言药丸样式 */
|
||||
.language-pill-large {
|
||||
margin: 4px 0;
|
||||
padding: 12px 20px;
|
||||
height: 48px;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
transition: all 0.3s ease;
|
||||
border-radius: 24px;
|
||||
width: 100%;
|
||||
|
||||
/* 文本居中 */
|
||||
display: flex !important;
|
||||
justify-content: center !important;
|
||||
align-items: center !important;
|
||||
}
|
||||
|
||||
.language-pill-large:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
/* chip内容居中对齐 */
|
||||
.language-pill-large .v-chip__content {
|
||||
display: flex !important;
|
||||
justify-content: center !important;
|
||||
align-items: center !important;
|
||||
width: 100% !important;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* 响应式药丸样式 */
|
||||
@media (max-width: 599px) {
|
||||
.language-pill-container {
|
||||
min-width: 160px;
|
||||
max-width: 280px;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.language-pill-large {
|
||||
margin: 2px 0;
|
||||
padding: 8px 16px;
|
||||
height: 40px;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.text-button {
|
||||
font-size: 0.75rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 600px) and (max-width: 959px) {
|
||||
.language-pill-large {
|
||||
padding: 10px 18px;
|
||||
height: 44px;
|
||||
font-size: 0.9375rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* 药丸选中状态 */
|
||||
.v-chip--variant-flat {
|
||||
background: rgb(var(--v-theme-primary)) !important;
|
||||
color: rgb(var(--v-theme-surface)) !important;
|
||||
box-shadow: 0 2px 8px rgba(var(--v-theme-primary), 0.1);
|
||||
}
|
||||
|
||||
/* 药丸未选中状态 */
|
||||
.v-chip--variant-outlined {
|
||||
border: 1px solid rgba(var(--v-theme-info), 0.3);
|
||||
color: rgb(var(--v-theme-info));
|
||||
background: rgba(var(--v-theme-surface), 1);
|
||||
}
|
||||
|
||||
.v-chip--variant-outlined:hover {
|
||||
background: rgba(var(--v-theme-info), 0.08);
|
||||
border-color: rgba(var(--v-theme-info), 0.5);
|
||||
}
|
||||
|
||||
/* 选中状态的图标 */
|
||||
.language-pill-large .v-icon {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* 字体权重调整 */
|
||||
.language-pill-large .v-chip__content {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.language-pill {
|
||||
margin: 2px 4px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.language-pill:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
/* 响应式药丸样式 */
|
||||
@media (max-width: 599px) {
|
||||
.language-pill-menu {
|
||||
min-width: 160px;
|
||||
max-width: 250px;
|
||||
}
|
||||
|
||||
.language-pill {
|
||||
margin: 1px 2px;
|
||||
}
|
||||
|
||||
.text-button {
|
||||
font-size: 0.75rem !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -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",
|
||||
@ -42,7 +42,8 @@
|
||||
"50_120Series": "50, 120 series",
|
||||
"200_Series": "200 series",
|
||||
"600_Series": "600 series",
|
||||
"new_200_Series": "New 200 series",
|
||||
"PT23-120_Series": "PT23-120 series",
|
||||
"PT23-200_Series": "PT23-200 series",
|
||||
"custom": "Customize",
|
||||
"recommendBeltLength": "Recommended belt length",
|
||||
"recommendBeltWidth": "Recommended bandwidth",
|
||||
@ -54,7 +55,6 @@
|
||||
"add": "Add",
|
||||
"layer": "Layer",
|
||||
"angle": "Angle",
|
||||
"new_120Series": "New 120 Series",
|
||||
"cumulativeThickness": "Cumulative thickness",
|
||||
"reference": "Reference",
|
||||
"minimum": "Minimum",
|
||||
@ -70,5 +70,23 @@
|
||||
"allRightsReserved": "All Rights Reserved",
|
||||
"close": "Close",
|
||||
"officialWebsite": "Official website",
|
||||
"loading": "Loading"
|
||||
"loading": "Loading",
|
||||
"paperTapeWidth": "Paper tape width",
|
||||
"units": {
|
||||
"mm": "mm",
|
||||
"m": "m",
|
||||
"g_per_cm3": "g/cm³",
|
||||
"pcs": "pcs",
|
||||
"kg": "kg",
|
||||
"g_per_m2": "g/m²",
|
||||
"hz": "Hz",
|
||||
"hour": "h",
|
||||
"percent": "%",
|
||||
"m_per_min": "m/min",
|
||||
"kg_per_hour": "kg/h",
|
||||
"pcs_per_hour": "pcs/h",
|
||||
"kg_per_day": "kg/d",
|
||||
"pcs_per_day": "pcs/d",
|
||||
"degree": "°"
|
||||
}
|
||||
}
|
||||
|
||||
94
src/locale/ru.json
Normal file
94
src/locale/ru.json
Normal file
@ -0,0 +1,94 @@
|
||||
{
|
||||
"appTitle": "Калькулятор производства бумажных трубок",
|
||||
"beltSpecificationCalculate": "Спецификация ремня",
|
||||
"multiLayerPaperTapeWidthAngleCalculate": "Ширина и угол многослойной бумажной ленты",
|
||||
"paperCoreDiameter": "Диаметр бумажного сердечника",
|
||||
"paperDensity": "Плотность бумаги",
|
||||
"paperGrammage": "Граммаж",
|
||||
"paperRollExternalDiameter": "Внешний диаметр бумажного рулона",
|
||||
"paperRollLength": "Длина бумажного рулона",
|
||||
"paperRollWallThickness": "Толщина стенки бумажного рулона",
|
||||
"paperRollWeightLengthCalculate": "Вес и длина бумажного рулона",
|
||||
"paperTapeWidthAngleCalculate": "Ширина и угол бумажной ленты",
|
||||
"paperTubeProductionCalculate": "Производство бумажных трубок",
|
||||
"paperTubeWeightCalculate": "Вес бумажной трубки",
|
||||
"parameters": "Параметры",
|
||||
"productionAmount": "Количество производства",
|
||||
"reset": "Сброс",
|
||||
"results": "Результаты",
|
||||
"singlePaperTubeWeight": "Вес одной бумажной трубки",
|
||||
"totalPaperTubeWeight": "Общий вес бумажных трубок",
|
||||
"paperRollWidth": "Ширина бумажного рулона",
|
||||
"paperThickness": "Толщина бумаги",
|
||||
"paperRollWeight": "Вес бумажного рулона",
|
||||
"paperLength": "Длина бумажного рулона",
|
||||
"innerPaperWidth": "Ширина внутренней бумаги",
|
||||
"workFrequency": "Рабочая частота",
|
||||
"workTime": "Рабочее время",
|
||||
"workEfficiency": "Эффективность работы",
|
||||
"feedPaperSpeed": "Скорость подачи",
|
||||
"outputSpeed": "Скорость выхода",
|
||||
"productionAmountPerDay": "Дневная выработка",
|
||||
"productionAmountPerHour": "Часовая выработка",
|
||||
"productionWeightPerDay": "Дневная выработка по весу",
|
||||
"productionWeightPerHour": "Часовая выработка по весу",
|
||||
"beltAngle": "Угол ремня",
|
||||
"paperHolderAngle": "Угол держателя бумаги",
|
||||
"leadingLength": "Ведущая длина",
|
||||
"paperWidth": "Ширина бумаги",
|
||||
"machineModel": "Модель",
|
||||
"maxWheelbase": "Максимальная колесная база",
|
||||
"hubDiameter": "Диаметр ступицы",
|
||||
"50_120Series": "50, 120 серии",
|
||||
"200_Series": "200 серия",
|
||||
"600_Series": "600 серия",
|
||||
"PT23-120_Series": "PT23-120 серия",
|
||||
"PT23-200_Series": "PT23-200 серия",
|
||||
"custom": "Настроить",
|
||||
"recommendBeltLength": "Рекомендуемая длина ремня",
|
||||
"recommendBeltWidth": "Рекомендуемая ширина ремня",
|
||||
"recommendBeltThickness": "Рекомендуемая толщина ремня",
|
||||
"bottomPaperWidth": "Ширина нижней бумаги",
|
||||
"save": "Сохранить",
|
||||
"clear": "Очистить",
|
||||
"remove": "Удалить",
|
||||
"add": "Добавить",
|
||||
"layer": "Слой",
|
||||
"angle": "Угол",
|
||||
"cumulativeThickness": "Накопительная толщина",
|
||||
"reference": "Справочная информация",
|
||||
"minimum": "Минимум",
|
||||
"maximum": "Максимум",
|
||||
"calculatedValue": "Расчетное значение",
|
||||
"fit": "ПОДХОДИТ",
|
||||
"notFit": "НЕ ПОДХОДИТ",
|
||||
"multiLayerExcelOutputFile": "МногослойнаяШиринаУголБумажнойЛенты",
|
||||
"about": "О программе",
|
||||
"calculator": "Калькулятор",
|
||||
"companyName": "Чжэцзян Цзиньшэнь Машиностроительная компания с ограниченной ответственностью",
|
||||
"appDescription": "Вспомогательный инструмент для производства бумажных трубок, обеспечивающий расчет различных параметров: веса, размеров, углов и т.д.",
|
||||
"allRightsReserved": "Все права защищены",
|
||||
"close": "Закрыть",
|
||||
"officialWebsite": "Официальный сайт",
|
||||
"loading": "Загрузка",
|
||||
"paperTapeWidth": "Ширина бумажной ленты",
|
||||
"selectLanguage": "Выберите язык",
|
||||
"units": {
|
||||
"mm": "мм",
|
||||
"m": "м",
|
||||
"g_per_cm3": "г/см³",
|
||||
"pcs": "шт.",
|
||||
"kg": "кг",
|
||||
"g_per_m2": "г/м²",
|
||||
"hz": "Гц",
|
||||
"hour": "ч",
|
||||
"percent": "%",
|
||||
"m_per_min": "м/мин",
|
||||
"kg_per_hour": "кг/ч",
|
||||
"pcs_per_hour": "шт./ч",
|
||||
"kg_per_day": "кг/д",
|
||||
"pcs_per_day": "шт./д",
|
||||
"degree": "°"
|
||||
}
|
||||
|
||||
}
|
||||
93
src/locale/sp.json
Normal file
93
src/locale/sp.json
Normal file
@ -0,0 +1,93 @@
|
||||
{
|
||||
"appTitle": "Calculadora de Producción de Tubos de Papel",
|
||||
"beltSpecificationCalculate": "Especificación de Correa",
|
||||
"multiLayerPaperTapeWidthAngleCalculate": "Ancho y Ángulo de Cinta de Papel Multicapa",
|
||||
"paperCoreDiameter": "Diámetro del núcleo de papel",
|
||||
"paperDensity": "Densidad del papel",
|
||||
"paperGrammage": "Gramaje",
|
||||
"paperRollExternalDiameter": "Diámetro externo del rollo de papel",
|
||||
"paperRollLength": "Longitud del rollo de papel",
|
||||
"paperRollWallThickness": "Grosor de pared del rollo de papel",
|
||||
"paperRollWeightLengthCalculate": "Peso y Longitud del Rollo de Papel",
|
||||
"paperTapeWidthAngleCalculate": "Ancho y Ángulo de Cinta de Papel",
|
||||
"paperTubeProductionCalculate": "Producción de Tubos de Papel",
|
||||
"paperTubeWeightCalculate": "Peso del Tubo de Papel",
|
||||
"parameters": "Parámetros",
|
||||
"productionAmount": "Cantidad de producción",
|
||||
"reset": "Restablecer",
|
||||
"results": "Resultados",
|
||||
"singlePaperTubeWeight": "Peso de un solo tubo de papel",
|
||||
"totalPaperTubeWeight": "Peso total de tubos de papel",
|
||||
"paperRollWidth": "Ancho del rollo de papel",
|
||||
"paperThickness": "Grosor del papel",
|
||||
"paperRollWeight": "Peso del rollo de papel",
|
||||
"paperLength": "Longitud del rollo de papel",
|
||||
"innerPaperWidth": "Ancho del papel interior",
|
||||
"workFrequency": "Frecuencia de trabajo",
|
||||
"workTime": "Tiempo de trabajo",
|
||||
"workEfficiency": "Eficiencia del trabajo",
|
||||
"feedPaperSpeed": "Velocidad de alimentación",
|
||||
"outputSpeed": "Velocidad de salida",
|
||||
"productionAmountPerDay": "Producción diaria",
|
||||
"productionAmountPerHour": "Producción por hora",
|
||||
"productionWeightPerDay": "Peso de producción diaria",
|
||||
"productionWeightPerHour": "Peso de producción por hora",
|
||||
"beltAngle": "Ángulo de la correa",
|
||||
"paperHolderAngle": "Ángulo del soporte de papel",
|
||||
"leadingLength": "Longitud de avance",
|
||||
"paperWidth": "Ancho del papel",
|
||||
"machineModel": "Modelo de máquina",
|
||||
"maxWheelbase": "Distancia entre ejes máxima",
|
||||
"hubDiameter": "Diámetro del cubo",
|
||||
"50_120Series": "Series 50, 120",
|
||||
"200_Series": "Serie 200",
|
||||
"600_Series": "Serie 600",
|
||||
"PT23-120_Series": "Serie PT23-120",
|
||||
"PT23-200_Series": "Serie PT23-200",
|
||||
"custom": "Personalizar",
|
||||
"recommendBeltLength": "Longitud de correa recomendada",
|
||||
"recommendBeltWidth": "Ancho de correa recomendado",
|
||||
"recommendBeltThickness": "Grosor de correa recomendado",
|
||||
"bottomPaperWidth": "Ancho del papel inferior",
|
||||
"save": "Guardar",
|
||||
"clear": "Limpiar",
|
||||
"remove": "Eliminar",
|
||||
"add": "Agregar",
|
||||
"layer": "Capa",
|
||||
"angle": "Ángulo",
|
||||
"cumulativeThickness": "Grosor acumulativo",
|
||||
"reference": "Referencia",
|
||||
"minimum": "Mínimo",
|
||||
"maximum": "Máximo",
|
||||
"calculatedValue": "Valor calculado",
|
||||
"fit": "AJUSTA",
|
||||
"notFit": "NO AJUSTA",
|
||||
"multiLayerExcelOutputFile": "AnchoAnguloTintaPapelMulticapa",
|
||||
"about": "Acerca de",
|
||||
"calculator": "Calculadora",
|
||||
"companyName": "Zhejiang Jinshen Machinery Manufacturing Co., Ltd.",
|
||||
"appDescription": "Herramienta auxiliar de producción de tubos de papel que proporciona cálculo de varios parámetros como peso, tamaño, ángulo, etc.",
|
||||
"allRightsReserved": "Todos los derechos reservados",
|
||||
"close": "Cerrar",
|
||||
"officialWebsite": "Sitio web oficial",
|
||||
"loading": "Cargando",
|
||||
"paperTapeWidth": "Ancho de cinta de papel",
|
||||
"selectLanguage": "Seleccionar idioma",
|
||||
"units": {
|
||||
"mm": "mm",
|
||||
"m": "m",
|
||||
"g_per_cm3": "g/cm³",
|
||||
"pcs": "uds.",
|
||||
"kg": "kg",
|
||||
"g_per_m2": "g/m²",
|
||||
"hz": "Hz",
|
||||
"hour": "h",
|
||||
"percent": "%",
|
||||
"m_per_min": "m/min",
|
||||
"kg_per_hour": "kg/h",
|
||||
"pcs_per_hour": "uds./h",
|
||||
"kg_per_day": "kg/d",
|
||||
"pcs_per_day": "uds./d",
|
||||
"degree": "°"
|
||||
}
|
||||
}
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"appTitle": "纸管制作辅助生产工具",
|
||||
"appTitle": "纸管生产辅助计算工具",
|
||||
"beltSpecificationCalculate": "皮带规格计算",
|
||||
"multiLayerPaperTapeWidthAngleCalculate": "多层纸带宽度角度计算",
|
||||
"paperCoreDiameter": "纸芯内径",
|
||||
@ -42,7 +42,8 @@
|
||||
"50_120Series": "50、120系列",
|
||||
"200_Series": "200系列",
|
||||
"600_Series": "600系列",
|
||||
"new_200_Series": "新200系列",
|
||||
"PT23-120_Series": "PT23-120系列",
|
||||
"PT23-200_Series": "PT23-200系列",
|
||||
"custom": "自定义",
|
||||
"recommendBeltThickness": "推荐皮带厚度",
|
||||
"recommendBeltWidth": "推荐皮带宽度",
|
||||
@ -54,7 +55,6 @@
|
||||
"add": "新增",
|
||||
"layer": "层数",
|
||||
"angle": "角度",
|
||||
"new_120Series": "新120系列",
|
||||
"cumulativeThickness": "累计厚度",
|
||||
"reference": "参考区间",
|
||||
"minimum": "最小值",
|
||||
@ -66,9 +66,27 @@
|
||||
"about": "关于",
|
||||
"calculator": "计算工具",
|
||||
"companyName": "浙江金申机械制造有限公司",
|
||||
"appDescription": "纸管制作辅助生产工具,提供纸管重量、尺寸、角度等多种参数的计算。",
|
||||
"appDescription": "纸管生产辅助计算工具,提供纸管重量、尺寸、角度等多种参数的计算。",
|
||||
"allRightsReserved": "版权所有",
|
||||
"close": "关闭",
|
||||
"officialWebsite": "官方网站",
|
||||
"loading": "加载中"
|
||||
"loading": "加载中",
|
||||
"paperTapeWidth": "纸带宽度",
|
||||
"units": {
|
||||
"mm": "mm",
|
||||
"m": "m",
|
||||
"g_per_cm3": "g/cm³",
|
||||
"pcs": "支",
|
||||
"kg": "kg",
|
||||
"g_per_m2": "g/m²",
|
||||
"hz": "Hz",
|
||||
"hour": "小时",
|
||||
"percent": "%",
|
||||
"m_per_min": "m/min",
|
||||
"kg_per_hour": "kg/h",
|
||||
"pcs_per_hour": "pcs/h",
|
||||
"kg_per_day": "kg/d",
|
||||
"pcs_per_day": "pcs/d",
|
||||
"degree": "°"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
import { createI18n } from 'vue-i18n'
|
||||
import en from '@/locale/en.json'
|
||||
import ru from '@/locale/ru.json'
|
||||
import sp from '@/locale/sp.json'
|
||||
import zh from '@/locale/zh.json'
|
||||
|
||||
export default createI18n({
|
||||
@ -9,5 +11,7 @@ export default createI18n({
|
||||
messages: {
|
||||
zh,
|
||||
en,
|
||||
ru,
|
||||
sp,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user