From 2d721180b679d827c97c3d7456b053e0d970c398 Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期二, 15 三月 2022 09:57:23 +0800
Subject: [PATCH] 调整网格显示,修正道路查询分页盖住列表

---
 widgetsTS/widget_grid/widget.js   |   16 ++++++++--------
 widgetsTS/widget_search/view.html |    2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/widgetsTS/widget_grid/widget.js b/widgetsTS/widget_grid/widget.js
index c1f7207..f7ada14 100644
--- a/widgetsTS/widget_grid/widget.js
+++ b/widgetsTS/widget_grid/widget.js
@@ -34,11 +34,11 @@
 
     //姣忎釜绐楀彛鍒涘缓瀹屾垚鍚庤皟鐢�
     winCreateOK(opt, result) {
-      //this.grid_500.show = true;
-      //this.grid_1000.show = true;
-      //this.grid_3000.show = true;
-      //this.grid_5000.show = true;
-      //this.map.setCameraView(mars3d.global_variables.grid_camerview.grid5000);
+      this.grid_500.show = true;
+      this.grid_1000.show = true;
+      this.grid_3000.show = true;
+      this.grid_5000.show = true;
+      this.map.setCameraView(mars3d.global_variables.grid_camerview.grid5000);
       this.datatype = mars3d.global_variables.queryDataType;
       this.datatime = mars3d.global_variables.queryDataTStart;
     }
@@ -87,9 +87,9 @@
       //this.grid_1000.show = false;
       //this.grid_3000.show = false;
       //this.grid_5000.show = false;
-      //this.heatmapGroupLayer.getLayers().forEach(layer => {
-      //  layer.show= false;
-      //});
+      this.heatmapGroupLayer.getLayers().forEach(layer => {
+       layer.show= false;
+      });
     }
 
     update_grid_style(new_style) {
diff --git a/widgetsTS/widget_search/view.html b/widgetsTS/widget_search/view.html
index 327b2dd..3da3d73 100644
--- a/widgetsTS/widget_search/view.html
+++ b/widgetsTS/widget_search/view.html
@@ -108,7 +108,7 @@
             <a href="#" style="color:white!important;" onclick="highlightSelected();"><span id="topN_name">鍕鹃�夋樉绀�</span></a>
         </span>
     </div>
-    <div class="layui-row" id="" style="padding-left:1%;padding-right:1%;overflow:auto;height:450px;">
+    <div class="layui-row" id="" style="padding-left:1%;padding-right:1%;overflow:auto;height:calc(100vh - 270px)">
         <form action="" class="am-form" id="listContainer">
         <table class="layui-table no_bgc_table top_10_table table_Info" id="newsList" lay-skin="nob">
             <thead>

--
Gitblit v1.9.1