diff --git a/htmls/contactUs/contactUs.html b/htmls/contactUs/contactUs.html
index e3cede5..e9034a9 100644
--- a/htmls/contactUs/contactUs.html
+++ b/htmls/contactUs/contactUs.html
@@ -10,6 +10,7 @@
联系我们
+
@@ -20,7 +21,7 @@
#allmap {
width: 100%;
height: 100%;
-
+
margin: 0;
font-family: "微软雅黑";
}
@@ -40,25 +41,33 @@
height: 400px;
}
- .ty_moban {
- width: 100%;
- box-shadow: 0px 3px 6px rgb(0 0 0 / 6%);
- padding-bottom: 7px;
- position: relative;
- height: 2px;
- z-index: 2;
- }
+
-
-
-
-
-
+
+
+
+
+
联系我们
@@ -118,21 +127,53 @@
});
}
- LoadBaiduMapScript().then((BMap)=>{
+ LoadBaiduMapScript().then((BMap) => {
// 百度地图API功能
+
var map = new BMap.Map("allmap"); // 创建Map实例
- map.centerAndZoom(new BMap.Point(116.404, 39.915), 11); // 初始化地图,设置中心点坐标和地图级别
- //添加地图类型控件
- map.addControl(new BMap.MapTypeControl({
- mapTypes: [
- BMAP_NORMAL_MAP,
- BMAP_HYBRID_MAP
- ]
- }));
- map.setCurrentCity("成都"); // 设置地图显示的城市 此项是必须设置的
- map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放
- })
-
+
+ map.centerAndZoom(new BMap.Point(104.067923463, 30.6799428454), 11); // 初始化地图,设置中心点坐标和地图级别
+ //添加地图类型控件
+
+
+ map.addControl(new BMap.MapTypeControl({
+ mapTypes: [
+ BMAP_NORMAL_MAP,
+ BMAP_HYBRID_MAP
+ ]
+ }));
+
+ map.setCurrentCity("武汉"); // 设置地图显示的城市 此项是必须设置的
+ map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放
+ var points = [
+ [104.016235, 30.67775],
+ [104.069554, 30.601504],
+
+ ];
+ // 向地图添加标注
+ for (var i = 0; i < points.length; i++) {
+ var myIcon = new BMap.Icon("../../img/public/dwionv.png", new BMap.Size(50, 50), {
+ // 指定定位位置
+ offset: new BMap.Size(50, 205),
+ // 当需要从一幅较大的图片中截取某部分作为标注图标时,需要指定大图的偏移位置
+ imageOffset: new BMap.Size(0, 0 - i * 0) // 设置图片偏移
+ });
+ var point = new BMap.Point(points[i][0], points[i][1]);
+ // 创建标注对象并添加到地图
+ var marker = new BMap.Marker(point, { icon: myIcon });
+ map.addOverlay(marker);
+ };
+ })
+
+
+ var iframe = document.getElementById('getop')
+ console.log(iframe);
+ var body = iframe.contentWindow.document.body
+
+ console.log( $(body).nextAll(".ty_gr").css("color","#000"));
+
+
+
diff --git a/htmls/logshoppingcar/shopcar.html b/htmls/logshoppingcar/shopcar.html
index 0b94623..35829ee 100644
--- a/htmls/logshoppingcar/shopcar.html
+++ b/htmls/logshoppingcar/shopcar.html
@@ -8,6 +8,7 @@
+
@@ -27,7 +28,25 @@
-
+
+
+
+
diff --git a/img/public/dwionv.png b/img/public/dwionv.png
new file mode 100644
index 0000000..b991a36
Binary files /dev/null and b/img/public/dwionv.png differ
diff --git a/js/huaxia.js b/js/huaxia.js
index 5574ca0..d849df4 100644
--- a/js/huaxia.js
+++ b/js/huaxia.js
@@ -350,7 +350,7 @@ $(function(){
$(e.target).next().css('display','inline')
console.log($(e.target).next().attr("class"));
if ($(e.target).next().attr("class")!="upImg") {
- console.log(123);
+
$(".uptoux").attr('src',$filePath);
$(".ty_topimgtx").css("display","block")
}