From 400867f2d2c35300a00e1a1820c096c425c6e1ea Mon Sep 17 00:00:00 2001 From: hongjunluo Date: Mon, 12 Dec 2022 09:26:04 +0800 Subject: [PATCH] 1212 --- about/about07.html | 31 ++++++++++++++++++++++++++++--- css/style.css | 3 ++- service/service12.html | 2 +- 3 files changed, 31 insertions(+), 5 deletions(-) diff --git a/about/about07.html b/about/about07.html index 16d2381..7ed0f56 100644 --- a/about/about07.html +++ b/about/about07.html @@ -18,7 +18,7 @@ - + + @@ -121,8 +130,8 @@
  • 邮编: 215000
  • -
    - +
    +
    @@ -160,6 +169,22 @@ $(function(){ $("#footer").load("../public/footer.html"); }); + + // 地图 + var map = new BMapGL.Map("map"); + map.centerAndZoom(new BMapGL.Point(116.280190, 40.049191), 19); + map.enableScrollWheelZoom(true); + // map.setHeading(0); + // map.setTilt(0); + + var myGeo = new BMapGL.Geocoder(); + // 将地址解析结果显示在地图上,并调整地图视野 + myGeo.getPoint('苏州市姑苏区人民路3118号国发大厦', function(point){ + map.centerAndZoom(point, 16); + map.addOverlay(new BMapGL.Marker(point, {title: '苏州市姑苏区人民路3118号国发大厦'})) + }, '苏州市') + + diff --git a/css/style.css b/css/style.css index 4825fab..092fb7e 100644 --- a/css/style.css +++ b/css/style.css @@ -453,7 +453,8 @@ box-shadow: 4px 4px 10px #f9f9f9;} .about_61 .wrap .left{ padding: 0 100px 0 0; margin: 0 0 50px 0; } -.about_61 .wrap .right img { width: 100%; } +.about_61 .wrap .right { width: 100%; } +.about_61 .wrap .right { } diff --git a/service/service12.html b/service/service12.html index f591b39..f0d4f2f 100644 --- a/service/service12.html +++ b/service/service12.html @@ -19,7 +19,7 @@ - +