From 2cff5992291b45e63a8d3f7dbb436f09ec66fac3 Mon Sep 17 00:00:00 2001 From: R2m1liA <15258427350@163.com> Date: Tue, 25 Nov 2025 16:46:40 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat:=203=E5=B1=82=E7=BA=B8=E5=90=B8?= =?UTF-8?q?=E7=AE=A1=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components.d.ts | 2 + .../Modules/ThreeLayerPaperStrawCalculate.vue | 259 ++++++++++++++++++ src/config/navigation.ts | 4 + src/locale/zh.json | 27 ++ .../calculators/three-layer-paper-straw.vue | 13 + src/typed-router.d.ts | 1 + 6 files changed, 306 insertions(+) create mode 100644 src/components/Modules/ThreeLayerPaperStrawCalculate.vue create mode 100644 src/pages/calculators/three-layer-paper-straw.vue diff --git a/src/components.d.ts b/src/components.d.ts index 6d2be93..b3ed1d1 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -18,5 +18,7 @@ declare module 'vue' { ResultCard: typeof import('./components/ResultCard.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] + ThreeeLayerPaperStrawCalculate: typeof import('./components/Modules/threeeLayerPaperStrawCalculate.vue')['default'] + ThreeLayerPaperStrawCalculate: typeof import('./components/Modules/ThreeLayerPaperStrawCalculate.vue')['default'] } } diff --git a/src/components/Modules/ThreeLayerPaperStrawCalculate.vue b/src/components/Modules/ThreeLayerPaperStrawCalculate.vue new file mode 100644 index 0000000..7a6cf96 --- /dev/null +++ b/src/components/Modules/ThreeLayerPaperStrawCalculate.vue @@ -0,0 +1,259 @@ + + + diff --git a/src/config/navigation.ts b/src/config/navigation.ts index 0d4c494..8adcf1b 100644 --- a/src/config/navigation.ts +++ b/src/config/navigation.ts @@ -30,4 +30,8 @@ export const navigationConfig: NavigationItem[] = [ title: 'multiLayerPaperTapeWidthAngleCalculate', to: '/calculators/multi-layer-paper-tape-width-angle', }, + { + title: '3LayerPaperStrawCalculate', + to: '/calculators/three-layer-paper-straw', + }, ] diff --git a/src/locale/zh.json b/src/locale/zh.json index 35c73a6..a1a914d 100644 --- a/src/locale/zh.json +++ b/src/locale/zh.json @@ -13,6 +13,7 @@ "paperTapeWidthAngleCalculate": "纸带宽度角度计算", "paperTubeProductionCalculate": "纸管产能计算", "paperTubeWeightCalculate": "纸管重量计算", + "3LayerPaperStrawCalculate": "三层纸吸管计算", "parameters": "参数", "productionAmount": "生产数量", "reset": "重置", @@ -73,6 +74,32 @@ "officialWebsite": "官方网站", "loading": "加载中", "paperTapeWidth": "纸带宽度", + "presetSpecifications": "预设规格", + "bottomPaperThickness": "底层纸厚度", + "middlePaperThickness": "中层纸厚度", + "topPaperThickness": "顶层纸厚度", + "paperStrawResult": { + "paperTubeInnerDiameter": "纸管内径", + "paperTubeExternalDiameter": "纸管外径", + "paperTubeThickness": "纸管壁厚", + "bottomPaperAngle": "底层纸角度", + "leadingLength": "导程", + "bottomPaperWidth": "底层纸宽度", + "middlePaperWidth": "中层纸宽度", + "topPaperWidth": "顶层纸宽度", + "beltWidth": "皮带宽度" + }, + "presetSpecification": { + "inner_3_3_outer_4_0": "内径3.3mm,外径4.0mm", + "inner_3_8_outer_4_5": "内径3.8mm,外径4.5mm", + "inner_4_3_outer_5_0": "内径4.3mm,外径5.0mm", + "inner_5_3_outer_6_0": "内径5.3mm,外径6.0mm", + "inner_6_3_outer_7_0": "内径6.3mm,外径7.0mm", + "inner_7_3_outer_8_0": "内径7.3mm,外径8.0mm", + "inner_8_3_outer_9_0": "内径8.3mm,外径9.0mm", + "inner_9_3_outer_10_0": "内径9.3mm,外径10.0mm", + "inner_11_3_outer_12_0": "内径11.3mm,外径12.0mm" + }, "units": { "mm": "mm", "m": "m", diff --git a/src/pages/calculators/three-layer-paper-straw.vue b/src/pages/calculators/three-layer-paper-straw.vue new file mode 100644 index 0000000..56475e1 --- /dev/null +++ b/src/pages/calculators/three-layer-paper-straw.vue @@ -0,0 +1,13 @@ + + + + + + meta: + layout: CalculatorLayout + title: 3LayerPaperStraw + diff --git a/src/typed-router.d.ts b/src/typed-router.d.ts index 21247ae..c7ea123 100644 --- a/src/typed-router.d.ts +++ b/src/typed-router.d.ts @@ -25,5 +25,6 @@ declare module 'vue-router/auto-routes' { '/calculators/paper-tape-width-angle': RouteRecordInfo<'/calculators/paper-tape-width-angle', '/calculators/paper-tape-width-angle', Record, Record>, '/calculators/paper-tube-production': RouteRecordInfo<'/calculators/paper-tube-production', '/calculators/paper-tube-production', Record, Record>, '/calculators/paper-tube-weight': RouteRecordInfo<'/calculators/paper-tube-weight', '/calculators/paper-tube-weight', Record, Record>, + '/calculators/three-layer-paper-straw': RouteRecordInfo<'/calculators/three-layer-paper-straw', '/calculators/three-layer-paper-straw', Record, Record>, } } From b3266a438e11aeab77d4956fa16a91ccffe9b4c0 Mon Sep 17 00:00:00 2001 From: R2m1liA <15258427350@163.com> Date: Sat, 29 Nov 2025 16:24:27 +0800 Subject: [PATCH 2/3] =?UTF-8?q?feat:=204=E5=B1=82=E7=BA=B8=E5=90=B8?= =?UTF-8?q?=E7=AE=A1=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components.d.ts | 1 + .../Modules/FourLayerPaperStrawCalculate.vue | 273 ++++++++++++++++++ src/config/navigation.ts | 4 + src/locale/zh.json | 9 +- src/typed-router.d.ts | 1 + 5 files changed, 287 insertions(+), 1 deletion(-) create mode 100644 src/components/Modules/FourLayerPaperStrawCalculate.vue 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>, From ec333c105c76c4bde46956070e00d209ca01c0a0 Mon Sep 17 00:00:00 2001 From: R2m1liA <15258427350@163.com> Date: Sat, 29 Nov 2025 16:25:08 +0800 Subject: [PATCH 3/3] =?UTF-8?q?feat:=204=E5=B1=82=E7=BA=B8=E5=90=B8?= =?UTF-8?q?=E7=AE=A1=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/calculators/four-layer-paper-straw.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/pages/calculators/four-layer-paper-straw.vue diff --git a/src/pages/calculators/four-layer-paper-straw.vue b/src/pages/calculators/four-layer-paper-straw.vue new file mode 100644 index 0000000..80e64b6 --- /dev/null +++ b/src/pages/calculators/four-layer-paper-straw.vue @@ -0,0 +1,13 @@ + + + + + + meta: + layout: CalculatorLayout + title: 4LayerPaperStraw +