{"id":31361,"date":"2024-11-25T14:48:57","date_gmt":"2024-11-25T06:48:57","guid":{"rendered":"https:\/\/fwq.ai\/blog\/31361\/"},"modified":"2024-11-25T14:48:57","modified_gmt":"2024-11-25T06:48:57","slug":"%e5%be%ae%e4%bf%a1%e5%b0%8f%e7%a8%8b%e5%ba%8f%e7%9a%84%e5%9c%86%e5%bd%a2%e8%bf%9b%e5%ba%a6%e6%9d%a1%e6%80%8e%e4%b9%88%e5%81%9a","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/31361\/","title":{"rendered":"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u600e\u4e48\u505a"},"content":{"rendered":"<p style=\"text-align: left\">\u8fd9\u6b21\u7ed9\u5927\u5bb6\u5e26\u6765\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u600e\u4e48\u505a\uff0c\u5b9e\u73b0\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u7684\u6709\u54ea\u4e9b\uff0c\u4e0b\u9762\u5c31\u662f\u5b9e\u6218\u6848\u4f8b\uff0c\u4e00\u8d77\u6765\u770b\u4e00\u4e0b\u3002<\/p>\n<p style=\"text-align: left\"><span style=\"color: #ff0000\"><strong>\u9700\u6c42\u6982\u8981<\/strong><\/span><\/p>\n<p style=\"text-align: left\">\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528\u5706\u5f62\u5012\u8ba1\u65f6\uff0c\u6548\u679c\u56fe\uff1a<\/p>\n<p style=\"text-align: left\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/061\/021\/8b470b590524e0df5f0b0ecbbfb31f07-0.png\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u600e\u4e48\u505a\u63d2\u56fe\" alt=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u600e\u4e48\u505a\u63d2\u56fe\" \/><\/p>\n<p style=\"text-align: left\"><span style=\"color: #ff0000\"><strong>\u601d\u8def<\/strong><\/span><\/p>\n<ul>\n<li>\n<p style=\"text-align: left\">\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 style=\"text-align: left\">\u4f7f\u7528setInterval \u8ba9\u5f69\u8272\u5706\u73af\u9010\u6b65\u7ed8\u5236\u3002<\/p>\n<\/li>\n<\/ul>\n<p style=\"text-align: left\"><span style=\"color: #ff0000\"><strong>\u89e3\u51b3\u65b9\u6848<\/strong><\/span><\/p>\n<p style=\"text-align: left\"><strong>\u7b2c\u4e00\u6b65\u5148\u5199\u7ed3\u6784<\/strong><\/p>\n<p style=\"text-align: left\">\u4e00\u4e2a\u76d2\u5b50\u5305\u88f92\u4e2acanvas\u4ee5\u53ca\u6587\u5b57\u76d2\u5b50\uff1b<\/p>\n<p style=\"text-align: left\">\u76d2\u5b50\u4f7f\u7528\u76f8\u5bf9\u5b9a\u4f4d\u4f5c\u4e3a\u7236\u7ea7\uff0cflex\u5e03\u5c40\uff0c\u8bbe\u7f6e\u5c45\u4e2d\uff1b<\/p>\n<p style=\"text-align: left\">\u4e00\u4e2acanvas\uff0c\u4f7f\u7528\u4f5c\u4e3a\u80cc\u666f\uff0ccanvas-id=&#8221;canvasProgressbg&#8221;<\/p>\n<p style=\"text-align: left\">\u53e6\u4e00\u4e2acanvas\uff0c\u4f7f\u7528\u76f8\u5bf9\u5b9a\u4f4d\u4f5c\u4e3a\u8fdb\u5ea6\u6761\uff0ccanvas-id=&#8221;canvasProgress&#8221;<\/p>\n<p style=\"text-align: left\">\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;\r\n\/\/ 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<p style=\"text-align: left\"><span style=\"color: #ff0000\"><strong>\u7b2c\u4e8c\u6b65<\/strong><\/span><\/p>\n<p style=\"text-align: left\">\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<p style=\"text-align: left\"><span style=\"color: #ff0000\"><strong>\u7b2c\u4e09\u6b65canvas\u7ed8\u5236<\/strong><\/span><\/p>\n<p style=\"text-align: left\">\u6572\u9ed1\u677f\uff0c\u5212\u91cd\u70b9<\/p>\n<p style=\"text-align: left\"><strong>1. \u5148\u7ed8\u5236\u80cc\u666f<\/strong><\/p>\n<ol>\n<li>\n<p style=\"text-align: left\">\u5728js\u4e2d\u5c01\u88c5\u4e00\u4e2a\u753b\u5706\u73af\u7684\u51fd\u6570drawProgressbg\uff0ccanvas \u753b\u5706<\/p>\n<\/li>\n<li>\n<p style=\"text-align: left\">\u5728onReady\u4e2d\u6267\u884c\u8fd9\u4e2a\u51fd\u6570\uff1b<\/p>\n<\/li>\n<\/ol>\n<p style=\"text-align: left\">\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 style=\"text-align: left\">\u770b\u4e00\u4e0b\u6548\u679c\u5982\u4e0b\uff1a<\/p>\n<p style=\"text-align: left\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/061\/021\/10e54f8f8b612fd4a69d58834a201174-1.png\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u600e\u4e48\u505a\u63d2\u56fe1\" alt=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u600e\u4e48\u505a\u63d2\u56fe1\" \/><\/p>\n<p style=\"text-align: left\">2. \u7ed8\u5236\u5f69\u8272\u5706\u73af<\/p>\n<ol>\n<li>\n<p style=\"text-align: left\">\u5728js\u4e2d\u5c01\u88c5\u4e00\u4e2a\u753b\u5706\u73af\u7684\u51fd\u6570drawCircle\uff0c<\/p>\n<\/li>\n<li>\n<p style=\"text-align: left\">\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<p style=\"text-align: left\">this.drawCircle(0.5) \u6548\u679c\u5982\u4e0b\uff1a&nbsp;this.drawCircle(1) \u6548\u679c\u5982\u4e0b\uff1a&nbsp;this.drawCircle(2) \u6548\u679c\u5982\u4e0b\uff1a&nbsp;&nbsp;<\/p>\n<p style=\"text-align: left\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/061\/021\/10e54f8f8b612fd4a69d58834a201174-2.png\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u600e\u4e48\u505a\u63d2\u56fe2\" alt=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u600e\u4e48\u505a\u63d2\u56fe2\" \/><\/p>\n<p style=\"text-align: left\"><strong>3. \u8bbe\u7f6e\u4e00\u4e2a\u5b9a\u65f6\u5668<\/strong><\/p>\n<p style=\"text-align: left\">\u5728js\u4e2d\u7684data\u8bbe\u7f6e\u4e00\u4e2a\u8ba1\u6570\u5668 count,\u4e00\u4e2a\u6b65\u9aa4step,\u4e00\u4e2a\u5b9a\u65f6\u5668<\/p>\n<p style=\"text-align: left\">\u5728js\u4e2d\u5c01\u88c5\u4e00\u4e2a\u5b9a\u65f6\u5668\u7684\u51fd\u6570countInterval\uff0c<\/p>\n<p style=\"text-align: left\">\u5728onReady\u4e2d\u6267\u884c\u8fd9\u4e2a\u51fd\u6570\uff1b<\/p>\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 style=\"text-align: left\">\u6700\u7ec8\u6548\u679c<\/p>\n<p style=\"text-align: left\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/061\/021\/10e54f8f8b612fd4a69d58834a201174-3.gif\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u600e\u4e48\u505a\u63d2\u56fe3\" alt=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u600e\u4e48\u505a\u63d2\u56fe3\" \/><\/p>\n<p style=\"text-align: left\"><span style=\"color: #ff0000\"><\/span><\/p>\n<p>\u76f8\u4fe1\u770b\u4e86\u672c\u6587\u6848\u4f8b\u4f60\u5df2\u7ecf\u638c\u63e1\u4e86\u65b9\u6cd5\uff0c\u66f4\u591a\u7cbe\u5f69\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n<p>\u63a8\u8350\u9605\u8bfb\uff1a<\/p>\n<p style=\"text-align: left\"><\/p>\n<p style=\"text-align: left\"><\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u600e\u4e48\u505a\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>\u8fd9\u6b21\u7ed9\u5927\u5bb6\u5e26\u6765\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u600e\u4e48\u505a\uff0c\u5b9e\u73b0\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684\u5706\u5f62\u8fdb\u5ea6\u6761\u7684\u6709\u54ea\u4e9b\uff0c\u4e0b\u9762\u5c31\u662f\u5b9e\u6218\u6848\u4f8b\uff0c\u4e00\u8d77\u6765\u770b\u4e00\u4e0b\u3002 \u9700\u6c42\u6982\u8981 \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\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; \/\/ 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 [&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-31361","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/31361","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=31361"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/31361\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=31361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=31361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=31361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}