{"id":30903,"date":"2024-11-25T15:14:47","date_gmt":"2024-11-25T07:14:47","guid":{"rendered":"https:\/\/fwq.ai\/blog\/30903\/"},"modified":"2024-11-25T15:14:47","modified_gmt":"2024-11-25T07:14:47","slug":"%e5%be%ae%e4%bf%a1%e5%b0%8f%e7%a8%8b%e5%ba%8f%e4%b8%ad%e8%87%aa%e5%ae%9a%e4%b9%89%e7%bb%84%e4%bb%b6%e7%9a%84%e8%af%a6%e7%bb%86%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/30903\/","title":{"rendered":"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u7684\u8be6\u7ec6\u4ecb\u7ecd"},"content":{"rendered":"<p>\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4e3a\u5927\u5bb6\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u7684\u76f8\u5173\u8d44\u6599\uff0c\u5177\u6709\u4e00\u5b9a\u7684\u53c2\u8003\u4ef7\u503c\uff0c\u611f\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u4eec\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b<\/p>\n<p><strong>\u524d\u8a00<\/strong><\/p>\n<p>\u6700\u8fd1\u63a5\u89e6\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\uff0c\u518d\u6b21\u4e4b\u524d\u516c\u53f8\u7528\u7684\u524d\u7aef\u6846\u67b6\u662fvue \uff0c\u7136\u540e\u5bf9\u6bd4\u53d1\u73b0\uff0c\u5f00\u53d1\u5c0f\u7a0b\u5e8f\u662f\u5404\u79cd\u9650\u5236\uff0c\u5bf9\u4e8e\u5f00\u53d1\u8005\u975e\u5e38\u4e0d\u53cb\u597d\u3002\u5404\u79cd\u69fd\u70b9\u592a\u591a\uff0c\u5b8c\u5168\u5410\u69fd\u4e0d\u8fc7\u6765\uff0c\u6240\u4ee5\u5728\u6b64\u4e0d\u591a\u8bf4\uff0c\u6253\u7b97\u4e0b\u6b21\u4e13\u95e8\u5199\u4e00\u7bc7\u6587\u7ae0\u5410\u69fd\u4e00\u4e0b\u3002\u672c\u6b21\u4e3b\u8981\u5206\u4eab\u4e0b\u5c0f\u7a0b\u5e8f\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u7684\u4e00\u70b9\u601d\u8def\uff0c\u5c0f\u7a0b\u5e8f\u5b98\u65b9\u63d0\u4f9b\u7684\u6846\u67b6\u6bd4\u8f83\u7b80\u964b\uff0c\u539f\u59cb\uff0c\u53ef\u590d\u7528\u8f83\u5dee\uff0c\u6ca1\u6709\u5b9e\u73b0\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u7684\u529f\u80fd\uff0c\u8fd9\u8ba9\u5f88\u591a\u4f7f\u7528vue ,react\u524d\u7aef\u5f00\u53d1\u975e\u5e38\u96be\u53d7\u3002\u7f51\u4e0a\u5b58\u5728\u5404\u79cd\u5410\u69fd\uff0c\u4e5f\u6709\u5206\u4eab\u5b9e\u73b0\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u7684\u65b9\u6cd5\uff0c\u4f46\u662f\u8981\u4e48\u8fc7\u4e8e\u590d\u6742\uff0c\u8981\u4e48\u662f\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5347\u7ea7\u4e4b\u540e\u5c31\u4e0d\u517c\u5bb9\uff0c\u53cd\u6b63\u662f\u5404\u79cd\u5751\u4f60\u6ca1\u5546\u91cf\u3002\u5728\u8fd9\u5206\u4eab\u4e0b\u672c\u4eba\u5728\u9879\u76ee\u4e2d\u662f\u5982\u4f55\u5b9e\u73b0\u7684\uff0c\u6b22\u8fce\u6307\u6b63\u6279\u8bc4\uff0c\u4e92\u76f8\u5b66\u4e60\u3002<\/p>\n<p><strong>toast\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u5b9e\u73b0<br \/><\/strong><\/p>\n<ul>\n<li>\n<p>\u8fd9\u91cc\u7528\u6700\u7b80\u5355\u7684toast\u7ec4\u4ef6\u4e3a\u4f8b\u5b50<\/p>\n<\/li>\n<li>\n<p>\u5b98\u65b9\u6846\u67b6\u53ea\u63d0\u4f9b\u4e86 \u9875\u9762\u6a21\u677f\u529f\u80fd \uff1a WXML\u63d0\u4f9b\u6a21\u677f\uff08template\uff09\uff0c\u53ef\u4ee5\u5728\u6a21\u677f\u4e2d\u5b9a\u4e49\u4ee3\u7801\u7247\u6bb5\uff0c\u7136\u540e\u5728\u4e0d\u540c\u7684\u5730\u65b9\u8c03\u7528\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f46\u662f\u8fd9\u4e2a\u529f\u80fd\u4e0d \u652f\u6301js\uff0c\u6837\u5f0f\u5c01\u88c5\uff0c\u9700\u8981\u5728\u5bf9\u5e94\u7684\u9875\u9762\u505a\u5904\u7406\uff0c\u4e14\u6a21\u677f\u8fd8\u6709\u81ea\u5df1\u7684\u4f5c\u7528\u57df\uff0c\u9700\u8981\u4f7f\u7528data\u4f20\u5165\u3002<\/p>\n<\/li>\n<li>\n<p>\u628a\u529f\u80fd\u5c01\u88c5\u6210\u72ec\u7acb\u7684\u7ec4\u4ef6\uff0c\u9700\u8981\u548c\u9875\u9762\u72ec\u7acb\uff0c\u5728\u4f7f\u7528\u65f6\u5c06\u7ec4\u4ef6\u6302\u8f7d\u5230\u5bf9\u5e94\u7684\u9875\u9762\uff0c\u6240\u4ee5\u7ec4\u4ef6\u9700\u8981\u4f20\u5165\u9875\u9762this(Page)\u5bf9\u8c61 \uff0c\u5b9e\u73b0\u4ee3\u7801\u5982\u4e0b<\/p>\n<\/li>\n<\/ul>\n<p>\u76ee\u5f55\u7ed3\u6784<\/p>\n<p>|&#8212;&#8212;components<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8212;&#8212;toast<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8212;&#8212;toast.js<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8212;&#8212;toast.wxml<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8212;&#8212;toast.wxss<\/p>\n<p>\u4ee3\u7801<\/p>\n<p>toast.wxml<\/p>\n<pre>&lt;template&gt;\r\n&nbsp;&nbsp;&lt;view&gt;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;view&gt;{{msg}}&lt;\/view&gt;\r\n&nbsp;&nbsp;&lt;\/view&gt;&lt;\/template&gt;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>toast.js<\/p>\n<pre>\/**\r\n&nbsp;*&nbsp;toastMsg&nbsp;\u5fc5\u4f20&nbsp;\u63d0\u793a\u5185\u5bb9\r\n&nbsp;*&nbsp;showTime&nbsp;\u975e\u5fc5\u4f20&nbsp;\u663e\u793a\u65f6\u95f4\u79d2\r\n*\/\r\nfunction&nbsp;toast(page,&nbsp;toastMsg,&nbsp;showTime)&nbsp;{\r\n&nbsp;&nbsp;let&nbsp;timer\r\n&nbsp;&nbsp;page.setData({&nbsp;toastMsg&nbsp;})\r\n&nbsp;&nbsp;showTime&nbsp;=&nbsp;showTime&nbsp;||&nbsp;toastMsg.length&nbsp;\/&nbsp;4\r\n&nbsp;&nbsp;console.log(showTime)\r\n&nbsp;&nbsp;clearTimeout(timer)\r\n&nbsp;&nbsp;timer&nbsp;=&nbsp;setTimeout(()&nbsp;=&amp;gt;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;page.setData({&nbsp;toastMsg:&nbsp;''&nbsp;})\r\n&nbsp;&nbsp;&nbsp;&nbsp;clearTimeout(timer)\r\n&nbsp;&nbsp;},&nbsp;showTime&nbsp;*&nbsp;1000)\r\n}\r\n\r\nmodule.exports&nbsp;=&nbsp;{\r\n&nbsp;&nbsp;toast:&nbsp;toast,\r\n}\r\ntoast.wxss\r\n.s-toast-content&nbsp;{\r\n&nbsp;&nbsp;position:&nbsp;fixed;\r\n&nbsp;&nbsp;left:&nbsp;50%;\r\n&nbsp;&nbsp;color:&nbsp;#fff;\r\n&nbsp;&nbsp;width:&nbsp;500rpx;\r\n&nbsp;&nbsp;bottom:&nbsp;120rpx;\r\n&nbsp;&nbsp;background:&nbsp;hsla(0,0%,7%,.7);\r\n&nbsp;&nbsp;padding:&nbsp;15rpx;\r\n&nbsp;&nbsp;text-align:&nbsp;center;\r\n&nbsp;&nbsp;-webkit-transform:&nbsp;translateX(-50%);\r\n&nbsp;&nbsp;transform:&nbsp;translateX(-50%);\r\n&nbsp;&nbsp;border-radius:&nbsp;4rpx;\r\n&nbsp;&nbsp;z-index:&nbsp;6999;\r\n}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u4f7f\u7528\u65b9\u6cd5<\/p>\n<p>1\u3001wxml\u5f15\u7528\u9875\u9762\u6a21\u677f<\/p>\n<p>2\u3001js \u6587\u4ef6\u5f15\u7528 toast.js<\/p>\n<pre>import&nbsp;{&nbsp;toast&nbsp;}&nbsp;from&nbsp;'..\/..\/..\/project\/component\/toast\/toast.js'<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>3\u3001\u8c03\u7528<\/p>\n<pre>toast(this,&nbsp;'\u586b\u5199\u8be6\u7ec6\u4fe1\u606f')<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p><strong>\u6539\u8fdb\u53ca\u66f4\u591a\u6269\u5c55<br \/><\/strong><\/p>\n<p>\u5b9e\u9645\u9879\u76ee\u4e2d\u4f1a\u6709toast confirm loading \u00b7\u00b7\u00b7\u7b49\u591a\u4e2a\u901a\u7528\u7ec4\u4ef6 \uff0c\u8fd8\u6709\u5927\u91cf\u7684\u4e1a\u52a1\u7ec4\u4ef6\uff0c\u6211\u4eec\u53ef\u4ee5\u628ajs\u90fd\u5f15\u5165\u5230\u4e00\u4e2ajs\u6587\u4ef6\u4e2d\uff0c\u7136\u540e\u5728\u9875\u9762\u52a0\u8f7d\u7684\u65f6\u5019\uff08onLoad\u65b9\u6cd5\uff09\u4e2d\u6ce8\u518cthis(page)\uff0c\u8fd9\u6837\u53ea\u9700\u8981\u6ce8\u518c\u4e00\u6b21\u4fbf\u53ef\u4ee5\u4f7f\u7528\u6240\u6709\u7684\u7ec4\u4ef6\uff0c\u5982<\/p>\n<pre>toast(this,'\u586b\u5199\u8be6\u7ec6\u4fe1\u606f'')<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u53d8\u6210<\/p>\n<pre>toast('\u586b\u5199\u8be6\u7ec6\u4fe1\u606f'')<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u540c\u6837\u7684\u601d\u8def\uff0c\u6211\u4eec\u53ef\u4ee5\u5b9e\u73b0\u7c7b\u4f3cvue\u4e2d\u6df7\u5408\uff08mixin\uff09\u7684\u529f\u80fd\uff0c\u5728\u4e1a\u52a1\u590d\u6742\u7684\u9879\u76ee\u4e2d\uff0c\u5927\u5927\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u590d\u7528 \u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<p>\u516c\u53f8\u5c0f\u7a0b\u5e8f\u53ea\u6709\u6211\u4e00\u4e2a\u4eba\u5f00\u53d1\uff0c\u4e0d\u5b58\u5728\u591a\u4eba\u534f\u4f5c\u5f00\u53d1\u5c0f\u7a0b\u5e8f\u7684\u60c5\u51b5\uff0c\u5728\u8fd9\u65b9\u9762\u4e0b\u7684\u529f\u592b\u4e0d\u591a\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u7684\u8be6\u7ec6\u4ecb\u7ecd\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\u7bc7\u6587\u7ae0\u4e3b\u8981\u4e3a\u5927\u5bb6\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u7684\u76f8\u5173\u8d44\u6599\uff0c\u5177\u6709\u4e00\u5b9a\u7684\u53c2\u8003\u4ef7\u503c\uff0c\u611f\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u4eec\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b \u524d\u8a00 \u6700\u8fd1\u63a5\u89e6\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\uff0c\u518d\u6b21\u4e4b\u524d\u516c\u53f8\u7528\u7684\u524d\u7aef\u6846\u67b6\u662fvue \uff0c\u7136\u540e\u5bf9\u6bd4\u53d1\u73b0\uff0c\u5f00\u53d1\u5c0f\u7a0b\u5e8f\u662f\u5404\u79cd\u9650\u5236\uff0c\u5bf9\u4e8e\u5f00\u53d1\u8005\u975e\u5e38\u4e0d\u53cb\u597d\u3002\u5404\u79cd\u69fd\u70b9\u592a\u591a\uff0c\u5b8c\u5168\u5410\u69fd\u4e0d\u8fc7\u6765\uff0c\u6240\u4ee5\u5728\u6b64\u4e0d\u591a\u8bf4\uff0c\u6253\u7b97\u4e0b\u6b21\u4e13\u95e8\u5199\u4e00\u7bc7\u6587\u7ae0\u5410\u69fd\u4e00\u4e0b\u3002\u672c\u6b21\u4e3b\u8981\u5206\u4eab\u4e0b\u5c0f\u7a0b\u5e8f\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u7684\u4e00\u70b9\u601d\u8def\uff0c\u5c0f\u7a0b\u5e8f\u5b98\u65b9\u63d0\u4f9b\u7684\u6846\u67b6\u6bd4\u8f83\u7b80\u964b\uff0c\u539f\u59cb\uff0c\u53ef\u590d\u7528\u8f83\u5dee\uff0c\u6ca1\u6709\u5b9e\u73b0\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u7684\u529f\u80fd\uff0c\u8fd9\u8ba9\u5f88\u591a\u4f7f\u7528vue ,react\u524d\u7aef\u5f00\u53d1\u975e\u5e38\u96be\u53d7\u3002\u7f51\u4e0a\u5b58\u5728\u5404\u79cd\u5410\u69fd\uff0c\u4e5f\u6709\u5206\u4eab\u5b9e\u73b0\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u7684\u65b9\u6cd5\uff0c\u4f46\u662f\u8981\u4e48\u8fc7\u4e8e\u590d\u6742\uff0c\u8981\u4e48\u662f\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5347\u7ea7\u4e4b\u540e\u5c31\u4e0d\u517c\u5bb9\uff0c\u53cd\u6b63\u662f\u5404\u79cd\u5751\u4f60\u6ca1\u5546\u91cf\u3002\u5728\u8fd9\u5206\u4eab\u4e0b\u672c\u4eba\u5728\u9879\u76ee\u4e2d\u662f\u5982\u4f55\u5b9e\u73b0\u7684\uff0c\u6b22\u8fce\u6307\u6b63\u6279\u8bc4\uff0c\u4e92\u76f8\u5b66\u4e60\u3002 toast\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u5b9e\u73b0 \u8fd9\u91cc\u7528\u6700\u7b80\u5355\u7684toast\u7ec4\u4ef6\u4e3a\u4f8b\u5b50 \u5b98\u65b9\u6846\u67b6\u53ea\u63d0\u4f9b\u4e86 \u9875\u9762\u6a21\u677f\u529f\u80fd \uff1a WXML\u63d0\u4f9b\u6a21\u677f\uff08template\uff09\uff0c\u53ef\u4ee5\u5728\u6a21\u677f\u4e2d\u5b9a\u4e49\u4ee3\u7801\u7247\u6bb5\uff0c\u7136\u540e\u5728\u4e0d\u540c\u7684\u5730\u65b9\u8c03\u7528\u3002 \u4f46\u662f\u8fd9\u4e2a\u529f\u80fd\u4e0d \u652f\u6301js\uff0c\u6837\u5f0f\u5c01\u88c5\uff0c\u9700\u8981\u5728\u5bf9\u5e94\u7684\u9875\u9762\u505a\u5904\u7406\uff0c\u4e14\u6a21\u677f\u8fd8\u6709\u81ea\u5df1\u7684\u4f5c\u7528\u57df\uff0c\u9700\u8981\u4f7f\u7528data\u4f20\u5165\u3002 \u628a\u529f\u80fd\u5c01\u88c5\u6210\u72ec\u7acb\u7684\u7ec4\u4ef6\uff0c\u9700\u8981\u548c\u9875\u9762\u72ec\u7acb\uff0c\u5728\u4f7f\u7528\u65f6\u5c06\u7ec4\u4ef6\u6302\u8f7d\u5230\u5bf9\u5e94\u7684\u9875\u9762\uff0c\u6240\u4ee5\u7ec4\u4ef6\u9700\u8981\u4f20\u5165\u9875\u9762this(Page)\u5bf9\u8c61 \uff0c\u5b9e\u73b0\u4ee3\u7801\u5982\u4e0b \u76ee\u5f55\u7ed3\u6784 |&#8212;&#8212;components&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8212;&#8212;toast&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8212;&#8212;toast.js&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8212;&#8212;toast.wxml&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&#8212;&#8212;toast.wxss \u4ee3\u7801 toast.wxml &lt;template&gt; &nbsp;&nbsp;&lt;view&gt; &nbsp;&nbsp;&nbsp;&nbsp;&lt;view&gt;{{msg}}&lt;\/view&gt; &nbsp;&nbsp;&lt;\/view&gt;&lt;\/template&gt; \u767b\u5f55\u540e\u590d\u5236 toast.js \/** &nbsp;*&nbsp;toastMsg&nbsp;\u5fc5\u4f20&nbsp;\u63d0\u793a\u5185\u5bb9 &nbsp;*&nbsp;showTime&nbsp;\u975e\u5fc5\u4f20&nbsp;\u663e\u793a\u65f6\u95f4\u79d2 *\/ function&nbsp;toast(page,&nbsp;toastMsg,&nbsp;showTime)&nbsp;{ &nbsp;&nbsp;let&nbsp;timer &nbsp;&nbsp;page.setData({&nbsp;toastMsg&nbsp;}) &nbsp;&nbsp;showTime&nbsp;=&nbsp;showTime&nbsp;||&nbsp;toastMsg.length&nbsp;\/&nbsp;4 &nbsp;&nbsp;console.log(showTime) &nbsp;&nbsp;clearTimeout(timer) &nbsp;&nbsp;timer&nbsp;=&nbsp;setTimeout(()&nbsp;=&amp;gt;&nbsp;{ &nbsp;&nbsp;&nbsp;&nbsp;page.setData({&nbsp;toastMsg:&nbsp;&#8221;&nbsp;}) &nbsp;&nbsp;&nbsp;&nbsp;clearTimeout(timer) &nbsp;&nbsp;},&nbsp;showTime&nbsp;*&nbsp;1000) } module.exports&nbsp;=&nbsp;{ &nbsp;&nbsp;toast:&nbsp;toast, } toast.wxss .s-toast-content&nbsp;{ &nbsp;&nbsp;position:&nbsp;fixed; &nbsp;&nbsp;left:&nbsp;50%; &nbsp;&nbsp;color:&nbsp;#fff; &nbsp;&nbsp;width:&nbsp;500rpx; &nbsp;&nbsp;bottom:&nbsp;120rpx; &nbsp;&nbsp;background:&nbsp;hsla(0,0%,7%,.7); [&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-30903","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/30903","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=30903"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/30903\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=30903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=30903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=30903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}