{"id":23043,"date":"2024-11-21T10:40:15","date_gmt":"2024-11-21T02:40:15","guid":{"rendered":"https:\/\/fwq.ai\/blog\/23043\/"},"modified":"2024-11-21T10:40:15","modified_gmt":"2024-11-21T02:40:15","slug":"laravel%e5%a6%82%e4%bd%95%e5%bc%95%e5%85%a5%e5%89%8d%e7%ab%afui","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/23043\/","title":{"rendered":"laravel\u5982\u4f55\u5f15\u5165\u524d\u7aefUI"},"content":{"rendered":"<p>\u968f\u7740web\u5e94\u7528\u7a0b\u5e8f\u7684\u4e0d\u65ad\u53d1\u5c55\u548c\u7528\u6237\u9700\u6c42\u7684\u589e\u52a0\uff0c\u524d\u7aefui\u6846\u67b6\u9010\u6e10\u6210\u4e3a\u4e86web\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u5728\u8fd9\u4e2a\u9886\u57df\u7684\u4f17\u591a\u7ade\u4e89\u4e2d\uff0cbootstrap\u548cfoundation\u662f\u4e24\u4e2a\u6700\u6d41\u884c\u548c\u666e\u904d\u91c7\u7528\u7684\u6846\u67b6\u3002\u7136\u800c\uff0c\u8fd9\u4e24\u4e2a\u6846\u67b6\u90fd\u6709\u76f8\u5bf9\u7e41\u7410\u7684\u5b89\u88c5\u548c\u914d\u7f6e\u8fc7\u7a0b\uff0c\u9700\u8981\u82b1\u8d39\u5927\u91cf\u65f6\u95f4\u548c\u7cbe\u529b\u3002\u5728laravel\u6846\u67b6\u4e2d\uff0c\u8fd9\u4e9b\u95ee\u9898\u5f97\u5230\u4e86\u5f88\u597d\u7684\u89e3\u51b3\u3002<\/p>\n<p>Laravel\u662f\u4e00\u4e2aPHP web\u5e94\u7528\u7a0b\u5e8f\u6846\u67b6\uff0c\u662f\u76ee\u524d\u6700\u6d41\u884c\u7684PHP\u6846\u67b6\u4e4b\u4e00\u3002Laravel\u6846\u67b6\u96c6\u6210\u4e86\u5927\u91cf\u7684\u5de5\u5177\uff0c\u5982Artisan\u547d\u4ee4\u884c\u5de5\u5177\u3001Eloquent ORM\u3001Blade\u6a21\u677f\u7b49\uff0c\u8fd9\u4e9b\u5de5\u5177\u4f7f\u5f97\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u5feb\u901f\u3001\u9ad8\u6548\u5730\u6784\u5efaweb\u5e94\u7528\u7a0b\u5e8f\u3002\u6b64\u5916\uff0cLaravel\u8fd8\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u5f15\u5165\u524d\u7aefUI\uff0c\u5305\u62ecBootstrap\u548cFoundation\u3002\u4e0b\u9762\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728Laravel\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5f15\u5165\u524d\u7aefUI\u3002<\/p>\n<p>\u5f15\u5165Bootstrap<\/p>\n<p>Bootstrap\u662f\u7531Twitter\u5f00\u53d1\u7684\u4e00\u4e2a\u6d41\u884c\u7684\u524d\u7aefUI\u6846\u67b6\uff0c\u662f\u6784\u5efa\u54cd\u5e94\u5f0f\u3001\u79fb\u52a8\u8bbe\u5907\u53cb\u597d\u7684web\u5e94\u7528\u7a0b\u5e8f\u7684\u7406\u60f3\u9009\u62e9\u3002\u5728Laravel\u4e2d\uff0c\u501f\u52a9Composer\uff0c\u53ef\u4ee5\u5feb\u901f\u3001\u7b80\u4fbf\u5730\u5b89\u88c5Bootstrap\u3002<\/p>\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u786e\u4fdd\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u5df2\u7ecf\u5b89\u88c5\u4e86Composer\u3002\u7136\u540e\u5728\u7ec8\u7aef\u4e2d\u8fdb\u5165\u60a8\u7684Laravel\u5e94\u7528\u7a0b\u5e8f\u76ee\u5f55\uff0c\u5e76\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<pre>composer require twbs\/bootstrap<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8fd9\u5c06\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684Bootstrap\u5230\u9879\u76ee\u7684vendor\u6587\u4ef6\u5939\u4e2d\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u60a8\u9700\u8981\u5728\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5f15\u5165Bootstrap\u3002\u5728Laravel\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8f7b\u677e\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\u3002<\/p>\n<p>1.\u5c06\u8d44\u6e90\u6587\u4ef6\u4e0b\u8f7d\u5230\u60a8\u7684\u516c\u5171\u76ee\u5f55\u4e2d\uff08\u901a\u5e38\u662fpublic\u76ee\u5f55\uff09\u3002<\/p>\n<pre>php artisan vendor:publish --tag=bootstrap --force<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8fd9\u5c06\u4e0b\u8f7dBootstrap\u7684CSS\u3001JS\u548c\u5b57\u4f53\u5230\u60a8\u7684public\/vendor\/bootstrap\u76ee\u5f55\u4e2d\u3002<\/p>\n<p>2.\u5728\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u5e03\u5c40\u6587\u4ef6\u4e2d\u5f15\u5165Bootstrap\u8d44\u6e90\uff08\u901a\u5e38\u662f\u5728<\/p>\n<p>\u6807\u7b7e\u4e2d\uff09\uff1a <\/p>\n<pre>&lt;link href=\"%7B%7B%20asset('vendor\/bootstrap\/css\/bootstrap.min.css')%20%7D%7D\" rel=\"stylesheet\"&gt;&lt;script src=\"%7B%7B%20asset('vendor\/bootstrap\/js\/bootstrap.min.js')%20%7D%7D\"&gt;&lt;\/script&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5f53\u524d\u7248\u672c\u7684Bootstrap\u4ec5\u652f\u6301jQuery\uff0c\u56e0\u6b64\u60a8\u9700\u8981\u786e\u4fdd\u60a8\u5df2\u7ecf\u5728\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5b89\u88c5\u4e86jQuery\u3002<\/p>\n<p>\u5f15\u5165Foundation<\/p>\n<p>Foundation\u662f\u53e6\u4e00\u4e2a\u6d41\u884c\u7684\u524d\u7aefUI\u6846\u67b6\uff0c\u4e5f\u662f\u6784\u5efa\u54cd\u5e94\u5f0f\u3001\u79fb\u52a8\u8bbe\u5907\u53cb\u597dweb\u5e94\u7528\u7a0b\u5e8f\u7684\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u548cBootstrap\u4e00\u6837\uff0c\u4f7f\u7528Composer\u5f15\u5165Foundation\u4e5f\u5f88\u7b80\u5355\uff0c\u5177\u4f53\u64cd\u4f5c\u5982\u4e0b\u3002<\/p>\n<p>\u5728\u7ec8\u7aef\u4e2d\u8fdb\u5165\u60a8\u7684Laravel\u5e94\u7528\u7a0b\u5e8f\u76ee\u5f55\uff0c\u5e76\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre>composer require zurb\/foundation<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8fd9\u5c06\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684Foundation\u5230\u9879\u76ee\u7684vendor\u6587\u4ef6\u5939\u4e2d\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u60a8\u9700\u8981\u5728\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5f15\u5165Foundation\u3002\u5728Laravel\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8f7b\u677e\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\u3002<\/p>\n<p>1.\u5c06\u8d44\u6e90\u6587\u4ef6\u4e0b\u8f7d\u5230\u60a8\u7684\u516c\u5171\u76ee\u5f55\u4e2d\uff08\u901a\u5e38\u662fpublic\u76ee\u5f55\uff09\u3002<\/p>\n<pre>php artisan vendor:publish --tag=foundation --force<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8fd9\u5c06\u4e0b\u8f7dFoundation\u7684CSS\u3001JS\u548c\u5b57\u4f53\u5230\u60a8\u7684public\/vendor\/foundation\u76ee\u5f55\u4e2d\u3002<\/p>\n<p>2.\u5728\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u5e03\u5c40\u6587\u4ef6\u4e2d\u5f15\u5165Foundation\u8d44\u6e90\uff08\u901a\u5e38\u662f\u5728<\/p>\n<p>\u6807\u7b7e\u4e2d\uff09\uff1a <\/p>\n<pre>&lt;link href=\"%7B%7B%20asset('vendor\/foundation\/css\/foundation.min.css')%20%7D%7D\" rel=\"stylesheet\"&gt;&lt;script src=\"%7B%7B%20asset('vendor\/foundation\/js\/foundation.min.js')%20%7D%7D\"&gt;&lt;\/script&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5f53\u524d\u7248\u672c\u7684Foundation\u652f\u6301jQuery\u548cZepto\uff0c\u56e0\u6b64\u60a8\u9700\u8981\u786e\u4fdd\u60a8\u5df2\u7ecf\u5728\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5b89\u88c5\u4e86\u5176\u4e2d\u7684\u4e00\u4e2a\u5e93\u3002<\/p>\n<p>\u603b\u7ed3<\/p>\n<p>\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u4ecb\u7ecd\u4e86\u5982\u4f55\u5728Laravel\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5f15\u5165\u524d\u7aefUI\u3002Bootstrap\u548cFoundation\u662f\u5728web\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u4e2d\u5e7f\u6cdb\u91c7\u7528\u7684\u6846\u67b6\uff0c\u4ed6\u4eec\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u7ec4\u4ef6\u548c\u6837\u5f0f\uff0c\u4f7f\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u5feb\u901f\u6784\u5efa\u54cd\u5e94\u5f0f\u3001\u79fb\u52a8\u8bbe\u5907\u53cb\u597d\u7684web\u5e94\u7528\u7a0b\u5e8f\u3002\u5728Laravel\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528Composer\u8f7b\u677e\u5b89\u88c5\u8fd9\u4e9b\u6846\u67b6\uff0c\u5e76\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u8f7b\u677e\u5730\u5f15\u5165\u8d44\u6e90\u6587\u4ef6\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u591f\u4e3a\u60a8\u5728\u5f00\u53d1web\u5e94\u7528\u7a0b\u5e8f\u7684\u8fc7\u7a0b\u4e2d\u63d0\u4f9b\u5e2e\u52a9\u548c\u6307\u5bfc\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662flaravel\u5982\u4f55\u5f15\u5165\u524d\u7aefUI\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>\u968f\u7740web\u5e94\u7528\u7a0b\u5e8f\u7684\u4e0d\u65ad\u53d1\u5c55\u548c\u7528\u6237\u9700\u6c42\u7684\u589e\u52a0\uff0c\u524d\u7aefui\u6846\u67b6\u9010\u6e10\u6210\u4e3a\u4e86web\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u5728\u8fd9\u4e2a\u9886\u57df\u7684\u4f17\u591a\u7ade\u4e89\u4e2d\uff0cbootstrap\u548cfoundation\u662f\u4e24\u4e2a\u6700\u6d41\u884c\u548c\u666e\u904d\u91c7\u7528\u7684\u6846\u67b6\u3002\u7136\u800c\uff0c\u8fd9\u4e24\u4e2a\u6846\u67b6\u90fd\u6709\u76f8\u5bf9\u7e41\u7410\u7684\u5b89\u88c5\u548c\u914d\u7f6e\u8fc7\u7a0b\uff0c\u9700\u8981\u82b1\u8d39\u5927\u91cf\u65f6\u95f4\u548c\u7cbe\u529b\u3002\u5728laravel\u6846\u67b6\u4e2d\uff0c\u8fd9\u4e9b\u95ee\u9898\u5f97\u5230\u4e86\u5f88\u597d\u7684\u89e3\u51b3\u3002 Laravel\u662f\u4e00\u4e2aPHP web\u5e94\u7528\u7a0b\u5e8f\u6846\u67b6\uff0c\u662f\u76ee\u524d\u6700\u6d41\u884c\u7684PHP\u6846\u67b6\u4e4b\u4e00\u3002Laravel\u6846\u67b6\u96c6\u6210\u4e86\u5927\u91cf\u7684\u5de5\u5177\uff0c\u5982Artisan\u547d\u4ee4\u884c\u5de5\u5177\u3001Eloquent ORM\u3001Blade\u6a21\u677f\u7b49\uff0c\u8fd9\u4e9b\u5de5\u5177\u4f7f\u5f97\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u5feb\u901f\u3001\u9ad8\u6548\u5730\u6784\u5efaweb\u5e94\u7528\u7a0b\u5e8f\u3002\u6b64\u5916\uff0cLaravel\u8fd8\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u5f15\u5165\u524d\u7aefUI\uff0c\u5305\u62ecBootstrap\u548cFoundation\u3002\u4e0b\u9762\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728Laravel\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5f15\u5165\u524d\u7aefUI\u3002 \u5f15\u5165Bootstrap Bootstrap\u662f\u7531Twitter\u5f00\u53d1\u7684\u4e00\u4e2a\u6d41\u884c\u7684\u524d\u7aefUI\u6846\u67b6\uff0c\u662f\u6784\u5efa\u54cd\u5e94\u5f0f\u3001\u79fb\u52a8\u8bbe\u5907\u53cb\u597d\u7684web\u5e94\u7528\u7a0b\u5e8f\u7684\u7406\u60f3\u9009\u62e9\u3002\u5728Laravel\u4e2d\uff0c\u501f\u52a9Composer\uff0c\u53ef\u4ee5\u5feb\u901f\u3001\u7b80\u4fbf\u5730\u5b89\u88c5Bootstrap\u3002 \u9996\u5148\uff0c\u60a8\u9700\u8981\u786e\u4fdd\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u5df2\u7ecf\u5b89\u88c5\u4e86Composer\u3002\u7136\u540e\u5728\u7ec8\u7aef\u4e2d\u8fdb\u5165\u60a8\u7684Laravel\u5e94\u7528\u7a0b\u5e8f\u76ee\u5f55\uff0c\u5e76\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b composer require twbs\/bootstrap \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u5c06\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684Bootstrap\u5230\u9879\u76ee\u7684vendor\u6587\u4ef6\u5939\u4e2d\u3002 \u63a5\u4e0b\u6765\uff0c\u60a8\u9700\u8981\u5728\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5f15\u5165Bootstrap\u3002\u5728Laravel\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8f7b\u677e\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\u3002 1.\u5c06\u8d44\u6e90\u6587\u4ef6\u4e0b\u8f7d\u5230\u60a8\u7684\u516c\u5171\u76ee\u5f55\u4e2d\uff08\u901a\u5e38\u662fpublic\u76ee\u5f55\uff09\u3002 php artisan vendor:publish &#8211;tag=bootstrap &#8211;force \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u5c06\u4e0b\u8f7dBootstrap\u7684CSS\u3001JS\u548c\u5b57\u4f53\u5230\u60a8\u7684public\/vendor\/bootstrap\u76ee\u5f55\u4e2d\u3002 2.\u5728\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u5e03\u5c40\u6587\u4ef6\u4e2d\u5f15\u5165Bootstrap\u8d44\u6e90\uff08\u901a\u5e38\u662f\u5728 \u6807\u7b7e\u4e2d\uff09\uff1a &lt;link href=&#8221;%7B%7B%20asset(&#8216;vendor\/bootstrap\/css\/bootstrap.min.css&#8217;)%20%7D%7D&#8221; rel=&#8221;stylesheet&#8221;&gt;&lt;script src=&#8221;%7B%7B%20asset(&#8216;vendor\/bootstrap\/js\/bootstrap.min.js&#8217;)%20%7D%7D&#8221;&gt;&lt;\/script&gt; \u767b\u5f55\u540e\u590d\u5236 \u5f53\u524d\u7248\u672c\u7684Bootstrap\u4ec5\u652f\u6301jQuery\uff0c\u56e0\u6b64\u60a8\u9700\u8981\u786e\u4fdd\u60a8\u5df2\u7ecf\u5728\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5b89\u88c5\u4e86jQuery\u3002 \u5f15\u5165Foundation Foundation\u662f\u53e6\u4e00\u4e2a\u6d41\u884c\u7684\u524d\u7aefUI\u6846\u67b6\uff0c\u4e5f\u662f\u6784\u5efa\u54cd\u5e94\u5f0f\u3001\u79fb\u52a8\u8bbe\u5907\u53cb\u597dweb\u5e94\u7528\u7a0b\u5e8f\u7684\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u548cBootstrap\u4e00\u6837\uff0c\u4f7f\u7528Composer\u5f15\u5165Foundation\u4e5f\u5f88\u7b80\u5355\uff0c\u5177\u4f53\u64cd\u4f5c\u5982\u4e0b\u3002 \u5728\u7ec8\u7aef\u4e2d\u8fdb\u5165\u60a8\u7684Laravel\u5e94\u7528\u7a0b\u5e8f\u76ee\u5f55\uff0c\u5e76\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a composer require zurb\/foundation \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u5c06\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684Foundation\u5230\u9879\u76ee\u7684vendor\u6587\u4ef6\u5939\u4e2d\u3002 \u63a5\u4e0b\u6765\uff0c\u60a8\u9700\u8981\u5728\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5f15\u5165Foundation\u3002\u5728Laravel\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8f7b\u677e\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\u3002 1.\u5c06\u8d44\u6e90\u6587\u4ef6\u4e0b\u8f7d\u5230\u60a8\u7684\u516c\u5171\u76ee\u5f55\u4e2d\uff08\u901a\u5e38\u662fpublic\u76ee\u5f55\uff09\u3002 php artisan vendor:publish &#8211;tag=foundation &#8211;force \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u5c06\u4e0b\u8f7dFoundation\u7684CSS\u3001JS\u548c\u5b57\u4f53\u5230\u60a8\u7684public\/vendor\/foundation\u76ee\u5f55\u4e2d\u3002 2.\u5728\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u5e03\u5c40\u6587\u4ef6\u4e2d\u5f15\u5165Foundation\u8d44\u6e90\uff08\u901a\u5e38\u662f\u5728 \u6807\u7b7e\u4e2d\uff09\uff1a &lt;link href=&#8221;%7B%7B%20asset(&#8216;vendor\/foundation\/css\/foundation.min.css&#8217;)%20%7D%7D&#8221; rel=&#8221;stylesheet&#8221;&gt;&lt;script src=&#8221;%7B%7B%20asset(&#8216;vendor\/foundation\/js\/foundation.min.js&#8217;)%20%7D%7D&#8221;&gt;&lt;\/script&gt; \u767b\u5f55\u540e\u590d\u5236 \u5f53\u524d\u7248\u672c\u7684Foundation\u652f\u6301jQuery\u548cZepto\uff0c\u56e0\u6b64\u60a8\u9700\u8981\u786e\u4fdd\u60a8\u5df2\u7ecf\u5728\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5b89\u88c5\u4e86\u5176\u4e2d\u7684\u4e00\u4e2a\u5e93\u3002 [&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-23043","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/23043","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=23043"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/23043\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=23043"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=23043"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=23043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}