diff --git a/src/components.d.ts b/src/components.d.ts index 6d2be93..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'] @@ -18,5 +19,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/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/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..ee98c08 100644 --- a/src/config/navigation.ts +++ b/src/config/navigation.ts @@ -30,4 +30,12 @@ export const navigationConfig: NavigationItem[] = [ title: 'multiLayerPaperTapeWidthAngleCalculate', to: '/calculators/multi-layer-paper-tape-width-angle', }, + { + 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 35c73a6..f7e917d 100644 --- a/src/locale/zh.json +++ b/src/locale/zh.json @@ -13,6 +13,8 @@ "paperTapeWidthAngleCalculate": "纸带宽度角度计算", "paperTubeProductionCalculate": "纸管产能计算", "paperTubeWeightCalculate": "纸管重量计算", + "3LayerPaperStrawCalculate": "三层纸吸管计算", + "4LayerPaperStrawCalculate": "四层纸吸管计算", "parameters": "参数", "productionAmount": "生产数量", "reset": "重置", @@ -73,6 +75,36 @@ "officialWebsite": "官方网站", "loading": "加载中", "paperTapeWidth": "纸带宽度", + "presetSpecifications": "预设规格", + "bottomPaperThickness": "底层纸厚度", + "middlePaperThickness": "中层纸厚度", + "secondLayerPaperThickness": "第二层纸厚度", + "thirdLayerPaperThickness": "第三层纸厚度", + "topPaperThickness": "顶层纸厚度", + "paperStrawResult": { + "paperTubeInnerDiameter": "纸管内径", + "paperTubeExternalDiameter": "纸管外径", + "paperTubeThickness": "纸管壁厚", + "bottomPaperAngle": "底层纸角度", + "leadingLength": "导程", + "bottomPaperWidth": "底层纸宽度", + "middlePaperWidth": "中层纸宽度", + "secondLayerPaperWidth": "第二层纸宽度", + "thirdLayerPaperWidth": "第三层纸宽度", + "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", @@ -89,5 +121,7 @@ "kg_per_day": "kg/d", "pcs_per_day": "pcs/d", "degree": "°" - } + }, + "calculationParameters": "计算参数", + "expandToShowCalculationParameters": "展开以显示计算参数" } 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 + 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..602fcbe 100644 --- a/src/typed-router.d.ts +++ b/src/typed-router.d.ts @@ -20,10 +20,12 @@ 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>, '/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>, } }