| <!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> | 
|     <script type="text/javascript" src="../../assets/js/common.js"></script> | 
|   | 
|     <style> | 
|         .spatialdiv { | 
|             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: 200px; | 
|             float: left; | 
|             /* margin-left: 10px; */ | 
|         } | 
|   | 
|         .mt-row { | 
|             height: 30px; | 
|             margin-left: 10px; | 
|             margin-top: 10px; | 
|         } | 
|   | 
|         .mt-tip { | 
|             margin-left: 20px; | 
|             margin-top: 15px; | 
|         } | 
|   | 
|         .layui-slider { | 
|             height: 4px; | 
|             background: #f3ebeb; | 
|             border-radius: 3px; | 
|             position: relative; | 
|             cursor: pointer; | 
|             margin-top: 12px; | 
|         } | 
|   | 
|         .layui-slider-bar { | 
|             background: #1e9fff !important; | 
|         } | 
|   | 
|         .layui-slider-wrap-btn { | 
|             border: 2px solid #888 !important; | 
|         } | 
|         .layui-input{ | 
|             padding-left: 0px; | 
|         } | 
|         .layui-slider-input { | 
|             width: 70px; | 
|             height: 25px; | 
|             border: 1px solid #e6e6e6; | 
|             border-radius: 3px; | 
|             font-size: 16px; | 
|             line-height: 25px; | 
|             position: absolute; | 
|             right: 0; | 
|             top: -14px; | 
|             margin-top: 15px; | 
|         } | 
|   | 
|         .mybtn { | 
|             color: #fff; | 
|             background-color: #1E9FFF; | 
|             border-color: #1E9FFF | 
|         } | 
|         .mybtn2{ | 
|             color: #fff; | 
|             background-color: #FFB800; | 
|             border-color:#FFB800 ; | 
|         } | 
|     </style> | 
| </head> | 
|   | 
| <body> | 
|   | 
|     <div class="spatialdiv"> | 
|         <div class="mt-row"> | 
|             <div class="mt-label">影响范围:</div> | 
|             <div class="mt-content"> | 
|                 <div id="far" style="width:  200px;float: left;"></div> | 
|                 <!-- <div class="float: left;width:100px"> | 
|                     <input type="number" id="distanceinput" autocomplete="off" class="form-control-small" value="100"> | 
|                 </div> --> | 
|             </div> | 
|         </div> | 
|         <div class="mt-row"> | 
|             <button type="button" class="layui-btn mybtn  layui-btn-sm" | 
|                 onclick="parent.createRadar('radar' + new Date().format('yyyyMMddhhmmss'),far)" style="margin-left: 20%;"> <i class="iconfont icon-kongjianyingxiang" style="font-size: 15px; color: white;"></i> 影响分析</button> | 
|             <button type="button" class="layui-btn mybtn2  layui-btn-sm" onclick="parent.clearRadar()" style="font-size: 15px; color: white;"> <i class="iconfont icon-qingchu1"></i>清空</button> | 
|         </div> | 
|         <div class="mt-tip">空间影响分析单击左键确定坐标。</div> | 
|     </div> | 
|     <script> | 
|         var far = 1000; | 
|         layui.use('slider', function () { | 
|             var $ = layui.$ | 
|                 , slider = layui.slider; | 
|   | 
|             slider.render({ | 
|                 elem: '#far' | 
|                 , min: 1 //最小值 | 
|                 , max: 100000 //最大值 | 
|                 , input: true //输入框 | 
|                 , tips: false | 
|                 , value: 1000 | 
|                 , change: function (value) { | 
|                     far = value; | 
|                 } | 
|             }); | 
|         }); | 
|   | 
|   | 
|     </script> | 
| </body> | 
|   | 
| </html> |