master
parent
b196907583
commit
52d752f9f4
|
@ -8,7 +8,7 @@
|
||||||
<title>关于我们</title>
|
<title>关于我们</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../../css/swiper-bundle.min.css" />
|
<link rel="stylesheet" type="text/css" href="../../css/swiper-bundle.min.css" />
|
||||||
<link rel="stylesheet" href="../../css/aboutUs.css">
|
<link rel="stylesheet" href="../../css/aboutUs.css">
|
||||||
|
<link rel="stylesheet" href="../../css/centerHead.css">
|
||||||
<script src="../../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../../js/swiper-bundle.min.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../../js/swiper-bundle.min.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../../js/huaxia.js"></script>
|
<script src="../../js/huaxia.js"></script>
|
||||||
|
@ -18,14 +18,7 @@
|
||||||
height: 285px;
|
height: 285px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ty_moban {
|
|
||||||
width: 100%;
|
|
||||||
box-shadow: 0px 3px 4px rgb(0 0 0 / 6%);
|
|
||||||
padding-bottom: 7px;
|
|
||||||
position: relative;
|
|
||||||
height: 2px;
|
|
||||||
z-index: 2;
|
|
||||||
}
|
|
||||||
.foot-iframe {
|
.foot-iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 400px;
|
height: 400px;
|
||||||
|
@ -34,8 +27,26 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<iframe src="../../public/center-head.html" class="ty_topifrane" frameborder="0" scrolling="no"></iframe>
|
<header class="ty_herader">
|
||||||
<P class="ty_moban"></P>
|
<img src="../../img/grzx/topimg.jpg" title="图1" alt="图片已缺失">
|
||||||
|
<nav class="ty_w ty_w1220 ty_ds">
|
||||||
|
<img src="../../img/logo.png" title="图2" alt="图片已缺失">
|
||||||
|
<ul class="ty_listnav">
|
||||||
|
|
||||||
|
<li> 123</li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../../index.html">网站首页</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" class="ty_gr" href="../aboutUs/aboutUs.html">关于我们</a></li>
|
||||||
|
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../logshoppingcar/shopcar.html"><img class="ty_topicon" title="图3" src="../../img/sy-scart.png" alt="图片已缺失">我的购物车</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../artNetwork/pointsMall.html">积分商城</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../contactUs/contactUs.html">联系我们</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../grzx/personalData.html" >个人中心</a></li>
|
||||||
|
<li><a target="_parent" href="../logshoppingcar/login.html">【退出】</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
<div class="ty_her ty_pd">
|
<div class="ty_her ty_pd">
|
||||||
关于我们
|
关于我们
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
<title>艺术家个人中心</title>
|
<title>艺术家个人中心</title>
|
||||||
<link rel="stylesheet" href="../../css/institutions/institutions.css">
|
<link rel="stylesheet" href="../../css/institutions/institutions.css">
|
||||||
<link rel="stylesheet" type="text/css" href="../../css/huaxia.css"/>
|
<link rel="stylesheet" type="text/css" href="../../css/huaxia.css"/>
|
||||||
|
<link rel="stylesheet" href="../css/centerHead.css">
|
||||||
<script src="../../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../../js/artistCenter/artistCenter.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../../js/artistCenter/artistCenter.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="https://unpkg.com/wangeditor/dist/wangEditor.min.js"></script>
|
<script src="https://unpkg.com/wangeditor/dist/wangEditor.min.js"></script>
|
||||||
|
@ -45,7 +46,25 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="ty_co">
|
<body class="ty_co">
|
||||||
<iframe src="../../public/center-head.html" class="ty_topifrane" frameborder="0" scrolling="no"></iframe>
|
<header class="ty_herader">
|
||||||
|
<img src="../../img/grzx/topimg.jpg" title="图1" alt="图片已缺失">
|
||||||
|
<nav class="ty_w ty_w1220 ty_ds">
|
||||||
|
<img src="../../img/logo.png" title="图2" alt="图片已缺失">
|
||||||
|
<ul class="ty_listnav">
|
||||||
|
|
||||||
|
<li> 123</li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../../index.html">网站首页</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" class="ty_gr" href="../aboutUs/aboutUs.html">关于我们</a></li>
|
||||||
|
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../logshoppingcar/shopcar.html"><img class="ty_topicon" title="图3" src="../../img/sy-scart.png" alt="图片已缺失">我的购物车</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../artNetwork/pointsMall.html">积分商城</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../contactUs/contactUs.html">联系我们</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../grzx/personalData.html" >个人中心</a></li>
|
||||||
|
<li><a target="_parent" href="../logshoppingcar/login.html">【退出】</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
<div class="mian ">
|
<div class="mian ">
|
||||||
<div class="ty_ds">
|
<div class="ty_ds">
|
||||||
<button class="naliu">菜单</button>
|
<button class="naliu">菜单</button>
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
<title>联系我们</title>
|
<title>联系我们</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../../css/swiper-bundle.min.css" />
|
<link rel="stylesheet" type="text/css" href="../../css/swiper-bundle.min.css" />
|
||||||
<link rel="stylesheet" href="../../css/aboutUs.css">
|
<link rel="stylesheet" href="../../css/aboutUs.css">
|
||||||
|
<link rel="stylesheet" href="../../css/centerHead.css">
|
||||||
<script src="../../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../../js/swiper-bundle.min.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../../js/swiper-bundle.min.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script type="text/javascript" src="http://api.map.baidu.com/geocoder/v2/?ak=mDcZsWM7gGKb7MC1bC8Mo33FScjYEr0I&output=json&address=百度大厦&city=北京市"></script>
|
<script type="text/javascript" src="http://api.map.baidu.com/geocoder/v2/?ak=mDcZsWM7gGKb7MC1bC8Mo33FScjYEr0I&output=json&address=百度大厦&city=北京市"></script>
|
||||||
|
@ -40,25 +41,33 @@
|
||||||
height: 400px;
|
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;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<iframe src="../../public/center-head.html" class="ty_topifrane" frameborder="0" scrolling="no"></iframe>
|
<header class="ty_herader">
|
||||||
<p class="ty_moban"></p>
|
<img src="../../img/grzx/topimg.jpg" title="图1" alt="图片已缺失">
|
||||||
|
<nav class="ty_w ty_w1220 ty_ds">
|
||||||
|
<img src="../../img/logo.png" title="图2" alt="图片已缺失">
|
||||||
|
<ul class="ty_listnav">
|
||||||
|
|
||||||
|
<li> 123</li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../../index.html">网站首页</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../aboutUs/aboutUs.html">关于我们</a></li>
|
||||||
|
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../logshoppingcar/shopcar.html"><img class="ty_topicon" title="图3" src="../../img/sy-scart.png" alt="图片已缺失">我的购物车</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../artNetwork/pointsMall.html">积分商城</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" class="ty_gr" href="../contactUs/contactUs.html">联系我们</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../grzx/personalData.html" >个人中心</a></li>
|
||||||
|
<li><a target="_parent" href="../logshoppingcar/login.html">【退出】</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
<div class="ty_her ty_pd">
|
<div class="ty_her ty_pd">
|
||||||
联系我们
|
联系我们
|
||||||
</div>
|
</div>
|
||||||
|
@ -120,53 +129,13 @@
|
||||||
|
|
||||||
LoadBaiduMapScript().then((BMap) => {
|
LoadBaiduMapScript().then((BMap) => {
|
||||||
// 百度地图API功能
|
// 百度地图API功能
|
||||||
function SquareOverlay(center, length, color) {
|
|
||||||
this._center = center;
|
|
||||||
this._length = length;
|
|
||||||
this._color = color;
|
|
||||||
}
|
|
||||||
var map = new BMap.Map("allmap"); // 创建Map实例
|
var map = new BMap.Map("allmap"); // 创建Map实例
|
||||||
|
|
||||||
map.centerAndZoom(new BMap.Point(104.067923463, 30.6799428454), 11); // 初始化地图,设置中心点坐标和地图级别
|
map.centerAndZoom(new BMap.Point(104.067923463, 30.6799428454), 11); // 初始化地图,设置中心点坐标和地图级别
|
||||||
//添加地图类型控件
|
//添加地图类型控件
|
||||||
|
|
||||||
// 继承API的BMap.Overlay
|
|
||||||
SquareOverlay.prototype = new BMap.Overlay();
|
|
||||||
SquareOverlay.prototype.initialize = function (map) {
|
|
||||||
// 保存map对象实例
|
|
||||||
this._map = map;
|
|
||||||
// 创建div元素,作为自定义覆盖物的容器
|
|
||||||
var div = document.createElement("div");
|
|
||||||
div.style.position = "absolute";
|
|
||||||
// 可以根据参数设置元素外观
|
|
||||||
div.style.width = this._length + "px";
|
|
||||||
div.style.height = this._length + "px";
|
|
||||||
div.style.background = this._color;
|
|
||||||
// 将div添加到覆盖物容器中
|
|
||||||
map.getPanes().markerPane.appendChild(div);
|
|
||||||
// 保存div实例
|
|
||||||
this._div = div;
|
|
||||||
// 需要将div元素作为方法的返回值,当调用该覆盖物的show、
|
|
||||||
// hide方法,或者对覆盖物进行移除时,API都将操作此元素。
|
|
||||||
return div;
|
|
||||||
}
|
|
||||||
SquareOverlay.prototype.draw = function(){
|
|
||||||
// 根据地理坐标转换为像素坐标,并设置给容器
|
|
||||||
var position = this._map.pointToOverlayPixel(this._center);
|
|
||||||
this._div.style.left = position.x - this._length / 2 + "px";
|
|
||||||
this._div.style.top = position.y - this._length / 2 + "px";
|
|
||||||
}
|
|
||||||
SquareOverlay.prototype.show = function(){
|
|
||||||
if (this._div){
|
|
||||||
this._div.style.display = "";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// 实现隐藏方法
|
|
||||||
SquareOverlay.prototype.hide = function(){
|
|
||||||
if (this._div){
|
|
||||||
this._div.style.display = "none";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
map.addControl(new BMap.MapTypeControl({
|
map.addControl(new BMap.MapTypeControl({
|
||||||
mapTypes: [
|
mapTypes: [
|
||||||
BMAP_NORMAL_MAP,
|
BMAP_NORMAL_MAP,
|
||||||
|
@ -176,8 +145,35 @@ SquareOverlay.prototype.hide = function(){
|
||||||
|
|
||||||
map.setCurrentCity("武汉"); // 设置地图显示的城市 此项是必须设置的
|
map.setCurrentCity("武汉"); // 设置地图显示的城市 此项是必须设置的
|
||||||
map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放
|
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"));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
<link rel="stylesheet" type="text/css" href="../../css/logshoppingcar/login_cart.css"/>
|
<link rel="stylesheet" type="text/css" href="../../css/logshoppingcar/login_cart.css"/>
|
||||||
<script src="../../js/swiper-bundle.min.js"></script>
|
<script src="../../js/swiper-bundle.min.js"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="../../css/foot.min.css" />
|
<link rel="stylesheet" type="text/css" href="../../css/foot.min.css" />
|
||||||
|
<link rel="stylesheet" href="../../css/centerHead.css">
|
||||||
<script src="../../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../../js/login_cart/login_cart.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../../js/login_cart/login_cart.js" type="text/javascript" charset="utf-8"></script>
|
||||||
</head>
|
</head>
|
||||||
|
@ -27,7 +28,25 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!-- 头部导航 -->
|
<!-- 头部导航 -->
|
||||||
<iframe src="../../public/center-head.html" class="ty_herader" width="100%" height="285px" frameborder="0" scrolling="no"></iframe>
|
<header class="ty_herader">
|
||||||
|
<img src="../../img/grzx/topimg.jpg" title="图1" alt="图片已缺失">
|
||||||
|
<nav class="ty_w ty_w1220 ty_ds">
|
||||||
|
<img src="../../img/logo.png" title="图2" alt="图片已缺失">
|
||||||
|
<ul class="ty_listnav">
|
||||||
|
|
||||||
|
<li> 123</li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../../index.html">网站首页</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../aboutUs/aboutUs.html">关于我们</a></li>
|
||||||
|
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" class="ty_gr" href="../logshoppingcar/shopcar.html"><img class="ty_topicon" title="图3" src="../../img/sy-scart.png" alt="图片已缺失">我的购物车</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../artNetwork/pointsMall.html">积分商城</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../contactUs/contactUs.html">联系我们</a></li>
|
||||||
|
<li><span class="ty_di"></span><a target="_parent" href="../grzx/personalData.html" >个人中心</a></li>
|
||||||
|
<li><a target="_parent" href="../logshoppingcar/login.html">【退出】</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
<div class="zhanw"></div>
|
<div class="zhanw"></div>
|
||||||
<section>
|
<section>
|
||||||
<div class="whoil padding-zy320">
|
<div class="whoil padding-zy320">
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 998 B |
Loading…
Reference in New Issue