<!DOCTYPE html>
|
<html lang="en">
|
|
<head>
|
<meta charset="UTF-8">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<title>Document</title>
|
</head>
|
<script src="./../JS/jquery-1.8.2.min.js"></script>
|
<style>
|
body,
|
html {
|
height: 100%;
|
width: 100%;
|
margin: 0;
|
overflow: hidden;
|
padding: 0;
|
}
|
|
#MeasureMenu {
|
height: 100%;
|
width: 100%;
|
background: rgba(25, 83, 189, 1);
|
}
|
|
.measure_div {
|
padding-left: 10px;
|
padding-top: 10px;
|
padding-bottom: 10px;
|
color: white;
|
font-weight: bolder;
|
width: 70px;
|
text-align: center;
|
}
|
|
.image {
|
width: 46px;
|
height: 46px;
|
}
|
</style>
|
|
<body>
|
<div id="MeasureMenu">
|
<div class="measure_div" onclick="showrightmenu(1)">
|
<img src="./../Image/right/测量 (1).png" class="image" alt=""><br>
|
<span>距离测量</span>
|
</div>
|
<div class="measure_div" onclick="showrightmenu(2)">
|
<img src="./../Image/right/圆角矩形 6 拷贝 4.png" class="image" alt=""><br>
|
<span>面积测量</span>
|
</div>
|
<div class="measure_div" onclick="showrightmenu(3)">
|
<img src="./../Image/right/矩形 16 拷贝 9.png" class="image" alt=""><br>
|
<span>高度高差</span>
|
</div>
|
|
</div>
|
<script>
|
var sgworld = window.external.createSgworld();
|
|
function showrightmenu(result) {
|
if (result == 1) {
|
window.external.loadMainWebFunc('showbottomtool', 'b4');
|
} else if (result == 2) {
|
window.external.loadMainWebFunc('showbottomtool', 'b5');
|
} else if (result == 3) {
|
sgworld.Command.Execute(1036, 0);
|
}
|
}
|
</script>
|
</body>
|
|
</html>
|