{"id":170214,"date":"2024-05-08T17:02:36","date_gmt":"2024-05-08T09:02:36","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/170214.html"},"modified":"2024-05-08T17:02:42","modified_gmt":"2024-05-08T09:02:42","slug":"javascript-%e7%a8%8b%e5%ba%8f%e4%b8%ad%e6%80%8e%e4%b9%88%e5%ae%9e%e7%8e%b0-dom-%e5%8a%a8%e7%94%bb%e6%95%88%e6%9e%9c","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/170214.html","title":{"rendered":"JavaScript \u7a0b\u5e8f\u4e2d\u600e\u4e48\u5b9e\u73b0 DOM \u52a8\u753b\u6548\u679c"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27040824\/e6e9c73f-c2cd-43bf-bb07-34ea385bbc60.webp\" alt=\"JavaScript \u7a0b\u5e8f\u4e2d\u600e\u4e48\u5b9e\u73b0 DOM \u52a8\u753b\u6548\u679c\" \/><\/p>\n<p><p>\u5728JavaScript\u7a0b\u5e8f\u4e2d\u5b9e\u73b0DOM\u52a8\u753b\u6548\u679c\uff0c<strong>\u4e3b\u8981\u4f9d\u9760CSS\u52a8\u753b\u3001JavaScript\u76f4\u63a5\u64cd\u4f5cDOM\u4ee5\u53ca\u4f7f\u7528JavaScript\u52a8\u753b\u5e93<\/strong>\u4e09\u79cd\u65b9\u6cd5\u3002\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u4e3a\u7f51\u9875\u6dfb\u52a0\u6d41\u7545\u4e14\u5438\u5f15\u4eba\u7684\u7528\u6237\u4f53\u9a8c\u3002\u5176\u4e2d\uff0c<strong>CSS\u52a8\u753b<\/strong>\u662f\u4e00\u79cd\u6bd4\u8f83\u6d41\u884c\u4e14\u9ad8\u6548\u7684\u65b9\u5f0f\uff0c\u5b83\u901a\u8fc7\u9884\u5b9a\u4e49\u52a8\u753b\u5c5e\u6027\u548c\u5173\u952e\u5e27\u6765\u5b9e\u73b0\u5e73\u6ed1\u7684\u89c6\u89c9\u6548\u679c\u3002CSS\u52a8\u753b\u4e0d\u4ec5\u7b80\u5316\u4e86\u52a8\u753b\u521b\u5efa\u8fc7\u7a0b\uff0c\u800c\u4e14\u7531\u6d4f\u89c8\u5668\u76f4\u63a5\u4f18\u5316\uff0c\u56e0\u6b64\u6267\u884c\u6548\u7387\u8f83\u9ad8\u3002<\/p>\n<\/p>\n<p><h3><strong>\u4e00\u3001CSS\u52a8\u753b<\/strong><\/h3>\n<\/p>\n<p><p>CSS\u52a8\u753b\u662f\u901a\u8fc7CSS3\u4e2d\u7684<code>@keyframes<\/code>\u89c4\u5219\u548c<code>animation<\/code>\u5c5e\u6027\u6765\u5b9a\u4e49\u52a8\u753b\u6548\u679c\u7684\u3002\u8fd9\u79cd\u65b9\u6cd5\u7b80\u5355\u6613\u5b66\uff0c\u4e14\u7531\u4e8e\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u5c42\u9762\u6267\u884c\uff0c\u901a\u5e38\u53ef\u4ee5\u8fbe\u5230\u975e\u5e38\u6d41\u7545\u7684\u52a8\u753b\u6548\u679c\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u5b9a\u4e49\u52a8\u753b\u6b65\u9aa4<\/strong><\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f7f\u7528<code>@keyframes<\/code>\u5b9a\u4e49\u52a8\u753b\u5e8f\u5217\uff0c\u6307\u5b9a\u5728\u52a8\u753b\u8fc7\u7a0b\u4e2d\u5404\u4e2a\u65f6\u523b\u7684\u6837\u5f0f\u3002\u7136\u540e\uff0c\u901a\u8fc7\u5c06\u52a8\u753b\u540d\u79f0\u3001\u6301\u7eed\u65f6\u95f4\u3001\u52a8\u753b\u66f2\u7ebf\u7b49\u52a8\u753b\u5c5e\u6027\u8d4b\u4e88\u4e00\u4e2a\u5143\u7d20\uff0c\u6765\u63a7\u5236\u52a8\u753b\u7684\u64ad\u653e\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u6e10\u53d8\u52a8\u753b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-css\">@keyframes fade {<\/p>\n<p>  from { opacity: 0; }<\/p>\n<p>  to { opacity: 1; }<\/p>\n<p>}<\/p>\n<p>.fade-in {<\/p>\n<p>  animation: fade 3s ease;<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f18\u5316\u4e0e\u5e94\u7528\u6280\u5de7<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528CSS\u52a8\u753b\u65f6\uff0c\u91cd\u8981\u7684\u4e00\u70b9\u662f\u8fdb\u884c\u6027\u80fd\u4f18\u5316\u3002\u867d\u7136\u6d4f\u89c8\u5668\u5bf9CSS\u52a8\u753b\u6709\u8f83\u597d\u7684\u4f18\u5316\uff0c\u4f46\u4ecd\u9700\u9075\u5faa\u6700\u4f73\u5b9e\u8df5\u907f\u514d\u91cd\u7ed8\u548c\u56de\u6d41\u3002\u4f8b\u5982\uff0c\u4f18\u5148\u4f7f\u7528\u53d8\u6362(<code>transform<\/code>)\u548c\u900f\u660e\u5ea6(<code>opacity<\/code>)\u5c5e\u6027\u8fdb\u884c\u52a8\u753b\u5904\u7406\uff0c\u56e0\u4e3a\u8fd9\u4e24\u4e2a\u5c5e\u6027\u4e0d\u4f1a\u89e6\u53d1DOM\u7684\u5e03\u5c40\u6539\u53d8\uff0c\u4ece\u800c\u51cf\u5c11\u8ba1\u7b97\u91cf\uff0c\u63d0\u9ad8\u52a8\u753b\u6d41\u7545\u5ea6\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3><strong>\u4e8c\u3001JAVASCRIPT\u76f4\u63a5\u64cd\u4f5cDOM<\/strong><\/h3>\n<\/p>\n<p><p>\u76f4\u63a5\u4f7f\u7528JavaScript\u64cd\u4f5cDOM\u5143\u7d20\uff0c\u901a\u8fc7\u6539\u53d8\u5143\u7d20\u7684\u6837\u5f0f\u5c5e\u6027\u6765\u5b9e\u73b0\u52a8\u753b\u6548\u679c\u3002\u867d\u7136\u8fd9\u79cd\u65b9\u6cd5\u7ed9\u4e88\u5f00\u53d1\u8005\u66f4\u5927\u7684\u7075\u6d3b\u6027\u548c\u63a7\u5236\u529b\uff0c\u4f46\u9700\u66f4\u591a\u5730\u624b\u52a8\u5904\u7406\u52a8\u753b\u7684\u7ec6\u8282\u548c\u6027\u80fd\u4f18\u5316\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u5b9e\u73b0\u65b9\u6cd5<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u8fc7<code>setInterval<\/code>\u6216<code>requestAnimationFrame<\/code>\u51fd\u6570\u5468\u671f\u6027\u5730\u66f4\u65b0\u5143\u7d20\u7684\u6837\u5f0f\u5c5e\u6027\uff0c\u8fdb\u800c\u5b9e\u73b0\u52a8\u753b\u6548\u679c\u3002<code>requestAnimationFrame<\/code>\u66f4\u9002\u5408\u52a8\u753b\u6548\u679c\u5b9e\u73b0\uff0c\u56e0\u4e3a\u5b83\u80fd\u591f\u5728\u6d4f\u89c8\u5668\u7ed8\u5236\u4e4b\u524d\u6267\u884c\uff0c\u56e0\u6b64\u52a8\u753b\u66f4\u52a0\u5e73\u6ed1\uff0c\u4e14\u6548\u7387\u66f4\u9ad8\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-javascript\">function fadeIn(element) {<\/p>\n<p>  let opacity = 0;<\/p>\n<p>  const interval = 0.1;<\/p>\n<p>  function animate() {<\/p>\n<p>    opacity += interval;<\/p>\n<p>    if (opacity &lt;= 1) {<\/p>\n<p>      element.style.opacity = opacity;<\/p>\n<p>      requestAnimationFrame(animate);<\/p>\n<p>    }<\/p>\n<p>  }<\/p>\n<p>  animate();<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6ce8\u610f\u4e8b\u9879<\/strong><\/p>\n<\/p>\n<p><p>\u76f4\u63a5\u64cd\u4f5cDOM\u53ef\u80fd\u4f1a\u5f15\u53d1\u6027\u80fd\u95ee\u9898\uff0c\u5c24\u5176\u662f\u5728\u52a8\u753b\u9891\u7e41\u6216\u5143\u7d20\u590d\u6742\u7684\u60c5\u51b5\u4e0b\u3002\u4e3a\u4e86\u4f18\u5316\u6027\u80fd\uff0c\u5efa\u8bae\u51cf\u5c11DOM\u64cd\u4f5c\u7684\u9891\u7387\uff0c\u5e76\u5c3d\u91cf\u4f7f\u7528<code>requestAnimationFrame<\/code>\u800c\u4e0d\u662f<code>setInterval<\/code>\u6216<code>setTimeout<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3><strong>\u4e09\u3001\u4f7f\u7528JAVASCRIPT\u52a8\u753b\u5e93<\/strong><\/h3>\n<\/p>\n<p><p>JavaScript\u52a8\u753b\u5e93\u63d0\u4f9b\u4e86\u5c01\u88c5\u597d\u7684\u52a8\u753b\u6548\u679c\u548cAPI\uff0c\u80fd\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u5feb\u901f\u5730\u5b9e\u73b0\u590d\u6742\u7684\u52a8\u753b\u6548\u679c\u3002\u6d41\u884c\u7684JavaScript\u52a8\u753b\u5e93\u5982Anime.js\u3001GSAP(GreenSock Animation Platform)\u7b49\uff0c\u5b83\u4eec\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u52a8\u753b\u529f\u80fd\uff0c\u9002\u5408\u5904\u7406\u590d\u6742\u52a8\u753b\u5e8f\u5217\u548c\u4ea4\u4e92\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u5e93\u7684\u9009\u62e9<\/strong><\/p>\n<\/p>\n<p><p>\u9009\u62e9\u4e00\u4e2a\u5408\u9002\u7684\u52a8\u753b\u5e93\u65f6\uff0c\u5e94\u8003\u8651\u5e93\u7684\u5927\u5c0f\u3001\u517c\u5bb9\u6027\u3001\u6613\u7528\u6027\u548c\u793e\u533a\u652f\u6301\u7b49\u56e0\u7d20\u3002\u4f8b\u5982\uff0cGSAP\u4ee5\u5176\u5f3a\u5927\u7684\u529f\u80fd\u548c\u826f\u597d\u7684\u517c\u5bb9\u6027\u53d7\u5230\u8bb8\u591a\u5f00\u53d1\u8005\u7684\u9752\u7750\uff0c\u800cAnime.js\u5219\u4ee5\u8f7b\u91cf\u548c\u7b80\u6d01\u95fb\u540d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5e94\u7528\u793a\u4f8b<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u52a8\u753b\u5e93\u901a\u5e38\u53ea\u9700\u51e0\u884c\u4ee3\u7801\u5373\u53ef\u5b9e\u73b0\u590d\u6742\u7684\u52a8\u753b\u6548\u679c\u3002\u4f8b\u5982\uff0c\u4f7f\u7528GSAP\u5b9e\u73b0\u4e00\u4e2a\u5143\u7d20\u7684\u6de1\u5165\u6548\u679c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-javascript\">gsap.to(&quot;#element&quot;, {duration: 2, opacity: 1});<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u8ba9id\u4e3a&quot;element&quot;\u7684DOM\u5143\u7d20\u57282\u79d2\u5185\u9010\u6e10\u53d8\u4e3a\u4e0d\u900f\u660e\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3><strong>\u603b\u7ed3<\/strong><\/h3>\n<\/p>\n<p><p>\u5b9e\u73b0DOM\u52a8\u753b\u6548\u679c\u7684\u65b9\u6cd5\u591a\u79cd\u591a\u6837\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u9879\u76ee\u9700\u6c42\u3001\u6027\u80fd\u4f18\u5316\u548c\u5f00\u53d1\u6548\u7387\u7b49\u56e0\u7d20\u9009\u62e9\u6700\u5408\u9002\u7684\u65b9\u5f0f\u3002CSS\u52a8\u753b\u9002\u5408\u7b80\u5355\u6216\u89c4\u5219\u52a8\u753b\uff0cJavaScript\u76f4\u63a5\u64cd\u4f5cDOM\u9002\u5408\u9700\u8981\u7cbe\u7ec6\u63a7\u5236\u7684\u573a\u5408\uff0c\u800c\u52a8\u753b\u5e93\u5219\u662f\u5b9e\u73b0\u590d\u6742\u52a8\u753b\u6548\u679c\u7684\u5f3a\u5927\u5de5\u5177\u3002\u6b63\u786e\u9009\u62e9\u548c\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6781\u5927\u5730\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u548c\u754c\u9762\u4e92\u52a8\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u6211\u60f3\u5728 JavaScript \u7a0b\u5e8f\u4e2d\u5b9e\u73b0 DOM \u52a8\u753b\u6548\u679c\uff0c\u6709\u54ea\u4e9b\u5e38\u7528\u7684\u65b9\u6cd5\uff1f<\/strong><br \/>\n\u5728 JavaScript \u4e2d\uff0c\u5e38\u7528\u7684\u5b9e\u73b0 DOM \u52a8\u753b\u6548\u679c\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528 CSS \u8fc7\u6e21\uff08transition\uff09\u548c\u52a8\u753b\uff08animation\uff09\uff0c\u4ee5\u53ca\u4f7f\u7528 JavaScript \u5e93\uff08\u5982 jQuery\uff09\u8fdb\u884c\u64cd\u4f5c\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528 CSS \u8fc7\u6e21\u6765\u5b9e\u73b0\u7b80\u5355\u7684\u52a8\u753b\u6548\u679c\uff0c\u6bd4\u5982\u6539\u53d8\u5143\u7d20\u7684\u900f\u660e\u5ea6\u3001\u4f4d\u7f6e\u7b49\uff0c\u901a\u8fc7\u6dfb\u52a0\u8fc7\u6e21\u6548\u679c\uff0c\u4f7f\u5176\u53d8\u5f97\u5e73\u6ed1\u3002\u800c CSS \u52a8\u753b\u5219\u66f4\u52a0\u7075\u6d3b\uff0c\u53ef\u4ee5\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u52a8\u753b\u6548\u679c\uff0c\u6bd4\u5982\u65cb\u8f6c\u3001\u7f29\u653e\u3001\u6de1\u5165\u6de1\u51fa\u7b49\u3002\u53e6\u5916\uff0cJavaScript \u5e93\uff08\u5982 jQuery\uff09\u4e5f\u63d0\u4f9b\u4e86\u4e00\u4e9b\u7b80\u4fbf\u7684\u65b9\u6cd5\uff0c\u6bd4\u5982 .animate()\uff0c\u53ef\u4ee5\u5b9e\u73b0\u66f4\u591a\u6837\u5316\u7684\u52a8\u753b\u6548\u679c\u3002<\/p>\n<p><strong>2. JavaScript \u4e2d\u5982\u4f55\u5229\u7528 requestAnimationFrame \u6765\u5b9e\u73b0 DOM \u52a8\u753b\u6548\u679c\uff1f<\/strong><br \/>\nrequestAnimationFrame \u662f\u4e00\u79cd\u6027\u80fd\u66f4\u597d\u7684\u52a8\u753b\u6e32\u67d3\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u7684\u5237\u65b0\u7387\u4e0b\u6267\u884c\u52a8\u753b\uff0c\u4f7f\u52a8\u753b\u66f4\u6d41\u7545\u3002\u5728 JavaScript \u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 requestAnimationFrame \u65b9\u6cd5\u6765\u5b9e\u73b0 DOM \u52a8\u753b\u6548\u679c\u3002\u9996\u5148\uff0c\u4f60\u9700\u8981\u5728\u52a8\u753b\u51fd\u6570\u4e2d\u66f4\u65b0 DOM \u5143\u7d20\u7684\u5c5e\u6027\uff0c\u6bd4\u5982\u6539\u53d8\u5143\u7d20\u7684\u4f4d\u7f6e\u3001\u900f\u660e\u5ea6\u7b49\uff0c\u7136\u540e\u518d\u6b21\u8c03\u7528 requestAnimationFrame \u65b9\u6cd5\u6765\u66f4\u65b0\u52a8\u753b\u3002\u8fd9\u6837\u5c31\u53ef\u4ee5\u901a\u8fc7\u4e0d\u65ad\u66f4\u65b0 DOM \u5143\u7d20\u7684\u5c5e\u6027\u6765\u5b9e\u73b0\u52a8\u753b\u6548\u679c\u3002\u6ce8\u610f\uff0c\u4e3a\u4e86\u907f\u514d\u52a8\u753b\u8d85\u51fa\u5c4f\u5e55\uff0c\u4f60\u9700\u8981\u5728\u52a8\u753b\u51fd\u6570\u4e2d\u5224\u65ad\u52a8\u753b\u662f\u5426\u5df2\u7ecf\u7ed3\u675f\uff0c\u5982\u679c\u6ca1\u6709\u7ed3\u675f\uff0c\u5219\u7ee7\u7eed\u8c03\u7528 requestAnimationFrame \u65b9\u6cd5\u3002<\/p>\n<p><strong>3. JavaScript \u4e2d\u5982\u4f55\u4f7f\u7528 CSS3 \u7684 transform \u5c5e\u6027\u5b9e\u73b0\u590d\u6742\u7684 DOM \u52a8\u753b\u6548\u679c\uff1f<\/strong><br \/>\n\u4f7f\u7528 CSS3 \u7684 transform \u5c5e\u6027\u53ef\u4ee5\u5b9e\u73b0\u4e00\u4e9b\u590d\u6742\u7684 DOM \u52a8\u753b\u6548\u679c\uff0c\u6bd4\u5982\u65cb\u8f6c\u3001\u7f29\u653e\u3001\u79fb\u52a8\u7b49\u3002\u5728 JavaScript \u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u6539\u53d8\u5143\u7d20\u7684 transform \u5c5e\u6027\u503c\u6765\u5b9e\u73b0\u8fd9\u4e9b\u52a8\u753b\u6548\u679c\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u5143\u7d20\u7684 style.transform \u5c5e\u6027\u6765\u8bbe\u7f6e\u5143\u7d20\u7684\u65cb\u8f6c\u89d2\u5ea6\u3001\u7f29\u653e\u5927\u5c0f\u548c\u79fb\u52a8\u8ddd\u79bb\u7b49\u3002\u901a\u8fc7\u6539\u53d8\u8fd9\u4e9b\u5c5e\u6027\u503c\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u51fa\u5404\u79cd\u5404\u6837\u7684\u52a8\u753b\u6548\u679c\u3002\u6b64\u5916\uff0c\u4f60\u8fd8\u53ef\u4ee5\u7ed3\u5408 CSS3 \u7684\u8fc7\u6e21\u548c\u52a8\u753b\u6548\u679c\uff0c\u4f7f DOM \u5143\u7d20\u7684\u52a8\u753b\u53d8\u5f97\u66f4\u52a0\u5e73\u6ed1\u548c\u6709\u8da3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728JavaScript\u7a0b\u5e8f\u4e2d\u5b9e\u73b0DOM\u52a8\u753b\u6548\u679c\uff0c\u4e3b\u8981\u4f9d\u9760CSS\u52a8\u753b\u3001JavaScript\u76f4\u63a5\u64cd\u4f5cDOM\u4ee5\u53ca\u4f7f\u7528 [&hellip;]","protected":false},"author":3,"featured_media":170223,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/170214"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=170214"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/170214\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/170223"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=170214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=170214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=170214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}