{"id":556293,"date":"2022-03-05T05:18:26","date_gmt":"2022-03-04T21:18:26","guid":{"rendered":"http:\/\/4563.org\/?p=556293"},"modified":"2022-03-05T05:18:26","modified_gmt":"2022-03-04T21:18:26","slug":"code-challenge-48h-%e5%86%99%e4%b8%aa-dropdown-4","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=556293","title":{"rendered":"[Code Challenge] 48h \u5199\u4e2a Dropdown"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1> [Code Challenge] 48h \u5199\u4e2a Dropdown <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : learnshare <\/span>  <span><i><\/i> 38<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>Dropdown \u662f\u5e38\u89c1\u7684\u53ef\u4ea4\u4e92\u7ec4\u4ef6\u4e4b\u4e00\u3002<br \/> \u5b83\u7684\u529f\u80fd\u53ef\u4ee5\u5f88\u7b80\u5355\uff0c\u4f46\u53c8\u8981\u8003\u8651\u8bb8\u591a\u5c55\u793a\u548c\u4ea4\u4e92\u7684\u590d\u6742\u72b6\u51b5\u3002<br \/> \u6211\u8ba4\u4e3a\u5b83\u662f\u5165\u95e8\u524d\u7aef\u7684\u4e00\u5927\u95e8\u69db\u3002<\/p>\n<h2>\u6311\u6218\u5982\u4e0b<\/h2>\n<ol>\n<li>\u7f16\u5199\u4e00\u4e2a\u53ef\u590d\u7528\u7684 Dropdown \u7ec4\u4ef6\u3002<br \/> \u529f\u80fd\u5b8c\u6574\u5373\u53ef\uff0c\u7b80\u5355\u6216\u590d\u6742\u7684\u90fd\u53ef\u4ee5\u3002<\/li>\n<li>\u5c06\u4f5c\u54c1\u5448\u73b0\u5728 Codepen\/CodeSandbox \u7b49\u5e73\u53f0\u4e0a\uff0c\u4fbf\u4e8e\u9884\u89c8\u548c\u67e5\u770b\u4ee3\u7801\u3002<\/li>\n<li>\u5c3d\u91cf\u72ec\u7acb\u5b8c\u6210\u3002\u5982\u679c\u53c2\u8003\u4e86\u5176\u4ed6\u5185\u5bb9\uff0c\u8bf7\u6ce8\u660e\u3002<\/li>\n<li>48h \u5185\u5b8c\u6210\u3002<\/li>\n<\/ol>\n<p>\u4e0d\u662f\u7b14\u8bd5\uff0c\u4e0d\u662f\u5957\u767d\u72fc\u3002\u6ca1\u6709\u6392\u540d\uff0c\u4e5f\u6ca1\u6709\u5956\u54c1\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>) <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"7127538\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Steps <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u73b0\u6210\u7684\u90a3\u4e48\u591a\uff0c\u4e3a\u4ec0\u4e48\u8981\u6d6a\u8d39\u65f6\u95f4\u81ea\u5df1\u5199\u4e00\u4e2a\u3002\u3002\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7127539\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : learnshare <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @Steps \u9020\u8f6e\u5b50\u662f\u4e3a\u4e86\u5b66\u4e60\uff0c\u7528\u8f6e\u5b50\u662f\u4e3a\u4e86\u901f\u5ea6\u548c\u8d28\u91cf <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7127540\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Leonard <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u9700\u8981 48h \u5417 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7127541\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : learnshare <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @Leonard \u6b22\u8fce\u63d0\u524d\u4ea4\u5377 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7127542\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : monster1priest <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @learnshare \u8bf4\u5f97\u597d\uff0c\u7edd\u77e5\u6b64\u4e8b\u8981\u8eac\u884c\u3002\u6211\u5b66\u65b0\u6280\u672f\u7684\u65f6\u5019\u7ecf\u5e38\u611f\u89c9\u81ea\u5df1\u770b\u61c2\u4e86\uff0c\u4f46\u662f\u81ea\u5df1\u4eb2\u81ea\u5b9e\u8df5\u7684\u65f6\u5019\u4f1a\u53d1\u73b0\u5f88\u591a\u610f\u60f3\u4e0d\u5230\u7684\u70b9\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7127543\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : learnshare <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @Steps @Leonard @monster1priest \u4ea4\u4f5c\u4e1a\u4e86<br \/>1. \u53ea\u7528 CSS \u7684\u52c9\u5f3a\u53ef\u7528\u7248\u672c https:\/\/codesandbox.io\/s\/vigorous-voice-ozhyy <br \/>2. \u7528 React \u5b9e\u73b0\u7684\u7075\u6d3b\u7248\u672c https:\/\/codesandbox.io\/s\/amazing-pine-b44bs <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>[Code Challenge] &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/556293"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=556293"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/556293\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=556293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=556293"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=556293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}