{"id":1743,"date":"2024-04-07T10:34:49","date_gmt":"2024-04-07T02:34:49","guid":{"rendered":"https:\/\/fireinsect.top\/?p=1743"},"modified":"2024-04-07T10:34:49","modified_gmt":"2024-04-07T02:34:49","slug":"harmonyos%e5%bc%80%e5%8f%91%e5%ad%a6%e4%b9%a0%ef%bc%884%ef%bc%89-%e7%bb%84%e4%bb%b6%e7%8a%b6%e6%80%81%e7%ae%a1%e7%90%86","status":"publish","type":"post","link":"https:\/\/fireinsect.top\/index.php\/2024\/04\/07\/harmonyos%e5%bc%80%e5%8f%91%e5%ad%a6%e4%b9%a0%ef%bc%884%ef%bc%89-%e7%bb%84%e4%bb%b6%e7%8a%b6%e6%80%81%e7%ae%a1%e7%90%86\/","title":{"rendered":"HarmonyOS\u5f00\u53d1\u5b66\u4e60\uff084\uff09\u2013\u7ec4\u4ef6\u72b6\u6001\u7ba1\u7406"},"content":{"rendered":"\n<p>\u5728\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u754c\u9762\u901a\u5e38\u662f\u52a8\u6001\u7684\uff0c\u56e0\u6b64\u7ec4\u4ef6\u672c\u8eab\u5e94\u8be5\u5b58\u5728\u72b6\u6001\uff08\u5982\u5c55\u5f00\u3001\u6536\u8d77\u72b6\u6001\u7b49\uff09<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u6846\u67b6\u63d0\u4f9b\u4e86\u591a\u79cd\u7ba1\u7406\u72b6\u6001\u7684\u88c5\u9970\u5668\u6765\u4fee\u9970\u53d8\u91cf\uff0c\u4f7f\u7528\u8fd9\u4e9b\u88c5\u9970\u5668\u4fee\u9970\u7684\u53d8\u91cf\u5373\u79f0\u4e3a\u72b6\u6001\u53d8\u91cf\u3002<\/p>\n\n\n\n<p>\u5728\u7ec4\u4ef6\u8303\u56f4\u4f20\u9012\u7684\u72b6\u6001\u7ba1\u7406\u5e38\u89c1\u7684\u573a\u666f\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>\u573a\u666f<\/strong><\/th><th><strong>\u88c5\u9970\u5668<\/strong><\/th><\/tr><\/thead><tbody><tr><td>\u7ec4\u4ef6\u5185\u7684\u72b6\u6001\u7ba1\u7406<\/td><td>@State<\/td><\/tr><tr><td>\u4ece\u7236\u7ec4\u4ef6\u5355\u5411\u540c\u6b65\u72b6\u6001<\/td><td>@Prop<\/td><\/tr><tr><td>\u4e0e\u7236\u7ec4\u4ef6\u53cc\u5411\u540c\u6b65\u72b6\u6001<\/td><td>@Link<\/td><\/tr><tr><td>\u8de8\u7ec4\u4ef6\u5c42\u7ea7\u53cc\u5411\u540c\u6b65\u72b6\u6001<\/td><td>@Provide\u548c@Consume<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u5728\u7ec4\u4ef6\u5185\u4f7f\u7528@State\u88c5\u9970\u5668\u6765\u4fee\u9970\u53d8\u91cf\uff0c\u53ef\u4ee5\u4f7f\u7ec4\u4ef6\u6839\u636e\u4e0d\u540c\u7684\u72b6\u6001\u6765\u5448\u73b0\u4e0d\u540c\u7684\u6548\u679c\u3002\u82e5\u5f53\u524d\u7ec4\u4ef6\u7684\u72b6\u6001\u9700\u8981\u901a\u8fc7\u5176\u7236\u7ec4\u4ef6\u4f20\u9012\u800c\u6765\uff0c\u6b64\u65f6\u9700\u8981\u4f7f\u7528@Prop\u88c5\u9970\u5668\uff1b\u82e5\u662f\u7236\u5b50\u7ec4\u4ef6\u72b6\u6001\u9700\u8981\u76f8\u4e92\u7ed1\u5b9a\u8fdb\u884c\u53cc\u5411\u540c\u6b65\uff0c\u5219\u9700\u8981\u4f7f\u7528@Link\u88c5\u9970\u5668\u3002\u4f7f\u7528@Provide\u548c@Consume\u88c5\u9970\u5668\u53ef\u4ee5\u5b9e\u73b0\u8de8\u7ec4\u4ef6\u5c42\u7ea7\u53cc\u5411\u540c\u6b65\u72b6\u6001\u3002<\/p>\n\n\n\n<div style=\"height:8px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u7ec4\u4ef6\u5185\u7684\u72b6\u6001\u7ba1\u7406\uff1a@State<\/h2>\n\n\n\n<p>\u5982\u6211\u4eec\u4e4b\u524d\u9700\u6c42\u7684\u5c55\u5f00\u3001\u6536\u8d77\u72b6\u6001\uff0c\u53ef\u4ee5\u4f7f\u7528@State\u88c5\u9970\u5668\u3002\u6211\u4eec\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2aisExpanded\u53d8\u91cf\u3002\u5f53\u5176\u503c\u4e3afalse\u65f6\u8868\u793a\u6536\u8d77\uff0c\u4e3atrue\u65f6\u4e3a\u5c55\u5f00\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"typescript\" class=\"language-typescript\">@Component\nexport default struct TargetListItem {\n  @State isExpanded: boolean = false;\n  ...\n\n  build() {\n    ...\n      Column() {\n        ...\n        if (this.isExpanded) {\n          Blank()\n          ProgressEditPanel(...)\n        }\n      }\n      .height(this.isExpanded ? $r('app.float.expanded_item_height')                  \n      : $r('app.float.list_item_height'))\n      .onClick(() =&gt; {\n        ...\n             this.isExpanded = !this.isExpanded;\n        ...\n       })\n    ...\n  }\n}<\/code><\/pre>\n\n\n\n<p>\u5f53\u6211\u4eec\u70b9\u51fb\u5217\u8868\u9879\uff0c\u4f7f\u5f97isExpanded\u53d1\u9001\u53d8\u5316\u65f6\uff0c\u4f1a\u81ea\u52a8\u66f4\u65b0\u7ec4\u4ef6\u72b6\u6001\u3002<\/p>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u4ece\u7236\u7ec4\u4ef6\u5355\u5411\u540c\u6b65\u72b6\u6001\uff1a@Prop<\/h2>\n\n\n\n<p>@State\u5355\u72ec\u4f7f\u7528\u53ea\u662f\u5355\u4e2a\u7ec4\u4ef6\u5185\u7684\u72b6\u6001\u7ba1\u7406\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u9700\u8981\u5b66\u4e60\u8de8\u7ec4\u4ef6\u7684\u72b6\u6001\u7ba1\u7406\u3002<\/p>\n\n\n\n<p>\u5f53\u5b50\u7ec4\u4ef6\u4e2d\u7684\u72b6\u6001\u4f9d\u8d56\u4ece\u7236\u7ec4\u4ef6\u4f20\u9012\u800c\u6765\u65f6\uff0c\u9700\u8981\u4f7f\u7528@Prop\u88c5\u9970\u5668\uff0c@Prop\u4fee\u9970\u7684\u53d8\u91cf\u53ef\u4ee5\u548c\u5176\u7236\u7ec4\u4ef6\u4e2d\u7684\u72b6\u6001\u5efa\u7acb\u5355\u5411\u540c\u6b65\u5173\u7cfb\u3002\u5f53\u7236\u7ec4\u4ef6\u4e2d\u72b6\u6001\u53d8\u5316\u65f6\uff0c\u8be5\u72b6\u6001\u503c\u4e5f\u4f1a\u66f4\u65b0\u81f3@Prop\u4fee\u9970\u7684\u53d8\u91cf\uff1b\u5bf9@Prop\u4fee\u9970\u7684\u53d8\u91cf\u7684\u4fee\u6539\u4e0d\u4f1a\u5f71\u54cd\u5176\u7236\u7ec4\u4ef6\u4e2d\u7684\u72b6\u6001\u3002<\/p>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-1 wp-block-group-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"871\" src=\"https:\/\/i0.wp.com\/fireinsect.top\/wp-content\/uploads\/2024\/04\/image-3.png?resize=580%2C871&#038;ssl=1\" alt=\"\" class=\"wp-image-1747\" srcset=\"https:\/\/i0.wp.com\/fireinsect.top\/wp-content\/uploads\/2024\/04\/image-3.png?w=580&amp;ssl=1 580w, https:\/\/i0.wp.com\/fireinsect.top\/wp-content\/uploads\/2024\/04\/image-3.png?resize=200%2C300&amp;ssl=1 200w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/figure>\n<\/div>\n\n\n\n<p>\u5982\u4e0a\u56fe\uff0c\u6211\u4eec\u9700\u8981\u5b9e\u73b0\u7f16\u8f91\u6309\u94ae\uff0c\u5b8c\u6210\u8fdb\u5165\u7f16\u8f91\u72b6\u6001\u7684\u65b9\u6cd5\uff0c\u5e76\u5b9e\u73b0\u70b9\u51fb\u53d6\u6d88\u9000\u51fa\u7f16\u8f91\u72b6\u6001\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"typescript\" class=\"language-typescript\">@Component\nexport default struct TargetList {\n  @State isEditMode: boolean = false;\n  ...\n  build() {\n    Column() {\n      Row() {\n        ...\n          if (this.isEditMode) {\n            Text($r('app.string.cancel_button'))\n              .onClick(() =&gt; {\n                this.isEditMode = false;\n                ...\n               })\n               ...\n            Text($r('app.string.select_all_button'))...\n            Checkbox()...\n          } else {\n            Text($r('app.string.edit_button'))\n              .onClick(() =&gt; {\n                this.isEditMode = true;\n              })\n              ...\n          }\n        ...\n      }\n      ...\n      List({ space: CommonConstants.LIST_SPACE }) {\n        ForEach(this.targetData, (item: TaskItemBean, index: number) =&gt; {\n          ListItem() {\n            TargetListItem({\n              isEditMode: this.isEditMode,\n              ...\n            })\n          }\n        }, (item, index) =&gt; JSON.stringify(item) + index)\n      }\n      ...\n      if (this.isEditMode) {\n        Button($r('app.string.delete_button'))\n      } else {\n        Button($r('app.string.add_task'))\n      }\n    }\n    ...\n  }\n}<\/code><\/pre>\n\n\n\n<p>\u5728\u5b50\u7ec4\u4ef6TargetListItem\u4e2d\uff0c\u4f7f\u7528@Prop\u4fee\u9970\u5b50\u7ec4\u4ef6\u7684isEditMode\u53d8\u91cf\uff0c\u5b9a\u4e49\u5b50\u7ec4\u4ef6\u7684\u7f16\u8f91\u6a21\u5f0f\u72b6\u6001\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"typescript\" class=\"language-typescript\">@Component\nexport default struct TargetListItem {\n   @Prop isEditMode: boolean;\n   ...\n       Column() {\n        ...\n       }\n       .padding({\n        ...\n        right: this.isEditMode ? $r('app.float.list_edit_padding') \n               : $r('app.float.list_padding')\n       })\n       ...\n\n       if (this.isEditMode) {\n        Row() {\n           Checkbox()...\n        }\n       }\n  ...\n}<\/code><\/pre>\n\n\n\n<div style=\"height:14px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e0e\u7236\u7ec4\u4ef6\u53cc\u5411\u540c\u6b65\u72b6\u6001\uff1a@Link<\/h2>\n\n\n\n<p>\u82e5\u662f\u7236\u5b50\u7ec4\u4ef6\u72b6\u6001\u9700\u8981\u76f8\u4e92\u7ed1\u5b9a\u8fdb\u884c\u53cc\u5411\u540c\u6b65\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528@Link\u88c5\u9970\u5668\u3002\u7236\u7ec4\u4ef6\u4e2d\u7528\u4e8e\u521d\u59cb\u5316\u5b50\u7ec4\u4ef6@Link\u53d8\u91cf\u7684\u5fc5\u987b\u662f\u5728\u7236\u7ec4\u4ef6\u4e2d\u5b9a\u4e49\u7684\u72b6\u6001\u53d8\u91cf\u3002<\/p>\n\n\n\n<p>\u5728\u76ee\u6807\u7ba1\u7406\u5e94\u7528\u4e2d\uff0c\u5f53\u7528\u6237\u70b9\u51fb\u540c\u4e00\u4e2a\u76ee\u6807\uff0c\u76ee\u6807\u9879\u4f1a\u5c55\u5f00\u6216\u8005\u6536\u8d77\u3002\u5f53\u7528\u6237\u70b9\u51fb\u4e0d\u540c\u7684\u76ee\u6807\u9879\u65f6\uff0c\u9664\u4e86\u88ab\u70b9\u51fb\u7684\u76ee\u6807\u9879\u5c55\u5f00\uff0c\u540c\u65f6\u524d\u4e00\u6b21\u88ab\u70b9\u51fb\u7684\u76ee\u6807\u9879\u4f1a\u6536\u8d77\u3002<\/p>\n\n\n\n<p>\u5728\u5b50\u76ee\u6807\u5217\u8868\u4e2d\uff0c\u6bcf\u4e2a\u5217\u8868\u9879\u90fd\u6709\u5176\u4f4d\u7f6e\u7d22\u5f15\u503cindex\u5c5e\u6027\uff0c\u8868\u793a\u76ee\u6807\u9879\u5728\u5217\u8868\u4e2d\u7684\u4f4d\u7f6e\u3002index\u4ece0\u5f00\u59cb\uff0c\u5373\u7b2c\u4e00\u4e2a\u76ee\u6807\u9879\u7684\u7d22\u5f15\u503c\u4e3a0\uff0c\u7b2c\u4e8c\u4e2a\u76ee\u6807\u9879\u7684\u7d22\u5f15\u503c\u4e3a1\uff0c\u4ee5\u6b64\u7c7b\u63a8\u3002\u6b64\u5916\uff0cclickIndex\u7528\u6765\u8bb0\u5f55\u88ab\u70b9\u51fb\u7684\u76ee\u6807\u9879\u7d22\u5f15\u3002\u5f53\u70b9\u51fb\u76ee\u6807\u4e00\u65f6\uff0cclickIndex\u4e3a0\uff0c\u70b9\u51fb\u76ee\u6807\u4e09\u65f6\uff0cclickIndex\u4e3a2\u3002<\/p>\n\n\n\n<p>\u5728\u7236\u7ec4\u4ef6\u5b50\u76ee\u6807\u5217\u8868\u548c\u6bcf\u4e2a\u5b50\u7ec4\u4ef6\u76ee\u6807\u9879\u4e2d\u90fd\u62e5\u6709clickIndex\u72b6\u6001\u3002\u5f53\u76ee\u6807\u4e00\u5c55\u5f00\u65f6\uff0cclickIndex\u4e3a0\u3002\u6b64\u65f6\u70b9\u51fb\u76ee\u6807\u4e09\uff0c\u76ee\u6807\u4e09\u7684clickIndex\u53d8\u4e3a2\uff0c\u53ea\u8981\u5176\u7236\u7ec4\u4ef6\u5b50\u76ee\u6807\u5217\u8868\u611f\u77e5\u5230clickIndex\u72b6\u6001\u53d8\u5316\uff0c\u540c\u65f6\u5c06\u6b64\u53d8\u5316\u4f20\u9012\u7ed9\u76ee\u6807\u4e00\u3002\u76ee\u6807\u4e00\u7684clickIndex\u5373\u53ef\u540c\u6b65\u6539\u53d8\u4e3a2\uff0c\u5373\u76ee\u6807\u4e00\u611f\u77e5\u5230\u6b64\u65f6\u70b9\u51fb\u4e86\u76ee\u6807\u4e09\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u4f7f\u7528\u4e4b\u524d\u7684@Prop\u88c5\u9970\u5668\uff0c\u56e0\u4e3a\u8be5\u88c5\u9970\u5668\u662f\u7236\u7ec4\u4ef6\u5230\u5b50\u7ec4\u4ef6\u7684\u5355\u5411\u4f20\u9012\uff0c\u663e\u7136\u4e0d\u80fd\u6ee1\u8db3\u70b9\u51fb\u5b50\u7ec4\u4ef6\u6539\u53d8\u7236\u7ec4\u4ef6\u7684\u9700\u6c42\u3002\u56e0\u6b64\u6211\u4eec\u9700\u8981\u5b9e\u73b0@Link\u88c5\u9970\u5668\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"typescript\" class=\"language-typescript\">@Component\nexport default struct TargetList {\n  @State clickIndex: number = CommonConstants.DEFAULT_CLICK_INDEX;\n  ...\n             TargetListItem({\n               clickIndex: $clickIndex,\n              ...\n             })\n  ...\n}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"typescript\" class=\"language-typescript\">@Component\nexport default struct TargetListItem {\n  @Link @Watch('onClickIndexChanged') clickIndex: number;\n  @State isExpanded: boolean = false\n  ...\n\n  onClickIndexChanged() {\n    if (this.clickIndex != this.index) {\n      this.isExpanded = false;\n    }\n  }\n\n  build() {\n    ...\n       Column() {\n        ...\n       }\n       .onClick(() =&gt; {\n        ...\n           this.clickIndex = this.index;\n        ...\n       })\n    ...\n  }\n}<\/code><\/pre>\n\n\n\n<p>\u6211\u4eec\u7ed9TargetListItem\u7684\u4e2d\u7684clickIndex\u72b6\u6001\u52a0\u4e0a@Watch(&#8220;onClickIndexChanged&#8221;)\u3002\u8fd9\u8868\u793a\u9700\u8981\u76d1\u542cclickIndex\u72b6\u6001\u7684\u53d8\u5316\u3002\u5f53clickIndex\u72b6\u6001\u53d8\u5316\u65f6\uff0c\u5c06\u89e6\u53d1onClickIndexChanged\u56de\u8c03<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>@Watch\u662f\u6846\u67b6\u4e2d\u76d1\u542c\u72b6\u6001\u53d8\u5316\u7684\u88c5\u9970\u5668\uff0c@Watch\u4fee\u9970\u7684\u72b6\u6001\uff0c\u5f53\u72b6\u6001\u53d1\u751f\u53d8\u5316\u65f6\uff0c\u4f1a\u89e6\u53d1\u58f0\u660e\u65f6\u5b9a\u4e49\u7684\u56de\u8c03<\/p>\n<\/blockquote>\n\n\n\n<div style=\"height:11px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u8de8\u7ec4\u4ef6\u5c42\u7ea7\u53cc\u5411\u540c\u6b65\u72b6\u6001\uff1a@Provide\u548c@Consume<\/h2>\n\n\n\n<p>\u8de8\u7ec4\u4ef6\u5c42\u7ea7\u53cc\u5411\u540c\u6b65\u72b6\u6001\u662f\u6307@Provide\u4fee\u9970\u7684\u72b6\u6001\u53d8\u91cf\u81ea\u52a8\u5bf9\u63d0\u4f9b\u8005\u7ec4\u4ef6\u7684\u6240\u6709\u540e\u4ee3\u7ec4\u4ef6\u53ef\u7528\uff0c\u540e\u4ee3\u7ec4\u4ef6\u901a\u8fc7\u4f7f\u7528@Consume\u88c5\u9970\u7684\u53d8\u91cf\u6765\u83b7\u5f97\u5bf9\u63d0\u4f9b\u7684\u72b6\u6001\u53d8\u91cf\u7684\u8bbf\u95ee\u3002@Provide\u4f5c\u4e3a\u6570\u636e\u7684\u63d0\u4f9b\u65b9\uff0c\u53ef\u4ee5\u66f4\u65b0\u5176\u5b50\u5b59\u8282\u70b9\u7684\u6570\u636e\uff0c\u5e76\u89e6\u53d1\u9875\u9762\u6e32\u67d3\u3002@Consume\u5728\u611f\u77e5\u5230@Provide\u6570\u636e\u7684\u66f4\u65b0\u540e\uff0c\u4f1a\u89e6\u53d1\u5f53\u524d\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u7684\u91cd\u65b0\u6e32\u67d3\u3002<\/p>\n\n\n\n<p>@Provide\u548c@Consume\u53ef\u4ee5\u901a\u8fc7\u76f8\u540c\u7684\u53d8\u91cf\u540d\u6216\u8005\u76f8\u540c\u7684\u53d8\u91cf\u522b\u540d\u7ed1\u5b9a\uff0c\u53d8\u91cf\u7c7b\u578b\u5fc5\u987b\u76f8\u540c\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"typescript\" class=\"language-typescript\">\/\/ \u901a\u8fc7\u76f8\u540c\u7684\u53d8\u91cf\u540d\u7ed1\u5b9a\n@Provide a: number = 0;\n@Consume a: number;\n\n\/\/ \u901a\u8fc7\u76f8\u540c\u7684\u53d8\u91cf\u522b\u540d\u7ed1\u5b9a\n@Provide('a') b: number = 0;\n@Consume('a') c: number;<\/code><\/pre>\n\n\n\n<p>@Provide\u548c@Consume\u901a\u8fc7\u76f8\u540c\u7684\u53d8\u91cf\u540d\u6216\u8005\u76f8\u540c\u7684\u53d8\u91cf\u522b\u540d\u7ed1\u5b9a\u65f6\uff0c@Provide\u4fee\u9970\u7684\u53d8\u91cf\u548c@Consume\u4fee\u9970\u7684\u53d8\u91cf\u662f\u4e00\u5bf9\u591a\u7684\u5173\u7cfb\u3002\u4e0d\u5141\u8bb8\u5728\u540c\u4e00\u4e2a\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u5185\uff0c\u5305\u62ec\u5176\u5b50\u7ec4\u4ef6\u4e2d\u58f0\u660e\u591a\u4e2a\u540c\u540d\u6216\u8005\u540c\u522b\u540d\u7684@Provide\u88c5\u9970\u7684\u53d8\u91cf\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u6539\u88c5\u9970\u5668\u4e0d\u9700\u8981\u4f7f\u7528@State\u88c5\u9970\u5668<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u754c\u9762\u901a\u5e38\u662f\u52a8\u6001\u7684\uff0c\u56e0\u6b64\u7ec4\u4ef6\u672c\u8eab\u5e94\u8be5\u5b58\u5728\u72b6\u6001\uff08\u5982\u5c55\u5f00\u3001\u6536\u8d77\u72b6\u6001\u7b49\uff09<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[1,16],"tags":[],"class_list":["post-1743","post","type-post","status-publish","format-standard","hentry","category-wcd","category-16"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/posts\/1743"}],"collection":[{"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/comments?post=1743"}],"version-history":[{"count":1,"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/posts\/1743\/revisions"}],"predecessor-version":[{"id":1748,"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/posts\/1743\/revisions\/1748"}],"wp:attachment":[{"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/media?parent=1743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/categories?post=1743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/tags?post=1743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}