{"id":27720,"date":"2024-11-24T13:56:22","date_gmt":"2024-11-24T05:56:22","guid":{"rendered":"https:\/\/fwq.ai\/blog\/27720\/"},"modified":"2024-11-24T13:56:22","modified_gmt":"2024-11-24T05:56:22","slug":"%e5%a6%82%e4%bd%95%e8%a7%a3%e5%86%b3%e7%9b%92%e5%ad%90%e9%87%8c%e7%9a%84%e7%bb%9d%e5%af%b9%e5%ae%9a%e4%bd%8d%e5%85%83%e7%b4%a0%e5%9c%a8%e4%b8%8d%e5%90%8c%e5%88%86%e8%be%a8%e7%8e%87%e4%b8%8b%e5%8f%91","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/27720\/","title":{"rendered":"\u5982\u4f55\u89e3\u51b3\u76d2\u5b50\u91cc\u7684\u7edd\u5bf9\u5b9a\u4f4d\u5143\u7d20\u5728\u4e0d\u540c\u5206\u8fa8\u7387\u4e0b\u53d1\u751f\u50cf\u7d20\u504f\u79fb\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173130843627606.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u89e3\u51b3\u76d2\u5b50\u91cc\u7684\u7edd\u5bf9\u5b9a\u4f4d\u5143\u7d20\u5728\u4e0d\u540c\u5206\u8fa8\u7387\u4e0b\u53d1\u751f\u50cf\u7d20\u504f\u79fb\uff1f\u63d2\u56fe\" alt=\"\u5982\u4f55\u89e3\u51b3\u76d2\u5b50\u91cc\u7684\u7edd\u5bf9\u5b9a\u4f4d\u5143\u7d20\u5728\u4e0d\u540c\u5206\u8fa8\u7387\u4e0b\u53d1\u751f\u50cf\u7d20\u504f\u79fb\uff1f\u63d2\u56fe\" \/><\/p>\n<\/p>\n<h2>\u76d2\u5b50\u91cc\u7684\u5143\u7d20\u53d1\u751f\u9884\u671f\u5916\u7684\u50cf\u7d20\u504f\u79fb\uff1f<\/h2>\n<p>\u5728\u81ea\u5b9a\u4e49\u8f93\u5165\u6846\u9009\u62e9\u6846\u6837\u5f0f\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u8fd9\u6837\u7684\u95ee\u9898\uff1a\u5728\u4e0d\u540c\u7684\u5206\u8fa8\u7387\u4e0b\uff0c\u4ee3\u7801\u8bbe\u7f6e\u5c45\u4e2d\u7684\u9009\u62e9\u6846\u5c0f\u5143\u7d20\u5728\u4e0d\u540c\u7684\u5206\u8fa8\u7387\u4e0b\u4ecd\u4e0d\u5c45\u4e2d\u3002<\/p>\n<\/p>\n<h3>\u95ee\u9898\u539f\u56e0<\/h3>\n<p>\u9020\u6210\u6b64\u95ee\u9898\u7684\u5173\u952e\u5728\u4e8e\u50cf\u7d20\u5355\u4f4d (px) \u5728\u4e0d\u540c\u5206\u8fa8\u7387\u4e0b\u53ef\u80fd\u4ea7\u751f\u79fb\u4f4d\u3002<\/p>\n<\/p>\n<h3>\u89e3\u51b3\u65b9\u6cd5<\/h3>\n<p>\u4e3a\u4e86\u89e3\u51b3\u6b64\u95ee\u9898\uff0c\u8bf7\u5c06\u6240\u6709\u50cf\u7d20\u5355\u4f4d\u66ff\u6362\u4e3a\u76f8\u5bf9\u5355\u4f4d\uff0c\u4f8b\u5982\uff1a<\/p>\n<ul>\n<li>\u5c06\u5bbd\u5ea6\u548c\u9ad8\u5ea6\u7684\u201c15px\u201d\u66ff\u6362\u4e3a\u201c1rem\u201d<\/li>\n<li>\u5c06\u8fb9\u6846\u7684\u201c1px\u201d\u66ff\u6362\u4e3a\u201c0.1rem\u201d<\/li>\n<li>\u5c06\u5c0f\u5143\u7d20\u7684\u5927\u5c0f\uff08\u201c10px\u201d\uff09\u66ff\u6362\u4e3a\u201c0.6rem\u201d<\/li>\n<li>\u5c06\u5c0f\u5143\u7d20\u7684\u8fb9\u8ddd\uff08\u201c-5px\u201d\uff09\u66ff\u6362\u4e3a\u201c-0.3rem\u201d<\/li>\n<\/ul>\n<h3>\u4fee\u6539\u540e\u7684\u4ee3\u7801<\/h3>\n<p>\u4fee\u6539\u540e\u7684\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre>&lt;style&gt;\n  .clause-content {\n    display: flex;\n    flex-direction: row;\n    align-items: start;\n  }\n\n  .clause-input {\n    display: inline-block;\n    vertical-align: middle;\n    width: 1rem;\n    height: 1rem;\n    cursor: pointer;\n    position: relative;\n    background-color: #fff;\n    margin-right: 0.8rem;\n    border: 0.1rem solid rgba(237, 30, 14, 0.15);\n  }\n\n  .clause-input input {\n    opacity: 0;\n  }\n\n  .clause-input input:checked + i {\n    width: 0.6rem;\n    height: 0.6rem;\n    position: absolute;\n    left: 50%;\n    top: 50%;\n    margin-left: -0.3rem;\n    margin-top: -0.3rem;\n    \/* transform: translate(-50%, -50%); *\/\n    background-color: #ed1c24;\n  }\n&lt;\/style&gt;\n\n&lt;div class=\"clause-content\"&gt;\n  &lt;label class=\"clause-input checkbox-hack\"&gt;\n    &lt;input type=\"checkbox\" name=\"clauseEnquiry\" class=\"js_clauseEnquiry\" id=\"clauseEnquiry\"&gt;\n    &lt;i&gt;&lt;\/i&gt;\n  &lt;\/label&gt;\n  &lt;label class=\"clause-text\" for=\"clauseEnquiry\"&gt;clause.&lt;\/label&gt;\n&lt;\/div&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u901a\u8fc7\u8fd9\u4e9b\u6539\u52a8\uff0c\u5c0f\u5143\u7d20\u7684\u5b9a\u4f4d\u5c06\u72ec\u7acb\u4e8e\u5c4f\u5e55\u5206\u8fa8\u7387\uff0c\u59cb\u7ec8\u5c45\u4e2d\u5bf9\u9f50\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u89e3\u51b3\u76d2\u5b50\u91cc\u7684\u5143\u7d20\u5728\u4e0d\u540c\u5206\u8fa8\u7387\u4e0b\u53d1\u751f\u50cf\u7d20\u504f\u79fb\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76d2\u5b50\u91cc\u7684\u5143\u7d20\u53d1\u751f\u9884\u671f\u5916\u7684\u50cf\u7d20\u504f\u79fb\uff1f \u5728\u81ea\u5b9a\u4e49\u8f93\u5165\u6846\u9009\u62e9\u6846\u6837\u5f0f\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u8fd9\u6837\u7684\u95ee\u9898\uff1a\u5728\u4e0d\u540c\u7684\u5206\u8fa8\u7387\u4e0b\uff0c\u4ee3\u7801\u8bbe\u7f6e\u5c45\u4e2d\u7684\u9009\u62e9\u6846\u5c0f\u5143\u7d20\u5728\u4e0d\u540c\u7684\u5206\u8fa8\u7387\u4e0b\u4ecd\u4e0d\u5c45\u4e2d\u3002 \u95ee\u9898\u539f\u56e0 \u9020\u6210\u6b64\u95ee\u9898\u7684\u5173\u952e\u5728\u4e8e\u50cf\u7d20\u5355\u4f4d (px) \u5728\u4e0d\u540c\u5206\u8fa8\u7387\u4e0b\u53ef\u80fd\u4ea7\u751f\u79fb\u4f4d\u3002 \u89e3\u51b3\u65b9\u6cd5 \u4e3a\u4e86\u89e3\u51b3\u6b64\u95ee\u9898\uff0c\u8bf7\u5c06\u6240\u6709\u50cf\u7d20\u5355\u4f4d\u66ff\u6362\u4e3a\u76f8\u5bf9\u5355\u4f4d\uff0c\u4f8b\u5982\uff1a \u5c06\u5bbd\u5ea6\u548c\u9ad8\u5ea6\u7684\u201c15px\u201d\u66ff\u6362\u4e3a\u201c1rem\u201d \u5c06\u8fb9\u6846\u7684\u201c1px\u201d\u66ff\u6362\u4e3a\u201c0.1rem\u201d \u5c06\u5c0f\u5143\u7d20\u7684\u5927\u5c0f\uff08\u201c10px\u201d\uff09\u66ff\u6362\u4e3a\u201c0.6rem\u201d \u5c06\u5c0f\u5143\u7d20\u7684\u8fb9\u8ddd\uff08\u201c-5px\u201d\uff09\u66ff\u6362\u4e3a\u201c-0.3rem\u201d \u4fee\u6539\u540e\u7684\u4ee3\u7801 \u4fee\u6539\u540e\u7684\u4ee3\u7801\u5982\u4e0b\uff1a &lt;style&gt; .clause-content { display: flex; flex-direction: row; align-items: start; } .clause-input { display: inline-block; vertical-align: middle; width: 1rem; height: 1rem; cursor: pointer; position: relative; background-color: #fff; margin-right: 0.8rem; border: 0.1rem solid rgba(237, 30, 14, 0.15); } .clause-input input { opacity: 0; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-27720","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/27720","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=27720"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/27720\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=27720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=27720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=27720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}