{"id":77,"date":"2024-03-10T21:23:23","date_gmt":"2024-03-10T13:23:23","guid":{"rendered":"https:\/\/47.100.176.92\/?page_id=77"},"modified":"2024-03-13T01:58:01","modified_gmt":"2024-03-12T17:58:01","slug":"%e8%81%94%e7%b3%bb%e6%88%91%e4%bb%ac","status":"publish","type":"page","link":"https:\/\/forwhy.live\/index.php\/%e8%81%94%e7%b3%bb%e6%88%91%e4%bb%ac\/","title":{"rendered":"\u8054\u7cfb\u6211\u4eec"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-constrained wp-container-core-group-is-layout-d3cf7e5b wp-block-group-is-layout-constrained\" style=\"padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\">\n<!DOCTYPE html>\n <html>\n <head>\n   <meta charset=\"utf-8\">\n   <meta name=\"keywords\" content=\"\u9ad8\u5fb7\u5730\u56fe,DIY\u5730\u56fe,\u9ad8\u5fb7\u5730\u56fe\u751f\u6210\u5668\">\n   <meta name=\"description\" content=\"\u9ad8\u5fb7\u5730\u56fe\uff0cDIY\u5730\u56fe\uff0c\u81ea\u5df1\u5236\u4f5c\u5730\u56fe\uff0c\u751f\u6210\u81ea\u5df1\u7684\u9ad8\u5fb7\u5730\u56fe\">\n   <title>\u9ad8\u5fb7\u5730\u56fe &#8211; DIY\u6211\u7684\u5730\u56fe<\/title>\n   <style>\n     body { margin: 0; font: 13px\/1.5 \"Microsoft YaHei\", \"Helvetica Neue\", \"Sans-Serif\"; min-height: 960px; min-width: 100%px; }\n     .my-map { margin: 0 auto; width: 100%px; height: 320px; } .my-map .icon { background: url(\/\/a.amap.com\/lbs-dev-yuntu\/static\/web\/image\/tools\/creater\/marker.png) no-repeat; } .my-map .icon-cir { height: 31px; width: 28px; } .my-map .icon-cir-blue { background-position: -11px -55px; }\n     .amap-container{height: 100%;}\n     .myinfowindow{width: 240px;min-height: 50px;}\n     .myinfowindow h5{ height: 20px; line-height: 20px; overflow: hidden; font-size: 14px; font-weight: bold; width: 220px; text-overflow: ellipsis; word-break: break-all; white-space: nowrap; }\n     .myinfowindow div{ margin-top: 10px; min-height: 40px; line-height: 20px; font-size: 13px; color: #6f6f6f; }\n   <\/style>\n <\/head>\n <body>\n   <div id=\"wrap\" class=\"my-map\">\n     <div id=\"mapContainer\"><\/div>\n   <\/div>\n   <script src=\"\/\/webapi.amap.com\/maps?v=1.3&#038;key=e07ffdf58c8e8672037bef0d6cae7d4a\"><\/script>\n   <script>\n   !function(){\n     var infoWindow, map, level = 18,\n       center = {lng: 118.769783, lat: 32.016623},\n       features = [{\"icon\":\"cir\",\"color\":\"blue\",\"name\":\"\u4e3a\u4f55ForWhy\",\"desc\":\"\u5357\u4eac\u5e02\u79e6\u6dee\u533a\u53cc\u5858\u8857\u9053\u60a6\u52a8\u65b0\u95e8\u897f15-301\",\"lnglat\":{\"Q\":32.016622786004646,\"R\":118.76967556312684,\"lng\":118.769676,\"lat\":32.016623},\"offset\":{\"x\":-9,\"y\":-31},\"type\":\"Marker\"}];\n \n     function loadFeatures(){\n       for(var feature, data, i = 0, len = features.length, j, jl, path; i < len; i++){\n         data = features[i];\n         switch(data.type){\n           case \"Marker\":\n             feature = new AMap.Marker({ map: map, position: new AMap.LngLat(data.lnglat.lng, data.lnglat.lat),\n               zIndex: 3, extData: data, offset: new AMap.Pixel(data.offset.x, data.offset.y), title: data.name,\n               content: '<div class=\"icon icon-' + data.icon + ' icon-'+ data.icon +'-' + data.color +'\"><\/div>' });\n             break;\n           case \"Polyline\":\n            for(j = 0, jl = data.path.length, path = []; j < jl; j++){\n\t\t\t\t\t\t\tpath.push(new AMap.LngLat(data.path[j].lng, data.path[j].lat));\n\t\t\t\t\t\t}\n             feature = new AMap.Polyline({ map: map, path: path, extData: data, zIndex: 2,\n               strokeWeight: data.strokeWeight, strokeColor: data.strokeColor, strokeOpacity: data.strokeOpacity });\n             break;\n           case \"Polygon\":\n             for(j = 0, jl = data.path.length, path = []; j < jl; j++){\n               path.push(new AMap.LngLat(data.path[j].lng, data.path[j].lat));\n             }\n             feature = new AMap.Polygon({ map: map, path: path, extData: data, zIndex: 1,\n               strokeWeight: data.strokeWeight, strokeColor: data.strokeColor, strokeOpacity: data.strokeOpacity,\n               fillColor: data.fillColor, fillOpacity: data.fillOpacity });\n             break;\n           default: feature = null;\n         }\n         if(feature){ AMap.event.addListener(feature, \"click\", mapFeatureClick); }\n       }\n     }\n \n     function mapFeatureClick(e){\n       if(!infoWindow){ infoWindow = new AMap.InfoWindow({autoMove: true,isCustom: false}); }\n       var extData = e.target.getExtData();\n       infoWindow.setContent(\"<div class='myinfowindow'><h5>\" + extData.name + \"<\/h5><div>\" + extData.desc + \"<\/div><\/div>\");\n       infoWindow.open(map, e.lnglat);\n     }\n \n     map = new AMap.Map(\"mapContainer\", {center: new AMap.LngLat(center.lng, center.lat), level: level, keyboardEnable:true, dragEnable:true, scrollWheel:true, doubleClickZoom:true});\n     \n     loadFeatures();\n \n     map.on('complete', function(){\n       map.plugin([\"AMap.ToolBar\", \"AMap.OverView\", \"AMap.Scale\"], function(){\n         map.addControl(new AMap.ToolBar({ruler: true, direction: true, locate: false})); map.addControl(new AMap.OverView({isOpen: true})); map.addControl(new AMap.Scale);\n       });\t\n     })\n     \n \t}();\n   <\/script>\n <\/body>\n <\/html>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-container-core-group-is-layout-70af9233 wp-block-group-is-layout-constrained\" style=\"margin-bottom:60px\">\n<div class=\"wp-block-columns are-vertically-aligned-top is-layout-flex wp-container-core-columns-is-layout-940d86ba wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:60%\">\n<h2 class=\"wp-block-heading\" style=\"font-style:normal;font-weight:600\">\u671f\u5f85\u60a8\u7684\u5149\u4e34<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:18px;line-height:1.7\">\u6211\u4eec\u7684\u516c\u53f8\u5750\u843d\u5728\u6c5f\u82cf\u00b7\u5357\u4eac\uff0c\u5728\u53e4\u8001\u7684\u660e\u57ce\u5899\u811a\u4e0b\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\">\n<h4 class=\"wp-block-heading\">\u516c\u53f8\u5730\u5740\uff1a<\/h4>\n\n\n\n<p class=\"has-sub-heading-color-color has-text-color wp-block-paragraph\" style=\"font-size:18px;font-style:normal;font-weight:500;line-height:1.6\"><a href=\"#\">\u5357\u4eac\u5e02\u79e6\u6dee\u533a\u53cc\u5858\u8857\u9053\u60a6\u52a8\u65b0\u95e8\u897f15-301<\/a><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-91b5a900 wp-block-group-is-layout-flex\" style=\"margin-top:24px\">\n<h4 class=\"wp-block-heading\">\u90ae\u7bb1\uff1a<\/h4>\n\n\n\n<p class=\"has-sub-heading-color-color has-text-color wp-block-paragraph\" style=\"font-size:18px;font-style:normal;font-weight:500;line-height:1.6\"><a href=\"#\">business@forwhy.io<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u9ad8\u5fb7\u5730\u56fe &#8211; DIY\u6211\u7684\u5730\u56fe \u671f\u5f85\u60a8\u7684\u5149\u4e34 \u6211\u4eec\u7684\u516c\u53f8\u5750\u843d\u5728\u6c5f\u82cf\u00b7\u5357\u4eac\uff0c\u5728\u53e4\u8001\u7684\u660e\u57ce\u5899\u811a\u4e0b\u3002 \u516c\u53f8&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-77","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/forwhy.live\/index.php\/wp-json\/wp\/v2\/pages\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/forwhy.live\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/forwhy.live\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/forwhy.live\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/forwhy.live\/index.php\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":9,"href":"https:\/\/forwhy.live\/index.php\/wp-json\/wp\/v2\/pages\/77\/revisions"}],"predecessor-version":[{"id":329,"href":"https:\/\/forwhy.live\/index.php\/wp-json\/wp\/v2\/pages\/77\/revisions\/329"}],"wp:attachment":[{"href":"https:\/\/forwhy.live\/index.php\/wp-json\/wp\/v2\/media?parent=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}