div跟随浏览器大小而改变
<head>
<style>
.main {
position: absolute;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
overflow: auto;
}
#bimViewer {
height: 800px;
width: 100%;
}
</style>
</head>
<button id="AddCamera">新增视点</button>
<html>
<body>
<div class='main'>
<div id="bimViewer" data-id="@Model.Id" data-url="@Model.Url" data-token="@Model.Token" data-online="@Model.IsOnline"></div>
</div>
</body>