@jjlmoya/utils-home 1.16.0 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/package.json +1 -1
  2. package/src/pages/[locale]/[slug].astro +28 -12
  3. package/src/tests/locale_completeness.test.ts +2 -20
  4. package/src/tests/shared-test-helpers.ts +56 -0
  5. package/src/tests/tool_exports.test.ts +34 -0
  6. package/src/tool/dewPointCalculator/bibliography.ts +10 -0
  7. package/src/tool/dewPointCalculator/i18n/de.ts +2 -12
  8. package/src/tool/dewPointCalculator/i18n/en.ts +2 -12
  9. package/src/tool/dewPointCalculator/i18n/es.ts +2 -12
  10. package/src/tool/dewPointCalculator/i18n/fr.ts +2 -12
  11. package/src/tool/dewPointCalculator/i18n/id.ts +2 -12
  12. package/src/tool/dewPointCalculator/i18n/it.ts +2 -12
  13. package/src/tool/dewPointCalculator/i18n/ja.ts +2 -12
  14. package/src/tool/dewPointCalculator/i18n/ko.ts +2 -12
  15. package/src/tool/dewPointCalculator/i18n/nl.ts +2 -12
  16. package/src/tool/dewPointCalculator/i18n/pl.ts +2 -12
  17. package/src/tool/dewPointCalculator/i18n/pt.ts +2 -12
  18. package/src/tool/dewPointCalculator/i18n/ru.ts +2 -12
  19. package/src/tool/dewPointCalculator/i18n/sv.ts +2 -12
  20. package/src/tool/dewPointCalculator/i18n/tr.ts +2 -12
  21. package/src/tool/dewPointCalculator/i18n/zh.ts +2 -12
  22. package/src/tool/dewPointCalculator/seo.astro +2 -1
  23. package/src/tool/heatingComparator/bibliography.ts +14 -0
  24. package/src/tool/heatingComparator/i18n/de.ts +2 -16
  25. package/src/tool/heatingComparator/i18n/en.ts +2 -12
  26. package/src/tool/heatingComparator/i18n/es.ts +2 -16
  27. package/src/tool/heatingComparator/i18n/fr.ts +2 -12
  28. package/src/tool/heatingComparator/i18n/id.ts +2 -16
  29. package/src/tool/heatingComparator/i18n/it.ts +2 -16
  30. package/src/tool/heatingComparator/i18n/ja.ts +296 -310
  31. package/src/tool/heatingComparator/i18n/ko.ts +296 -306
  32. package/src/tool/heatingComparator/i18n/nl.ts +2 -16
  33. package/src/tool/heatingComparator/i18n/pl.ts +2 -16
  34. package/src/tool/heatingComparator/i18n/pt.ts +2 -16
  35. package/src/tool/heatingComparator/i18n/ru.ts +2 -12
  36. package/src/tool/heatingComparator/i18n/sv.ts +2 -16
  37. package/src/tool/heatingComparator/i18n/tr.ts +2 -16
  38. package/src/tool/heatingComparator/i18n/zh.ts +296 -306
  39. package/src/tool/heatingComparator/seo.astro +3 -3
  40. package/src/tool/ledSavingCalculator/bibliography.ts +14 -0
  41. package/src/tool/ledSavingCalculator/i18n/de.ts +2 -12
  42. package/src/tool/ledSavingCalculator/i18n/en.ts +2 -16
  43. package/src/tool/ledSavingCalculator/i18n/es.ts +2 -16
  44. package/src/tool/ledSavingCalculator/i18n/fr.ts +2 -16
  45. package/src/tool/ledSavingCalculator/i18n/id.ts +2 -12
  46. package/src/tool/ledSavingCalculator/i18n/it.ts +2 -12
  47. package/src/tool/ledSavingCalculator/i18n/ja.ts +2 -12
  48. package/src/tool/ledSavingCalculator/i18n/ko.ts +2 -12
  49. package/src/tool/ledSavingCalculator/i18n/nl.ts +2 -12
  50. package/src/tool/ledSavingCalculator/i18n/pl.ts +2 -12
  51. package/src/tool/ledSavingCalculator/i18n/pt.ts +2 -12
  52. package/src/tool/ledSavingCalculator/i18n/ru.ts +2 -12
  53. package/src/tool/ledSavingCalculator/i18n/sv.ts +2 -12
  54. package/src/tool/ledSavingCalculator/i18n/tr.ts +2 -12
  55. package/src/tool/ledSavingCalculator/i18n/zh.ts +2 -12
  56. package/src/tool/ledSavingCalculator/seo.astro +2 -1
  57. package/src/tool/projectorCalculator/bibliography.ts +5 -0
  58. package/src/tool/projectorCalculator/i18n/de.ts +2 -6
  59. package/src/tool/projectorCalculator/i18n/en.ts +2 -7
  60. package/src/tool/projectorCalculator/i18n/es.ts +2 -7
  61. package/src/tool/projectorCalculator/i18n/fr.ts +2 -7
  62. package/src/tool/projectorCalculator/i18n/id.ts +2 -7
  63. package/src/tool/projectorCalculator/i18n/it.ts +2 -6
  64. package/src/tool/projectorCalculator/i18n/ja.ts +175 -179
  65. package/src/tool/projectorCalculator/i18n/ko.ts +175 -179
  66. package/src/tool/projectorCalculator/i18n/nl.ts +2 -6
  67. package/src/tool/projectorCalculator/i18n/pl.ts +2 -6
  68. package/src/tool/projectorCalculator/i18n/pt.ts +2 -6
  69. package/src/tool/projectorCalculator/i18n/ru.ts +2 -6
  70. package/src/tool/projectorCalculator/i18n/sv.ts +2 -6
  71. package/src/tool/projectorCalculator/i18n/tr.ts +2 -6
  72. package/src/tool/projectorCalculator/i18n/zh.ts +175 -179
  73. package/src/tool/projectorCalculator/seo.astro +2 -1
  74. package/src/tool/qrGenerator/bibliography.ts +14 -0
  75. package/src/tool/qrGenerator/i18n/de.ts +192 -202
  76. package/src/tool/qrGenerator/i18n/en.ts +2 -16
  77. package/src/tool/qrGenerator/i18n/es.ts +2 -16
  78. package/src/tool/qrGenerator/i18n/fr.ts +2 -16
  79. package/src/tool/qrGenerator/i18n/id.ts +146 -150
  80. package/src/tool/qrGenerator/i18n/it.ts +169 -173
  81. package/src/tool/qrGenerator/i18n/ja.ts +146 -150
  82. package/src/tool/qrGenerator/i18n/ko.ts +146 -150
  83. package/src/tool/qrGenerator/i18n/nl.ts +146 -150
  84. package/src/tool/qrGenerator/i18n/pl.ts +146 -150
  85. package/src/tool/qrGenerator/i18n/pt.ts +146 -150
  86. package/src/tool/qrGenerator/i18n/ru.ts +146 -150
  87. package/src/tool/qrGenerator/i18n/sv.ts +146 -150
  88. package/src/tool/qrGenerator/i18n/tr.ts +146 -150
  89. package/src/tool/qrGenerator/i18n/zh.ts +146 -150
  90. package/src/tool/qrGenerator/seo.astro +2 -1
  91. package/src/tool/solarCalculator/bibliography.ts +5 -0
  92. package/src/tool/solarCalculator/i18n/de.ts +141 -145
  93. package/src/tool/solarCalculator/i18n/en.ts +2 -7
  94. package/src/tool/solarCalculator/i18n/es.ts +2 -7
  95. package/src/tool/solarCalculator/i18n/fr.ts +2 -7
  96. package/src/tool/solarCalculator/i18n/id.ts +2 -6
  97. package/src/tool/solarCalculator/i18n/it.ts +2 -6
  98. package/src/tool/solarCalculator/i18n/ja.ts +121 -125
  99. package/src/tool/solarCalculator/i18n/ko.ts +116 -120
  100. package/src/tool/solarCalculator/i18n/nl.ts +2 -5
  101. package/src/tool/solarCalculator/i18n/pl.ts +2 -6
  102. package/src/tool/solarCalculator/i18n/pt.ts +2 -6
  103. package/src/tool/solarCalculator/i18n/ru.ts +2 -5
  104. package/src/tool/solarCalculator/i18n/sv.ts +2 -5
  105. package/src/tool/solarCalculator/i18n/tr.ts +2 -5
  106. package/src/tool/solarCalculator/i18n/zh.ts +116 -120
  107. package/src/tool/solarCalculator/seo.astro +2 -1
  108. package/src/tool/tariffComparator/bibliography.ts +7 -0
  109. package/src/tool/tariffComparator/i18n/de.ts +129 -132
  110. package/src/tool/tariffComparator/i18n/en.ts +2 -9
  111. package/src/tool/tariffComparator/i18n/es.ts +2 -9
  112. package/src/tool/tariffComparator/i18n/fr.ts +2 -9
  113. package/src/tool/tariffComparator/i18n/id.ts +2 -5
  114. package/src/tool/tariffComparator/i18n/it.ts +2 -5
  115. package/src/tool/tariffComparator/i18n/ja.ts +129 -132
  116. package/src/tool/tariffComparator/i18n/ko.ts +129 -132
  117. package/src/tool/tariffComparator/i18n/nl.ts +2 -5
  118. package/src/tool/tariffComparator/i18n/pl.ts +2 -5
  119. package/src/tool/tariffComparator/i18n/pt.ts +2 -5
  120. package/src/tool/tariffComparator/i18n/ru.ts +2 -5
  121. package/src/tool/tariffComparator/i18n/sv.ts +2 -5
  122. package/src/tool/tariffComparator/i18n/tr.ts +2 -5
  123. package/src/tool/tariffComparator/i18n/zh.ts +129 -132
  124. package/src/tool/tariffComparator/seo.astro +2 -1
  125. package/src/types.ts +0 -2
