{"id":26936,"date":"2024-11-24T15:01:52","date_gmt":"2024-11-24T07:01:52","guid":{"rendered":"https:\/\/fwq.ai\/blog\/26936\/"},"modified":"2024-11-24T15:01:52","modified_gmt":"2024-11-24T07:01:52","slug":"pc%e7%ab%afh5%e9%a1%b9%e7%9b%ae%e5%a6%82%e4%bd%95%e5%ae%9e%e7%8e%b0%e9%80%82%e9%85%8d%ef%bc%9a%e6%b5%81%e5%bc%8f%e5%b8%83%e5%b1%80%e3%80%81%e5%93%8d%e5%ba%94%e5%bc%8f%e8%ae%be%e8%ae%a1%e5%92%8c-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/26936\/","title":{"rendered":"PC\u7aefH5\u9879\u76ee\u5982\u4f55\u5b9e\u73b0\u9002\u914d\uff1a\u6d41\u5f0f\u5e03\u5c40\u3001\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u548c\u4e24\u5957\u6837\u5f0f\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173113236617196.jpg\" class=\"aligncenter\" title=\"PC\u7aefH5\u9879\u76ee\u5982\u4f55\u5b9e\u73b0\u9002\u914d\uff1a\u6d41\u5f0f\u5e03\u5c40\u3001\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u548c\u4e24\u5957\u6837\u5f0f\uff1f\u63d2\u56fe\" alt=\"PC\u7aefH5\u9879\u76ee\u5982\u4f55\u5b9e\u73b0\u9002\u914d\uff1a\u6d41\u5f0f\u5e03\u5c40\u3001\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u548c\u4e24\u5957\u6837\u5f0f\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>PC\u7aef\u7684\u9002\u914d\u65b9\u6848\u53caPC\u4e0eH5\u517c\u987e\u7684\u5b9e\u73b0\u65b9\u6848\u63a2\u8ba8<\/strong><\/p>\n<p>\u5728\u5f00\u53d1H5\u9879\u76ee\u65f6\uff0c\u5e38\u7528\u7684\u5c4f\u5e55\u9002\u914d\u65b9\u6848\u662fpost-pxtorem\u6216postcss-px-to-viewport\uff0c\u901a\u5e38\u57fa\u4e8eiPhone 6\u6807\u51c6\u4f5c\u4e3a\u8bbe\u8ba1\u7a3f\u3002\u4f46\u5bf9\u4e8ePC\u7aef\u7f51\u9879\u76ee\uff0c\u5904\u7406\u4e0d\u540c\u5c4f\u5e55\u5927\u5c0f\u9700\u8981\u5176\u4ed6\u65b9\u6848\u3002<\/p>\n<p><strong>PC\u7aef\u5c4f\u5e55\u9002\u914d\u65b9\u6848<\/strong><\/p>\n<p>PC\u7aef\u5c4f\u5e55\u9002\u914d\u4e00\u822c\u91c7\u7528<strong>\u6d41\u5f0f\u5e03\u5c40<\/strong>\u6216<strong>\u54cd\u5e94\u5f0f\u8bbe\u8ba1<\/strong>\u4e24\u79cd\u65b9\u6848\u3002\u6d41\u5f0f\u5e03\u5c40\u57fa\u4e8e\u56fa\u5b9a\u6bd4\u4f8b\u7f29\u653e\uff0c\u7f51\u9875\u5bbd\u5ea6\u4f1a\u6839\u636e\u6d4f\u89c8\u5668\u7a97\u53e3\u5927\u5c0f\u81ea\u52a8\u8c03\u6574\u3002\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u5219\u91c7\u7528\u5a92\u4f53\u67e5\u8be2\uff0c\u6839\u636e\u4e0d\u540c\u7684\u5c4f\u5e55\u5bbd\u5ea6\u548c\u8bbe\u5907\u7c7b\u578b\u52a0\u8f7d\u4e0d\u540c\u7684\u6837\u5f0f\u8868\u3002<\/p>\n<p><strong>PC\u7aef\u548cH5\u517c\u987e\u7684\u5b9e\u73b0\u65b9\u6848<\/strong><\/p>\n<p>\u8981\u5b9e\u73b0PC\u548cH5\u517c\u987e\uff0c\u53ef\u4ee5\u91c7\u7528\u4ee5\u4e0b\u65b9\u6848\uff1a<\/p>\n<p><strong>1. \u4e24\u5957\u6837\u5f0f\uff0cHTML\u5355\u5f00\u53d1\uff0cJS\u590d\u7528<\/strong><\/p>\n<p>\u6b64\u65b9\u6848\u4e3aPC\u7aef\u548cH5\u7aef\u91c7\u7528\u4e0d\u540c\u7684UI\u6837\u5f0f\u548cHTML\u4ee3\u7801\uff0c\u4f46\u4ea4\u4e92\u90e8\u5206\u53ef\u4ee5\u590d\u7528\uff0c\u901a\u8fc7\u6df7\u5165\u7684\u65b9\u5f0f\u5b9e\u73b0\u4ee3\u7801\u5171\u4eab\u3002<\/p>\n<p><strong>2. \u81ea\u9002\u5e94\uff0cHTML\u3001JS\u5171\u7528\uff0cCSS\u548c\u63a7\u4ef6\u5c01\u88c5<\/strong><\/p>\n<p>\u6b64\u65b9\u6848\u91c7\u7528\u54cd\u5e94\u5f0f\u8bbe\u8ba1\uff0cHTML\u548cJS\u4ee3\u7801\u5171\u7528\uff0cCSS\u8fdb\u884c\u6837\u5f0f\u53d8\u5f62\u3002\u5bf9\u4e8e\u4e0b\u62c9\u6216\u65e5\u671f\u63a7\u4ef6\u7b49\u7279\u5b9a\u7ec4\u4ef6\uff0c\u9700\u8981\u81ea\u884c\u5c01\u88c5\u81ea\u9002\u5e94\u7684\u63a7\u4ef6\uff0c\u5185\u90e8\u5904\u7406\u517c\u5bb9\u6027\u3002<\/p>\n<p><strong>\u8bbe\u8ba1\u5e08\u8bbe\u8ba1PC\u7f51\u9875\u6807\u51c6<\/strong><\/p>\n<p>PC\u7f51\u9875\u8bbe\u8ba1\u7a3f\u7684\u6807\u51c6\u50cf\u7d20\u4e00\u822c\u4e3a<strong>1920px<\/strong>\u6216<strong>1280px<\/strong>\uff0c\u89c6\u9879\u76ee\u5177\u4f53\u8981\u6c42\u800c\u5b9a\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fPC\u7aefH5\u9879\u76ee\u5982\u4f55\u5b9e\u73b0\u9002\u914d\uff1a\u6d41\u5f0f\u5e03\u5c40\u3001\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u548c\u4e24\u5957\u6837\u5f0f\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>PC\u7aef\u7684\u9002\u914d\u65b9\u6848\u53caPC\u4e0eH5\u517c\u987e\u7684\u5b9e\u73b0\u65b9\u6848\u63a2\u8ba8 \u5728\u5f00\u53d1H5\u9879\u76ee\u65f6\uff0c\u5e38\u7528\u7684\u5c4f\u5e55\u9002\u914d\u65b9\u6848\u662fpost-pxtorem\u6216postcss-px-to-viewport\uff0c\u901a\u5e38\u57fa\u4e8eiPhone 6\u6807\u51c6\u4f5c\u4e3a\u8bbe\u8ba1\u7a3f\u3002\u4f46\u5bf9\u4e8ePC\u7aef\u7f51\u9879\u76ee\uff0c\u5904\u7406\u4e0d\u540c\u5c4f\u5e55\u5927\u5c0f\u9700\u8981\u5176\u4ed6\u65b9\u6848\u3002 PC\u7aef\u5c4f\u5e55\u9002\u914d\u65b9\u6848 PC\u7aef\u5c4f\u5e55\u9002\u914d\u4e00\u822c\u91c7\u7528\u6d41\u5f0f\u5e03\u5c40\u6216\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u4e24\u79cd\u65b9\u6848\u3002\u6d41\u5f0f\u5e03\u5c40\u57fa\u4e8e\u56fa\u5b9a\u6bd4\u4f8b\u7f29\u653e\uff0c\u7f51\u9875\u5bbd\u5ea6\u4f1a\u6839\u636e\u6d4f\u89c8\u5668\u7a97\u53e3\u5927\u5c0f\u81ea\u52a8\u8c03\u6574\u3002\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u5219\u91c7\u7528\u5a92\u4f53\u67e5\u8be2\uff0c\u6839\u636e\u4e0d\u540c\u7684\u5c4f\u5e55\u5bbd\u5ea6\u548c\u8bbe\u5907\u7c7b\u578b\u52a0\u8f7d\u4e0d\u540c\u7684\u6837\u5f0f\u8868\u3002 PC\u7aef\u548cH5\u517c\u987e\u7684\u5b9e\u73b0\u65b9\u6848 \u8981\u5b9e\u73b0PC\u548cH5\u517c\u987e\uff0c\u53ef\u4ee5\u91c7\u7528\u4ee5\u4e0b\u65b9\u6848\uff1a 1. \u4e24\u5957\u6837\u5f0f\uff0cHTML\u5355\u5f00\u53d1\uff0cJS\u590d\u7528 \u6b64\u65b9\u6848\u4e3aPC\u7aef\u548cH5\u7aef\u91c7\u7528\u4e0d\u540c\u7684UI\u6837\u5f0f\u548cHTML\u4ee3\u7801\uff0c\u4f46\u4ea4\u4e92\u90e8\u5206\u53ef\u4ee5\u590d\u7528\uff0c\u901a\u8fc7\u6df7\u5165\u7684\u65b9\u5f0f\u5b9e\u73b0\u4ee3\u7801\u5171\u4eab\u3002 2. \u81ea\u9002\u5e94\uff0cHTML\u3001JS\u5171\u7528\uff0cCSS\u548c\u63a7\u4ef6\u5c01\u88c5 \u6b64\u65b9\u6848\u91c7\u7528\u54cd\u5e94\u5f0f\u8bbe\u8ba1\uff0cHTML\u548cJS\u4ee3\u7801\u5171\u7528\uff0cCSS\u8fdb\u884c\u6837\u5f0f\u53d8\u5f62\u3002\u5bf9\u4e8e\u4e0b\u62c9\u6216\u65e5\u671f\u63a7\u4ef6\u7b49\u7279\u5b9a\u7ec4\u4ef6\uff0c\u9700\u8981\u81ea\u884c\u5c01\u88c5\u81ea\u9002\u5e94\u7684\u63a7\u4ef6\uff0c\u5185\u90e8\u5904\u7406\u517c\u5bb9\u6027\u3002 \u8bbe\u8ba1\u5e08\u8bbe\u8ba1PC\u7f51\u9875\u6807\u51c6 PC\u7f51\u9875\u8bbe\u8ba1\u7a3f\u7684\u6807\u51c6\u50cf\u7d20\u4e00\u822c\u4e3a1920px\u62161280px\uff0c\u89c6\u9879\u76ee\u5177\u4f53\u8981\u6c42\u800c\u5b9a\u3002 \u4ee5\u4e0a\u5c31\u662fPC\u7aefH5\u9879\u76ee\u5982\u4f55\u5b9e\u73b0\u9002\u914d\uff1a\u6d41\u5f0f\u5e03\u5c40\u3001\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u548c\u4e24\u5957\u6837\u5f0f\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},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-26936","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/26936","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=26936"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/26936\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=26936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=26936"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=26936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}