{"id":31282,"date":"2024-11-25T15:50:36","date_gmt":"2024-11-25T07:50:36","guid":{"rendered":"https:\/\/fwq.ai\/blog\/31282\/"},"modified":"2024-11-25T15:50:36","modified_gmt":"2024-11-25T07:50:36","slug":"%e5%be%ae%e4%bf%a1%e5%b0%8f%e7%a8%8b%e5%ba%8f%e5%ae%9e%e7%8e%b0%e5%9c%86%e5%bd%a2%e8%bf%9b%e5%ba%a6%e6%9d%a1%e5%ae%9e%e4%be%8b%e5%88%86%e4%ba%ab","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/31282\/","title":{"rendered":"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab"},"content":{"rendered":"<p>\u672c\u6587\u4e3b\u8981\u548c\u5927\u5bb6\u5206\u4eab\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\uff0c\u5e0c\u671b\u80fd\u5e2e\u52a9\u5230\u5927\u5bb6\u3002<\/p>\n<p>\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u5706\u5f62\u5012\u8ba1\u65f6\uff0c\u6548\u679c\u56fe\uff1a<br \/><span><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/054\/025\/ef889e6a9a4416737813e38968cfe59a-0.png\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab\u63d2\u56fe\" alt=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab\u63d2\u56fe\" \/><\/span><\/p>\n<h1>\u601d\u8def<\/h1>\n<ol>\n<li>\n<p>\u4f7f\u75282\u4e2acanvas \u4e00\u4e2a\u662f\u80cc\u666f\u5706\u73af\uff0c\u4e00\u4e2a\u662f\u5f69\u8272\u5706\u73af\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528setInterval \u8ba9\u5f69\u8272\u5706\u73af\u9010\u6b65\u7ed8\u5236\u3002<\/p>\n<\/li>\n<\/ol>\n<h1>\u89e3\u51b3\u65b9\u6848<\/h1>\n<h2>\u7b2c\u4e00\u6b65\u5148\u5199\u7ed3\u6784<\/h2>\n<p>\u4e00\u4e2a\u76d2\u5b50\u5305\u88f92\u4e2acanvas\u4ee5\u53ca\u6587\u5b57\u76d2\u5b50\uff1b<br \/>\u76d2\u5b50\u4f7f\u7528\u76f8\u5bf9\u5b9a\u4f4d\u4f5c\u4e3a\u7236\u7ea7\uff0cflex\u5e03\u5c40\uff0c\u8bbe\u7f6e\u5c45\u4e2d\uff1b<br \/>\u4e00\u4e2acanvas\uff0c\u4f7f\u7528\u7edd\u5bf9\u5b9a\u4f4d\u4f5c\u4e3a\u80cc\u666f\uff0ccanvas-id=&#8221;canvasProgressbg&#8221;<br \/>\u53e6\u4e00\u4e2acanvas\uff0c\u4f7f\u7528\u76f8\u5bf9\u5b9a\u4f4d\u4f5c\u4e3a\u8fdb\u5ea6\u6761\uff0ccanvas-id=&#8221;canvasProgress&#8221;<br \/>\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre>\/\/ wxml\r\n &lt;view class=\"container\"&gt;\r\n     &lt;view class='progress_box'&gt;\r\n        &lt;canvas class=\"progress_bg\"   canvas-id=\"canvasProgressbg\"&gt;  &lt;\/canvas&gt; \r\n        &lt;canvas class=\"progress_canvas\"   canvas-id=\"canvasProgress\"&gt;  &lt;\/canvas&gt; \r\n        &lt;view class=\"progress_text\"&gt;\r\n            &lt;view class=\"progress_dot\"&gt;&lt;\/view&gt; \r\n            &lt;text class='progress_info'&gt; {{progress_txt}}&lt;\/text&gt;\r\n        &lt;\/view&gt;     \r\n    &lt;\/view&gt;\r\n&lt;\/view&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<pre>\/\/ wxss\r\n.progress_box{\r\n  position: relative;\r\n  width:220px;\r\n  height: 220px;  \r\n\/\/ \u8fd9\u91cc\u7684\u5bbd\u9ad8\u662f\u5fc5\u987b\u5927\u4e8e\u7b49\u4e8ecanvas\u5706\u73af\u7684\u76f4\u5f84 \u5426\u5219\u7ed8\u5236\u5230\u76d2\u5b50\u5916\u9762\u5c31\u770b\u4e0d\u89c1\u4e86\r\n\/\/ \u4e00\u5f00\u59cb\u8bbe\u7f6e width:440rpx; height:440rpx; \u53d1\u73b0 \u5728360X640\u5206\u8fa8\u7387\u7684\u8bbe\u5907\uff0c\u4e0b\u7ed8\u5236\u7684\u5706\u73af\u8dd1\u76d2\u5b50\u5916\u53bb\u4e86\r\n\/\/ \u5c0f\u7a0b\u5e8f\u4f7f\u7528rpx\u5355\u4f4d\u9002\u914d \uff0c\u4f46\u662fcanvas\u7ed8\u5236\u7684\u662fpx\u5355\u4f4d\u7684\u3002\u6240\u4ee5\u53ea\u80fd\u7528px\u5355\u4f4d\u7ed8\u5236\u7684\u5706\u73af\u5728\u76d2\u5b50\u5185\u663e\u793a\r\n  display: flex;  \r\n  align-items: center;\r\n  justify-content: center;\r\n  background-color: #eee;\r\n}\r\n.progress_bg{\r\n  position: absolute;\r\n    width:220px;\r\n  height: 220px; \r\n}\r\n.progress_canvas{ \r\n  width:220px;\r\n  height: 220px; \r\n} \r\n.progress_text{ \r\n  position: absolute; \r\n  display: flex;  \r\n  align-items: center;\r\n  justify-content: center\r\n}\r\n.progress_info{   \r\n  font-size: 36rpx;\r\n  padding-left: 16rpx;\r\n  letter-spacing: 2rpx\r\n} \r\n.progress_dot{\r\n  width:16rpx;\r\n  height: 16rpx;  \r\n  border-radius: 50%;\r\n  background-color: #fb9126;\r\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h2>\u7b2c\u4e8c\u6b65\u6570\u636e\u7ed1\u5b9a<\/h2>\n<p>\u4ecewxml\u4e2d\u53ef\u4ee5\u770b\u5230\u6211\u4eec\u4f7f\u7528\u4e86\u4e00\u4e2a\u6570\u636eprogress_txt\uff0c\u6240\u4ee5\u5728js\u4e2d\u8bbe\u7f6edata\u5982\u4e0b\uff1a<\/p>\n<pre> data: {\r\n    progress_txt: '\u6b63\u5728\u5339\u914d\u4e2d...',  \r\n  },<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h2>\u7b2c\u4e09\u6b65canvas\u7ed8\u5236<\/h2>\n<p>\u6572\u9ed1\u677f\uff0c\u5212\u91cd\u70b9<\/p>\n<h3>1. \u5148\u7ed8\u5236\u80cc\u666f<\/h3>\n<ol>\n<li>\n<p>\u5728js\u4e2d\u5c01\u88c5\u4e00\u4e2a\u753b\u5706\u73af\u7684\u51fd\u6570drawProgressbg\uff0ccanvas \u753b\u5706<\/p>\n<\/li>\n<li>\n<p>\u5728onReady\u4e2d\u6267\u884c\u8fd9\u4e2a\u51fd\u6570\uff1b<\/p>\n<\/li>\n<\/ol>\n<p>\u5c0f\u7a0b\u5e8fcanvas\u7ec4\u4ef6\u4e0eH5\u7684canvas\u6709\u70b9\u5dee\u522b\uff0c\u8bf7\u67e5\u770b\u6587\u6863\uff0c\u4ee3\u7801\u5982\u4e0b<\/p>\n<pre>drawProgressbg: function(){\r\n    \/\/ \u4f7f\u7528 wx.createContext \u83b7\u53d6\u7ed8\u56fe\u4e0a\u4e0b\u6587 context\r\n    var ctx = wx.createCanvasContext('canvasProgressbg')\r\n    ctx.setLineWidth(4);\/\/ \u8bbe\u7f6e\u5706\u73af\u7684\u5bbd\u5ea6\r\n    ctx.setStrokeStyle('#20183b'); \/\/ \u8bbe\u7f6e\u5706\u73af\u7684\u989c\u8272\r\n    ctx.setLineCap('round') \/\/ \u8bbe\u7f6e\u5706\u73af\u7aef\u70b9\u7684\u5f62\u72b6\r\n    ctx.beginPath();\/\/\u5f00\u59cb\u4e00\u4e2a\u65b0\u7684\u8def\u5f84\r\n    ctx.arc(110, 110, 100, 0, 2 * Math.PI, false);\r\n    \/\/\u8bbe\u7f6e\u4e00\u4e2a\u539f\u70b9(100,100)\uff0c\u534a\u5f84\u4e3a90\u7684\u5706\u7684\u8def\u5f84\u5230\u5f53\u524d\u8def\u5f84\r\n    ctx.stroke();\/\/\u5bf9\u5f53\u524d\u8def\u5f84\u8fdb\u884c\u63cf\u8fb9\r\n    ctx.draw();\r\n  },\r\n onReady: function () {\r\n    this.drawProgressbg(); \r\n  },<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u770b\u4e00\u4e0b\u6548\u679c\u5982\u4e0b\uff1a<br \/><span><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/054\/025\/ef889e6a9a4416737813e38968cfe59a-1.png\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab\u63d2\u56fe1\" alt=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab\u63d2\u56fe1\" \/><\/span><\/p>\n<h3>2. \u7ed8\u5236\u5f69\u8272\u5706\u73af<\/h3>\n<ol>\n<li>\n<p>\u5728js\u4e2d\u5c01\u88c5\u4e00\u4e2a\u753b\u5706\u73af\u7684\u51fd\u6570drawCircle\uff0c<\/p>\n<\/li>\n<li>\n<p>\u5728onReady\u4e2d\u6267\u884c\u8fd9\u4e2a\u51fd\u6570\uff1b<\/p>\n<\/li>\n<\/ol>\n<pre>  drawCircle: function (step){  \r\n    var context = wx.createCanvasContext('canvasProgress');\r\n      \/\/ \u8bbe\u7f6e\u6e10\u53d8\r\n      var gradient = context.createLinearGradient(200, 100, 100, 200);\r\n      gradient.addColorStop(\"0\", \"#2661DD\");\r\n      gradient.addColorStop(\"0.5\", \"#40ED94\");\r\n      gradient.addColorStop(\"1.0\", \"#5956CC\");\r\n      \r\n      context.setLineWidth(10);\r\n      context.setStrokeStyle(gradient);\r\n      context.setLineCap('round')\r\n      context.beginPath(); \r\n      \/\/ \u53c2\u6570step \u4e3a\u7ed8\u5236\u7684\u5706\u73af\u5468\u957f\uff0c\u4ece0\u52302\u4e3a\u4e00\u5468 \u3002 -Math.PI \/ 2 \u5c06\u8d77\u59cb\u89d2\u8bbe\u572812\u70b9\u949f\u4f4d\u7f6e \uff0c\u7ed3\u675f\u89d2 \u901a\u8fc7\u6539\u53d8 step \u7684\u503c\u786e\u5b9a\r\n      context.arc(110, 110, 100, -Math.PI \/ 2, step * Math.PI - Math.PI \/ 2, false);\r\n      context.stroke(); \r\n      context.draw() \r\n  },\r\n onReady: function () {\r\n     this.drawProgressbg(); \r\n     this.drawCircle(2) \r\n  },<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<table>\n<tbody>\n<tr>\n<td>this.drawCircle(0.5) \u6548\u679c\u5982\u4e0b\uff1a<\/td>\n<td>this.drawCircle(1) \u6548\u679c\u5982\u4e0b\uff1a<\/td>\n<td>this.drawCircle(2) \u6548\u679c\u5982\u4e0b\uff1a<\/td>\n<\/tr>\n<tr>\n<td><span><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/054\/025\/f4557813973950a2abd24c7c79795ee9-2.png\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab\u63d2\u56fe2\" alt=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab\u63d2\u56fe2\" \/><\/span><\/td>\n<td><span><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/054\/025\/16596bd53660412feef9b46f649ce103-3.png\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab\u63d2\u56fe3\" alt=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab\u63d2\u56fe3\" \/><\/span><\/td>\n<td><span><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/054\/025\/16596bd53660412feef9b46f649ce103-4.png\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab\u63d2\u56fe4\" alt=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab\u63d2\u56fe4\" \/><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>3. \u8bbe\u7f6e\u4e00\u4e2a\u5b9a\u65f6\u5668<\/h3>\n<ol>\n<li>\n<p>\u5728js\u4e2d\u7684data\u8bbe\u7f6e\u4e00\u4e2a\u8ba1\u6570\u5668 count,\u4e00\u4e2a\u6b65\u9aa4step,\u4e00\u4e2a\u5b9a\u65f6\u5668<\/p>\n<\/li>\n<li>\n<p>\u5728js\u4e2d\u5c01\u88c5\u4e00\u4e2a\u5b9a\u65f6\u5668\u7684\u51fd\u6570countInterval\uff0c<\/p>\n<\/li>\n<li>\n<p>\u5728onReady\u4e2d\u6267\u884c\u8fd9\u4e2a\u51fd\u6570\uff1b<\/p>\n<\/li>\n<\/ol>\n<pre>  data: {\r\n    progress_txt: '\u6b63\u5728\u5339\u914d\u4e2d...',  \r\n    count:0, \/\/ \u8bbe\u7f6e \u8ba1\u6570\u5668 \u521d\u59cb\u4e3a0\r\n    countTimer: null \/\/ \u8bbe\u7f6e \u5b9a\u65f6\u5668 \u521d\u59cb\u4e3anull\r\n  },\r\n    countInterval: function () {\r\n    \/\/ \u8bbe\u7f6e\u5012\u8ba1\u65f6 \u5b9a\u65f6\u5668 \u6bcf100\u6beb\u79d2\u6267\u884c\u4e00\u6b21\uff0c\u8ba1\u6570\u5668count+1 ,\u8017\u65f66\u79d2\u7ed8\u4e00\u5708\r\n    this.countTimer = setInterval(() =&gt; {\r\n      if (this.data.count &lt;= 60) {\r\n        \/* \u7ed8\u5236\u5f69\u8272\u5706\u73af\u8fdb\u5ea6\u6761  \r\n        \u6ce8\u610f\u6b64\u5904 \u4f20\u53c2 step \u53d6\u503c\u8303\u56f4\u662f0\u52302\uff0c\r\n        \u6240\u4ee5 \u8ba1\u6570\u5668 \u6700\u5927\u503c 60 \u5bf9\u5e94 2 \u505a\u5904\u7406\uff0c\u8ba1\u6570\u5668count=60\u7684\u65f6\u5019step=2\r\n        *\/\r\n         this.drawCircle(this.data.count \/ (60\/2))\r\n        this.data.count++;\r\n      } else {\r\n        this.setData({\r\n          progress_txt: \"\u5339\u914d\u6210\u529f\"\r\n        }); \r\n        clearInterval(this.countTimer);\r\n      }\r\n    }, 100)\r\n  },\r\n onReady: function () {\r\n    this.drawProgressbg();\r\n    \/\/ this.drawCircle(2) \r\n    this.countInterval()\r\n  },<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u6700\u7ec8\u6548\u679c<br \/><span><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/054\/025\/16596bd53660412feef9b46f649ce103-5.gif\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab\u63d2\u56fe5\" alt=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab\u63d2\u56fe5\" \/><\/span><\/p>\n<p>\u76f8\u5173\u63a8\u8350\uff1a<\/p>\n<\/p>\n<\/p>\n<p><\/p>\n<p><\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\u5206\u4eab\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>\u672c\u6587\u4e3b\u8981\u548c\u5927\u5bb6\u5206\u4eab\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5b9e\u73b0\u5706\u5f62\u8fdb\u5ea6\u6761\u5b9e\u4f8b\uff0c\u5e0c\u671b\u80fd\u5e2e\u52a9\u5230\u5927\u5bb6\u3002 \u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u5706\u5f62\u5012\u8ba1\u65f6\uff0c\u6548\u679c\u56fe\uff1a \u601d\u8def \u4f7f\u75282\u4e2acanvas \u4e00\u4e2a\u662f\u80cc\u666f\u5706\u73af\uff0c\u4e00\u4e2a\u662f\u5f69\u8272\u5706\u73af\u3002 \u4f7f\u7528setInterval \u8ba9\u5f69\u8272\u5706\u73af\u9010\u6b65\u7ed8\u5236\u3002 \u89e3\u51b3\u65b9\u6848 \u7b2c\u4e00\u6b65\u5148\u5199\u7ed3\u6784 \u4e00\u4e2a\u76d2\u5b50\u5305\u88f92\u4e2acanvas\u4ee5\u53ca\u6587\u5b57\u76d2\u5b50\uff1b\u76d2\u5b50\u4f7f\u7528\u76f8\u5bf9\u5b9a\u4f4d\u4f5c\u4e3a\u7236\u7ea7\uff0cflex\u5e03\u5c40\uff0c\u8bbe\u7f6e\u5c45\u4e2d\uff1b\u4e00\u4e2acanvas\uff0c\u4f7f\u7528\u7edd\u5bf9\u5b9a\u4f4d\u4f5c\u4e3a\u80cc\u666f\uff0ccanvas-id=&#8221;canvasProgressbg&#8221;\u53e6\u4e00\u4e2acanvas\uff0c\u4f7f\u7528\u76f8\u5bf9\u5b9a\u4f4d\u4f5c\u4e3a\u8fdb\u5ea6\u6761\uff0ccanvas-id=&#8221;canvasProgress&#8221;\u4ee3\u7801\u5982\u4e0b\uff1a \/\/ wxml &lt;view class=&#8221;container&#8221;&gt; &lt;view class=&#8217;progress_box&#8217;&gt; &lt;canvas class=&#8221;progress_bg&#8221; canvas-id=&#8221;canvasProgressbg&#8221;&gt; &lt;\/canvas&gt; &lt;canvas class=&#8221;progress_canvas&#8221; canvas-id=&#8221;canvasProgress&#8221;&gt; &lt;\/canvas&gt; &lt;view class=&#8221;progress_text&#8221;&gt; &lt;view class=&#8221;progress_dot&#8221;&gt;&lt;\/view&gt; &lt;text class=&#8217;progress_info&#8217;&gt; {{progress_txt}}&lt;\/text&gt; &lt;\/view&gt; &lt;\/view&gt; &lt;\/view&gt; \u767b\u5f55\u540e\u590d\u5236 \/\/ wxss .progress_box{ position: relative; width:220px; height: 220px; \/\/ \u8fd9\u91cc\u7684\u5bbd\u9ad8\u662f\u5fc5\u987b\u5927\u4e8e\u7b49\u4e8ecanvas\u5706\u73af\u7684\u76f4\u5f84 \u5426\u5219\u7ed8\u5236\u5230\u76d2\u5b50\u5916\u9762\u5c31\u770b\u4e0d\u89c1\u4e86 \/\/ \u4e00\u5f00\u59cb\u8bbe\u7f6e width:440rpx; height:440rpx; \u53d1\u73b0 \u5728360X640\u5206\u8fa8\u7387\u7684\u8bbe\u5907\uff0c\u4e0b\u7ed8\u5236\u7684\u5706\u73af\u8dd1\u76d2\u5b50\u5916\u53bb\u4e86 \/\/ \u5c0f\u7a0b\u5e8f\u4f7f\u7528rpx\u5355\u4f4d\u9002\u914d \uff0c\u4f46\u662fcanvas\u7ed8\u5236\u7684\u662fpx\u5355\u4f4d\u7684\u3002\u6240\u4ee5\u53ea\u80fd\u7528px\u5355\u4f4d\u7ed8\u5236\u7684\u5706\u73af\u5728\u76d2\u5b50\u5185\u663e\u793a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-31282","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/31282","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=31282"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/31282\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=31282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=31282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=31282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}