154 lines
3.1 KiB
HTML
154 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>0</title>
|
|
<style>
|
|
#deviceType{
|
|
border-radius: 5px;
|
|
background-color: rgba(124,213,255,0.2);
|
|
list-style-type: none;
|
|
width: 10%;
|
|
height: 27%;
|
|
font-size: 14px;
|
|
color: white;
|
|
position: fixed;
|
|
top: 4%;
|
|
right: 0%;
|
|
padding-left: 0.8%;
|
|
}
|
|
#deviceType>li{
|
|
margin-bottom: 5%;
|
|
cursor: pointer;
|
|
display: flex;
|
|
}
|
|
#deviceType>li>span{
|
|
align-self: center;
|
|
}
|
|
#deviceType>li>label{
|
|
display: flex;
|
|
}
|
|
#deviceType>li>label>span{
|
|
align-self: center;
|
|
}
|
|
|
|
#floor{
|
|
border-radius: 5px;
|
|
background-color: rgba(124,213,255,0.2);
|
|
list-style-type: none;
|
|
width: 10%;
|
|
height: 17%;
|
|
font-size: 14px;
|
|
color: white;
|
|
position: fixed;
|
|
top: 5%;
|
|
right: 0%;
|
|
padding-left: 0.8%;
|
|
}
|
|
#floor>li{
|
|
width: 30%;
|
|
float: left;
|
|
margin-bottom: 5%;
|
|
cursor: pointer;
|
|
display: flex;
|
|
}
|
|
#floor>li:nth-child(1),
|
|
#floor>li:nth-child(2),
|
|
#floor>li:nth-child(3){
|
|
margin-top: 8%;
|
|
}
|
|
|
|
#floor>li>span{
|
|
align-self: center;
|
|
}
|
|
|
|
#go-back{
|
|
position: fixed;
|
|
top: 0%;
|
|
right: 0%;
|
|
width: 60px;
|
|
height: 20px;
|
|
display: flex;
|
|
background-color: transparent;
|
|
align-items: center;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#go-back>img{
|
|
width: 30%;
|
|
height: 100%;
|
|
margin-right: 5px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="go-back" onclick="goBack()">
|
|
<img src="../../img/eMap/return.png" alt=""/>
|
|
<span>返回</span>
|
|
</div>
|
|
<ul id="floor">
|
|
<li file="svgZH_0">
|
|
<span><img id='ZH_0' src="../../img/eMap/floor2_1.png" /></span>
|
|
<span>B1</span>
|
|
</li>
|
|
<li file="svgZH_1">
|
|
<span><img id='ZH_1' src="../../img/eMap/floor2_1.png" /></span>
|
|
<span>1F</span>
|
|
</li>
|
|
<li file="svgZH_2">
|
|
<span><img id='ZH_2' src="../../img/eMap/floor2_1.png" /></span>
|
|
<span>2F</span>
|
|
</li>
|
|
<li file="svgZH_3">
|
|
<span><img id='ZH_3' src="../../img/eMap/floor2_1.png" /></span>
|
|
<span>3F</span>
|
|
</li>
|
|
<li file="svgZH_4">
|
|
<span><img id='ZH_4' src="../../img/eMap/floor2_1.png" /></span>
|
|
<span>4F</span>
|
|
</li>
|
|
<li file="svgZH_5">
|
|
<span><img id='ZH_5' src="../../img/eMap/floor2_1.png" /></span>
|
|
<span>5F</span>
|
|
</li>
|
|
<li file="svgZH_6">
|
|
<span><img id='ZH_6' src="../../img/eMap/floor2_1.png" /></span>
|
|
<span>6F</span>
|
|
</li>
|
|
<li file="svgZH_7">
|
|
<span><img id='ZH_7' src="../../img/eMap/floor2_1.png" /></span>
|
|
<span>7F</span>
|
|
</li>
|
|
</ul>
|
|
<script>
|
|
$(function(){
|
|
$("#floor li").on({
|
|
click : function(){
|
|
var fileName = $(this).attr('file') + '.html'
|
|
$("#map").load('../../page/eMap_svg/ZH/' + fileName);
|
|
}
|
|
})
|
|
//关闭光字牌
|
|
$('#close').on({
|
|
click : function(e){
|
|
$('#board').css('display','none')
|
|
}
|
|
})
|
|
$('#closes').on({
|
|
click : function(e){
|
|
$('#file').css('display','none')
|
|
}
|
|
})
|
|
|
|
|
|
})
|
|
function goBack(){
|
|
$("#map").load('../../page/eMap/eMap.html');
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|
|
|