Ver código fonte

项目初始化

DESKTOP-CRQ4N2U\jintian 2 anos atrás
pai
commit
431b22d5e3

+ 0 - 18
.gitignore

@@ -1,21 +1,3 @@
 node_modules/
 node_modules/
 dist/
 dist/
-src/components/Table/table - 副本.vue
-src/assets/scripts/jtMap3d.es.v1.1.js
-src/views/Map3d/components/analysis - 副本.vue
-src/views/Map3d/components/terrainAnalysis - 副本.vue
-src/views/Map3d/components/coordsTool - 副本.vue
-src/views/Map3d - 副本/
-src/views/Map3d/components/TrackRoam - 副本.vue
-src/views/Map3d/components/map - 副本 (2).vue
-src/views/Map3d/components/map - 副本.vue
-src/views/Map3d/components/ViewerSplitScreen - 副本.vue
-src/views - 副本/
-src/components/jt-drawer/drawer - 副本.vue
-src/views/Map3d/components/query-keyword备份.vue
-src/views/Map3d/components/mapNavigate - 副本.vue
-src/views/Map3d/components/analysis-space/CutFill - 副本.vue
-src/views/Map3d/components/basicLayer - 副本.vue
-src/views/Map3d/components/special-effects - 副本.vue
 .idea/
 .idea/
-public/jt3dSDK/jt3d.es - 副本.js

+ 4 - 2
index.html

@@ -41,8 +41,10 @@
 					}else if(width > 1920){
 					}else if(width > 1920){
 						width = 1920
 						width = 1920
 					}
 					}
+
 					console.log('宽度2', width)
 					console.log('宽度2', width)
-					width > maxWidth && (width = 1920);
+					width > maxWidth && (width = 192000);
+
 					var rem = width * 1 / designWidth;
 					var rem = width * 1 / designWidth;
 					remStyle.innerHTML = 'html{font-size:' + rem + 'px;}';
 					remStyle.innerHTML = 'html{font-size:' + rem + 'px;}';
 				}
 				}
@@ -77,7 +79,7 @@
 						doc.body.style.fontSize = "16rem";
 						doc.body.style.fontSize = "16rem";
 					}, false);
 					}, false);
 				}
 				}
-			})(1920, 1920);
+			})(1920, 192000);
 		</script>
 		</script>
 
 
 	</body>
 	</body>

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
public/jt3dSDK/jt3d.es.js


+ 23 - 18
src/components/jt-popup/jt-popup.vue

@@ -75,18 +75,17 @@
 				type: String,
 				type: String,
 				default: ""
 				default: ""
 			},
 			},
-			longheader:{//是否是长背景图
+			longheader: { //是否是长背景图
 				type: String,
 				type: String,
-				default:0
+				default: 0
 			}
 			}
 		},
 		},
 		methods: {
 		methods: {
 			closebasicLayer() {
 			closebasicLayer() {
-				console.log("animationClass",this.animationClass)
-				
+				console.log("animationClass", this.animationClass)
+
 				let style = document.styleSheets[0];
 				let style = document.styleSheets[0];
-				if(this.animationClass==="slide-right")
-				{
+				if (this.animationClass === "slide-right") {
 					style.insertRule(
 					style.insertRule(
 						"@keyframes move-right {0% {opacity: 1;transform: translateX(-100%)}100% {opacity: 1;transform: translateX(0%)}}",
 						"@keyframes move-right {0% {opacity: 1;transform: translateX(-100%)}100% {opacity: 1;transform: translateX(0%)}}",
 						10);
 						10);
@@ -100,23 +99,25 @@
 						popup.style.animation = 'slide-right 0.4s linear'
 						popup.style.animation = 'slide-right 0.4s linear'
 						this.isshow = false
 						this.isshow = false
 					}, 400)
 					}, 400)
-				}else if(this.animationClass==="fadein-left")
-				{
+				} else if (this.animationClass === "fadein-left") {
 					style.insertRule(
 					style.insertRule(
-						"@keyframes move-right {0% {opacity: 1;transform: translateX(-100%)}100% {opacity: 1;transform: translateX(0%)}}",
-						10);
+						"@keyframes move-rightL {0% {opacity: 1;transform: translateX(0%)}100% {opacity: 1;transform: translateX(-100%)}}",
+						8);
 					style.insertRule(
 					style.insertRule(
 						"@keyframes slide-right {0% {opacity: 1;transform: translateX(100%)}100% {opacity: 1;transform: translateX(0%)}}",
 						"@keyframes slide-right {0% {opacity: 1;transform: translateX(100%)}100% {opacity: 1;transform: translateX(0%)}}",
-						11);
+						9);
+					style.insertRule(
+						"@keyframes slide-left {0% {opacity: 1;transform: translateX(-100%)}100% {opacity: 1;transform: translateX(0%)}}",
+						10);
 					let popup = this.$refs.popup
 					let popup = this.$refs.popup
-					popup.style.right = '-400rem'
-					popup.style.animation = 'move-right 0.4s linear';
+					// popup.style.left = '-400rem'
+					popup.style.animation = 'move-rightL 0.4s linear';
 					setTimeout(res => {
 					setTimeout(res => {
-						popup.style.animation = 'slide-right 0.4s linear'
+						popup.style.animation = 'slide-left 0.4s linear'
 						this.isshow = false
 						this.isshow = false
 					}, 400)
 					}, 400)
 				}
 				}
