
{"id":925,"date":"2016-12-13T10:18:23","date_gmt":"2016-12-13T02:18:23","guid":{"rendered":"http:\/\/www.jiandaima.com\/blog\/?p=925"},"modified":"2016-12-13T10:19:36","modified_gmt":"2016-12-13T02:19:36","slug":"%e6%a8%a1%e4%bb%bf%e9%a5%bf%e4%ba%86%e4%b9%88%e8%af%a6%e6%83%85%e9%a1%b5%e5%8f%af%e4%bb%a5%e8%b7%9f%e9%9a%8f%e6%89%8b%e6%8c%87%e7%a7%bb%e5%8a%a8-viewpager%e5%8f%98%e8%af%a6%e6%83%85%e9%a1%b5","status":"publish","type":"post","link":"http:\/\/www.jiandaima.com\/blog\/archives\/925.html","title":{"rendered":"\u6a21\u4eff\u997f\u4e86\u4e48\u8be6\u60c5\u9875\u53ef\u4ee5\u8ddf\u968f\u624b\u6307\u79fb\u52a8 viewpager\u53d8\u8be6\u60c5\u9875"},"content":{"rendered":"<p>\u6a21\u4eff\u997f\u4e86\u4e48\u8be6\u60c5\u9875\u53ef\u4ee5\u8ddf\u968f\u624b\u6307\u79fb\u52a8 viewpager\u53d8\u8be6\u60c5\u9875\uff0c\u8fd9\u662f\u4e00\u4e2a\u6a21\u4eff\u997f\u4e86\u4e48\u8be6\u60c5\u9875\u7684\u4f8b\u5b50\u3002\u5e76\u975e\u4e00\u4e2a\u5e93\uff0c\u5e76\u975e\u62ff\u6765\u5c31\u53ef\u4ee5\u7528\uff0c\u4e3b\u8981\u8bb2\u89e3\u601d\u8def\u4ee5\u53ca\u5982\u4f55\u5b9e\u73b0\uff0c\u53ef\u80fd\u6709\u4e00\u4e9b\u7ec6\u8282\u6ca1\u6709\u5904\u7406\u3002 \u8bb2\u8ff0\u4e86\u5982\u4f55\u5b9e\u73b0\u3002\u5177\u4f53\u7965\u89c1\u6e90\u7801\u3002<\/p>\n<p><a href=\"https:\/\/www.jiandaima.com\/blog\/wp-content\/uploads\/2016\/12\/20161213101543.png\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/12\/20161213101543-181x300.png\" alt=\"\u6a21\u4eff\u997f\u4e86\u4e48\u8be6\u60c5\u9875\u53ef\u4ee5\u8ddf\u968f\u624b\u6307\u79fb\u52a8 viewpager\u53d8\u8be6\u60c5\u9875\" width=\"181\" height=\"300\" class=\"aligncenter size-medium wp-image-926\" \/><\/a><\/p>\n<p>\u5148\u5410\u69fd\u4e0b\u997f\u4e86\u4e48\u3002\u4e0d\u63d0\u793a\u5de6\u53f3\u53ef\u4ee5\u6ed1\u52a8\u3002\u6211\u8fd8\u662f\u65e0\u610f\u4e2d\u53d1\u73b0\u7684\u3002\u4e0d\u63d0\u793a\u6211\u600e\u4e48\u77e5\u9053\u53ef\u4ee5\u6ed1\u52a8\uff1f\uff1f<\/p>\n<p>\u8fd9\u662f\u4e00\u4e2a\u6a21\u4eff\u997f\u4e86\u4e48\u8be6\u60c5\u9875\u7684\u4f8b\u5b50\u3002\u5e76\u975e\u4e00\u4e2a\u5e93\uff0c\u5e76\u975e\u62ff\u6765\u5c31\u53ef\u4ee5\u7528\uff0c\u4e3b\u8981\u8bb2\u89e3\u601d\u8def\u4ee5\u53ca\u5982\u4f55\u5b9e\u73b0\uff0c\u53ef\u80fd\u6709\u4e00\u4e9b\u7ec6\u8282\u6ca1\u6709\u5904\u7406\u3002 \u8bb2\u8ff0\u4e86\u5982\u4f55\u5b9e\u73b0\u3002\u5177\u4f53\u7965\u89c1\u6e90\u7801\u3002<\/p>\n<p>\u4ed6\u662f\u4e00\u4e2aActivity\u8fd8\u662f\u4e24\u4e2a\uff1f<\/p>\n<p>\u76f8\u4fe1\u4f60\u80af\u5b9a\u6709\u8fd9\u6837\u7684\u7591\u95ee\uff0c\u7b54\u6848\u662f\u4e00\u4e2a\u3002\u6240\u4ee5\u8fd9\u4e0d\u662f\u7528\u5171\u4eab\u5143\u7d20\u5b9e\u73b0\u7684\uff0c\u4f7f\u7528\u5171\u4eab\u5143\u7d20\u4f1a\u5bfc\u81f4\u56fe\u7247\u65e0\u6cd5\u8ddf\u968f\u624b\u6307\u79fb\u52a8\u3002<\/p>\n<p>\u4f60\u770b\u5230\u7684\u4e2d\u95f4imageview\u662fviewpager\u3002\u5728Viewpager\u4e0a\u9762\u662f\u4e00\u4e2a\u900f\u660e\u7684View\u3002\u5f53\u7136\uff0c\u8fd9\u4e2aActivity\u7684\u80cc\u666f\u4e5f\u662f\u900f\u660e\u7684\u3002<\/p>\n<p>\u5b9e\u73b0\u601d\u8def<br \/>\n<a href=\"https:\/\/github.com\/githubwing\/ZoomHeader\/raw\/master\/img.gif\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/githubwing\/ZoomHeader\/raw\/master\/img.gif\" width=\"263\" height=\"441\" class=\"aligncenter size-medium\" \/><\/a><br \/>\n\u6211\u4f7f\u7528CoordinatorLayout+Behavior\u5b9e\u73b0\u7684\u3002\u8bf4\u5b9e\u8bdd\uff0cBehavior\u771f\u5fc3\u5f3a\u5927\u3002\u3002<\/p>\n<p>viewpager+\u5934\u90e8<\/p>\n<p>\u6574\u4e2a\u5b9e\u73b0\u7684\u601d\u8def\u662f\u8fd9\u6837\u7684\u3002\u6574\u4f53\u5e03\u5c40\u4ece\u4e0a\u5230\u4e0b\u4f9d\u6b21\u662f\uff1a<\/p>\n<p>\u900f\u660eView<br \/>\nviewpager<br \/>\nRecyclerView<br \/>\n\u5176\u4e2d\u900f\u660eView\u548cViewpager \u5408\u5e76\u6210\u4e00\u4e2a\u81ea\u5b9a\u4e49\u7684Header\u3002\u5f53\u8fd9\u4e2aHeader\u4e0a\u79fb\u7684\u65f6\u5019\uff0c\u56fe\u7247\u653e\u5927\uff0c\u5e76\u4e14RecyclerView\u8054\u52a8\u4e0a\u8863\uff0c\u4ece\u900f\u660e\u8f6c\u5411\u5e76\u4e14\u4e0d\u900f\u660e\u3002<\/p>\n<p>\u6240\u4ee5\u9996\u5148\u8981\u5b9a\u5236\u4e00\u4e2a\u900f\u660e\u7684\u53ef\u79fb\u52a8\u7684HeaderView\u3002<\/p>\n<p>\u5728onTouchEvent\u5904\u7406\u4e00\u4e0b\u624b\u52bf\u3002\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\r\n@Override public boolean onTouchEvent(MotionEvent ev) {\r\n    switch (ev.getAction()) {\r\n      case MotionEvent.ACTION_DOWN:\r\n        return true;\r\n      case MotionEvent.ACTION_MOVE:\r\n         if(\u4e0a\u4e0b\u79fb\u52a8\u5230\u9600\u503c){\r\n            \u5c55\u5f00\u4e3a\u8be6\u60c5()\r\n         }else if(\u4e0a\u4e0b\u6ed1\u52a8\u5230\u9600\u503c\uff0c\u6062\u590dviewpager){\r\n         }else if(\u4e0b\u6ed1\uff0c\u5219\u5173\u95edActivity)\r\n\r\n<\/pre>\n<p>\u5c06header\u5206\u4e3a\u4e09\u79cd\u72b6\u6001\uff1a<\/p>\n<p>\u4e0a\u79fb\u3002\u5219\u5c55\u5f00\u4e3a\u8be6\u60c5\u9875\u3002<br \/>\n\u4e0b\u79fb\uff0c\u5219\u6062\u590d\u4e3aviewpager\u3002<br \/>\n\u518d\u4e0b\u79fb\uff0c\u5219finish Activity\u3002<br \/>\n\u5728\u4e0a\u79fb\u7684\u8fc7\u7a0b\u4e2d\uff0c\u9047\u5230\u4e86\u4e00\u70b9\u5c0f\u6311\u6218\uff0c\u8fd9\u91cc\u5206\u4eab\u4e0b\uff1a<\/p>\n<p>\u4e0a\u79fb\u7684\u8fc7\u7a0b\u4e2d\uff0c\u56fe\u7247\u9700\u8981\u653e\u5927\u3002\u4f46\u662f\u5728\u505a\u7684\u8fc7\u7a0b\u4e2d\uff0c\u4e0d\u80fd\u4f7f\u7528LayoutParams\u5b9e\u73b0\u3002\u8fd9\u91cc\u5c31\u5173\u7cfb\u5230\u4e00\u4e9b\u52a8\u753b\u7684\u5c0f\u7ec6\u8282\u3002<\/p>\n<p>\u52a8\u753b\u4f7f\u7528LayoutParams\u5b9e\u73b0\u662f\u4e00\u4e2a\u7981\u5fcc\u3002\u4ed6\u4f1a\u5bfc\u81f4\u4e0d\u505crequestLayout\uff0c\u4ece\u800c\u5f71\u54cdUI\u6027\u80fd\u3002<\/p>\n<p>\u6240\u4ee5\u8fd9\u91cc\u6211\u7684\u4e00\u4e2a\u89e3\u6cd5\u5c31\u662f\uff0c\u6211\u653e\u5927\u56fe\u7247\uff0c\u4e0d\u662f\u771f\u6b63\u7684\u6539\u53d8ImageView\u5927\u5c0f\uff0c\u800c\u662f\u53bbScale\u56fe\u7247\u3002\u5373\u4f7f\u770b\u8d77\u6765\u53d8\u5927\u4e86\uff0c\u4ed6\u7684View\u771f\u6b63\u5927\u5c0f\u4e5f\u4e0d\u4f1a\u53d8\u3002<\/p>\n<p>\u6240\u4ee5\uff0c\u6709\u4e00\u53e5\u8bdd\u53eb\u505a\u771f\u4ea6\u662f\u5047\u3001\u5047\u4ea6\u662f\u771f \u771f\u771f\u5047\u5047\uff0c\u4f60\u53c8\u4f55\u5fc5\u5f53\u771f\u5462\uff1f\u52a8\u753b\u6548\u679c\u53ea\u8981\u9075\u5faa\u8fd9\u53e5\u8bdd\uff0c\u57fa\u672c\u4e0a\u90fd\u662f\u53ef\u4ee5\u5b9e\u73b0\u7684\u3002\u4f60\u6240\u770b\u5230\u7684\u6548\u679c\u90fd\u662f\u5047\u7684\u3002\u90fd\u662f\u969c\u773c\u6cd5\u3002View\u53d8\u5927\u4e0d\u662f\u771f\u6b63\u7684\u53d8\u5927\u3002View\u60ac\u6d6e\u4e0d\u662f\u771f\u6b63\u7684\u60ac\u6d6e(\u6709\u53ef\u80fd\u662f\u663e\u9690)\u3002\u5c31\u50cf\u53d8\u9b54\u672f\u4e00\u6837\u3002\u3002\u5176\u5b9e\u5f88\u7b80\u5355\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\u53c8\u9047\u5230\u95ee\u9898\u4e86\u3002\u56fe\u7247\u653e\u5927\u4e86\uff0c\u6587\u5b57\u5982\u4f55\u5bf9\u9f50\uff1f \u6587\u5b57\u7684\u4f4d\u7f6e\u5f53\u7136\u4e5f\u4e0d\u80fd\u771f\u6b63\u6539\u53d8\u3002\u6240\u4ee5\u8fd9\u91cc\u4f7f\u7528TranslationX\u5b9e\u73b0\u3002\u5728\u56fe\u7247\u653e\u5927\u7684\u8fc7\u7a0b\u4e2d\uff0c\u4f7f\u7528scale\u7684\u7cfb\u6570\uff0c\u4e0e\u4e24\u4e2a\u7aef\u70b9\u503c\u8fdb\u884c\u4e00\u4e2a\u7ebf\u6027\u53d8\u5316\u8ba1\u7b97\u3002\u4e3b\u8981\u6587\u5b57\u5bf9\u9f50\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n    bottom.offsetLeftAndRight(\r\n            (int) (target.getWidth() \/ 2 - target.getWidth() * (1 + progress) \/ 2\r\n                + MarginConfig.MARGIN_LEFT_RIGHT - bottom.getX()));\r\n\r\n<\/pre>\n<p>\u7b2c\u4e8c\u4e2a\u70b9\u3002\u5c31\u662f\u5728\u56fe\u7247\u653e\u5927\u8fc7\u7a0b\u4e2d\uff0c\u5e95\u90e8\u6587\u5b57\u548c\u6309\u94ae\u5de6\u53f3padding\u4e0d\u80fd\u53d8\u3002\u8fd9\u4e5f\u662f\u6211\u6ca1\u6709\u5c01\u88c5\u6210\u4e00\u4e2a\u62ff\u6765\u5c31\u7528\u7684View\u7684\u539f\u56e0(\u5176\u5b9e\u8fd8\u662f\u6c34\u5e73\u4e0d\u591f)\u3002\u56e0\u4e3a\u8fd9\u4e9b\u7a7a\u95f4\u9700\u8981\u5168\u90e8\u6309\u7167\u4e0a\u65b9\u7684\u65b9\u6cd5\u8fdb\u884c\u52a8\u6001\u8ba1\u7b97\u3002\u3002\u6240\u4ee5\u4e5f\u662f\u6bd4\u8f83\u5751\u7239\u7684\u3002\u3002<\/p>\n<p>ViewPager<\/p>\n<p>\u62ff\u4e86\u7f51\u4e0a\u4e00\u4e2a\u753b\u5eca\u7684\u6548\u679c\u3002\u76f4\u63a5<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n setPageTransformer(true, new ZoomOutPageTransformer());\r\n<\/pre>\n<p>\u8fd9\u91cc\u6ce8\u610f\uff0c\u9700\u8981\u6539\u53d8\u4e00\u4e0bview\u7684\u7ed8\u5236\u987a\u5e8f\uff0c\u4fdd\u8bc1\u5f53\u524dview\u662f\u6700\u540e\u7ed8\u5236\u5904\u4e8e\u6700\u4e0a\u5c42<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\/\u6539\u53d8\u7cfb\u7edf\u7ed8\u5236\u987a\u5e8f\r\n  @Override protected int getChildDrawingOrder(int childCount, int i) {\r\n\r\n    int position = getCurrentItem();\r\n    if(position&lt;0){\r\n      return i;\r\n    }else{\r\n      if(i == childCount - 1){\/\/\u8fd9\u662f\u6700\u540e\u4e00\u4e2a\u9700\u8981\u5237\u65b0\u7684item\r\n        if(position&gt;i){\r\n          position=i;\r\n        }\r\n        return position;\r\n      }\r\n      if(i == position){\/\/\u8fd9\u662f\u539f\u672c\u8981\u5728\u6700\u540e\u4e00\u4e2a\u5237\u65b0\u7684item\r\n        return childCount - 1;\r\n      }\r\n    }\r\n    return i;\r\n  }\r\n}\r\n<\/pre>\n<p>RecyclerView<\/p>\n<p>RecyclerView\u6700\u5f00\u59cb\u662f\u5b8c\u5168\u900f\u660e\u7684\u3002\u5e76\u4e14\u8ddf\u968fHeaderView\u4e0a\u79fb\u800c\u4e0a\u79fb\uff0c\u5728\u4e0a\u79fb\u7684\u8fc7\u7a0b\u4e2d\u6e10\u6e10\u663e\u793a\u51fa\u6765\u3002 \u9700\u8981\u76d1\u542cRecyclerView\u6eda\u52a8\uff0c\u5f53RecyclerView\u6eda\u52a8\u5230\u9876\u90e8\u7684\u65f6\u5019\u3002\u544a\u77e5Header\uff0c\u8be5\u6062\u590d\u6700\u521d\u539f\u6837\u4e86\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n@Override\r\n  public boolean onNestedFling(CoordinatorLayout coordinatorLayout, View child, View target,\r\n      float velocityX, float velocityY, boolean consumed) {\r\n\r\n    \/\/\u5411\u4e0bFling\u5e76\u4e14\u5230\u9876\u90e8\r\n    if (velocityY &lt; 0 &amp;&amp; ((RecyclerView) target).getChildAt(0).getY() == 0) {\r\n      mDependency.restore(mDependency.getY());\r\n    }\r\n    return super.onNestedFling(coordinatorLayout, child, target, velocityX, velocityY, consumed);\r\n  }\r\n\r\n  @Override\r\n  public void onNestedPreScroll(CoordinatorLayout coordinatorLayout, View child, View target,\r\n      int dx, int dy, int&#x5B;] consumed) {\r\n\r\n    \/\/\u5982\u679c\u5728\u9876\u90e8\r\n    if (((RecyclerView) target).getChildAt(0).getY() == 0) {\r\n      \/\/\u5411\u4e0b\u6ed1\u52a8\r\n      if (dy &lt; 0) {\r\n        mDependency.setY(mDependency.getY() - dy);\r\n        \/\/\u5c0f\u4e8e\u9600\u503c\r\n        if (mDependency.getY() &lt; 500) {\r\n          mDependency.restore(mDependency.getY());\r\n        }\r\n      }\r\n    }\r\n    super.onNestedPreScroll(coordinatorLayout, child, target, dx, dy, consumed);\r\n  }\r\n}\r\n<\/pre>\n<p>Behavior<\/p>\n<p>\u8ba9header\u548cRecyclerView\u5173\u8054\u8d77\u6765\u7684\u5c31\u662fBehavior\u4e86\u3002Behavior\u4e4b\u524d\u5199\u8fc7\u51e0\u7bc7\u4ecb\u7ecd\u8fc7\u4e86\uff0c\u8fd9\u91cc\u5c31\u4e0d\u518d\u5570\u55e6\u3002<\/p>\n<p>denpendcy\u4e3aHeaderView\u3002\u5e76\u4e14\u76d1\u542cRecyclerView\u7684\u6ed1\u52a8\u3002<\/p>\n<p>\u5177\u4f53\u7684\u7ec6\u8282\u8fd8\u662f\u770b\u6e90\u7801\u5427~<\/p>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u6a21\u4eff\u997f\u4e86\u4e48\u8be6\u60c5\u9875\u53ef\u4ee5\u8ddf\u968f\u624b\u6307\u79fb\u52a8 viewpager\u53d8\u8be6\u60c5\u9875\uff0c\u8fd9\u662f\u4e00\u4e2a\u6a21\u4eff\u997f\u4e86\u4e48\u8be6\u60c5\u9875\u7684\u4f8b\u5b50\u3002\u5e76\u975e\u4e00\u4e2a\u5e93\uff0c\u5e76\u975e\u62ff\u6765\u5c31\u53ef\u4ee5\u7528\uff0c\u4e3b\u8981\u8bb2\u89e3\u601d\u8def\u4ee5\u53ca\u5982\u4f55\u5b9e\u73b0\uff0c\u53ef\u80fd\u6709\u4e00\u4e9b\u7ec6\u8282\u6ca1\u6709\u5904\u7406\u3002 \u8bb2\u8ff0\u4e86\u5982\u4f55\u5b9e\u73b0\u3002\u5177\u4f53\u7965\u89c1\u6e90\u7801\u3002<\/p>\n","protected":false},"author":1,"featured_media":926,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[19,306,305],"class_list":["post-925","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-application-source-code","tag-android","tag-viewpager","tag-305"],"post_thumbnail_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/12\/20161213101543.png?imageView2\/1\/w\/266\/h\/300#","content_first_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/12\/20161213101543.png","post_medium_image_300":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/12\/20161213101543.png","post_thumbnail_image_624":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/12\/20161213101543.png","post_frist_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/12\/20161213101543.png","post_medium_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/12\/20161213101543.png","post_large_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/12\/20161213101543.png","post_full_image":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/12\/20161213101543.png","post_all_images":[{"imagesurl":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2016\/12\/20161213101543-181x300.png","id":"image0"},{"imagesurl":"https:\/\/github.com\/githubwing\/ZoomHeader\/raw\/master\/img.gif","id":"image1"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":5,"total_comments":0,"category_name":"\u5e94\u7528\u7a0b\u5e8f\u6e90\u7801","post_date":"2016-12-13","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2020\/02\/img_5e44112722964.png","avatarurls":[],"related_posts":[],"pageviews":841,"next_post_id":932,"next_post_title":"Android\u6700\u5168\u5f00\u53d1\u8d44\u6e90","previous_post_id":894,"previous_post_title":"\u7c7b\u4f3c Google \u65e5\u5386\u7684\u5b9e\u73b0\uff0c\u4ee3\u8868\u6708\u4efd\u548c\u5217\u51fa\u65e5\u5386\u89c6\u56fe\u7684Android\u89e3\u51b3\u65b9\u6848","_links":{"self":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/comments?post=925"}],"version-history":[{"count":0,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/925\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/media\/926"}],"wp:attachment":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/media?parent=925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/categories?post=925"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/tags?post=925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}