{"id":7662,"date":"2018-06-06T00:35:17","date_gmt":"2018-06-05T16:35:17","guid":{"rendered":"http:\/\/www.zhangxinxu.com\/wordpress\/?p=7662"},"modified":"2018-06-16T00:09:21","modified_gmt":"2018-06-15T16:09:21","slug":"wechat-web-page-float-window-interaction","status":"publish","type":"post","link":"https:\/\/www.zhangxinxu.com\/wordpress\/2018\/06\/wechat-web-page-float-window-interaction\/","title":{"rendered":"\u5fae\u4fe1\u7f51\u9875\u60ac\u6d6e\u7a97\u4ea4\u4e92\u6548\u679c\u7684web\u5b9e\u73b0"},"content":{"rendered":"<p>by <a href=\"http:\/\/www.zhangxinxu.com\/\">zhangxinxu<\/a> from <a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/?p=7662\">http:\/\/www.zhangxinxu.com\/wordpress\/?p=7662<\/a><br \/>\n\u672c\u6587\u53ef\u5168\u6587\u8f6c\u8f7d\uff0c\u4f46\u9700\u8981\u540c\u65f6\u4fdd\u7559\u539f\u4f5c\u8005\u548c\u51fa\u5904\u3002<\/p>\n<h3>\u4e00\u3001\u5fae\u4fe1\u7684\u60ac\u6d6e\u7a97\u4ea4\u4e92\u6548\u679c<\/h3>\n<p>\u5fae\u4fe1\u66f4\u65b0\u540e\uff0c\u53d1\u73b0\u591a\u4e86\u4e2a\u60ac\u6d6e\u7a97\u529f\u80fd\u3002\u516c\u4f17\u53f7\u9605\u8bfb\uff0c\u7f51\u9875\u6d4f\u89c8\u56de\u9000\u540e\u9ed8\u8ba4\u4f1a\u51fa\u73b0\u3002\u518d\u70b9\u51fb\uff0c\u53ef\u4ee5\u56de\u5230\u521a\u624d\u9605\u8bfb\u7684\u5730\u65b9\u3002\u4e8e\u662f\uff0c\u518d\u4e5f\u4e0d\u4f1a\u9047\u5230\u56de\u590d\u8001\u5a46\u7684\u4fe1\u606f\uff0c\u518d\u5207\u6362\u56de\u6765\u91cd\u65b0\u627e\u521a\u624d\u9605\u8bfb\u4e1c\u897f\u7684\u9ebb\u70e6\u4e86\u3002\u6211\u4e2a\u4eba\u89c9\u5f97\u662f\u5f88\u6709\u7528\u7684\u4e00\u4e2a\u529f\u80fd\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201806\/wx-float-link.png\" width=\"375\" height=\"649\" alt=\"\u5fae\u4fe1\u60ac\u6d6e\u6846\u793a\u610f\" class=\"alignnone\" \/><\/p>\n<p>\u5176\u4ea4\u4e92\u6548\u679c\uff0c\u4e5f\u88ab\u4e0d\u5c11\u4eba\u79f0\u8d5e\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u7a97\u53e3\u4f1a\u6536\u7f29\u5230\u60ac\u6d6e\u6309\u94ae\u4e2d\uff0c\u60ac\u6d6e\u6309\u94ae\u53ef\u4ee5\u62d6\u5230\u53f3\u4e0b\u89d2\u53d6\u6d88\u6d6e\u7a97\u3002<\/p>\n<p>\u8fd9\u4e9b\u4ea4\u4e92\u6548\u679c\u5462\uff0c\u662f\u8981web\u524d\u7aef\u6280\u672f\u4e5f\u662f\u53ef\u4ee5\u5b9e\u73b0\u3002<\/p>\n<p>\u8fd9\u4e0d\uff0c\u6211\u5c31\u8bd5\u4e86\u4e0b\uff0c\u5199demo\u52a0\u8c03\u8bd51\u4e2a\u5c0f\u65f6\u5c31\u641e\u5b9a\u4e86\u3002<\/p>\n<p>\u60a8\u53ef\u4ee5\u72e0\u72e0\u5730\u70b9\u51fb\u8fd9\u91cc\uff1a<a href=\"http:\/\/www.zhangxinxu.com\/study\/201806\/wechat-float-window-interaction.html\" rel=\"noopener\" target=\"_blank\">\u5fae\u4fe1\u7f51\u9875\u60ac\u6d6e\u7a97\u4ea4\u4e92demo<\/a><\/p>\n<h4>\u4ea4\u4e92\u8bf4\u660e<\/h4>\n<p>\u5982\u679c\u4f60\u662f\u684c\u9762\u6d4f\u89c8\u5668\u8bbf\u95ee\u7684\u9875\u9762\uff0c\u8bf7\u6253\u5f00\u5f00\u53d1\u8005\u5de5\u5177\u5728\u79fb\u52a8\u6a21\u5f0f\u4e0b\u6d4f\u89c8\u3002<\/p>\n<p>\u5411\u53f3\u6ed1\u52a8\u9875\u9762\uff0c\u53ef\u4ee5\u770b\u5230\u7c7b\u4f3c\u4e0b\u9762\u6548\u679c\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201806\/2018-06-05_230519.png\" width=\"421\" height=\"485\" alt=\"\u6ed1\u52a8\u6548\u679c\" class=\"alignnone\" \/><\/p>\n<p>\u6b64\u65f6\uff0c\u91ca\u653e\u624b\u6307\uff08\u6216\u9f20\u6807\uff09\uff0c\u5219\u79fb\u52a8\u7684\u9875\u9762\u5c31\u4f1a\u6536\u7f29\u5230\u6d6e\u5c42\u6309\u94ae\u4e2d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201806\/2018-06-05_230753.png\" width=\"429\" height=\"504\" alt=\"\u6536\u7f29\u8fc7\u7a0b\u4e2d\" class=\"alignnone\" \/><\/p>\n<p>\u518d\u70b9\u51fb\u8fd9\u4e2a\u60ac\u6d6e\u6309\u94ae\uff0c\u5219\u9875\u9762\u53c8\u4f1a\u4ee5\u906e\u7f69\u5f62\u5f0f\u5706\u5f62\u5c55\u5f00\uff0cGIF\u5982\u4e0b\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201806\/wx-float-open.gif\" width=\"384\" height=\"441\" alt=\" \u7a97\u53e3\u5c55\u5f00\u6548\u679c\" class=\"alignnone\" \/><\/p>\n<h3>\u4e8c\u3001\u6548\u679c\u5b9e\u73b0\u7684\u5173\u952e<\/h3>\n<p>\u6548\u679c\u5b9e\u73b0\u7684\u5173\u952e\u662f\u9875\u9762\u6536\u7f29\u5230\u60ac\u6d6e\u6309\u94ae\u4e2d\u3002<\/p>\n<p>\u4f7f\u7528\u7684\u662fCSS3 <code>clip-path<\/code>\u5c5e\u6027\u3002<\/p>\n<p>\u5173\u4e8eCSS3 <code>clip-path<\/code>\u5c5e\u6027\u5165\u95e8\uff0c\u53ef\u4ee5\u53c2\u8003\u6211\u4e4b\u524d\u7684\u6587\u7ae0\uff1a\u201c<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/2014\/12\/css3-svg-clip-path\/\">CSS3\/SVG clip-path\u8def\u5f84\u526a\u88c1\u906e\u7f69\u5c5e\u6027\u7b80\u4ecb<\/a>\u201d\u3002<\/p>\n<p>\u5176\u4e2d\uff0c<a href=\"http:\/\/www.zhangxinxu.com\/study\/201412\/css-clip-path-rect-radius-transition.html\" rel=\"noopener\" target=\"_blank\">\u6709\u4e2ademo<\/a>\u5dee\u4e0d\u591a\u5c31\u628a\u8fd9\u4e2a\u6536\u7f29\u6548\u679c\u7684\u201c\u5f62\u201d\u7ed9\u5b9e\u73b0\u4e86\u3002<\/p>\n<p>\u6548\u679c\u5982\u4e0bGIF\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/image.zhangxinxu.com\/image\/blog\/201412\/clip-path-ani-s.gif\" width=\"266\" height=\"200\" alt=\"hover\u77e9\u5f62\u53d8\u6210\u5706\u7684\u6548\u679c\" class=\"alignnone\"><\/p>\n<p>\u5728\u6a21\u62df\u5fae\u4fe1\u8fd9\u4e2ademo\u4e2d\uff0c\u6211\u4e5f\u662f\u4f7f\u7528\u7684\u5706\u5f62\u526a\u88c1\uff0c\u8bed\u6cd5\u4e3a\uff1a<\/p>\n<pre>.example {\n  clip-path: circle(radius at x, y);\n}<\/pre>\n<p><code>radius<\/code>\u8868\u793a\u526a\u88c1\u534a\u5f84\u5927\u5c0f\uff0c<code>x, y<\/code>\u6307\u526a\u88c1\u7684\u5706\u5fc3\u5750\u6807\u3002<\/p>\n<p>\u5728\u672cdemo\u4e2d\uff0c\u7531\u4e8e\u662f\u76f8\u5bf9\u4e8e\u60ac\u6d6e\u6309\u94ae\u4e2d\u5fc3\u526a\u88c1\uff0c\u672c\u8eab\u9875\u9762\u4e5f\u4f1a\u8ddf\u968f\u624b\u6307\u62d6\u52a8\uff0c\u56e0\u6b64\uff0c<code>radius<\/code>\u4ee5\u53ca<code>x, y<\/code>\u90fd\u662f\u52a8\u6001\u7684\uff0c\u8fd9\u4e2a\u662f\u4ea4\u4e92\u96be\u70b9\u6240\u5728\u3002<\/p>\n<p>\u5177\u4f53\u5b9e\u73b0\u53ef\u4ee5\u53c2\u89c1demo\u9875\u9762\u6e90\u4ee3\u7801\uff0c\u975e\u5e38\u4e0d\u9519\u7684\u5b66\u4e60\u6750\u6599\uff0c\u4ee3\u7801\u5f88\u5e72\u51c0\uff0c\u4e13\u4e3a\u5b9e\u73b0\u8fd9\u4e2a\u6548\u679c\u5199\u7684\uff0c\u6ca1\u6709\u4ec0\u4e48\u5197\u4f59\uff0c\u8fd8\u9644\u5e26\u6ce8\u91ca\u3002<\/p>\n<p><strong>\u8fd9\u91cc\u6709\u8f6c\u6298<\/strong><\/p>\n<p>\u540e\u6765\uff0c\u6211\u53c8\u4ed4\u7ec6\u770b\u4e86\u4e0b\u5fae\u4fe1\u8fd9\u91cc\u7684\u6548\u679c\u5b9e\u73b0\uff0c\u53d1\u73b0\u81ea\u5df1\u7528\u9519\u4e86\uff0c\u770b\u4e0a\u53bb\u4f7f\u7528\u7684\u662f\u692d\u5706\u526a\u88c1\uff0c\u800c\u4e0d\u662f\u5706\u5f62\u526a\u88c1\uff0c\u4e5f\u5c31\u662f\u8981\u4f7f\u7528<code>ellipse<\/code>\uff0c\u8bed\u6cd5\u5982\u4e0b\uff1a<\/p>\n<pre>.example {\n  clip-path: ellipse(radius-x, radius-y at x, y);\n}<\/pre>\n<p>\u61d2\u5f97\u6539\u4e86\uff0c\u53cd\u6b63\u6548\u679c\u5c31\u662f\u793a\u610f\u4e0b\u3002\u7528\u5706\u5f62\u4e5f\u597d\uff0c\u56de\u5934\u7528\u5728\u5b9e\u9645\u9879\u76ee\u4e2d\uff0c\u88ab\u522b\u4eba\u9a82\u6284\u88ad\u7684\u65f6\u5019\u53ef\u4ee5\u88ab\u9a82\u5f97\u8f7b\u4e00\u70b9\uff0c\u56e0\u4e3a\u6bd5\u7adf\u8fd8\u662f\u6709\u4e0d\u4e00\u6837\u7684\u5730\u65b9\u7684\u3002<\/p>\n<h3>\u4e09\u3001\u5176\u4ed6\u4ea4\u4e92\u6548\u679c\u7684\u5b9e\u73b0<\/h3>\n<p>\u4e0a\u9762demo\u63d0\u4f9b\u7684\u662f\u4e3b\u4ea4\u4e92\uff0c\u6574\u4e2a\u60ac\u6d6e\u6846\u6548\u679c\u8fd8\u5305\u62ec\u5176\u4ed6\u4e00\u4e9b\u6548\u679c\uff0c\u5305\u62ec\u60ac\u6d6e\u6309\u94ae\u62d6\u6765\u62d6\u53bb\uff0c\u5305\u62ec\u79fb\u52a8\u5230\u53f3\u4e0b\u89d2\u53ef\u4ee5\u53d6\u6d88\u6d6e\u6846\uff0c\u522b\u62c5\u5fc3\uff0c\u4e5f\u5f88\u597d\u641e\u5b9a\u3002<\/p>\n<h4>1. \u60ac\u6d6e\u6309\u94ae\u62d6\u6765\u62d6\u53bb\u8fd8\u5438\u8fb9<\/h4>\n<p>\u5173\u6ce8\u6211\u6587\u7ae0\u7684\u5c0f\u4f19\u4f34\u5e94\u8be5\u77e5\u9053\u6211<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/2017\/01\/mobile-phone-drag-drop-inertia-loading\/\">\u4e4b\u524d\u5206\u4eab\u8fc7\u4e00\u4e2a<\/a>\u6bd4\u8fd9\u4e2a\u6548\u679c\u8fd8\u8981\u597d\u7684\u60ac\u6d6e\u5438\u8fb9\u6309\u94ae\u4ea4\u4e92\u5b9e\u73b0\uff0c\u6548\u679c\u662f\u4e0b\u9762\u8fd9\u6837\u7684\u2014\u2014\u5e26\u7269\u7406\u78b0\u649e\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/wx2.sinaimg.cn\/mw690\/4b4d632fgy1fbw1u7xhy4g207s09c4nk.gif\" width=\"280\" height=\"336\" alt=\"\u53ef\u62d6\u62fd\u7684\u5c0f\u7403\u4ee5\u53ca\u4ea4\u4e92\u52a8\u6548\" class=\"alignnone\"><\/p>\n<p>\u622a\u56fe\u6389\u5e27\uff0c\u8bbf\u95ee\u8fd9\u4e2a\u5730\u5740\uff1a<a href=\"https:\/\/m.qidian.com\/\" rel=\"noopener\" target=\"_blank\">https:\/\/m.qidian.com\/<\/a>\uff0c\u624b\u673a\u6a21\u5f0f\u4e0b\uff0c\u53ef\u4ee5\u4eb2\u81ea\u611f\u53d7\u4e0b\u3002<\/p>\n<p>\u6216\u8005\u8bbf\u95ee\u8fd9\u4e2a\u66f4\u7b80\u6613\u65e0\u5e72\u6270\u7684\u5730\u5740\uff1a<a href=\"https:\/\/yued-fe.github.io\/inertia\/demo\/simple.html\" rel=\"noopener\" target=\"_blank\">\/inertia\/demo\/simple.html<\/a><\/p>\n<p>\u4ee3\u7801\u76f4\u63a5\u5f00\u6e90\u4e86\uff1a<a href=\"https:\/\/github.com\/yued-fe\/inertia\" rel=\"noopener\" target=\"_blank\">https:\/\/github.com\/yued-fe\/inertia<\/a><\/p>\n<p>\u4f7f\u7528\u4e5f\u5f88\u7b80\u5355\uff1a<\/p>\n<p>\u2460. \u5f15\u5165JS\u6587\u4ef6\uff0c\u4f8b\u5982\uff1a<\/p>\n<pre>&lt;<span class=\"pl-ent\">script<\/span> <span class=\"pl-e\">src<\/span>=<span class=\"pl-s\"><span class=\"pl-pds\">\"<\/span>Inertia.js<span class=\"pl-pds\">\"<\/span><\/span>&gt;&lt;\/<span class=\"pl-ent\">script<\/span>&gt;<\/pre>\n<p>\u2461. \u7ed1\u5b9a<\/p>\n<pre><span class=\"pl-k\">new<\/span> <span class=\"pl-en\">Inertia<\/span>(ele);<\/pre>\n<p>\u7136\u540e\u606d\u559c\u4f60\uff0c\u6548\u679c\u5c31\u6709\u4e86\uff01<\/p>\n<h4>2. \u62d6\u62fd\u51fa\u73b0\u53d6\u6d88\u6d6e\u7a97\u6309\u94ae\u5e76\u6709\u4ea4\u4e92\u54cd\u5e94<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201806\/wx-float-cancel.png\" width=\"375\" height=\"667\" alt=\"\u53d6\u6d88\u6d6e\u7a97\u6309\u94ae\u622a\u56fe\" class=\"alignnone\" \/><\/p>\n<p>\u8fd9\u4e2a\u6548\u679c\u4e4b\u524d\u4e5f\u4ecb\u7ecd\u8fc7\uff0c\u5e94\u8be5\u8bf4\u51fa\u73b0\u8fc7\uff0c\u6e90\u81ea\u201c<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/2016\/11\/html5-drag-drop-module-insert-sort-delete-demo\/\">\u57fa\u4e8eHTML5 drag\/drop\u5b9e\u73b0\u6a21\u5757\u62d6\u52a8\u63d2\u5165\u6392\u5e8f\u5220\u9664<\/a>\u201d\u8fd9\u7bc7\u6587\u7ae0\u3002<\/p>\n<p>\u5176\u4e2d\u7684\u5220\u9664\u548c\u5fae\u4fe1\u8fd9\u91cc\u7684\u6d6e\u6846\u5220\u9664\u975e\u5e38\u7c7b\u4f3c\u3002<\/p>\n<p>\u62d6\u52a8\uff0c\u5220\u9664\u6309\u94ae\u51fa\u73b0\uff0c\u79fb\u52a8\u5230\u5220\u9664\u6309\u94ae\u4e0a\uff0c\u5220\u9664\u6309\u94ae\u6709\u4ea4\u4e92\u53d8\u5316\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201801\/2018-01-10_231902.png\" width=\"300\" height=\"350\" alt=\"\u6a21\u5757\u5de6\u4fa7\u5220\u9664\" class=\"alignnone\"><\/p>\n<p>demo\u4f53\u9a8c\u5730\u5740\u53ef\u4ee5\u6233\u8fd9\u91cc\uff1a<a href=\"http:\/\/www.zhangxinxu.com\/study\/201611\/module-drag-drop-sort-delete.html\" rel=\"noopener\" target=\"_blank\">\u62d6\u62fd\u5b9e\u73b0\u6a21\u5757\u63d2\u5165\u6392\u5e8f\u5220\u9664<\/a><\/p>\n<p>\u76f8\u5173\u4ea4\u4e92JS\u4ee3\u7801\u53ef\u4ee5\u89c1\u9875\u9762\u6e90\u4ee3\u7801\u3002<\/p>\n<h3>\u56db\u3001\u6700\u540e\u6765\u4e2a\u603b\u7ed3<\/h3>\n<p>\u5f00\u59341\u4e2a\u4e3bdemo\uff0c\u52a01\u4e2a\u5f00\u6e90\u5c0f\u7ec4\u4ef6\uff0c\u5916\u52a01\u4e2a\u5220\u9664demo\uff0c\u8fd93\u4e2a\u5b9e\u4f8b\u5c31\u80fd\u628a\u5fae\u4fe1\u60ac\u6d6e\u6846\u4ea4\u4e92\u6548\u679c\u57fa\u672c\u8986\u76d6\uff0c\u76f8\u4fe1\u5927\u5bb6\u529f\u80fd\u5b9e\u73b0\u90fd\u4e0d\u4f1a\u6709\u4ec0\u4e48\u538b\u529b\uff0c\u4ee3\u7801\u90fd\u6709\uff0c\u987a\u7740\u903b\u8f91\u6539\u6539\u4eba\u4eba\u90fd\u80fd\u505a\u5f97\u5f88\u597d\u3002<\/p>\n<p>\u4f46\u662f\u5462\uff0c\u529f\u80fd\u867d\u7136\u6709\uff0c\u4f46\u662f\uff0c\u6700\u540e\u7684\u52a8\u753b\u5b9e\u73b0\u7ec6\u8282\u4f60\u8981\u505a\u5f97\u5fae\u4fe1\u90a3\u6837\uff0c\u8ddf\u4f60\u8bb2\uff0c\u4f60\u8fd8\u8981\u82b1\u989d\u5916\u4e00\u534a\u7684\u65f6\u95f4\uff0c\u800c\u8fd9\u989d\u5916\u4e00\u534a\u7684\u65f6\u95f4\uff0c\u5b9e\u9645\u4e0a\u5c31\u662f\u504f\u4f53\u9a8c\u524d\u7aef\u6280\u672f\u4eba\u5458\u7684\u5c42\u6b21\u5206\u6c34\u5cad\u3002<\/p>\n<p>\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u672c\u6587\u4e00\u5f00\u59cb\u90a3\u4e2ademo\u4f8b\u5b50\uff0c1\u4e2a\u5c0f\u65f6\u5f04\u597d\u7684\uff0c\u4f46\u662f\u5982\u679c\u4f60\u60f3\u771f\u6b63\u7528\u5728\u7ebf\u4e0a\uff0c\u4f30\u8ba1\u8fd8\u8981\u518d\u82b1\u4e00\u4e24\u4e2a\u5c0f\u65f6\u65f6\u95f4\uff0c\u5982\u679c\u4f60\u662f\u4e00\u4e2a\u5bf9\u4ea4\u4e92\u6548\u679c\uff0c\u5bf9\u7528\u6237\u4f53\u9a8c\u975e\u5e38\u6709\u8ffd\u6c42\u7684\u4eba\u3002<\/p>\n<p>\u6211\u5c31\u968f\u4fbf\u4e3e\u4e24\u70b9\u8bf4\u660e\uff1a<\/p>\n<ol>\n<li>\u7f51\u9875\u6536\u7f29\u5230\u6d6e\u7a97\u6309\u94ae\u7684\u65f6\u5019\uff0c\u7f51\u9875\u672c\u8eab\u5b9e\u9645\u4e0a\u662f\u6709\u4e00\u4e2a\u6574\u4f53\u9010\u6e10\u53d8\u6210\u4e2d\u7070\u8272\u7684\u52a8\u753b\u7684\uff0c\u8fd9\u4e2a\u53ef\u4ee5\u501f\u52a9\u4e00\u4e2a\u7070\u8272\u8499\u5c42\u8986\u76d6\u7136\u540e\u900f\u660e\u5ea60-1\u53d8\u5316\u5b9e\u73b0\u3002\u6211\u5b9e\u73b0\u7684\u65f6\u5019\u5c31\u5077\u61d2\u4e86\uff0c\u76f4\u63a5\u7528\u4e86\u4e2a\u7070\u5ea6\u6ee4\u955c\u3002\u4ece\u6548\u679c\u4e0a\u6765\u8bb2\uff0c\u8fd8\u884c\uff0c\u5982\u679c\u4e0d\u662f\u7279\u522b\u654f\u9510\u7684\u7528\u6237\uff0c\u8fd9\u4e2a\u6548\u679c\u4e5f\u8fd8\u8fc7\u5f97\u53bb\u3002\u4f46\u662f\u5982\u679c\u4f60\u662f\u8ffd\u6c42\u90a3\u79cd\u975e\u5e38\u81ea\u7136\u7684\u52a8\u753b\u6548\u679c\u7684\u8bdd\uff0c\u8272\u8c03\u4e5f\u5e94\u8be5\u662f\u5b8c\u7f8e\u8fc7\u6e21\uff0c\u90a3\u771f\u7684\u5c31\u8981\u60f3\u529e\u6cd5\u7f51\u9875\u6574\u4f53\u53d8\u7070\u8272\uff0c\u800c\u4e0d\u662f\u7070\u5ea6\uff0c\u901a\u5e38\uff0c\u8d8a\u8ffd\u6c42\u6548\u679c\uff0c\u6700\u8ffd\u6c42\u7ec6\u8282\uff0c\u6240\u82b1\u8d39\u7684\u65f6\u95f4\u548c\u7cbe\u529b\u4e5f\u8d8a\u591a\u300250%\u7684\u65f6\u95f4\u548c\u7cbe\u529b\u53ef\u4ee5\u5b9e\u73b080%\u7684\u6548\u679c\uff0c\u800c\u60f3\u8981\u7ee7\u7eed10~20%\u7684\u5b8c\u7f8e\u6548\u679c\uff0c\u5219\u8fd8\u9700\u898150%\u7684\u7cbe\u529b\u3002<\/li>\n<li>\u7f51\u9875\u4ece\u60ac\u6d6e\u6309\u94ae\u6062\u590d\u7684\u65f6\u5019\uff0c\u5fae\u4fe1\u7684\u5b9e\u73b0\u80cc\u540e\u53ea\u6709\u9ed1\u8272\u6216\u8005\u6df1\u7070\u8272\u515c\u5e95\u5c42\u7684\u3002\u800c\u6211\u5b9e\u73b0\u7684\u65f6\u5019\u53c8\u5077\u61d2\u4e86\uff0c\u9875\u9762\u6269\u6563\u65f6\u5019\uff0c\u8fb9\u89d2\u662f\u900f\u660e\u7684\uff0c\u76f4\u63a5\u9542\u7a7a\u4e86\u4e0b\u9762\u7684\u9875\u9762\u4fe1\u606f\u3002\u5b9e\u73b0\u5c31\u6ca1\u5fae\u4fe1\u7684\u7ec6\u81f4\u3002<\/li>\n<\/ol>\n<p>\u4ec0\u4e48\u662f\u597d\u7684\u4ea4\u4e92\uff1f\u5c31\u662f\u7528\u6237\u7528\u8d77\u6765\u65e0\u611f\u77e5\u7684\u4ea4\u4e92\uff0c\u8ba9\u7528\u6237\u89c9\u5f97\u7406\u6240\u5f53\u7136\uff0c\u5e94\u8be5\u662f\u8fd9\u6837\u5b50\u7684\u3002\u4f46\u662f\u8981\u505a\u5230\u8fd9\u4e00\u70b9\u975e\u5e38\u96be\uff0c\u5c31\u62ff\u4ea4\u4e92\u52a8\u753b\u6548\u679c\u6765\u8bf4\uff0c\u4e00\u4e2a\u9875\u9762\u6536\u7f29\u5230\u4e00\u4e2a\u5c0f\u6309\u94ae\u4e2d\uff0c\u6700\u540e\u5b9e\u73b0\u7684\u6548\u679c\u8981\u60f3\u201c\u7406\u6240\u5f53\u7136\u201d\uff0c\u65e0\u8bba\u662f\u4f4d\u7f6e\uff0c\u5c3a\u5bf8\uff0c\u8fd8\u662f\u900f\u660e\u5ea6\uff0c\u8272\u8c03\uff0c\u5176\u8fc7\u6e21\u6548\u679c\u90fd\u8981\u975e\u5e38\u81ea\u7136\u624d\u884c\uff0c\u53ea\u80cc\u540e\u90fd\u8981\u82b1\u8d39\u5f88\u5927\u7684\u65f6\u95f4\u548c\u7cbe\u529b\u7684\uff0c\u5c24\u5176\u662f\u4e00\u4e2a\u4ee5\u524d\u522b\u4eba\u90fd\u6ca1\u5b9e\u73b0\u8fc7\u7684\u6548\u679c\u3002<\/p>\n<p>\u6240\u4ee5\uff0c\u5f53\u6211\u4eec\u5938\u5956\u4e00\u4e2a\u4ea7\u54c1\u4ea4\u4e92\u4f53\u9a8c\u505a\u7684\u975e\u5e38\u597d\u7684\u65f6\u5019\uff0c\u90a3\u80cc\u540e\u4e00\u5b9a\u662f\u4ed8\u51fa\u4e86\u5f88\u591a\u5fc3\u8840\u624d\u6709\u7684\u7ed3\u679c\uff0c\u4ea7\u54c1\u91cd\u89c6\u4e14\u6709\u63a8\u52a8\uff0c\u5f00\u53d1\u6709\u6280\u672f\u6709\u8ffd\u6c42\u3002\u4ece\u8fd9\u4e00\u70b9\u5f00\u770b\uff0c\u4ea7\u54c1\u4f53\u9a8c\u672c\u8eab\u662f\u4e00\u4e2a\u5f88\u96be\u88ab\u7ade\u4e89\u5bf9\u624b\u903e\u8d8a\u7684\u7ade\u4e89\u70b9\u3002<\/p>\n<hr>\n<p>\u611f\u8c22\u9605\u8bfb\uff0c\u6b22\u8fce\u4ea4\u6d41\uff01<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/image.zhangxinxu.com\/image\/blog\/201611\/14.png\" align=\"absmiddle\"><\/p>\n<p>\u672c\u6587\u4e3a\u539f\u521b\u6587\u7ae0\uff0c\u4f1a\u7ecf\u5e38\u66f4\u65b0\u77e5\u8bc6\u70b9\u4ee5\u53ca\u4fee\u6b63\u4e00\u4e9b\u9519\u8bef\uff0c\u56e0\u6b64\u8f6c\u8f7d\u8bf7\u4fdd\u7559\u539f\u51fa\u5904\uff0c\u65b9\u4fbf\u6eaf\u6e90\uff0c\u907f\u514d\u9648\u65e7\u9519\u8bef\u77e5\u8bc6\u7684\u8bef\u5bfc\uff0c\u540c\u65f6\u6709\u66f4\u597d\u7684\u9605\u8bfb\u4f53\u9a8c\u3002<br \/>\n\u672c\u6587\u5730\u5740\uff1a<a href=\"http:\/\/www.zhangxinxu.com\/wordpress\/?p=7662\">http:\/\/www.zhangxinxu.com\/wordpress\/?p=7662<\/a><\/p>\n<p>\uff08\u672c\u7bc7\u5b8c\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5fae\u4fe1\u66f4\u65b0\u540e\uff0c\u53d1\u73b0\u591a\u4e86\u4e2a\u60ac\u6d6e\u7a97\u529f\u80fd\u3002\u516c\u4f17\u53f7\u9605\u8bfb\uff0c\u7f51\u9875\u6d4f\u89c8\u56de\u9000\u540e\u9ed8\u8ba4\u4f1a\u51fa\u73b0\u3002\u518d\u70b9\u51fb\uff0c\u53ef\u4ee5\u56de\u5230\u521a\u624d\u9605\u8bfb\u7684\u5730\u65b9\u3002\u4e8e\u662f\uff0c\u518d\u4e5f\u4e0d\u4f1a\u9047\u5230\u56de\u590d\u8001\u5a46\u7684\u4fe1\u606f\uff0c\u518d\u5207\u6362\u56de\u6765\u91cd\u65b0\u627e\u521a\u624d\u9605\u8bfb\u4e1c\u897f\u7684\u9ebb\u70e6\u4e86\u3002\u6211\u4e2a\u4eba\u89c9\u5f97\u662f\u5f88\u6709\u7528\u7684\u4e00\u4e2a\u529f\u80fd\u3002<\/p>\n<p>\u5176\u4ea4\u4e92\u6548\u679c\uff0c\u4e5f\u88ab\u4e0d\u5c11\u4eba\u79f0\u8d5e\u3002\u4f8b\u5982\uff0c\u7a97\u53e3\u4f1a\u6536\u7f29\u5230\u60ac\u6d6e\u6309\u94ae\u4e2d\uff0c\u60ac\u6d6e\u6309\u94ae\u53ef\u4ee5\u62d6\u5230\u53f3\u4e0b\u89d2\u53d6\u6d88\u6d6e\u7a97\u3002\u8fd9\u4e9b\u4ea4\u4e92\u6548\u679c\u5462\uff0c\u4f7f\u7528web\u524d\u7aef\u6280\u672f\u4e5f\u662f\u53ef\u4ee5\u5b9e\u73b0\uff0c\u6709demo\uff0c\u6709\u622a\u56fe\uff0c\u6709\u5fc5\u8981\u7684\u6e90\u4ee3\u7801\u5c55\u793a\uff0c\u5e0c\u671b\u672c\u6587\u7684\u5185\u5bb9\u80fd\u591f\u5bf9\u60a8\u7684\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[180],"tags":[959,560,561,740,288,49,226,1266],"_links":{"self":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/7662"}],"collection":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/comments?post=7662"}],"version-history":[{"count":0,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/7662\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=7662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=7662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=7662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}