main.html 3.25 KB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>网点信息</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" />
    <style>
        html,body {
            margin: 0;
            overflow: hidden;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
        }
        header{
            background: #3c3c3c;
            /*height: 50px;*/
            padding: 5px;
            /*position:relative;*/
            display: none;
        }
        .header-title{
            font-size: 20px;
            color: #FFFFFF;
        }
        .center-vertical {
            position: relative;
            top: 50%;
            transform: translateY(-50%);
        }
        .div-main{
            width: 100%;
            height: 100%;
        }
        .div-address{
            width: 100%;
            padding: 14px;
            position: absolute;
            top: 0%;
            z-index:9999;
            background: rgba(255, 255, 255, 0.8);
        }
        .div-bottom{
            width: 100%;
            position: absolute;
            bottom: 0%;
            z-index:9999;
        }
        .div-location{
            position: absolute;
            top:15%;
            right: 2%;
            z-index:9999;
        }
        button{
            background: #27B1A4;
            color: #FFFFFF;
            font-size: 15px;
            border: none;
        }
        button.update{
            width: 100%;
            height: 44px;
        }
        #map {
            width: 100%;
            height: 100%;
            margin:0;
        }
    </style>
</head>
<body>
    <div class="div-main">
        <header>
            <img src="">
            <label class="header-title center-vertical">地图慧</label>
        </header>
        <div class="div-address">
            <div>
                <img src="src/image/icon3.png" >
                <label id="point_name" class="center-vertical" style="font-size: 18px;">玉渊潭公园</label>
                <label id="point_layer" class="center-vertical" style="font-size: 12px;display: none;">北京景点图层</label>
            </div>
            <label id="point_address" style="font-size: 12px;margin-left: 20px;color: #999999;">北京市海淀区XX街道XX路</label>
        </div>
        <div id="map"></div>
        <div class="div-bottom">
            <button class="update" id="btn_update">修改信息</button>
        </div>
        <div class="div-location">
            <div id="location_update"><img src="src/image/btn6.png"></div>
            <div id="location_cancel"><img src="src/image/Icon_Collection.png"></div>
            <div style="margin-top: 14px;" id="location_confirm"><img src="src/image/Icon_Track_Record.png"></div>
            <div></div>
        </div>
    </div>
</body>

<script type="text/javascript" src="dist/jquery/jquery-3.2.1.min.js"></script>
<script src="dist/supermap/iclient-8c/SuperMap.Include.js"></script>
<script src="src/js/coords.js"></script>
<script src="src/js/saasService.js"></script>
<script src="src/js/main.js"></script>
<script src="src/js/mapLevel.js"></script>
<script type="text/javascript">
    $(function(){
        main.init();
    });

</script>
</html>