{"id":214,"date":"2026-03-30T16:27:00","date_gmt":"2026-03-30T08:27:00","guid":{"rendered":"http:\/\/47.100.88.125\/?page_id=214"},"modified":"2026-04-08T13:53:40","modified_gmt":"2026-04-08T05:53:40","slug":"%e8%bf%9b%e5%88%b6%e4%ba%92%e8%bd%ac","status":"publish","type":"page","link":"https:\/\/www.05621997.xyz\/index.php\/tools\/%e8%bf%9b%e5%88%b6%e4%ba%92%e8%bd%ac\/","title":{"rendered":"\u8fdb\u5236\u4e92\u8f6c"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"214\" class=\"elementor elementor-214\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e7cba10 e-con-full e-flex e-con e-parent\" data-id=\"e7cba10\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b1f9f50 elementor-widget elementor-widget-heading\" data-id=\"b1f9f50\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u8fdb\u5236\u4e92\u8f6c<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-023adf2 e-con-full e-flex e-con e-parent\" data-id=\"023adf2\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b0d0a8c elementor-widget elementor-widget-html\" data-id=\"b0d0a8c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div class=\"radix-tool-container\">\r\n    <div class=\"radix-tool-group\">\r\n        <label class=\"radix-tool-label\">\u4e8c\u8fdb\u5236 (BIN)<\/label>\r\n        <input type=\"text\" class=\"radix-tool-input\" id=\"radix-bin\" placeholder=\"\u8bf7\u8f93\u5165\u4e8c\u8fdb\u5236\u6570\">\r\n    <\/div>\r\n    <div class=\"radix-tool-group\">\r\n        <label class=\"radix-tool-label\">\u5341\u8fdb\u5236 (DEC)<\/label>\r\n        <input type=\"text\" class=\"radix-tool-input\" id=\"radix-dec\" placeholder=\"\u8bf7\u8f93\u5165\u5341\u8fdb\u5236\u6570\">\r\n    <\/div>\r\n    <div class=\"radix-tool-group\">\r\n        <label class=\"radix-tool-label\">\u5341\u516d\u8fdb\u5236 (HEX)<\/label>\r\n        <input type=\"text\" class=\"radix-tool-input\" id=\"radix-hex\" placeholder=\"\u8bf7\u8f93\u5165\u5341\u516d\u8fdb\u5236\u6570\">\r\n    <\/div>\r\n    <button class=\"radix-tool-clear-btn\" id=\"radix-clear\">\u6e05\u7a7a\u6240\u6709\u5185\u5bb9<\/button>\r\n<\/div>\r\n<style>\r\n.radix-tool-container {\r\n    width: 100%;\r\n    max-width: 500px;\r\n    margin: 0 auto;\r\n    padding: 30px;\r\n    border: 1px solid #e8e8e8;\r\n    border-radius: 12px;\r\n    background: #ffffff;\r\n    box-sizing: border-box;\r\n}\r\n.radix-tool-group {\r\n    margin-bottom: 20px;\r\n}\r\n.radix-tool-label {\r\n    display: block;\r\n    margin-bottom: 8px;\r\n    font-size: 15px;\r\n    font-weight: 500;\r\n    color: #333;\r\n}\r\n.radix-tool-input {\r\n    width: 100%;\r\n    padding: 12px 15px;\r\n    border: 1px solid #ddd;\r\n    border-radius: 6px;\r\n    font-size: 16px;\r\n    outline: none;\r\n    transition: border 0.3s;\r\n    box-sizing: border-box;\r\n}\r\n.radix-tool-input:focus {\r\n    border-color: #3b82f6;\r\n}\r\n.radix-tool-clear-btn {\r\n    width: 100%;\r\n    padding: 12px;\r\n    background: #ef4444;\r\n    color: #fff;\r\n    border: none;\r\n    border-radius: 6px;\r\n    font-size: 15px;\r\n    cursor: pointer;\r\n    transition: background 0.3s;\r\n}\r\n.radix-tool-clear-btn:hover {\r\n    background: #dc2626;\r\n}\r\n<\/style>\r\n<script>\r\nconst radixBin = document.getElementById('radix-bin');\r\nconst radixDec = document.getElementById('radix-dec');\r\nconst radixHex = document.getElementById('radix-hex');\r\nconst radixClear = document.getElementById('radix-clear');\r\nradixBin.addEventListener('input', function () {\r\n    const val = this.value.trim();\r\n    if (\/^[01]+$\/.test(val) || val === '') {\r\n        const dec = parseInt(val || 0, 2);\r\n        radixDec.value = dec;\r\n        radixHex.value = dec.toString(16).toUpperCase();\r\n    }\r\n});\r\nradixDec.addEventListener('input', function () {\r\n    const val = this.value.trim();\r\n    if (\/^\\d+$\/.test(val) || val === '') {\r\n        const dec = parseInt(val || 0, 10);\r\n        radixBin.value = dec.toString(2);\r\n        radixHex.value = dec.toString(16).toUpperCase();\r\n    }\r\n});\r\nradixHex.addEventListener('input', function () {\r\n    const val = this.value.trim().toUpperCase();\r\n    if (\/^[0-9A-F]+$\/.test(val) || val === '') {\r\n        const dec = parseInt(val || 0, 16);\r\n        radixBin.value = dec.toString(2);\r\n        radixDec.value = dec;\r\n    }\r\n});\r\nradixClear.addEventListener('click', function () {\r\n    radixBin.value = '';\r\n    radixDec.value = '';\r\n    radixHex.value = '';\r\n});\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u8fdb\u5236\u4e92\u8f6c \u4e8c\u8fdb\u5236 (BIN) \u5341\u8fdb\u5236 (DEC) \u5341\u516d\u8fdb\u5236 (HEX) \u6e05\u7a7a\u6240\u6709\u5185\u5bb9<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":19,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-214","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.05621997.xyz\/index.php\/wp-json\/wp\/v2\/pages\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.05621997.xyz\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.05621997.xyz\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.05621997.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.05621997.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=214"}],"version-history":[{"count":10,"href":"https:\/\/www.05621997.xyz\/index.php\/wp-json\/wp\/v2\/pages\/214\/revisions"}],"predecessor-version":[{"id":639,"href":"https:\/\/www.05621997.xyz\/index.php\/wp-json\/wp\/v2\/pages\/214\/revisions\/639"}],"up":[{"embeddable":true,"href":"https:\/\/www.05621997.xyz\/index.php\/wp-json\/wp\/v2\/pages\/19"}],"wp:attachment":[{"href":"https:\/\/www.05621997.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}