-				
+
 				if (this.isEmit) {
 				if (this.isEmit) {
 					this.$emit('closeJTPopup');
 					this.$emit('closeJTPopup');
 				}
 				}
@@ -168,13 +169,17 @@
 			display: flex;
 			display: flex;
 			text-align: left;
 			text-align: left;
 
 
+			i:hover {
+				cursor: pointer;
+			}
 
 
 			span {
 			span {
 				font-family: "TTTGB-Medium", sans-serif !important;
 				font-family: "TTTGB-Medium", sans-serif !important;
 				font-size: 20rem;
 				font-size: 20rem;
 				flex: 15;
 				flex: 15;
 			}
 			}
-			i:hover{
+
+			i:hover {
 				cursor: pointer;
 				cursor: pointer;
 			}
 			}
 
 
@@ -277,8 +282,8 @@
 			}
 			}
 		}
 		}
 	}
 	}
-	
-	.long{
+
+	.long {
 		background: url('@/assets/images/longheader.png') no-repeat !important;
 		background: url('@/assets/images/longheader.png') no-repeat !important;
 		background-size: 100% 100% !important;
 		background-size: 100% 100% !important;
 	}
 	}

+ 6 - 6
src/views/Map3d/components/TrackRoam.vue

@@ -176,12 +176,12 @@
 						this.isNew = true;
 						this.isNew = true;
 						this.roam.role = Number(type);
 						this.roam.role = Number(type);
 						this.Roaming.EndRoaming();
 						this.Roaming.EndRoaming();
-						//获取被clock监听的全部事件数量
-						let len = jt3d._viewer.clock.onTick.numberOfListeners;
-						for (let i = 0; i < len; i++) {
-							//将被监听的方法移除来停止方法
-							jt3d._viewer.clock.onTick.removeEventListener(jt3d._viewer.clock.onTick._listeners[i]);
-						}
+						// //获取被clock监听的全部事件数量
+						// let len = jt3d._viewer.clock.onTick.numberOfListeners;
+						// for (let i = 0; i < len; i++) {
+						// 	//将被监听的方法移除来停止方法
+						// 	jt3d._viewer.clock.onTick.removeEventListener(jt3d._viewer.clock.onTick._listeners[i]);
+						// }
 						break;
 						break;
 					case 0:
 					case 0:
 						this.roam.role = Number(type);
 						this.roam.role = Number(type);

+ 6 - 0
src/views/Map3d/components/drawEdit.vue

@@ -272,6 +272,12 @@
 </script>
 </script>
 
 
 <style lang="scss" scoped>
 <style lang="scss" scoped>
+	.el-avatar{
+		width: 70rem !important;
+		height: 70rem !important;
+		font-size: 14px !important;
+		cursor: pointer;
+	}
 	// .el-popper{
 	// .el-popper{
 	// 	padding: 5rem 11rem;
 	// 	padding: 5rem 11rem;
 	// 	font-size: 12rem;
 	// 	font-size: 12rem;

+ 7 - 0
src/views/Map3d/components/measure.vue

@@ -190,6 +190,13 @@
 </script>
 </script>
 
 
 <style lang="scss" scoped>
 <style lang="scss" scoped>
+	.el-avatar{
+		width: 70rem !important;
+		height: 70rem !important;
+		font-size: 14px !important;
+		cursor: pointer;
+	}
+	
 	.el-button{
 	.el-button{
 		height: 32rem;
 		height: 32rem;
 		font-size: 16rem;
 		font-size: 16rem;

+ 7 - 0
src/views/Map3d/components/special-effects.vue

@@ -313,6 +313,13 @@
 </script>
 </script>
 
 
 <style lang="scss" scoped>
 <style lang="scss" scoped>
+	.el-avatar{
+		width: 70rem !important;
+		height: 70rem !important;
+		font-size: 14px !important;
+		cursor: pointer;
+	}
+	
 	::v-deep .el-collapse-item__content {
 	::v-deep .el-collapse-item__content {
 		padding: 10rem;
 		padding: 10rem;
 		// padding-bottom: 0rem;
 		// padding-bottom: 0rem;

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff