{"id":2,"date":"2024-07-10T15:04:47","date_gmt":"2024-07-10T07:04:47","guid":{"rendered":"http:\/\/wh-nsh8kygbnftf9nmh5ah.my3w.com\/?page_id=2"},"modified":"2024-07-12T12:50:58","modified_gmt":"2024-07-12T04:50:58","slug":"sample-page","status":"publish","type":"page","link":"https:\/\/shuducang.com\/index.php\/sample-page\/","title":{"rendered":"\u8054\u7cfb\u6211\u4eec"},"content":{"rendered":"\n

\u516c\u53f8\u5730\u5740\uff1a<\/strong><\/p>\n\n\n\n

\u56db\u5ddd\u7701\u6210\u90fd\u5e02\u7b80\u9633\u5e02\u7b80\u57ce\u8857\u9053\u5efa\u8bbe\u897f\u8def974\u53f7<\/p>\n\n\n\n\n\n \n \n \n \n \u767e\u5ea6\u5730\u56feAPI\u81ea\u5b9a\u4e49\u5730\u56fe<\/title>\n <!--\u5f15\u7528\u767e\u5ea6\u5730\u56feAPI-->\n <script type=\"text\/javascript\" src=\"http:\/\/api.map.baidu.com\/api?v=2.0&ak=QSPOSj0jRO5fl1oZwbBQwoGLWQkVaCJx\"><\/script>\n <\/head>\n \n <body>\n <!--\u767e\u5ea6\u5730\u56fe\u5bb9\u5668-->\n <div style=\"width:700px;height:550px;border:#ccc solid 1px;font-size:12px\" id=\"map\"><\/div>\n\n <\/body>\n <script type=\"text\/javascript\">\n \/\/\u521b\u5efa\u548c\u521d\u59cb\u5316\u5730\u56fe\u51fd\u6570\uff1a\n function initMap(){\n createMap();\/\/\u521b\u5efa\u5730\u56fe\n setMapEvent();\/\/\u8bbe\u7f6e\u5730\u56fe\u4e8b\u4ef6\n addMapControl();\/\/\u5411\u5730\u56fe\u6dfb\u52a0\u63a7\u4ef6\n addMapOverlay();\/\/\u5411\u5730\u56fe\u6dfb\u52a0\u8986\u76d6\u7269\n }\n function createMap(){ \n map = new BMap.Map(\"map\"); \n map.centerAndZoom(new BMap.Point(104.532848,30.370292),16);\n }\n function setMapEvent(){\n map.enableScrollWheelZoom();\n map.enableKeyboard();\n map.enableDragging();\n map.enableDoubleClickZoom()\n }\n function addClickHandler(target,window){\n target.addEventListener(\"click\",function(){\n target.openInfoWindow(window);\n });\n }\n function addMapOverlay(){\n var markers = [\n {content:\"\u6211\u7684\u5907\u6ce8\",title:\"\u8700\u90fd\u8231\u98df\u54c1\u79d1\u6280\uff08\u7b80\u9633\uff09\u6709\u9650\u516c\u53f8\",imageOffset: {width:-46,height:3},position:{lat:30.370491,lng:104.532678}}\n ];\n for(var index = 0; index < markers.length; index++ ){\n var point = new BMap.Point(markers[index].position.lng,markers[index].position.lat);\n var marker = new BMap.Marker(point,{icon:new BMap.Icon(\"http:\/\/api.map.baidu.com\/lbsapi\/createmap\/images\/icon.png\",new BMap.Size(20,25),{\n imageOffset: new BMap.Size(markers[index].imageOffset.width,markers[index].imageOffset.height)\n })});\n var label = new BMap.Label(markers[index].title,{offset: new BMap.Size(25,5)});\n var opts = {\n width: 200,\n title: markers[index].title,\n enableMessage: false\n };\n var infoWindow = new BMap.InfoWindow(markers[index].content,opts);\n marker.setLabel(label);\n addClickHandler(marker,infoWindow);\n map.addOverlay(marker);\n };\n }\n \/\/\u5411\u5730\u56fe\u6dfb\u52a0\u63a7\u4ef6\n function addMapControl(){\n var scaleControl = new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});\n scaleControl.setUnit(BMAP_UNIT_IMPERIAL);\n map.addControl(scaleControl);\n var navControl = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE});\n map.addControl(navControl);\n var overviewControl = new BMap.OverviewMapControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,isOpen:true});\n map.addControl(overviewControl);\n }\n var map;\n initMap();\n <\/script>\n<\/html>\n\n\n\n\n<p><strong>\u9500\u552e\u70ed\u7ebf:<\/strong><\/p>\n\n\n\n<p>028-27020666<\/p>\n\n\n\n<p><strong>\u626b\u7801\u5173\u6ce8\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"258\" src=\"http:\/\/wh-nsh8kygbnftf9nmh5ah.my3w.com\/wp-content\/uploads\/2024\/07\/erweima.png\" alt=\"\" class=\"wp-image-20\" srcset=\"https:\/\/shuducang.com\/wp-content\/uploads\/2024\/07\/erweima.png 540w, https:\/\/shuducang.com\/wp-content\/uploads\/2024\/07\/erweima-300x143.png 300w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u516c\u53f8\u5730\u5740\uff1a \u56db\u5ddd\u7701\u6210\u90fd\u5e02\u7b80\u9633\u5e02\u7b80\u57ce\u8857\u9053\u5efa\u8bbe\u897f\u8def974\u53f7 \u767e\u5ea6\u5730\u56feAPI\u81ea\u5b9a\u4e49\u5730\u56fe \u9500\u552e\u70ed\u7ebf: 028-2702 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-2","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/shuducang.com\/index.php\/wp-json\/wp\/v2\/pages\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shuducang.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shuducang.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shuducang.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shuducang.com\/index.php\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":6,"href":"https:\/\/shuducang.com\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":88,"href":"https:\/\/shuducang.com\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions\/88"}],"wp:attachment":[{"href":"https:\/\/shuducang.com\/index.php\/wp-json\/wp\/v2\/media?parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}