From 52cffc4ab8e9787a6f233295502c7c9788dddae1 Mon Sep 17 00:00:00 2001
From: fxl <473369119@qq.com>
Date: 星期二, 07 三月 2023 10:45:17 +0800
Subject: [PATCH] 3.7
---
src/main/webapp/hxzk/login.jsp | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 50 insertions(+), 6 deletions(-)
diff --git a/src/main/webapp/hxzk/login.jsp b/src/main/webapp/hxzk/login.jsp
index 5a5ff97..ea01f0c 100644
--- a/src/main/webapp/hxzk/login.jsp
+++ b/src/main/webapp/hxzk/login.jsp
@@ -11,6 +11,7 @@
<link rel="icon" type="image/x-icon" href="/hxzkoa/hxzk/assets/img/favicon.ico" />
<link href="https://fonts.googleapis.com/css?family=Quicksand:400,500,600,700&display=swap"
rel="stylesheet">
+ <link href="/hxzkoa/hxzk/Cesium-1.88/Build/Cesium/Widgets/widgets.css" rel="stylesheet">
<link href="/hxzkoa/hxzk/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="/hxzkoa/hxzk/assets/css/plugins.css" rel="stylesheet" type="text/css" />
<link href="/hxzkoa/hxzk/assets/css/authentication/form-2.css" rel="stylesheet" type="text/css" />
@@ -22,7 +23,7 @@
body {
margin: 0px;
width: 100%;
- min-width: 1500px;
+ min-width: 1580px;
max-width: 100%;
height: 100%;
background-color: #F0F0F0;
@@ -59,8 +60,17 @@
background: #1b2e4b;
line-height: 1.5;
}
+
+ #cesiumContainer {
+ width: 100%;
+ height: 100%;
+ margin: 0;
+ padding: 0;
+ overflow: hidden;
+ }
</style>
<script src="/hxzkoa/hxzk/assets/js/libs/jquery-3.1.1.min.js"></script>
+ <script src="/hxzkoa/hxzk/Cesium-1.88/Build/Cesium/Cesium.js"></script>
<script src="/hxzkoa/hxzk/bootstrap/js/popper.min.js"></script>
<script src="/hxzkoa/hxzk/bootstrap/js/bootstrap.min.js"></script>
<script src="/hxzkoa/hxzk/assets/js/authentication/form-2.js"></script>
@@ -70,19 +80,19 @@
<body class="form">
-
- <div class="form-container outer">
- <div class="form-form" style="position: absolute; width: 450px; float: left; margin-left: 37%;">
+ <div id="cesiumContainer"></div>
+ <div class="form-container outer" style="width: 26%;height: 40%;position: absolute;z-index: 6;top: 24%;margin-left: 37%;">
+ <div class="form-form" style="position: absolute; float: left;">
<div class="form-form-wrap">
<div class="form-container">
<div class="form-content">
<h1 class="">
- <span id="headTitle">鍗庢槦鏅烘帶瀹氫綅绠$悊绯荤粺</span>
+ <span id="headTitle"></span>
</h1>
<form class="text-left">
<div class="form">
<div id="username-field" class="field-wrapper input">
- <label for="username" style="color: #131527;">鐢ㄦ埛鍚�</label>
+ <label for="username" style="color: #131527;"></label>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
@@ -134,6 +144,9 @@
value="">鐧诲綍</button>
</div>
</div>
+ <div style="text-align: center;margin-top: 20px;color: brown;font-size: 18px;">
+ 璇蜂娇鐢ㄨ胺姝屾祻瑙堝櫒璁块棶
+ </div>
</div>
</form>
@@ -145,7 +158,38 @@
<!-- BEGIN GLOBAL MANDATORY SCRIPTS -->
+ <script>
+ // Your access token can be found at: https://cesium.com/ion/tokens.
+ // Replace `your_access_token` with your Cesium ion access token.
+ Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxZmMzMjg2MS0xMjY0LTRlMjQtOTE2ZC00N2FkNjE4ZWJjODYiLCJpZCI6NjcyMTUsImlhdCI6MTYzMTYxMTU1MX0.of1_REEEydYC_meH3g12qk5-O3-9sI2g_mmPoHFErVg';
+
+ // Initialize the Cesium Viewer in the HTML element with the `cesiumContainer` ID.
+ const viewer = new Cesium.Viewer('cesiumContainer', {
+ shouldAnimate: true,// 鑷姩鎾斁
+ geocoder: false,//鎺у埗鍙充笂瑙掔涓�涓綅缃殑鏌ユ壘宸ュ叿
+ homeButton: false,//鎺у埗鍙充笂瑙掔浜屼釜浣嶇疆鐨刪ome鍥炬爣
+ sceneModePicker: false,//鎺у埗鍙充笂瑙掔涓変釜浣嶇疆鐨勯�夋嫨瑙嗚妯″紡锛�2d锛�3d
+ baseLayerPicker: false,//鎺у埗鍙充笂瑙掔鍥涗釜浣嶇疆鐨勫浘灞傞�夋嫨鍣�
+ navigationHelpButton: false,//鎺у埗鍙充笂瑙掔浜斾釜浣嶇疆鐨勫鑸府鍔╂寜閽�
+ timeline: false,//鎺у埗涓嬫柟鏃堕棿绾�
+ fullscreenButton: false,//鍙充笅瑙掑叏灞忔寜閽�
+ terrainProvider: Cesium.createWorldTerrain()
+ });
+ viewer.clockViewModel.multiplier *= 700;
+ viewer._cesiumWidget._creditContainer.style.display = "none";//鍙栨秷鐗堟潈淇℃伅
+ viewer.scene.globe.enableLighting = true;
+ // Add Cesium OSM Buildings, a global 3D buildings layer.
+ const buildingTileset = viewer.scene.primitives.add(Cesium.createOsmBuildings());
+ // Fly the camera to San Francisco at the given longitude, latitude, and height.
+ viewer.camera.flyTo({
+ // destination : Cesium.Cartesian3.fromDegrees(-122.4175, 37.655, 400),
+ orientation: {
+ heading: Cesium.Math.toRadians(0.0),
+ pitch: Cesium.Math.toRadians(-15.0),
+ }
+ });
+ </script>
<script>
var code; //鍦ㄥ叏灞�瀹氫箟楠岃瘉鐮�
//浜х敓楠岃瘉鐮�
--
Gitblit v1.10.0