diff --git a/src/components.d.ts b/src/components.d.ts index b3ed1d1..e55f69c 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -9,6 +9,7 @@ export {} declare module 'vue' { export interface GlobalComponents { BeltSpecificationCalculate: typeof import('./components/Modules/BeltSpecificationCalculate.vue')['default'] + FourLayerPaperStrawCalculate: typeof import('./components/Modules/FourLayerPaperStrawCalculate.vue')['default'] MultiLayerPaperTapeWidthAngleCalculate: typeof import('./components/Modules/MultiLayerPaperTapeWidthAngleCalculate.vue')['default'] PaperRollWeightLengthCalculate: typeof import('./components/Modules/PaperRollWeightLengthCalculate.vue')['default'] PaperTapeWidthAngleCalculate: typeof import('./components/Modules/PaperTapeWidthAngleCalculate.vue')['default'] diff --git a/src/components/Modules/FourLayerPaperStrawCalculate.vue b/src/components/Modules/FourLayerPaperStrawCalculate.vue new file mode 100644 index 0000000..a5648af --- /dev/null +++ b/src/components/Modules/FourLayerPaperStrawCalculate.vue @@ -0,0 +1,273 @@ + + + diff --git a/src/config/navigation.ts b/src/config/navigation.ts index 8adcf1b..ee98c08 100644 --- a/src/config/navigation.ts +++ b/src/config/navigation.ts @@ -34,4 +34,8 @@ export const navigationConfig: NavigationItem[] = [ title: '3LayerPaperStrawCalculate', to: '/calculators/three-layer-paper-straw', }, + { + title: '4LayerPaperStrawCalculate', + to: '/calculators/four-layer-paper-straw', + }, ] diff --git a/src/locale/zh.json b/src/locale/zh.json index a1a914d..f7e917d 100644 --- a/src/locale/zh.json +++ b/src/locale/zh.json @@ -14,6 +14,7 @@ "paperTubeProductionCalculate": "纸管产能计算", "paperTubeWeightCalculate": "纸管重量计算", "3LayerPaperStrawCalculate": "三层纸吸管计算", + "4LayerPaperStrawCalculate": "四层纸吸管计算", "parameters": "参数", "productionAmount": "生产数量", "reset": "重置", @@ -77,6 +78,8 @@ "presetSpecifications": "预设规格", "bottomPaperThickness": "底层纸厚度", "middlePaperThickness": "中层纸厚度", + "secondLayerPaperThickness": "第二层纸厚度", + "thirdLayerPaperThickness": "第三层纸厚度", "topPaperThickness": "顶层纸厚度", "paperStrawResult": { "paperTubeInnerDiameter": "纸管内径", @@ -86,6 +89,8 @@ "leadingLength": "导程", "bottomPaperWidth": "底层纸宽度", "middlePaperWidth": "中层纸宽度", + "secondLayerPaperWidth": "第二层纸宽度", + "thirdLayerPaperWidth": "第三层纸宽度", "topPaperWidth": "顶层纸宽度", "beltWidth": "皮带宽度" }, @@ -116,5 +121,7 @@ "kg_per_day": "kg/d", "pcs_per_day": "pcs/d", "degree": "°" - } + }, + "calculationParameters": "计算参数", + "expandToShowCalculationParameters": "展开以显示计算参数" } diff --git a/src/typed-router.d.ts b/src/typed-router.d.ts index c7ea123..602fcbe 100644 --- a/src/typed-router.d.ts +++ b/src/typed-router.d.ts @@ -20,6 +20,7 @@ declare module 'vue-router/auto-routes' { export interface RouteNamedMap { '/': RouteRecordInfo<'/', '/', Record, Record>, '/calculators/belt-specification': RouteRecordInfo<'/calculators/belt-specification', '/calculators/belt-specification', Record, Record>, + '/calculators/four-layer-paper-straw': RouteRecordInfo<'/calculators/four-layer-paper-straw', '/calculators/four-layer-paper-straw', Record, Record>, '/calculators/multi-layer-paper-tape-width-angle': RouteRecordInfo<'/calculators/multi-layer-paper-tape-width-angle', '/calculators/multi-layer-paper-tape-width-angle', Record, Record>, '/calculators/paper-roll-weight-length': RouteRecordInfo<'/calculators/paper-roll-weight-length', '/calculators/paper-roll-weight-length', Record, Record>, '/calculators/paper-tape-width-angle': RouteRecordInfo<'/calculators/paper-tape-width-angle', '/calculators/paper-tape-width-angle', Record, Record>,