<!DOCTYPE html>
|
<html>
|
|
<head>
|
<meta charset="UTF-8">
|
<title>视窗操作</title>
|
<link rel="stylesheet" href="//at.alicdn.com/t/font_2599272_671fgrsk7ev.css">
|
<link href="../../libs/layui/css/layui.css" rel="stylesheet">
|
<script type="text/javascript" src="../../libs/jquery/jquery-3.5.1.min.js"></script>
|
<script type="text/javascript" src="../../libs/layui/layui.js"></script>
|
|
<style>
|
.windowdiv {
|
color: white;
|
overflow-x: hidden;
|
overflow-y: auto;
|
padding: 0;
|
}
|
|
.mt-label {
|
height: 30px;
|
color: white;
|
width: 80px;
|
float: left;
|
margin-left: 10px;
|
line-height: 30px;
|
font-size: 12px;
|
}
|
|
.mt-content {
|
height: 30px;
|
color: white;
|
width: 230px;
|
float: left;
|
/* margin-left: 10px; */
|
}
|
|
.mt-row {
|
height: 30px;
|
margin-top: 15px;
|
}
|
|
.form-control {
|
/* display: block; */
|
float: left;
|
margin-left: 5px;
|
width: 180px;
|
height: 30px;
|
padding: 4px 12px;
|
font-size: 14px;
|
line-height: 1.6;
|
background-color: #2c3238;
|
opacity: 0.8;
|
color: #fff;
|
background-image: none;
|
border: 0px solid #e4eaec;
|
border-radius: 3px;
|
-webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
|
box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
|
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
|
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
|
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
|
}
|
|
.mybtn {
|
color: #fff;
|
/* background-color: rgba(32,160,255,.2); */
|
background-color: #4db3ff;
|
border-color: #4db3ff;
|
}
|
|
|
</style>
|
</head>
|
|
<body>
|
<div class="windowdiv">
|
|
|
|
<div class="mt-row">
|
<div class="mt-label">场景尺寸:</div>
|
<div class="mt-content">
|
<input style="margin-top: 8px;margin-left: 5px;" type="radio" title="剖面" name="size" value="1" checked="true">原图
|
<input style="margin-top: 8px;margin-left: 5px;" type="radio" title="切块" name="size" value="2">1/2缩略
|
<input style="margin-top: 8px;margin-left: 5px;" type="radio" title="开挖" name="size" value="4">1/4缩略
|
</div>
|
</div>
|
|
<div class="mt-row">
|
<div class="mt-content">
|
<button type="button" style="margin-left: 42%;" class="layui-btn mybtn layui-btn-sm" onclick="download()"> <i class="iconfont icon-xiazai" style="font-size: 15px; color: white;"></i> 保存</button>
|
</div>
|
</div>
|
<div class="mt-row">
|
<span style="margin-left: 20px;">提示:图片导出为当前屏幕内的场景</span>
|
</div>
|
|
</div>
|
|
<script>
|
function download() {
|
var size=$("input[name='size']:checked").val();
|
parent.exportScenePic(size);
|
}
|
|
</script>
|
</body>
|
|
</html>
|