{"id":1259,"date":"2025-04-24T06:00:15","date_gmt":"2025-04-23T22:00:15","guid":{"rendered":"https:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/"},"modified":"2025-04-24T06:00:15","modified_gmt":"2025-04-23T22:00:15","slug":"html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f","status":"publish","type":"post","link":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/","title":{"rendered":"html5 \u5c04\u51fb\u5c0f\u6e38\u620fdemo,html5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f"},"content":{"rendered":"<div class=\"article_content clearfix\" id=\"article_content\">\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/kdoc_html_views-1a98987dfd.css\" rel=\"stylesheet\"\/>\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/ck_htmledit_views-704d5b9767.css\" rel=\"stylesheet\"\/>\n<div class=\"htmledit_views\" id=\"content_views\">\n<div style=\"font-size:16px;\">\n<p>\n    \u901a\u8fc7\u8bbe\u7f6e\u5c0f\u7403\u7684\u6c34\u5e73\u901f\u5ea6\u548c\u7ad6\u76f4\u901f\u5ea6\uff0c\u8ba9\u5c0f\u7403\u5c04\u51fb\u53f3\u4fa7\u5728\u5899\u4e0a\u7684\u5c0f\u7403\uff0c\u5f53\u4e24\u4e2a\u5c0f\u7403\u78b0\u649e\u65f6\uff0c\u5899\u4e0a\u7684\u5c0f\u7403\u4f1a\u6709\u65b0\u7684\u4f4d\u7f6e\u3002\u6e38\u620f\u540c\u65f6\u53ef\u4ee5\u8bb0\u5f55\u6253\u4e2d\u7684\u7403\u7684\u4e2a\u6570\u3002\n   <\/p>\n<p>\n    \u4ee5\u4e0b\u662f\u4ee3\u7801\uff1a\n   <\/p>\n<p>\n    var cwidth=600\/\/\u753b\u5e03\u5bbd\n   <\/p>\n<p>\n    var cheight=400;\/\/\u753b\u5e03\u9ad8\n   <\/p>\n<p>\n    var aimx=300;\/\/\u957f\u65b9\u4f53\u76ee\u6807\u7269x\u5750\u6807\n   <\/p>\n<p>\n    var aimy=100;\/\/\u957f\u65b9\u4f53\u76ee\u6807\u7269y\u5750\u6807\n   <\/p>\n<p>\n    var aimWidth=80;\/\/\u957f\u65b9\u4f53\u76ee\u6807\u7269\u7684\u5bbd\n   <\/p>\n<p>\n    var aimHeight=200;\/\/\u957f\u65b9\u4f53\u76ee\u6807\u7269\u7684\u9ad8\n   <\/p>\n<p>\n    var groundx=0;\/\/\u5730\u9762\u7684x\u5750\u6807\n   <\/p>\n<p>\n    var groundy=300\/\/\u5730\u9762\u7684y\u5750\u6807\n   <\/p>\n<p>\n    var groundWidth=500;\/\/\u5730\u9762\u7684\u5bbd\n   <\/p>\n<p>\n    var groundHeight=30;\/\/\u5730\u9762\u7684\u9ad8\n   <\/p>\n<p>\n    var ballx=20;\/\/\u5c0f\u7403\u5706\u5fc3\u7684x\u5750\u6807\n   <\/p>\n<p>\n    var bally=290;\/\/\u5c0f\u7403\u5706\u5fc3\u7684y\u5750\u6807\n   <\/p>\n<p>\n    var ballRadius=10;\/\/\u5c0f\u7403\u7684\u534a\u5f84\n   <\/p>\n<p>\n    var horvelocity;\/\/\u5c0f\u7403\u7684\u6c34\u5e73\u901f\u5ea6\n   <\/p>\n<p>\n    var verticalvel1;\/\/\u5c0f\u7403\u7684\u7ad6\u76f4\u65b9\u5411\u521d\u901f\u5ea6\n   <\/p>\n<p>\n    var verticalvel2;\/\/\u5c0f\u7403\u7ad6\u76f4\u65b9\u5411\u672b\u901f\u5ea6\n   <\/p>\n<p>\n    var addx;\/\/\u5c0f\u7403x\u8f74\u65b9\u5411\u7684\u589e\u91cf\n   <\/p>\n<p>\n    var addy;\/\/\u5c0f\u7403y\u8f74\u65b9\u5411\u7684\u589e\u91cf\n   <\/p>\n<p>\n    var gravity=2;\/\/\u7ad6\u76f4\u65b9\u5411\u7684\u91cd\u529b\u52a0\u901f\u5ea6\n   <\/p>\n<p>\n    var context;\n   <\/p>\n<p>\n    var everything=[];\n   <\/p>\n<p>\n    var tid;\/\/\u65f6\u95f4\u76d1\u89c6\u5668\n   <\/p>\n<p>\n    var shotx=aimx-7;\/\/\u88ab\u5c04\u51fb\u5c0f\u7403\u7684x\u5750\u6807\n   <\/p>\n<p>\n    var shoty=aimy+ballRadius\/2+Math.floor(Math.random()*aimHeight-ballRadius);\/\/\u88ab\u5c04\u51fb\u5c0f\u7403\u7684y\u5750\u6807\n   <\/p>\n<p>\n    var score=0;\/\/\u8bb0\u5f55\u5f97\u5206\u60c5\u51b5\n   <\/p>\n<p>\n    function CreateBall(bx,by,brad,fillStyle){<br \/>\n    <!-- -->\n   <\/p>\n<p>\n    this.bx=bx;\n   <\/p>\n<p>\n    this.by=by;\n   <\/p>\n<p>\n    this.brad=brad;\n   <\/p>\n<p>\n    this.fillStyle=fillStyle;\n   <\/p>\n<p>\n    this.moveball=moveball;\n   <\/p>\n<p>\n    this.draw=drawball;\n   <\/p>\n<p>\n    }\n   <\/p>\n<p>\n    function CreateRect(rx,ry,rw,rh,fillStyle){<br \/>\n    <!-- -->\n   <\/p>\n<p>\n    this.rx=rx;\n   <\/p>\n<p>\n    this.ry=ry;\n   <\/p>\n<p>\n    this.rw=rw;\n   <\/p>\n<p>\n    this.rh=rh;\n   <\/p>\n<p>\n    this.fillStyle=fillStyle;\n   <\/p>\n<p>\n    this.draw=drawrect;\n   <\/p>\n<p>\n    }\n   <\/p>\n<p>\n    function drawball(){<br \/>\n    <!-- -->\n   <\/p>\n<p>\n    context.beginPath();\n   <\/p>\n<p>\n    context.fillStyle=this.fillStyle;\n   <\/p>\n<p>\n    context.arc(this.bx,this.by,this.brad,0,Math.PI*2,true);\n   <\/p>\n<p>\n    context.fill();\n   <\/p>\n<p>\n    }\n   <\/p>\n<p>\n    function drawrect(){<br \/>\n    <!-- -->\n   <\/p>\n<p>\n    context.beginPath();\n   <\/p>\n<p>\n    context.fillStyle=this.fillStyle;\n   <\/p>\n<p>\n    context.fillRect(this.rx,this.ry,this.rw,this.rh);\n   <\/p>\n<p>\n    }\n   <\/p>\n<p>\n    function moveball(addx,addy){<br \/>\n    <!-- -->\n   <\/p>\n<p>\n    this.bx+=addx;\n   <\/p>\n<p>\n    this.by+=addy;\n   <\/p>\n<p>\n    }\n   <\/p>\n<p>\n    var ball=new CreateBall(ballx,bally,ballRadius,&#8221;rgb(250,0,0)&#8221;);\n   <\/p>\n<p>\n    var target=new CreateRect(aimx,aimy,aimWidth,aimHeight,&#8221;rgb(0,5,90)&#8221;);\n   <\/p>\n<p>\n    var ground=new CreateRect(groundx,groundy,groundWidth,groundHeight,&#8221;rgb(10,250,0)&#8221;);\n   <\/p>\n<p>\n    var aim=new CreateBall(shotx,shoty,ballRadius,&#8221;rgb(30,40,200)&#8221;);\n   <\/p>\n<p>\n    everything.push(ball);\n   <\/p>\n<p>\n    everything.push(target);\n   <\/p>\n<p>\n    everything.push(ground);\n   <\/p>\n<p>\n    everything.push(aim);\n   <\/p>\n<p>\n    function drawall(){<br \/>\n    <!-- -->\n   <\/p>\n<p>\n    context.clearRect(0,0,cwidth,cheight);\n   <\/p>\n<p>\n    for(var i=0;i\n   <\/p>\n<p>\n    everything[i].draw();\n   <\/p>\n<p>\n    }\n   <\/p>\n<p>\n    function init(){<br \/>\n    <!-- -->\n   <\/p>\n<p>\n    context=document.getElementById(&#8220;canvas&#8221;).getContext(&#8220;2d&#8221;);\n   <\/p>\n<p>\n    drawall();\n   <\/p>\n<p>\n    }\n   <\/p>\n<p>\n    function fire(){<br \/>\n    <!-- -->\n   <\/p>\n<p>\n    horvelocity=Number(document.getElementById(&#8220;hv&#8221;).value);\n   <\/p>\n<p>\n    verticalvel1=Number(document.getElementById(&#8220;vv&#8221;).value);\n   <\/p>\n<p>\n    drawall();\n   <\/p>\n<p>\n    tid=setInterval(change,100);\n   <\/p>\n<p>\n    return false;\n   <\/p>\n<p>\n    }\n   <\/p>\n<p>\n    function distance(x1,y1,x2,y2){<br \/>\n    <!-- -->\n   <\/p>\n<p>\n    return Math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2));\n   <\/p>\n<p>\n    }\n   <\/p>\n<p>\n    function change(){<br \/>\n    <!-- -->\n   <\/p>\n<p>\n    addx = horvelocity;\n   <\/p>\n<p>\n    verticalvel2 = verticalvel1 + gravity;\n   <\/p>\n<p>\n    addy = (verticalvel1 + verticalvel2)*.5;\n   <\/p>\n<p>\n    verticalvel1 = verticalvel2;\n   <\/p>\n<p>\n    ball.moveball(addx,addy);\n   <\/p>\n<p>\n    if(distance(ball.bx,ball.by,aim.bx,aim.by)&lt;=11){<br \/>\n    <!-- -->\n   <\/p>\n<p>\n    score++;\n   <\/p>\n<p>\n    document.getElementById(&#8220;score&#8221;).value=score;\n   <\/p>\n<p>\n    aim.by=aimy+ballRadius\/2+Math.floor(Math.random()*aimHeight-ballRadius);\n   <\/p>\n<p>\n    clearInterval(tid);\n   <\/p>\n<p>\n    ball.bx = ballx;\n   <\/p>\n<p>\n    ball.by= bally;\n   <\/p>\n<p>\n    }\n   <\/p>\n<p>\n    else if(ball.bx+1&gt;=target.rx&amp;&amp;ball.by&gt;target.ry){<br \/>\n    <!-- -->\n   <\/p>\n<p>\n    clearInterval(tid);\n   <\/p>\n<p>\n    ball.bx = ballx;\n   <\/p>\n<p>\n    ball.by= bally;\n   <\/p>\n<p>\n    }\n   <\/p>\n<p>\n    else if (ball.by&gt;=ground.ry) {<br \/>\n    <!-- -->\n   <\/p>\n<p>\n    clearInterval(tid);\n   <\/p>\n<p>\n    ball.bx = ballx;\n   <\/p>\n<p>\n    ball.by= bally;\n   <\/p>\n<p>\n    }\n   <\/p>\n<p>\n    drawall();\n   <\/p>\n<p>\n    }\n   <\/p>\n<p>\n    Your brower doesn&#8217;t support canvas.\n   <\/p>\n<p>\n    Initial Horizontal Velocity:\n   <\/p>\n<p>\n    Initial Vertical Velocity:\n   <\/p>\n<h3>\n    Geted Scores:<br \/>\n   <\/h3>\n<p>\n    \u4e0b\u9762\u662f\u6548\u679c\u56fe\uff1a\n   <\/p>\n<p align=\"center\">\n<\/p><\/div>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u8fc7\u8bbe\u7f6e\u5c0f\u7403\u7684\u6c34\u5e73\u901f\u5ea6\u548c\u7ad6\u76f4\u901f\u5ea6\uff0c\u8ba9\u5c0f\u7403\u5c04\u51fb\u53f3\u4fa7\u5728\u5899\u4e0a\u7684\u5c0f\u7403\uff0c\u5f53\u4e24\u4e2a\u5c0f\u7403\u78b0\u649e\u65f6\uff0c\u5899\u4e0a\u7684\u5c0f\u7403\u4f1a\u6709\u65b0\u7684\u4f4d\u7f6e\u3002\u6e38\u620f\u540c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":215,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-1259","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-23"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>html5 \u5c04\u51fb\u5c0f\u6e38\u620fdemo,html5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-\u5c04\u51fb\u5c0f\u6e38\u620fdemohtml5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"html5 \u5c04\u51fb\u5c0f\u6e38\u620fdemo,html5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\" \/>\n<meta property=\"og:description\" content=\"\u901a\u8fc7\u8bbe\u7f6e\u5c0f\u7403\u7684\u6c34\u5e73\u901f\u5ea6\u548c\u7ad6\u76f4\u901f\u5ea6\uff0c\u8ba9\u5c0f\u7403\u5c04\u51fb\u53f3\u4fa7\u5728\u5899\u4e0a\u7684\u5c0f\u7403\uff0c\u5f53\u4e24\u4e2a\u5c0f\u7403\u78b0\u649e\u65f6\uff0c\u5899\u4e0a\u7684\u5c0f\u7403\u4f1a\u6709\u65b0\u7684\u4f4d\u7f6e\u3002\u6e38\u620f\u540c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-\u5c04\u51fb\u5c0f\u6e38\u620fdemohtml5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-23T22:00:15+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"260\" \/>\n\t<meta property=\"og:image:height\" content=\"180\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin@wunen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin@wunen\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/\"},\"author\":{\"name\":\"admin@wunen\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8\"},\"headline\":\"html5 \u5c04\u51fb\u5c0f\u6e38\u620fdemo,html5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f\",\"datePublished\":\"2025-04-23T22:00:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/\"},\"wordCount\":375,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/www.wunen.com\/#organization\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"articleSection\":[\"\u5c04\u51fb\u6e38\u620f\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/\",\"url\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/\",\"name\":\"html5 \u5c04\u51fb\u5c0f\u6e38\u620fdemo,html5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"isPartOf\":{\"@id\":\"http:\/\/www.wunen.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"datePublished\":\"2025-04-23T22:00:15+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#primaryimage\",\"url\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"contentUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"width\":260,\"height\":180},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/www.wunen.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"html5 \u5c04\u51fb\u5c0f\u6e38\u620fdemo,html5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.wunen.com\/#website\",\"url\":\"http:\/\/www.wunen.com\/\",\"name\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"description\":\"\u8f6f\u4ef6\u8d44\u8baf\u6765\u7269\u5ae9\",\"publisher\":{\"@id\":\"http:\/\/www.wunen.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.wunen.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/www.wunen.com\/#organization\",\"name\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"url\":\"http:\/\/www.wunen.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png\",\"contentUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png\",\"width\":1024,\"height\":1024,\"caption\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8\",\"name\":\"admin@wunen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g\",\"caption\":\"admin@wunen\"},\"sameAs\":[\"http:\/\/www.wunen.com\"],\"url\":\"http:\/\/www.wunen.com\/index.php\/author\/adminwunen\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"html5 \u5c04\u51fb\u5c0f\u6e38\u620fdemo,html5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-\u5c04\u51fb\u5c0f\u6e38\u620fdemohtml5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f\/","og_locale":"zh_CN","og_type":"article","og_title":"html5 \u5c04\u51fb\u5c0f\u6e38\u620fdemo,html5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","og_description":"\u901a\u8fc7\u8bbe\u7f6e\u5c0f\u7403\u7684\u6c34\u5e73\u901f\u5ea6\u548c\u7ad6\u76f4\u901f\u5ea6\uff0c\u8ba9\u5c0f\u7403\u5c04\u51fb\u53f3\u4fa7\u5728\u5899\u4e0a\u7684\u5c0f\u7403\uff0c\u5f53\u4e24\u4e2a\u5c0f\u7403\u78b0\u649e\u65f6\uff0c\u5899\u4e0a\u7684\u5c0f\u7403\u4f1a\u6709\u65b0\u7684\u4f4d\u7f6e\u3002\u6e38\u620f\u540c [&hellip;]","og_url":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-\u5c04\u51fb\u5c0f\u6e38\u620fdemohtml5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f\/","og_site_name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","article_published_time":"2025-04-23T22:00:15+00:00","og_image":[{"width":260,"height":180,"url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","type":"image\/jpeg"}],"author":"admin@wunen","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin@wunen","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#article","isPartOf":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/"},"author":{"name":"admin@wunen","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8"},"headline":"html5 \u5c04\u51fb\u5c0f\u6e38\u620fdemo,html5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f","datePublished":"2025-04-23T22:00:15+00:00","mainEntityOfPage":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/"},"wordCount":375,"commentCount":0,"publisher":{"@id":"http:\/\/www.wunen.com\/#organization"},"image":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#primaryimage"},"thumbnailUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","articleSection":["\u5c04\u51fb\u6e38\u620f"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/","url":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/","name":"html5 \u5c04\u51fb\u5c0f\u6e38\u620fdemo,html5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","isPartOf":{"@id":"http:\/\/www.wunen.com\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#primaryimage"},"image":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#primaryimage"},"thumbnailUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","datePublished":"2025-04-23T22:00:15+00:00","breadcrumb":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#primaryimage","url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","contentUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","width":260,"height":180},{"@type":"BreadcrumbList","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/24\/html5-%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8fdemohtml5%e5%86%99%e7%9a%84%e5%b0%84%e5%87%bb%e5%b0%8f%e6%b8%b8%e6%88%8f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/www.wunen.com\/"},{"@type":"ListItem","position":2,"name":"html5 \u5c04\u51fb\u5c0f\u6e38\u620fdemo,html5\u5199\u7684\u5c04\u51fb\u5c0f\u6e38\u620f"}]},{"@type":"WebSite","@id":"http:\/\/www.wunen.com\/#website","url":"http:\/\/www.wunen.com\/","name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","description":"\u8f6f\u4ef6\u8d44\u8baf\u6765\u7269\u5ae9","publisher":{"@id":"http:\/\/www.wunen.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.wunen.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"http:\/\/www.wunen.com\/#organization","name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","url":"http:\/\/www.wunen.com\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/","url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png","contentUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png","width":1024,"height":1024,"caption":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51"},"image":{"@id":"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8","name":"admin@wunen","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g","caption":"admin@wunen"},"sameAs":["http:\/\/www.wunen.com"],"url":"http:\/\/www.wunen.com\/index.php\/author\/adminwunen\/"}]}},"_links":{"self":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts\/1259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/comments?post=1259"}],"version-history":[{"count":0,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts\/1259\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/media\/215"}],"wp:attachment":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/media?parent=1259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/categories?post=1259"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/tags?post=1259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}