{"id":19748,"date":"2025-04-01T15:33:27","date_gmt":"2025-04-01T07:33:27","guid":{"rendered":"https:\/\/blog.iyatt.com\/?p=19748"},"modified":"2025-04-01T18:31:54","modified_gmt":"2025-04-01T10:31:54","slug":"%e6%91%84%e6%b0%8f%e5%ba%a6%e3%80%81%e5%8d%8e%e6%b0%8f%e5%ba%a6%e3%80%81%e7%83%ad%e5%8a%9b%e5%ad%a6%e6%b8%a9%e5%ba%a6%e4%ba%92%e8%bd%ac%e5%89%8d%e7%ab%af%e7%bd%91%e9%a1%b5%e5%ae%9e%e7%8e%b0","status":"publish","type":"post","link":"https:\/\/blog.iyatt.com\/?p=19748","title":{"rendered":"\u6444\u6c0f\u5ea6\u3001\u534e\u6c0f\u5ea6\u3001\u70ed\u529b\u5b66\u6e29\u5ea6\u4e92\u8f6c \u7f51\u9875\u5b9e\u73b0"},"content":{"rendered":"<p>\u4ee3\u7801\u662f\u76f4\u63a5\u7528 AI \u751f\u6210\u7684<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2025\/04\/image-1743491993046.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 808px; --smush-placeholder-aspect-ratio: 808\/271;\" \/><br \/>\n\u53ef\u4ee5\u5728\u7ebf\u8bbf\u95ee\uff1a<a href=\"https:\/\/iyatt.com\/tools\/temperature-converter\/\">https:\/\/iyatt.com\/tools\/temperature-converter\/<\/a><\/p>\n<p>\u4e5f\u53ef\u4ee5\u628a\u4e0b\u9762\u4ee3\u7801\u590d\u5236\u7c98\u7c98\u5230\u6587\u672c\u6587\u4ef6\uff0c\u7136\u540e\u628a\u6587\u4ef6\u540d\u547d\u540d\u4e3a index.html\uff0c\u76f4\u63a5\u53cc\u51fb\u7528\u6d4f\u89c8\u5668\u6253\u5f00\u5373\u53ef\u8fd0\u884c<\/p>\n<pre><code class=\"language-html\">&lt;!DOCTYPE html&gt;\n&lt;html lang=&quot;zh-CN&quot;&gt;\n&lt;head&gt;\n    &lt;meta charset=&quot;UTF-8&quot;&gt;\n    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;\n    &lt;title&gt;\u6e29\u5ea6\u8f6c\u6362\u5668&lt;\/title&gt;\n    &lt;style&gt;\n        body {\n            font-family: Arial, sans-serif;\n            margin: 20px;\n        }\n        .container {\n            max-width: 400px;\n            margin: 0 auto;\n            text-align: center;\n        }\n        input {\n            margin: 10px 0;\n            padding: 5px;\n            width: 80%;\n            font-size: 16px;\n        }\n    &lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n    &lt;div class=&quot;container&quot;&gt;\n        &lt;h1&gt;\u6e29\u5ea6\u8f6c\u6362\u5668&lt;\/h1&gt;\n        &lt;div&gt;\n            &lt;label for=&quot;celsius&quot;&gt;\u6444\u6c0f\u5ea6 (\u00b0C):&lt;\/label&gt;\n            &lt;input type=&quot;number&quot; id=&quot;celsius&quot; oninput=&quot;convertFromCelsius()&quot;&gt;\n        &lt;\/div&gt;\n        &lt;div&gt;\n            &lt;label for=&quot;fahrenheit&quot;&gt;\u534e\u6c0f\u5ea6 (\u00b0F):&lt;\/label&gt;\n            &lt;input type=&quot;number&quot; id=&quot;fahrenheit&quot; oninput=&quot;convertFromFahrenheit()&quot;&gt;\n        &lt;\/div&gt;\n        &lt;div&gt;\n            &lt;label for=&quot;kelvin&quot;&gt;\u70ed\u529b\u5b66\u6e29\u5ea6 (K):&lt;\/label&gt;\n            &lt;input type=&quot;number&quot; id=&quot;kelvin&quot; oninput=&quot;convertFromKelvin()&quot;&gt;\n        &lt;\/div&gt;\n    &lt;\/div&gt;\n\n    &lt;script&gt;\n        function convertFromCelsius() {\n            const celsius = parseFloat(document.getElementById(&#039;celsius&#039;).value);\n            if (isNaN(celsius)) {\n                document.getElementById(&#039;fahrenheit&#039;).value = &#039;&#039;;\n                document.getElementById(&#039;kelvin&#039;).value = &#039;&#039;;\n                return;\n            }\n            const fahrenheit = (celsius * 9 \/ 5) + 32;\n            const kelvin = celsius + 273.15;\n            document.getElementById(&#039;fahrenheit&#039;).value = fahrenheit.toFixed(2);\n            document.getElementById(&#039;kelvin&#039;).value = kelvin.toFixed(2);\n        }\n\n        function convertFromFahrenheit() {\n            const fahrenheit = parseFloat(document.getElementById(&#039;fahrenheit&#039;).value);\n            if (isNaN(fahrenheit)) {\n                document.getElementById(&#039;celsius&#039;).value = &#039;&#039;;\n                document.getElementById(&#039;kelvin&#039;).value = &#039;&#039;;\n                return;\n            }\n            const celsius = (fahrenheit - 32) * 5 \/ 9;\n            const kelvin = celsius + 273.15;\n            document.getElementById(&#039;celsius&#039;).value = celsius.toFixed(2);\n            document.getElementById(&#039;kelvin&#039;).value = kelvin.toFixed(2);\n        }\n\n        function convertFromKelvin() {\n            const kelvin = parseFloat(document.getElementById(&#039;kelvin&#039;).value);\n            if (isNaN(kelvin)) {\n                document.getElementById(&#039;celsius&#039;).value = &#039;&#039;;\n                document.getElementById(&#039;fahrenheit&#039;).value = &#039;&#039;;\n                return;\n            }\n            const celsius = kelvin - 273.15;\n            const fahrenheit = (celsius * 9 \/ 5) + 32;\n            document.getElementById(&#039;celsius&#039;).value = celsius.toFixed(2);\n            document.getElementById(&#039;fahrenheit&#039;).value = fahrenheit.toFixed(2);\n        }\n    &lt;\/script&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee3\u7801\u662f\u76f4\u63a5\u7528 AI \u751f\u6210\u7684 \u53ef\u4ee5\u5728\u7ebf\u8bbf\u95ee\uff1ahttps:\/\/iyatt.com\/tools\/temperatur [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[1,578,575,594],"tags":[],"class_list":["post-19748","post","type-post","status-publish","format-standard","hentry","category-all","category-578","category-575","category-594"],"modified_by":"IYATT-yx","_links":{"self":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/19748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=19748"}],"version-history":[{"count":2,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/19748\/revisions"}],"predecessor-version":[{"id":19752,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/19748\/revisions\/19752"}],"wp:attachment":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=19748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=19748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}