赣州市洪水风险预警系统三维版本
guoshilong
2023-02-14 b53c06e37b171ef7edeb516e545bf06ae7f75c8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<!DOCTYPE HTML>
<html>
 
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <title></title>
        <!-- <script src="https://cdn.bootcdn.net/ajax/libs/html2canvas/0.5.0-beta4/html2canvas.min.js"></script> -->
        <!--jquery引用-->
        <script src="libs/jquery/jquery-3.3.1.min.js"></script>
        <!--layer引用-->
        <script src="libs/layer/layer.js"></script>
        <!--空间分析插件turf引用-->
        <!-- <script src="libs/turf/turf.min.js"></script> -->
        <script src='libs/xlsx.core.min.js'></script>
        <!--<link rel="shortcut icon" href="images/shortcut.ico">-->
        <!--[if IE 8]>
    <link rel="stylesheet" type="text/css"  href="jimu.js/css/jimu-ie.css" />
    <![endif]-->
        <style type="text/css">
            * {
                box-sizing: border-box;
            }
 
            body,
            html {
                width: 100%;
                height: 100%;
                /* height: 50%;
                width: 50%; */
                margin: 0;
                padding: 0;
                overflow: hidden;
            }
 
            #main-loading {
                width: 100%;
                height: 100%;
                text-align: center;
                overflow: hidden;
            }
 
            #main-loading #ie-note {
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                margin: auto;
            }
 
            #main-loading #ie-note {
                width: 586px;
                height: 253px;
                background-image: url('images/notes.png');
                padding: 0 30px 40px 30px;
                font-size: 14px;
                color: #596679;
            }
 
            #ie-note .hint-title {
                height: 40px;
                line-height: 48px;
                text-align: left;
                font-weight: bold;
            }
 
            #ie-note .hint-img {
                background-image: url('images/hint.png');
                background-position: left;
                padding-left: 40px;
                margin-top: 20px;
                background-repeat: no-repeat;
                height: 30px;
                text-align: left;
                line-height: 30px;
                font-weight: bold;
            }
 
            #ie-note span {
                display: block;
                line-height: 14px;
            }
 
            #main-page {
                display: none;
                width: 100%;
                height: 100%;
                position: relative;
            }
 
            #jimu-layout-manager {
                width: 100%;
                height: 100%;
                position: absolute;
            }
            .cesium-viewer-toolbar {
                top: 55px !important;
                right: -23333333333370px !important;
                width: 80px;
                height: 30px;
 
            }
            .cesium-viewer-toolbar .cesium-baseLayerPicker-dropDown {
                position: fixed !important;
                top: 98px !important;
                right: 10px !important;
                z-index: 213 !important;
            }
        </style>
        <script>
            $(function () {
                //JavaScript JSON.parse()方法用于将一个 JSON 字符串转换为对象。
                var login = sessionStorage.getItem("shuiwen-token");
 
                if (login) {
                    if (login.length == 0) {
                        window.location.href = "login.html";
                    }
                } else {
                    window.location.href = "login.html";
                }
            });
        </script>
        <link rel="stylesheet" type="text/css" href="jimu.js/loading/loading.css" />
    </head>
 
    <body class="claro jimu-main-font">
        <style>
            .qhdiv {
                z-index:10000;
                position: fixed;
                top: calc(40% - 90px);
                transform: translate(0, -50%);
                right: 20px;
                display: flex;
                flex-direction: column;margin: 0;
                width: 55px;
                height: 100px;
                text-align: center
            }
            .qhbtn {
                border: 0;
                width: 50px;
                height: 50px;
                background: url('images/qh001.jpg');
                background-size: 100%;
                border-radius: 50%;
                cursor: pointer;
            }
            .qhbtn:before, .qhbtn:after {
                opacity: 0; /*透明度为完全透明*/
                position: absolute;
                z-index: 100000; /*设为最上层*/
                /*鼠标放上元素上时的动画,鼠标放上后效果在.tip-*:hover:before, .tip-*:hover:after中设置;
                0.3s:规定完成过渡效果需要多少秒或毫秒,ease:规定慢速开始,然后变快,然后慢速结束的过渡效果*/
                transition: 0.3s ease;
                -webkit-transition: 0.3s ease;
                -moz-transition: 0.3s ease;
            }
            .qhbtn:before {
                content: '切换2D';
                border: 6px solid transparent;
                white-space: nowrap; /*强制不换行*/
                background-color: #000000;
                color: #ffffff;
            }
 
            .qhbtn:after {
                content: '切换2D'; /*获取要提示的文本*/
                padding: 5px;
                white-space: nowrap; /*强制不换行*/
                background-color: #000000;
                color: #ffffff;
            }
 
            .qhbtn:hover:before, .tip:hover:after {
                opacity: 1; /*鼠标放上时透明度为完全显示*/
                z-index: 1000;
            }
 
            .tip-left:before {
                top: 50%;
                left: 0%;
                border-left-color: rgba(0, 0, 0, 0.8);
                margin-left: 0px;
                margin-top: -3px;
            }
 
            .tip-left:after {
                top: 50%;
                right: 100%;
                margin-right: 0px;
                margin-top: -6px;
            }
 
            .tip-left:hover:before {
                margin-left: -6px;
            }
 
            .tip-left:hover:after {
                margin-right: 6px;
            }
        </style>
        <div class="qhdiv" onclick="javascript:window.location='http://localhost:63342/hsyj/index.html'">
            <button type="button" class="qhbtn tip-left" data-tip="我是上边提示"><span style="color:dodgerblue;"></span></button>
        </div>
        <div id="main-loading">
            <div id="app-loading"></div>
            <div id="loading-gif"></div>
            <div id="ie-note" style="display:none;">
                <div class="hint-title">Error</div>
                <div class="hint-img">Your browser is currently not supported.</div>
                <p class="hint-text">
                    <span>
            推荐chorome浏览器
          </span>
                </p>
            </div>
        </div>
        <div id="main-page">
            <div id="jimu-layout-manager"></div>
        </div>
        <script src="env.js"></script>
 
 
 
        <script type="text/javascript" src="simpleLoader.js"></script>
        <!-- <script type="module">
            window.CESIUM_BASE_URL = 'http://localhost:8081/gzsw3D/libs/Source';
            import * as Cesium from './libs/Source/Cesium.js';
            window.Cesium = Cesium;
          </script> -->
        <script type="text/javascript" src="init.js"></script>
        <script>
            function runWidget(name) {
                require(['dojo/topic'],
                    function(topic) {
                       topic.publish('runWidgetByName', name);
                });
            }
 
        </script>
    </body>
</html>