@@ -1,307 +1,297 @@
1
- import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
- import type { ToolLocaleContent } from '../../../types';
3
- import type { HeatingComparatorUI } from '../ui';
4
-
5
- const slug = 'heating-consumption-comparator';
6
- const title = '暖房方式对比:天然气 vs 空气源热泵 vs 空调';
7
- const description = '计算将燃气锅炉更换为空气源热泵或空调后的省钱金额。为您提供家庭能源消耗与效率的真实对比。';
8
-
9
- const faqData = [
10
- {
11
- question: '热泵和天然气哪个更便宜?',
12
- answer: '从每月运行成本来看,热泵明显比天然气便宜。得益于其 400% 的效率(COP 为 4),尽管每度电的价格高于燃气,但每提供 1 kWh 热量的成本通常比燃气低 30% 到 50%。',
13
- },
14
- {
15
- question: '空气源热泵和普通空调有什么区别?',
16
- answer: '从技术上讲,两者都是热泵。主要区别在于传递热量的媒介:空气源热泵通常是“空气对水”系统(加热暖气片或地暖中的水),而传统空调是“空气对空气”系统(通过内机直接加热空气)。',
17
- },
18
- {
19
- question: '旧暖气片住宅可以安装热泵吗?',
20
- answer: '可以。通过使用“高温”机型,可以在传统暖气片住宅中安装热泵。但是,为了实现最大程度的节能,结合地暖或低温暖气片是理想的选择。',
21
- },
22
- {
23
- question: '热泵系统需要多少年才能回本?',
24
- answer: '根据房屋消耗量和补贴政策,投资回收期通常在 5 到 8 年之间。如果结合太阳能光伏板,这个周期可以大幅缩短。',
25
- },
26
- ];
27
-
28
- const howToData = [
29
- {
30
- name: '房屋面积',
31
- text: '输入房屋的使用面积(平方米),以估算每年的热量需求。',
32
- },
33
- {
34
- name: '能源价格',
35
- text: '根据您最近的账单调整天然气和电力的单价,以获得更准确的结果。',
36
- },
37
- {
38
- name: '查看结果',
39
- text: '并排对比三种系统,找出在效率和年运行成本方面的获胜者。',
40
- },
41
- ];
42
-
43
- const faqSchema: WithContext<FAQPage> = {
44
- '@context': 'https://schema.org',
45
- '@type': 'FAQPage',
46
- mainEntity: faqData.map((item) => ({
47
- '@type': 'Question',
48
- name: item.question,
49
- acceptedAnswer: { '@type': 'Answer', text: item.answer },
50
- })),
51
- };
52
-
53
- const howToSchema: WithContext<HowTo> = {
54
- '@context': 'https://schema.org',
55
- '@type': 'HowTo',
56
- name: title,
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { HeatingComparatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
5
+
6
+ const slug = 'heating-consumption-comparator';
7
+ const title = '暖房方式对比:天然气 vs 空气源热泵 vs 空调';
8
+ const description = '计算将燃气锅炉更换为空气源热泵或空调后的省钱金额。为您提供家庭能源消耗与效率的真实对比。';
9
+
10
+ const faqData = [
11
+ {
12
+ question: '热泵和天然气哪个更便宜?',
13
+ answer: '从每月运行成本来看,热泵明显比天然气便宜。得益于其 400% 的效率(COP 为 4),尽管每度电的价格高于燃气,但每提供 1 kWh 热量的成本通常比燃气低 30% 到 50%。',
14
+ },
15
+ {
16
+ question: '空气源热泵和普通空调有什么区别?',
17
+ answer: '从技术上讲,两者都是热泵。主要区别在于传递热量的媒介:空气源热泵通常是“空气对水”系统(加热暖气片或地暖中的水),而传统空调是“空气对空气”系统(通过内机直接加热空气)。',
18
+ },
19
+ {
20
+ question: '旧暖气片住宅可以安装热泵吗?',
21
+ answer: '可以。通过使用“高温”机型,可以在传统暖气片住宅中安装热泵。但是,为了实现最大程度的节能,结合地暖或低温暖气片是理想的选择。',
22
+ },
23
+ {
24
+ question: '热泵系统需要多少年才能回本?',
25
+ answer: '根据房屋消耗量和补贴政策,投资回收期通常在 5 到 8 年之间。如果结合太阳能光伏板,这个周期可以大幅缩短。',
26
+ },
27
+ ];
28
+
29
+ const howToData = [
30
+ {
31
+ name: '房屋面积',
32
+ text: '输入房屋的使用面积(平方米),以估算每年的热量需求。',
33
+ },
34
+ {
35
+ name: '能源价格',
36
+ text: '根据您最近的账单调整天然气和电力的单价,以获得更准确的结果。',
37
+ },
38
+ {
39
+ name: '查看结果',
40
+ text: '并排对比三种系统,找出在效率和年运行成本方面的获胜者。',
41
+ },
42
+ ];
43
+
44
+ const faqSchema: WithContext<FAQPage> = {
45
+ '@context': 'https://schema.org',
46
+ '@type': 'FAQPage',
47
+ mainEntity: faqData.map((item) => ({
48
+ '@type': 'Question',
49
+ name: item.question,
50
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
51
+ })),
52
+ };
53
+
54
+ const howToSchema: WithContext<HowTo> = {
55
+ '@context': 'https://schema.org',
56
+ '@type': 'HowTo',
57
+ name: title,
58
+ description,
59
+ step: howToData.map((step) => ({
60
+ '@type': 'HowToStep',
61
+ name: step.name,
62
+ text: step.text,
63
+ })),
64
+ };
65
+
66
+ const appSchema: WithContext<SoftwareApplication> = {
67
+ '@context': 'https://schema.org',
68
+ '@type': 'SoftwareApplication',
69
+ name: title,
70
+ description,
71
+ applicationCategory: 'UtilityApplication',
72
+ operatingSystem: 'All',
73
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'CNY' },
74
+ inLanguage: 'zh',
75
+ };
76
+
77
+ export const content: ToolLocaleContent<HeatingComparatorUI> = {
78
+ slug,
79
+ title,
57
80
  description,
58
- step: howToData.map((step) => ({
59
- '@type': 'HowToStep',
60
- name: step.name,
61
- text: step.text,
62
- })),
63
- };
64
-
65
- const appSchema: WithContext<SoftwareApplication> = {
66
- '@context': 'https://schema.org',
67
- '@type': 'SoftwareApplication',
68
- name: title,
69
- description,
70
- applicationCategory: 'UtilityApplication',
71
- operatingSystem: 'All',
72
- offers: { '@type': 'Offer', price: '0', priceCurrency: 'CNY' },
73
- inLanguage: 'zh',
74
- };
75
-
76
- export const content: ToolLocaleContent<HeatingComparatorUI> = {
77
- slug,
78
- title,
79
- description,
80
- faqTitle: '常见问题',
81
- faq: faqData,
82
- bibliographyTitle: '参考资料与来源',
83
- bibliography: [
84
- {
85
- name: '国际能源署 (IEA):热泵的未来',
86
- url: 'https://www.iea.org/reports/the-future-of-heat-pumps',
87
- },
88
- {
89
- name: '能源效率指南',
90
- url: 'https://energysavingtrust.org.uk/advice/air-source-heat-pumps/',
91
- },
92
- ],
93
- howTo: howToData,
94
- schemas: [faqSchema, howToSchema, appSchema],
95
- seo: [
96
- {
97
- type: 'summary',
98
- title: '选择暖房系统的关键点',
99
- items: [
100
- '<strong>空气源热泵</strong>的效率比燃气锅炉高出 400%。',
101
- '良好的<strong>房屋保温</strong>比更换任何锅炉都更能降低账单。',
102
- '电力系统的<strong>回收成本</strong>周期大约为 6-8 年。',
103
- '结合<strong>太阳能板</strong>可实现近乎免费的供暖。',
104
- ],
105
- },
106
- {
107
- type: 'title',
108
- text: '能耗对比:天然气 vs 空气源热泵 vs 空调',
109
- level: 2,
110
- },
111
- {
112
- type: 'paragraph',
113
- html: '为您的家庭选择合适的供暖系统是一项重要的财务和舒适度决策。在能源价格波动和可持续发展备受关注的背景下,了解哪种系统最有效、每月能省多少钱至关重要。',
114
- },
115
- {
116
- type: 'paragraph',
117
- html: '历史上,天然气因其便利和价格一直是首选。然而,<strong>空气源热泵 (空气对水)</strong> 的出现和 <strong>空调 (空气对空气热泵)</strong> 技术的提升改变了游戏规则。我们的计算器帮助您基于真实数据实现年运行成本的可视化。',
118
- },
119
- {
120
- type: 'stats',
121
- items: [
122
- {
123
- label: '热泵效率',
124
- value: '400%',
125
- icon: 'mdi:lightning-bolt',
126
- trend: { value: '最佳', positive: true },
127
- },
128
- {
129
- label: '年均大概节省',
130
- value: 3,500',
131
- icon: 'mdi:piggy-bank',
132
- trend: { value: '预估', positive: true },
133
- },
134
- {
135
- label: '设备使用寿命',
136
- value: '20年',
137
- icon: 'mdi:calendar-check',
138
- trend: { value: '标准', positive: true },
139
- },
140
- ],
141
- columns: 3,
142
- },
143
- {
144
- type: 'title',
145
- text: '1. 天然气锅炉:传统标准',
146
- level: 3,
147
- },
148
- {
149
- type: 'paragraph',
150
- html: '天然气供暖使用锅炉燃烧燃料来加热水,水随后循环经过暖气片或地暖系统。',
151
- },
152
- {
153
- type: 'list',
154
- items: [
155
- '<strong>效率:</strong> 现代冷凝锅炉的效率接近 100%。',
156
- '<strong>优势:</strong> 安装广泛、升温快且均匀,单位热量成本通常具有竞争力。',
157
- '<strong>劣势:</strong> 依赖化石燃料、存在燃气月费及 CO2 排放。',
158
- ],
159
- },
160
- {
161
- type: 'title',
162
- text: '2. 空气源热泵:极致效率 (空气对水)',
163
- level: 3,
164
- },
165
- {
166
- type: 'paragraph',
167
- html: '热泵是一种从室外空气中提取热能(即使在零下温度)并将其转移到室内用于加热水或空气的技术。',
168
- },
169
- {
170
- type: 'list',
171
- items: [
172
- '<strong>效率 (COP):</strong> 热泵系统平均 COP 为 4。这意味着每消耗 1 kWh 的电力,可向房屋提供 4 kWh 的热量。',
173
- '<strong>优势:</strong> 结合太阳能则是完全的可持续能源,一套设备兼顾冷暖,运行成本市场最低。',
174
- '<strong>劣势:</strong> 初始投资高(尽管在 5-8 年内回本),且需要室外机安装空间。',
175
- ],
176
- },
177
- {
178
- type: 'tip',
179
- title: '省钱小贴士',
180
- html: '空气源热泵在结合地暖时表现最出色,因为水温只需加热到 35°C 左右,而传统暖气片需要 60-70°C。',
181
- },
182
- {
183
- type: 'proscons',
184
- title: '热泵 vs 天然气锅炉',
185
- proTitle: '为何选择热泵?',
186
- conTitle: '为何选择燃气?',
187
- items: [
188
- { pro: '无敌的效率 (COP 4+)', con: '安装成本更低' },
189
- { pro: '摆脱化石燃料', con: '大功率瞬时供热' },
190
- { pro: '兼顾制冷与采暖', con: '兼容旧款暖气片' },
191
- { pro: '结合太阳能的理想之选', con: '无需室外机组' },
192
- ],
193
- },
194
- {
195
- type: 'title',
196
- text: '3. 空调 (空气对空气热泵)',
197
- level: 3,
198
- },
199
- {
200
- type: 'paragraph',
201
- html: '即我们常说的“分体空调”。它使用与热泵相同的热力学循环,但直接加热空气而不是水。是温和气候地区或辅助供暖的常见方案。其效率 (SCOP) 通常在 3 到 3.5 之间。',
202
- },
203
- {
204
- type: 'title',
205
- text: '理解计算公式',
206
- level: 2,
207
- },
208
- {
209
- type: 'paragraph',
210
- html: '为了公平对比,我们将所有消耗转化为单位有效热量成本:',
211
- },
212
- {
213
- type: 'code',
214
- code: '年度成本 = (房屋热需求 / 系统效率) × 能源价格',
215
- ariaLabel: '年运行成本计算公式',
216
- },
217
- {
218
- type: 'paragraph',
219
- html: '其中:',
220
- },
221
- {
222
- type: 'list',
223
- items: [
224
- '<strong>热需求:</strong> 房屋每年需要的热量 (取决于保温和面积)。',
225
- '<strong>效率:</strong> 燃气为 0.95,热泵为 4.0,空调为 3.2。',
226
- '<strong>能源价格:</strong> 含税单价。',
227
- ],
228
- },
229
- {
230
- type: 'card',
231
- title: '真实案例:100m² 房屋',
232
- icon: 'mdi:home-analytics',
233
- html: '<p>假设一个房屋每年需要 7,000 kWh 的热量:</p><ul><li><strong>天然气:</strong> 约 ¥5,300/年</li><li><strong>热泵:</strong> 约 ¥2,800/年 (节省约 46%)</li><li><strong>空调:</strong> 约 ¥3,500/年</li></ul>',
234
- },
235
- {
236
- type: 'title',
237
- text: '保温的重要性',
238
- level: 3,
239
- },
240
- {
241
- type: 'paragraph',
242
- html: '如果房屋漏风,任何供暖系统都不会高效。在投入重金购买新系统前,请检查您的窗户和墙体保温。良好的保温可以将热需求减半。',
243
- },
244
- {
245
- type: 'title',
246
- text: '关于热泵的误区',
247
- level: 2,
248
- },
249
- {
250
- type: 'list',
251
- items: [
252
- '<strong>“严寒环境下不工作”:</strong> 错误。现代机组在 -15°C 甚至 -20°C 仍能保持良好运行。',
253
- '<strong>“会让空气干燥”:</strong> 仅限空调。地暖系统非常舒适。',
254
- '<strong>“电费太贵不划算”:</strong> 虽然电单价比燃气贵,但 400% 的效率完全抵消了单价差。',
255
- ],
256
- },
257
- {
258
- type: 'diagnostic',
259
- variant: 'info',
260
- title: '您知道吗?',
261
- icon: 'mdi:lightbulb-on',
262
- badge: '科普',
263
- html: '<p>COP 会随室外温度变化。严寒时效率会略降,但仍远高于任何电加热或燃气锅炉。</p>',
264
- },
265
- {
266
- type: 'title',
267
- text: '结论:未来是电能的时代',
268
- level: 2,
269
- },
270
- {
271
- type: 'paragraph',
272
- html: '欧洲及全球趋势很明确:家庭脱碳。天然气价格长期看涨。太阳能光伏与热泵的结合是目前最完美的家庭能源解决方案。',
273
- },
274
- ],
275
- ui: {
276
- titleVivienda: '1. 房屋数据',
277
- helperVivienda: '配置您的房屋特征',
278
- labelM2: '总面积',
279
- helperM2: '房屋的使用面积(平方米)。',
280
- labelAislamiento: '保温等级',
281
- helperAislamiento: '房屋的保温性能如何?',
282
- optExcelent: '优秀 (新房 / 被动房标准)',
283
- optMedium: '中等 (双层玻璃 / 标准保温)',
284
- optPoor: '较差 (旧房 / 无墙体保温)',
285
- titleCoste: '2. 能源成本',
286
- descCoste: '请查看您最近账单上的单价。',
287
- labelGasPrice: '燃气单价',
288
- helperGasPrice: '每立方米或每度燃气的价格。',
289
- labelElecPrice: '电力单价',
290
- helperElecPrice: '每度电的价格。',
291
- titleComparison: '3. 年度运行成本对比',
292
- descComparison: '基于各设备技术效率的估算值。',
293
- systemGas: '燃气锅炉',
294
- systemAero: '空气源热泵',
295
- systemAir: '空调/分体热泵',
296
- labelAnnualCost: '采暖支出',
297
- labelEfficiency: '能效',
298
- labelSource: '热源',
299
- labelEnergy: '能源类型',
300
- labelInstallation: '安装方式',
301
- valGasSource: '管道天然气',
302
- valAeroEnergy: '可再生能源 + 电能',
303
- valAirInstall: '空气对空气',
304
- winnerBadge: '效能冠军',
305
- unitCurrency: '¥',
306
- },
307
- };
81
+ faq: faqData,
82
+ bibliography,
83
+ howTo: howToData,
84
+ schemas: [faqSchema, howToSchema, appSchema],
85
+ seo: [
86
+ {
87
+ type: 'summary',
88
+ title: '选择暖房系统的关键点',
89
+ items: [
90
+ '<strong>空气源热泵</strong>的效率比燃气锅炉高出 400%。',
91
+ '良好的<strong>房屋保温</strong>比更换任何锅炉都更能降低账单。',
92
+ '电力系统的<strong>回收成本</strong>周期大约为 6-8 年。',
93
+ '结合<strong>太阳能板</strong>可实现近乎免费的供暖。',
94
+ ],
95
+ },
96
+ {
97
+ type: 'title',
98
+ text: '能耗对比:天然气 vs 空气源热泵 vs 空调',
99
+ level: 2,
100
+ },
101
+ {
102
+ type: 'paragraph',
103
+ html: '为您的家庭选择合适的供暖系统是一项重要的财务和舒适度决策。在能源价格波动和可持续发展备受关注的背景下,了解哪种系统最有效、每月能省多少钱至关重要。',
104
+ },
105
+ {
106
+ type: 'paragraph',
107
+ html: '历史上,天然气因其便利和价格一直是首选。然而,<strong>空气源热泵 (空气对水)</strong> 的出现和 <strong>空调 (空气对空气热泵)</strong> 技术的提升改变了游戏规则。我们的计算器帮助您基于真实数据实现年运行成本的可视化。',
108
+ },
109
+ {
110
+ type: 'stats',
111
+ items: [
112
+ {
113
+ label: '热泵效率',
114
+ value: '400%',
115
+ icon: 'mdi:lightning-bolt',
116
+ trend: { value: '最佳', positive: true },
117
+ },
118
+ {
119
+ label: '年均大概节省',
120
+ value: '¥3,500',
121
+ icon: 'mdi:piggy-bank',
122
+ trend: { value: '预估', positive: true },
123
+ },
124
+ {
125
+ label: '设备使用寿命',
126
+ value: '20年',
127
+ icon: 'mdi:calendar-check',
128
+ trend: { value: '标准', positive: true },
129
+ },
130
+ ],
131
+ columns: 3,
132
+ },
133
+ {
134
+ type: 'title',
135
+ text: '1. 天然气锅炉:传统标准',
136
+ level: 3,
137
+ },
138
+ {
139
+ type: 'paragraph',
140
+ html: '天然气供暖使用锅炉燃烧燃料来加热水,水随后循环经过暖气片或地暖系统。',
141
+ },
142
+ {
143
+ type: 'list',
144
+ items: [
145
+ '<strong>效率:</strong> 现代冷凝锅炉的效率接近 100%。',
146
+ '<strong>优势:</strong> 安装广泛、升温快且均匀,单位热量成本通常具有竞争力。',
147
+ '<strong>劣势:</strong> 依赖化石燃料、存在燃气月费及 CO2 排放。',
148
+ ],
149
+ },
150
+ {
151
+ type: 'title',
152
+ text: '2. 空气源热泵:极致效率 (空气对水)',
153
+ level: 3,
154
+ },
155
+ {
156
+ type: 'paragraph',
157
+ html: '热泵是一种从室外空气中提取热能(即使在零下温度)并将其转移到室内用于加热水或空气的技术。',
158
+ },
159
+ {
160
+ type: 'list',
161
+ items: [
162
+ '<strong>效率 (COP):</strong> 热泵系统平均 COP 为 4。这意味着每消耗 1 kWh 的电力,可向房屋提供 4 kWh 的热量。',
163
+ '<strong>优势:</strong> 结合太阳能则是完全的可持续能源,一套设备兼顾冷暖,运行成本市场最低。',
164
+ '<strong>劣势:</strong> 初始投资高(尽管在 5-8 年内回本),且需要室外机安装空间。',
165
+ ],
166
+ },
167
+ {
168
+ type: 'tip',
169
+ title: '省钱小贴士',
170
+ html: '空气源热泵在结合地暖时表现最出色,因为水温只需加热到 35°C 左右,而传统暖气片需要 60-70°C。',
171
+ },
172
+ {
173
+ type: 'proscons',
174
+ title: '热泵 vs 天然气锅炉',
175
+ proTitle: '为何选择热泵?',
176
+ conTitle: '为何选择燃气?',
177
+ items: [
178
+ { pro: '无敌的效率 (COP 4+)', con: '安装成本更低' },
179
+ { pro: '摆脱化石燃料', con: '大功率瞬时供热' },
180
+ { pro: '兼顾制冷与采暖', con: '兼容旧款暖气片' },
181
+ { pro: '结合太阳能的理想之选', con: '无需室外机组' },
182
+ ],
183
+ },
184
+ {
185
+ type: 'title',
186
+ text: '3. 空调 (空气对空气热泵)',
187
+ level: 3,
188
+ },
189
+ {
190
+ type: 'paragraph',
191
+ html: '即我们常说的“分体空调”。它使用与热泵相同的热力学循环,但直接加热空气而不是水。是温和气候地区或辅助供暖的常见方案。其效率 (SCOP) 通常在 3 到 3.5 之间。',
192
+ },
193
+ {
194
+ type: 'title',
195
+ text: '理解计算公式',
196
+ level: 2,
197
+ },
198
+ {
199
+ type: 'paragraph',
200
+ html: '为了公平对比,我们将所有消耗转化为单位有效热量成本:',
201
+ },
202
+ {
203
+ type: 'code',
204
+ code: '年度成本 = (房屋热需求 / 系统效率) × 能源价格',
205
+ ariaLabel: '年运行成本计算公式',
206
+ },
207
+ {
208
+ type: 'paragraph',
209
+ html: '其中:',
210
+ },
211
+ {
212
+ type: 'list',
213
+ items: [
214
+ '<strong>热需求:</strong> 房屋每年需要的热量 (取决于保温和面积)。',
215
+ '<strong>效率:</strong> 燃气为 0.95,热泵为 4.0,空调为 3.2。',
216
+ '<strong>能源价格:</strong> 含税单价。',
217
+ ],
218
+ },
219
+ {
220
+ type: 'card',
221
+ title: '真实案例:100m² 房屋',
222
+ icon: 'mdi:home-analytics',
223
+ html: '<p>假设一个房屋每年需要 7,000 kWh 的热量:</p><ul><li><strong>天然气:</strong> 约 ¥5,300/年</li><li><strong>热泵:</strong> 约 ¥2,800/年 (节省约 46%)</li><li><strong>空调:</strong> 约 ¥3,500/年</li></ul>',
224
+ },
225
+ {
226
+ type: 'title',
227
+ text: '保温的重要性',
228
+ level: 3,
229
+ },
230
+ {
231
+ type: 'paragraph',
232
+ html: '如果房屋漏风,任何供暖系统都不会高效。在投入重金购买新系统前,请检查您的窗户和墙体保温。良好的保温可以将热需求减半。',
233
+ },
234
+ {
235
+ type: 'title',
236
+ text: '关于热泵的误区',
237
+ level: 2,
238
+ },
239
+ {
240
+ type: 'list',
241
+ items: [
242
+ '<strong>“严寒环境下不工作”:</strong> 错误。现代机组在 -15°C 甚至 -20°C 仍能保持良好运行。',
243
+ '<strong>“会让空气干燥”:</strong> 仅限空调。地暖系统非常舒适。',
244
+ '<strong>“电费太贵不划算”:</strong> 虽然电单价比燃气贵,但 400% 的效率完全抵消了单价差。',
245
+ ],
246
+ },
247
+ {
248
+ type: 'diagnostic',
249
+ variant: 'info',
250
+ title: '您知道吗?',
251
+ icon: 'mdi:lightbulb-on',
252
+ badge: '科普',
253
+ html: '<p>COP 会随室外温度变化。严寒时效率会略降,但仍远高于任何电加热或燃气锅炉。</p>',
254
+ },
255
+ {
256
+ type: 'title',
257
+ text: '结论:未来是电能的时代',
258
+ level: 2,
259
+ },
260
+ {
261
+ type: 'paragraph',
262
+ html: '欧洲及全球趋势很明确:家庭脱碳。天然气价格长期看涨。太阳能光伏与热泵的结合是目前最完美的家庭能源解决方案。',
263
+ },
264
+ ],
265
+ ui: {
266
+ titleVivienda: '1. 房屋数据',
267
+ helperVivienda: '配置您的房屋特征',
268
+ labelM2: '总面积',
269
+ helperM2: '房屋的使用面积(平方米)。',
270
+ labelAislamiento: '保温等级',
271
+ helperAislamiento: '房屋的保温性能如何?',
272
+ optExcelent: '优秀 (新房 / 被动房标准)',
273
+ optMedium: '中等 (双层玻璃 / 标准保温)',
274
+ optPoor: '较差 (旧房 / 无墙体保温)',
275
+ titleCoste: '2. 能源成本',
276
+ descCoste: '请查看您最近账单上的单价。',
277
+ labelGasPrice: '燃气单价',
278
+ helperGasPrice: '每立方米或每度燃气的价格。',
279
+ labelElecPrice: '电力单价',
280
+ helperElecPrice: '每度电的价格。',
281
+ titleComparison: '3. 年度运行成本对比',
282
+ descComparison: '基于各设备技术效率的估算值。',
283
+ systemGas: '燃气锅炉',
284
+ systemAero: '空气源热泵',
285
+ systemAir: '空调/分体热泵',
286
+ labelAnnualCost: '采暖支出',
287
+ labelEfficiency: '能效',
288
+ labelSource: '热源',
289
+ labelEnergy: '能源类型',
290
+ labelInstallation: '安装方式',
291
+ valGasSource: '管道天然气',
292
+ valAeroEnergy: '可再生能源 + 电能',
293
+ valAirInstall: '空气对空气',
294
+ winnerBadge: '效能冠军',
295
+ unitCurrency: '¥',
296
+ },
297
+ };
@@ -1,5 +1,5 @@
1
1
  ---
2
- import { SEORenderer, FAQSection } from '@jjlmoya/utils-shared';
2
+ import { SEORenderer } from '@jjlmoya/utils-shared';
3
3
  import { heatingComparator } from './index';
4
4
  import type { KnownLocale } from '../../types';
5
5
 
@@ -11,5 +11,5 @@ const { locale = 'es' } = Astro.props;
11
11
  const content = await heatingComparator.i18n[locale]?.();
12
12
  if (!content) return null;
13
13
  ---
14
- <SEORenderer content={{ locale: locale as string, sections: content.seo }} />
15
- <FAQSection items={content.faq} />
14
+
15
+ {content.seo?.length > 0 && <SEORenderer content={{ locale, sections: content.seo }} />}
@@ -0,0 +1,14 @@
1
+ export const bibliography = [
2
+ {
3
+ name: 'Guía de Iluminación Eficiente — IDAE (España)',
4
+ url: 'https://www.idae.es/publicaciones/guia-tecnica-de-eficiencia-energetica-en-iluminacion-oficinas',
5
+ },
6
+ {
7
+ name: 'Etiquetado Energético de Lámparas — Unión Europea',
8
+ url: 'https://www.boe.es/buscar/doc.php?id=DOUE-L-2019-81875',
9
+ },
10
+ {
11
+ name: 'Calculadora de Consumo Eléctrico — OCU',
12
+ url: 'https://www.ocu.org/vivienda-y-energia/gas-luz/calculadora/consumo-stand-by',
13
+ },
14
+ ];