From 1c4e40fddae516928457be1397b5c250b7677639 Mon Sep 17 00:00:00 2001
From: surprise <15810472099@163.com>
Date: 星期四, 12 十月 2023 17:08:21 +0800
Subject: [PATCH] 代码更新

---
 src/assets/js/rpc.js |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/assets/js/rpc.js b/src/assets/js/rpc.js
index 5818f96..4b39f48 100644
--- a/src/assets/js/rpc.js
+++ b/src/assets/js/rpc.js
@@ -25,6 +25,8 @@
     pointerFly: null, //瀹氱偣婕父
     isShow: false,
     objArr: [],
+    pointrange:null,
+
     //鍏抽敭瀛楁煡璇�
     getFuzzyQuery(res) {
         if(res.message.indexOf('濂旈┌')>-1){
@@ -84,18 +86,20 @@
 
             this.dataQuery = [];
             this.objArr = [];
+            this.pointrange = 2000;
             for (var i = 0; i < length; i++) {
                 var world = keyWorld[i].word;
                if(world.indexOf('濂旈┌')>-1){
-                   world ='濂旈┌'
+                   world ='濂旈┌';
+                   this.pointrange = 12000
                } else if(world.indexOf('姘告槍')>-1){
                 world ='姘告槍'
                }else if(world.indexOf('浜笢')>-1){
                 world ='浜笢'
                }else if(world.indexOf('灏忕背')>-1){
                 world ='灏忕背'
-               }else if(world.indexOf('鍗氬ぇ')>-1){
-                world ='鍗氬ぇ'
+               }else if(world.indexOf('鍗氬ぇ澶у帵')>-1){
+                world ='鍗氬ぇ澶у帵'
                }else{
                continue;
                }
@@ -494,7 +498,7 @@
             data.showLine = false;
             data.mode = 1;
             data.pitch = -10;
-            data.height = 75;
+            data.height = 500;
             data.speed = 25;
 
             that.LineRoaming = sgworld.Creator.createDynamicObject(
@@ -589,7 +593,7 @@
             offset: {
                 heading: Cesium.Math.toRadians(-200),
                 pitch: Cesium.Math.toRadians(-45),
-                range: 4000
+                range: this.pointrange
             },
             duration: 3
         });

--
Gitblit v1.9.3