{"id":31578,"date":"2024-11-25T11:38:57","date_gmt":"2024-11-25T03:38:57","guid":{"rendered":"https:\/\/fwq.ai\/blog\/31578\/"},"modified":"2024-11-25T11:38:57","modified_gmt":"2024-11-25T03:38:57","slug":"%e5%be%ae%e4%bf%a1%e5%b0%8f%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91%e4%b8%ad%e6%80%8e%e6%a0%b7%e5%ae%9e%e7%8e%b0%e7%94%b5%e5%95%86%e8%b4%ad%e7%89%a9%e8%bd%a6%e9%80%bb%e8%be%91","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/31578\/","title":{"rendered":"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5f00\u53d1\u4e2d\u600e\u6837\u5b9e\u73b0\u7535\u5546\u8d2d\u7269\u8f66\u903b\u8f91"},"content":{"rendered":"<p style=\"padding: 0px;margin-top: 0px;margin-bottom: 16px;font-size: 20px;line-height: 26px;text-align: left;font-family:\"><span style=\"font-size: 14px\">\u7ed9\u5927\u5bb6\u5206\u4eab\u4e00\u4e2a\u5173\u4e8e\u5c0f\u7a0b\u5e8f\u8d2d\u7269\u8f66\u5168\u9009\u7684\u903b\u8f91\u5904\u7406\uff0c\u8fd9\u4e2a\u8fd8\u662f\u8981\u611f\u8c22\u6211\u7684\u8001\u59b9\u6559\u5bfc\u6211\uff0c\u4e00\u4e2a\u5f00\u53d1\u4eba\u5458\u505a\u4e1c\u897f\u4e00\u5b9a\u8981\u4e25\u8c28\uff0c\u4e0d\u7ba1UI\u8bbe\u8ba1\u7684\u6709\u591a\u4e11\uff0c\u8be5\u6709\u7684\u903b\u8f91\u4f60\u4e00\u5b9a\u8981\u505a\u5230\u3002<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-gold-cdn.xitu.io\/2018\/5\/29\/163aa02a3b1fbc66?imageView2\/0\/w\/1280\/h\/960\/format\/webp\/ignore-error\/1\" class=\"aligncenter\" title=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5f00\u53d1\u4e2d\u600e\u6837\u5b9e\u73b0\u7535\u5546\u8d2d\u7269\u8f66\u903b\u8f91\u63d2\u56fe\" alt=\"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5f00\u53d1\u4e2d\u600e\u6837\u5b9e\u73b0\u7535\u5546\u8d2d\u7269\u8f66\u903b\u8f91\u63d2\u56fe\" \/> <\/p>\n<p style=\"padding: 0px;margin-top: 0px;margin-bottom: 16px;font-size: 20px;line-height: 26px;text-align: left;font-family:\"><span style=\"font-size: 14px\">\u9996\u5148\u6211\u4eec\u8981\u505a\u5230\u7684\u5c31\u662f\uff0c\u5f53\u7528\u6237\u70b9\u51fb\u7b2c\u4e09\u4e2a\u5546\u54c1\u65f6 \u5168\u9009\u6309\u94ae\u81ea\u52a8\u9009\u4e2d\uff0c\u6216\u8005\u5168\u9009\u4e4b\u540e\uff0c\u53ea\u8981\u6709\u4e00\u4e2a\u5546\u54c1\u4e0d\u9009\u4e2d\uff0c\u5168\u9009\u6309\u94ae\u4e5f\u5f97\u53d8\u52a8\u3002\u5148\u7ed9\u5927\u5bb6\u770b\u4e00\u4e0b\u4ee3\u7801\uff1a<\/span><\/p>\n<p style=\"padding: 0px;margin-top: 0px;margin-bottom: 16px;font-size: 20px;line-height: 26px;text-align: left;font-family:\"><span style=\"font-size: 14px\">\u4f60\u8981\u5728\u9875\u9762onload\u65f6\u5019\u5b9a\u4e49\u4e00\u4e9b\u4f60\u9700\u8981\u6bcf\u6b21\u6e32\u67d3\u7684\u6570\u636e<\/span><\/p>\n<pre>data:&nbsp;{\nlikeList:&nbsp;[],\ncarts:[],&nbsp;\/\/&nbsp;\u8d2d\u7269\u8f66\u5217\u8868\nhasList:false,&nbsp;\/\/&nbsp;\u5217\u8868\u662f\u5426\u6709\u6570\u636e\n\/\/totalPrice:0,&nbsp;\/\/&nbsp;\u603b\u4ef7\uff0c\u521d\u59cb\u4e3a0\nselectAllStatus:false,&nbsp;\/\/&nbsp;\u5168\u9009\u72b6\u6001\uff0c\u9ed8\u8ba4\u5168\u9009,\ngoodsNums:0,\nallclick:[]\n}\n\u6bcf\u4ef6\u5546\u54c1\u5355\u4e2a\u9009\u4e2d\u7684\u7684\u903b\u8f91\u5904\u7406\nselectList(e)&nbsp;{\n&nbsp;&nbsp;const&nbsp;index&nbsp;=&nbsp;e.currentTarget.dataset.index;\/\/&nbsp;\u83b7\u53d6\u6bcf\u4e00\u4e2a\u70b9\u51fb\u7684\u8d2d\u7269\u8f66ID&nbsp;&nbsp;let&nbsp;carts&nbsp;=&nbsp;this.data.carts,\n&nbsp;&nbsp;selected&nbsp;=&nbsp;carts[index].select,\n&nbsp;&nbsp;all&nbsp;=&nbsp;this.data.allclick;\n&nbsp;&nbsp;carts[index].select&nbsp;=&nbsp;!selected;\ncarts[index].select&nbsp;==&nbsp;true&nbsp;?&nbsp;all.push(index):all.splice(index,1);\nall.length&nbsp;==&nbsp;carts.length&nbsp;?\nthis.setData({\n&nbsp;&nbsp;selectAllStatus:&nbsp;true}):this.setData({\n&nbsp;&nbsp;selectAllStatus:&nbsp;false});\n&nbsp;&nbsp;this.getTotalPrice();\n},<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<ul>\n<li>\n<p style=\"text-align: left\"><span style=\"font-size: 14px\">\u4e0a\u9762\u7684\u4ee3\u7801\uff0c\u5148\u505a\u7684\u5c31\u662f\u5355\u9009\u7684\u9875\u9762\u6e32\u67d3\u6548\u679c\u3002\u5224\u65ad\u90e8\u5206\u7684\u4ee3\u7801\u5c31\u662f\u6700\u4e3b\u8981\u7684\u5904\u7406\u5168\u9009\u903b\u8f91\u7684\u4e00\u6b65\u3002\u76f8\u4fe1\u4f60\u770b\u5230\u8fd9\u91cc\u4e5f\u6ce8\u610f\u5230\u6211\u5728data\u91cc\u5b9a\u4e49\u4e86\u4e00\u4e2aallclick\u7684\u7a7a\u6570\u7ec4\uff0c\u7136\u540e\u5c31\u662f\u63a5\u4e0b\u6765\u7684\u903b\u8f91\uff1a<\/span><\/p>\n<\/li>\n<li>\n<p style=\"text-align: left\"><span style=\"font-size: 14px\">\u6309\u94ae\u9009\u4e2d\u65f6\u53d6\u51fa\u5bf9\u5e94item\u7684\u89d2\u6807\u653e\u5230\u65b0\u7684arr\u91cc\uff0c\u8fd9\u91cc\u56e0\u4e3a\u6211\u4e4b\u524d\u7ed3\u7b97\u7684\u903b\u8f91\u5df2\u7ecf\u641e\u597d\u4e86\uff0c\u6211\u5c31\u968f\u4fbf\u5f80\u6570\u7ec4\u91ccpush\u6570\u636e\uff0c\u4f46\u5176\u5b9e\u53ef\u4ee5\u4f5c\u4e3a\u5bf9\u5e94\u5546\u54c1\u7684\u66f4\u91cd\u8981\u7684\u4e00\u4e9b\u6570\u636e\u5904\u7406\u3002<\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"font-size: 14px\">\u6309\u94ae\u4e0d\u9009\u4e2d\u662f\u4ece\u65b0\u7684arr\u91cc\u627e\u5230\u8fd9\u4e2aitem\u5bf9\u5e94\u4e0b\u6807\u7684\u6570\u636e\u79fb\u9664<\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"font-size: 14px\">\u5b8c\u6210\u4e0a\u9762\u4e24\u6b65\u5904\u7406\u4e4b\u540e\uff0c\u6bcf\u6b21\u6309\u94ae\u72b6\u6001\u53d1\u751f\u53d8\u5316\u7684\u65f6\u5019\u5224\u65adarr\u7684\u957f\u5ea6\u548ccart\u7684\u957f\u5ea6\u3002<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"padding: 0px;margin-top: 0px;margin-bottom: 16px;font-size: 20px;line-height: 26px;text-align: left;font-family:\"><span style=\"font-size: 14px\">\u8fd9\u5c31\u662f\u6211\u7684\u5904\u7406\uff0c\u4e5f\u53ef\u5faa\u73af\uff0c\u5b9e\u73b0\u7684\u65b9\u5f0f\u6709\u5f88\u591a\uff0c\u53ea\u662f\u62ff\u51fa\u6765\u8ba9\u6ca1\u6709\u63a5\u89e6\u8fc7\u7684\u5c0f\u4f19\u4f34\u505a\u4e2a\u53c2\u8003\uff5e<\/span><\/p>\n<pre>data:&nbsp;{\nlikeList:&nbsp;[],\ncarts:[],&nbsp;\/\/&nbsp;\u8d2d\u7269\u8f66\u5217\u8868\nhasList:false,&nbsp;\/\/&nbsp;\u5217\u8868\u662f\u5426\u6709\u6570\u636e\n\/\/totalPrice:0,&nbsp;\/\/&nbsp;\u603b\u4ef7\uff0c\u521d\u59cb\u4e3a0\nselectAllStatus:false,&nbsp;\/\/&nbsp;\u5168\u9009\u72b6\u6001\uff0c\u9ed8\u8ba4\u5168\u9009,\ngoodsNums:0,\nallclick:[]\n}\n\u6bcf\u4ef6\u5546\u54c1\u5355\u4e2a\u9009\u4e2d\u7684\u7684\u903b\u8f91\u5904\u7406\nselectList(e)&nbsp;{\n&nbsp;&nbsp;const&nbsp;index&nbsp;=&nbsp;e.currentTarget.dataset.index;\/\/&nbsp;\u83b7\u53d6\u6bcf\u4e00\u4e2a\u70b9\u51fb\u7684\u8d2d\u7269\u8f66ID&nbsp;&nbsp;let&nbsp;carts&nbsp;=&nbsp;this.data.carts,\n&nbsp;&nbsp;selected&nbsp;=&nbsp;carts[index].select,\n&nbsp;&nbsp;all&nbsp;=&nbsp;this.data.allclick;\n&nbsp;&nbsp;carts[index].select&nbsp;=&nbsp;!selected;\ncarts[index].select&nbsp;==&nbsp;true&nbsp;?&nbsp;all.push(index):all.splice(index,1);\nall.length&nbsp;==&nbsp;carts.length&nbsp;?\nthis.setData({\n&nbsp;&nbsp;selectAllStatus:&nbsp;true}):this.setData({\n&nbsp;&nbsp;selectAllStatus:&nbsp;false});\n&nbsp;&nbsp;this.getTotalPrice();\n},<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<ul>\n<li>\n<p style=\"text-align: left\"><span style=\"font-size: 14px\">\u8fd9\u6bb5\u4ee3\u7801\u4e5f\u8fd8\u662f\u5148\u5904\u7406\u5168\u9009\u7684\u72b6\u6001\uff0c\u7136\u540e\u5c31\u662f\u5173\u8054\u72b6\u6001\u7684\u5904\u7406\uff0c<\/span><\/p>\n<\/li>\n<li>\n<p style=\"text-align: left\"><span style=\"font-size: 14px\">\u5f53\u5168\u9009\u6ca1\u6709\u52fe\u9009\u7684\u65f6\u5019\u5168\u90e8\u6539\u53d8\u5546\u54c1\u4fe1\u606f\u91cc\u7684\u6309\u94ae\u4e3afalse\uff0c\u76f4\u63a5\u6e05\u7a7aallclick\u6570\u7ec4\u3002<\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"font-size: 14px\">\u5f53\u5168\u9009\u52fe\u9009\u7684\u65f6\u5019\u5168\u90e8\u6539\u53d8\u5546\u54c1\u4fe1\u606f\u91cc\u7684\u6309\u94ae\u4e3atrue\uff0c\u5148\u6e05\u7a7a\uff0c\u63a5\u7740\u91cd\u65b0push\uff0c\u518d\u8d4b\u503c\u3002<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"padding: 0px;margin-top: 0px;margin-bottom: 16px;font-size: 20px;line-height: 26px;text-align: left;font-family:\"><span style=\"font-size: 14px\">\u7ecf\u8fc7\u8fd9\u51e0\u6b65\u64cd\u4f5c\u4e4b\u540e\u5c31\u89e3\u51b3\u4e86\u5168\u9009\u8fd9\u65b9\u9762\u7684\u6240\u6709\u903b\u8f91<\/span><\/p>\n<p style=\"text-align: left\"><span style=\"font-size: 14px\">\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<\/span><\/p>\n<p style=\"text-align: left\"><span style=\"font-size: 14px\">\u63a8\u8350\u9605\u8bfb\uff1a<\/span><\/p>\n<p style=\"padding: 0px;margin-top: 0px;margin-bottom: 16px;font-size: 20px;line-height: 26px;text-align: left;font-family:\">\n<p style=\"padding: 0px;margin-top: 0px;margin-bottom: 16px;font-size: 20px;line-height: 26px;text-align: left;font-family:\">\n<p>\u4ee5\u4e0a\u5c31\u662f\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u5f00\u53d1\u4e2d\u600e\u6837\u5b9e\u73b0\u7535\u5546\u8d2d\u7269\u8f66\u903b\u8f91\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>\u7ed9\u5927\u5bb6\u5206\u4eab\u4e00\u4e2a\u5173\u4e8e\u5c0f\u7a0b\u5e8f\u8d2d\u7269\u8f66\u5168\u9009\u7684\u903b\u8f91\u5904\u7406\uff0c\u8fd9\u4e2a\u8fd8\u662f\u8981\u611f\u8c22\u6211\u7684\u8001\u59b9\u6559\u5bfc\u6211\uff0c\u4e00\u4e2a\u5f00\u53d1\u4eba\u5458\u505a\u4e1c\u897f\u4e00\u5b9a\u8981\u4e25\u8c28\uff0c\u4e0d\u7ba1UI\u8bbe\u8ba1\u7684\u6709\u591a\u4e11\uff0c\u8be5\u6709\u7684\u903b\u8f91\u4f60\u4e00\u5b9a\u8981\u505a\u5230\u3002 \u9996\u5148\u6211\u4eec\u8981\u505a\u5230\u7684\u5c31\u662f\uff0c\u5f53\u7528\u6237\u70b9\u51fb\u7b2c\u4e09\u4e2a\u5546\u54c1\u65f6 \u5168\u9009\u6309\u94ae\u81ea\u52a8\u9009\u4e2d\uff0c\u6216\u8005\u5168\u9009\u4e4b\u540e\uff0c\u53ea\u8981\u6709\u4e00\u4e2a\u5546\u54c1\u4e0d\u9009\u4e2d\uff0c\u5168\u9009\u6309\u94ae\u4e5f\u5f97\u53d8\u52a8\u3002\u5148\u7ed9\u5927\u5bb6\u770b\u4e00\u4e0b\u4ee3\u7801\uff1a \u4f60\u8981\u5728\u9875\u9762onload\u65f6\u5019\u5b9a\u4e49\u4e00\u4e9b\u4f60\u9700\u8981\u6bcf\u6b21\u6e32\u67d3\u7684\u6570\u636e data:&nbsp;{ likeList:&nbsp;[], carts:[],&nbsp;\/\/&nbsp;\u8d2d\u7269\u8f66\u5217\u8868 hasList:false,&nbsp;\/\/&nbsp;\u5217\u8868\u662f\u5426\u6709\u6570\u636e \/\/totalPrice:0,&nbsp;\/\/&nbsp;\u603b\u4ef7\uff0c\u521d\u59cb\u4e3a0 selectAllStatus:false,&nbsp;\/\/&nbsp;\u5168\u9009\u72b6\u6001\uff0c\u9ed8\u8ba4\u5168\u9009, goodsNums:0, allclick:[] } \u6bcf\u4ef6\u5546\u54c1\u5355\u4e2a\u9009\u4e2d\u7684\u7684\u903b\u8f91\u5904\u7406 selectList(e)&nbsp;{ &nbsp;&nbsp;const&nbsp;index&nbsp;=&nbsp;e.currentTarget.dataset.index;\/\/&nbsp;\u83b7\u53d6\u6bcf\u4e00\u4e2a\u70b9\u51fb\u7684\u8d2d\u7269\u8f66ID&nbsp;&nbsp;let&nbsp;carts&nbsp;=&nbsp;this.data.carts, &nbsp;&nbsp;selected&nbsp;=&nbsp;carts[index].select, &nbsp;&nbsp;all&nbsp;=&nbsp;this.data.allclick; &nbsp;&nbsp;carts[index].select&nbsp;=&nbsp;!selected; carts[index].select&nbsp;==&nbsp;true&nbsp;?&nbsp;all.push(index):all.splice(index,1); all.length&nbsp;==&nbsp;carts.length&nbsp;? this.setData({ &nbsp;&nbsp;selectAllStatus:&nbsp;true}):this.setData({ &nbsp;&nbsp;selectAllStatus:&nbsp;false}); &nbsp;&nbsp;this.getTotalPrice(); }, \u767b\u5f55\u540e\u590d\u5236 \u767b\u5f55\u540e\u590d\u5236 \u4e0a\u9762\u7684\u4ee3\u7801\uff0c\u5148\u505a\u7684\u5c31\u662f\u5355\u9009\u7684\u9875\u9762\u6e32\u67d3\u6548\u679c\u3002\u5224\u65ad\u90e8\u5206\u7684\u4ee3\u7801\u5c31\u662f\u6700\u4e3b\u8981\u7684\u5904\u7406\u5168\u9009\u903b\u8f91\u7684\u4e00\u6b65\u3002\u76f8\u4fe1\u4f60\u770b\u5230\u8fd9\u91cc\u4e5f\u6ce8\u610f\u5230\u6211\u5728data\u91cc\u5b9a\u4e49\u4e86\u4e00\u4e2aallclick\u7684\u7a7a\u6570\u7ec4\uff0c\u7136\u540e\u5c31\u662f\u63a5\u4e0b\u6765\u7684\u903b\u8f91\uff1a \u6309\u94ae\u9009\u4e2d\u65f6\u53d6\u51fa\u5bf9\u5e94item\u7684\u89d2\u6807\u653e\u5230\u65b0\u7684arr\u91cc\uff0c\u8fd9\u91cc\u56e0\u4e3a\u6211\u4e4b\u524d\u7ed3\u7b97\u7684\u903b\u8f91\u5df2\u7ecf\u641e\u597d\u4e86\uff0c\u6211\u5c31\u968f\u4fbf\u5f80\u6570\u7ec4\u91ccpush\u6570\u636e\uff0c\u4f46\u5176\u5b9e\u53ef\u4ee5\u4f5c\u4e3a\u5bf9\u5e94\u5546\u54c1\u7684\u66f4\u91cd\u8981\u7684\u4e00\u4e9b\u6570\u636e\u5904\u7406\u3002 \u6309\u94ae\u4e0d\u9009\u4e2d\u662f\u4ece\u65b0\u7684arr\u91cc\u627e\u5230\u8fd9\u4e2aitem\u5bf9\u5e94\u4e0b\u6807\u7684\u6570\u636e\u79fb\u9664 \u5b8c\u6210\u4e0a\u9762\u4e24\u6b65\u5904\u7406\u4e4b\u540e\uff0c\u6bcf\u6b21\u6309\u94ae\u72b6\u6001\u53d1\u751f\u53d8\u5316\u7684\u65f6\u5019\u5224\u65adarr\u7684\u957f\u5ea6\u548ccart\u7684\u957f\u5ea6\u3002 \u8fd9\u5c31\u662f\u6211\u7684\u5904\u7406\uff0c\u4e5f\u53ef\u5faa\u73af\uff0c\u5b9e\u73b0\u7684\u65b9\u5f0f\u6709\u5f88\u591a\uff0c\u53ea\u662f\u62ff\u51fa\u6765\u8ba9\u6ca1\u6709\u63a5\u89e6\u8fc7\u7684\u5c0f\u4f19\u4f34\u505a\u4e2a\u53c2\u8003\uff5e data:&nbsp;{ likeList:&nbsp;[], carts:[],&nbsp;\/\/&nbsp;\u8d2d\u7269\u8f66\u5217\u8868 hasList:false,&nbsp;\/\/&nbsp;\u5217\u8868\u662f\u5426\u6709\u6570\u636e \/\/totalPrice:0,&nbsp;\/\/&nbsp;\u603b\u4ef7\uff0c\u521d\u59cb\u4e3a0 selectAllStatus:false,&nbsp;\/\/&nbsp;\u5168\u9009\u72b6\u6001\uff0c\u9ed8\u8ba4\u5168\u9009, goodsNums:0, allclick:[] } \u6bcf\u4ef6\u5546\u54c1\u5355\u4e2a\u9009\u4e2d\u7684\u7684\u903b\u8f91\u5904\u7406 selectList(e)&nbsp;{ &nbsp;&nbsp;const&nbsp;index&nbsp;=&nbsp;e.currentTarget.dataset.index;\/\/&nbsp;\u83b7\u53d6\u6bcf\u4e00\u4e2a\u70b9\u51fb\u7684\u8d2d\u7269\u8f66ID&nbsp;&nbsp;let&nbsp;carts&nbsp;=&nbsp;this.data.carts, &nbsp;&nbsp;selected&nbsp;=&nbsp;carts[index].select, &nbsp;&nbsp;all&nbsp;=&nbsp;this.data.allclick; &nbsp;&nbsp;carts[index].select&nbsp;=&nbsp;!selected; carts[index].select&nbsp;==&nbsp;true&nbsp;?&nbsp;all.push(index):all.splice(index,1); all.length&nbsp;==&nbsp;carts.length&nbsp;? this.setData({ &nbsp;&nbsp;selectAllStatus:&nbsp;true}):this.setData({ &nbsp;&nbsp;selectAllStatus:&nbsp;false}); &nbsp;&nbsp;this.getTotalPrice(); }, [&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-31578","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/31578","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=31578"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/31578\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=31578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=31578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=31578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}