Browse Source

删除相关注释

tml 5 months ago
parent
commit
e2015cf0d7

+ 15 - 69
nngkxxdp/src/main/resources/static/naxsb/cytz.html

@@ -43,7 +43,6 @@
 
 
     ::-webkit-scrollbar {
     ::-webkit-scrollbar {
       display: none;
       display: none;
-      /* Chrome Safari */
     }
     }
 
 
     @font-face {
     @font-face {
@@ -65,7 +64,6 @@
     }
     }
 
 
     #cytz {
     #cytz {
-      /* height: 100vh; */
       font-family: Microsoft YaHei;
       font-family: Microsoft YaHei;
       color: #FFFFFF;
       color: #FFFFFF;
       box-sizing: border-box;
       box-sizing: border-box;
@@ -126,9 +124,7 @@
       font-size: 20px;
       font-size: 20px;
     }
     }
 
 
-    /* .mainTab>span:hover {
-      font-weight: bold;
-    } */
+    
     .el-tabs__item {
     .el-tabs__item {
       color: #fff;
       color: #fff;
       font-size: 20px;
       font-size: 20px;
@@ -149,19 +145,6 @@
       font-weight: bold;
       font-weight: bold;
     }
     }
 
 
-    /* .mainTab>span {
-      display: inline-block;
-      height: 29px;
-      padding: 0 12px;
-      line-height: 29px;
-      background-color: rgba(0, 0, 0, .2);
-      margin-left: 5px;
-      cursor: pointer;
-    } */
-
-    /* .mainTab>span:hover {
-      font-weight: bold;
-    } */
     .el-tabs__item:hover {
     .el-tabs__item:hover {
       color: #fff;
       color: #fff;
       font-weight: 600;
       font-weight: 600;
@@ -451,12 +434,10 @@
       color: #C4C4C4 !important;
       color: #C4C4C4 !important;
     }
     }
 
 
-    /* 淡出动画 */
     .fade-out {
     .fade-out {
       animation: fadeOut 1s forwards;
       animation: fadeOut 1s forwards;
     }
     }
 
 
-    /* 淡入动画 */
     .fade-in {
     .fade-in {
       animation: fadeIn 1s forwards;
       animation: fadeIn 1s forwards;
     }
     }
@@ -523,7 +504,6 @@
     <div class="content">
     <div class="content">
       <div id="map"></div>
       <div id="map"></div>
       <div class="contentR">
       <div class="contentR">
-        <!-- <div class="location"><i class="el-icon-location"></i>&nbsp;南岸区</div> -->
         <div class="contentBox">
         <div class="contentBox">
           <div class="contentItem">
           <div class="contentItem">
             <video autoplay loop muted playsinline controls controlslist="nodownload" style="width:100%;height: 100%;">
             <video autoplay loop muted playsinline controls controlslist="nodownload" style="width:100%;height: 100%;">
@@ -532,8 +512,6 @@
             </video>
             </video>
           </div>
           </div>
           <div class="contentItem">
           <div class="contentItem">
-            <!-- <div class="mainTab"><span class="activeTab" @click="switchTab(1)">区位条件</span><span
-                @click="switchTab(2)">创新优势</span><span @click="switchTab(3)">产业特色</span></div> -->
             <el-tabs v-model="activeName" type="card" @tab-click="switchTab">
             <el-tabs v-model="activeName" type="card" @tab-click="switchTab">
               <el-tab-pane label="区位条件" name="1"></el-tab-pane>
               <el-tab-pane label="区位条件" name="1"></el-tab-pane>
               <el-tab-pane label="创新优势" name="2"></el-tab-pane>
               <el-tab-pane label="创新优势" name="2"></el-tab-pane>
@@ -570,12 +548,6 @@
                 <li title="规上工业企业研发机构覆盖率达到54.2%"><img
                 <li title="规上工业企业研发机构覆盖率达到54.2%"><img
                     src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />规上工业企业研发机构覆盖率达到54.2%</li>
                     src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />规上工业企业研发机构覆盖率达到54.2%</li>
               </div>
               </div>
-              <!-- <el-tab-pane label="资源优势">
-                  <li><img src="image/listcricle.png" />15分钟直达江北国际机场,20分钟可抵重庆西部物流园</li>
-                  <li><img src="image/listcricle.png" />高铁重庆东站主体结构封顶</li>
-                  <li><img src="image/listcricle.png" />13座长江大桥贯通南北</li>
-                  <li><img src="image/listcricle.png" />轨道3号线、6号线、10号线及环线等运营</li>
-                </el-tab-pane> -->
               <div v-show="this.activeName==='3'">
               <div v-show="this.activeName==='3'">
                 <li title="2023年地区生产总值增长6.7%,居中心城区第一"><img
                 <li title="2023年地区生产总值增长6.7%,居中心城区第一"><img
                     src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />2023年地区生产总值增长6.7%,居中心城区第一</li>
                     src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />2023年地区生产总值增长6.7%,居中心城区第一</li>
@@ -601,18 +573,6 @@
                 <li title="高品质更新大南坪集聚区,推动南坪商圈提档升级"><img
                 <li title="高品质更新大南坪集聚区,推动南坪商圈提档升级"><img
                     src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />高品质更新大南坪集聚区,推动南坪商圈提档升级</li>
                     src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />高品质更新大南坪集聚区,推动南坪商圈提档升级</li>
               </div>
               </div>
-              <!-- <div class="mainBox mb" @click="window.open('https://www.cqna.gov.cn/zjna/nagk/qwtj/202306/t20230606_12033765.html')">
-                  <img src="image/qwtj.png" />区位条件
-                </div>
-                <div class="mainBox mb" @click="window.open('https://www.cqna.gov.cn/zjna/nagk/rwdy/202208/t20220819_11023321.html')">
-                  <img src="image/rwdy.png" />人文底蕴
-                </div>
-                <div class="mainBox" @click="window.open('https://www.cqna.gov.cn/zjna/nagk/zyys/202306/t20230606_12033786.html')">
-                  <img src="image/zyys.png" />资源优势
-                </div>
-                <div class="mainBox" @click="window.open('https://www.cqna.gov.cn/zjna/nagk/cyts/202306/t20230606_12033851.html')">
-                  <img src="image/cyts.png" />产业特色
-                </div> -->
             </div>
             </div>
           </div>
           </div>
           <div class="contentItem"
           <div class="contentItem"
@@ -639,7 +599,6 @@
                   <div class="tdgyContent">
                   <div class="tdgyContent">
                     <div class="tdgyTitle">{{tab.landName}}</div>
                     <div class="tdgyTitle">{{tab.landName}}</div>
                     <div class="tdgyDec">{{tab.landArea}}亩&nbsp;丨&nbsp;{{tab.landFunction}}</div>
                     <div class="tdgyDec">{{tab.landArea}}亩&nbsp;丨&nbsp;{{tab.landFunction}}</div>
-                    <!-- <div class="tdgyLocation"><i class="el-icon-location"></i>{{tab.addr}}</div> -->
                   </div>
                   </div>
                 </div>
                 </div>
               </div>
               </div>
@@ -695,16 +654,11 @@
 </body>
 </body>
 <script>
 <script>
   $(function () {
   $(function () {
-    /*公共部分
-    * 导航栏
-    * footer CopyRight
-    */
     $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
     $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
     $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
     $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
   });
   });
 </script>
 </script>
 <script>
 <script>
-  // 初始化Vue实例
   new Vue({
   new Vue({
     el: '#cytz',
     el: '#cytz',
     data: function () {
     data: function () {
@@ -764,12 +718,6 @@
     methods: {
     methods: {
       switchTab(val) {
       switchTab(val) {
         this.activeName = val.name
         this.activeName = val.name
-        // const arr = document.querySelectorAll('.mainTab>span')
-        // arr.forEach(item => {
-        //   item.classList.remove('activeTab')
-        //   arr[val - 1].classList.add('activeTab')
-        // })
-
       },
       },
       goIndex() {
       goIndex() {
         window.location.href = "https://www.cqna.gov.cn/syygapi/naxsb/indexsyyg.html"
         window.location.href = "https://www.cqna.gov.cn/syygapi/naxsb/indexsyyg.html"
@@ -805,14 +753,14 @@
           document.querySelector('.ztfwC').style.marginTop = `-${i}px`
           document.querySelector('.ztfwC').style.marginTop = `-${i}px`
         }, 50);
         }, 50);
       },
       },
-      // 递进缩放函数
+      
       zoomInStepByStep(currentZoom, maxZoom) {
       zoomInStepByStep(currentZoom, maxZoom) {
         let that = this;
         let that = this;
         if (currentZoom <= maxZoom) {
         if (currentZoom <= maxZoom) {
           map.setZoom(currentZoom, true);
           map.setZoom(currentZoom, true);
           setTimeout(function () {
           setTimeout(function () {
             that.zoomInStepByStep(currentZoom + 0.5, maxZoom);
             that.zoomInStepByStep(currentZoom + 0.5, maxZoom);
-          }, 100); // 每秒钟放大一级
+          }, 100); 
         }
         }
       },
       },
       loadAllMap() {
       loadAllMap() {
@@ -822,8 +770,8 @@
           .then(data => {
           .then(data => {
             var centerPoint = data.features[0].properties.center;
             var centerPoint = data.features[0].properties.center;
             map = new BMapGL.Map("map");
             map = new BMapGL.Map("map");
-            map.enableScrollWheelZoom(); // 启用滚轮缩放
-            map.enableDragging(); // 启用拖拽功能
+            map.enableScrollWheelZoom(); 
+            map.enableDragging(); 
             map.centerAndZoom(new BMapGL.Point(106.651444, 29.51982), 10);
             map.centerAndZoom(new BMapGL.Point(106.651444, 29.51982), 10);
             map.setMapType(BMAP_NORMAL_MAP);
             map.setMapType(BMAP_NORMAL_MAP);
             var pointList = data.features[0].geometry.coordinates[0][0];
             var pointList = data.features[0].geometry.coordinates[0][0];
@@ -831,7 +779,6 @@
             pointList.forEach(function (point) {
             pointList.forEach(function (point) {
               result.push(new BMapGL.Point(point[0], point[1]));
               result.push(new BMapGL.Point(point[0], point[1]));
             });
             });
-            // 创建多边形
             let polygon = new BMapGL.Polygon(result, {
             let polygon = new BMapGL.Polygon(result, {
               strokeColor: "#226cfb",
               strokeColor: "#226cfb",
               strokeWeight: 1.5,
               strokeWeight: 1.5,
@@ -840,7 +787,6 @@
               fillColor: "#4B98F6",
               fillColor: "#4B98F6",
               fillOpacity: 0.2
               fillOpacity: 0.2
             });
             });
-            // 将多边形添加到地图中
             map.addOverlay(polygon);
             map.addOverlay(polygon);
             var datalist = that.titleList;
             var datalist = that.titleList;
             if (datalist.length) {
             if (datalist.length) {
@@ -852,7 +798,7 @@
                   result.push(new BMapGL.Point(arr[0], arr[1]));
                   result.push(new BMapGL.Point(arr[0], arr[1]));
                 });
                 });
                 var color = polygonData.color;
                 var color = polygonData.color;
-                // 创建多边形
+                
                 let polygon = new BMapGL.Polygon(result, {
                 let polygon = new BMapGL.Polygon(result, {
                   strokeColor: "transparent",
                   strokeColor: "transparent",
                   strokeWeight: 0,
                   strokeWeight: 0,
@@ -864,33 +810,33 @@
                 map.addOverlay(polygon);
                 map.addOverlay(polygon);
                 var id = polygonData.id;
                 var id = polygonData.id;
 
 
-                // 添加鼠标移入事件
+                
                 var label = new BMapGL.Label(polygonData.title, {
                 var label = new BMapGL.Label(polygonData.title, {
                   position: polygon.getBounds().getCenter(),
                   position: polygon.getBounds().getCenter(),
                   offset: new BMapGL.Size(0, 0)
                   offset: new BMapGL.Size(0, 0)
                 });
                 });
                 label.setStyle({
                 label.setStyle({
-                  color: "#fff", // 文本颜色
-                  borderColor: "transparent", // 描边颜色
-                  borderWeight: 0, // 描边宽度
+                  color: "#fff", 
+                  borderColor: "transparent", 
+                  borderWeight: 0, 
                   fontSize: "12px",
                   fontSize: "12px",
-                  backgroundColor: "rgba(0,0,0,0.5)", // 背景颜色,设置为半透明
+                  backgroundColor: "rgba(0,0,0,0.5)", 
                   padding: "2px 5px",
                   padding: "2px 5px",
                   borderRadius: "5px",
                   borderRadius: "5px",
-                  borderStyle: "solid" // 描边样式
+                  borderStyle: "solid"
                 });
                 });
                 polygon.addEventListener("mouseover", function () {
                 polygon.addEventListener("mouseover", function () {
                   map.addOverlay(label);
                   map.addOverlay(label);
                   label.setStyle({ display: "block" });
                   label.setStyle({ display: "block" });
                 });
                 });
 
 
-                // 添加鼠标移出事件
+                
                 polygon.addEventListener("mouseout", function () {
                 polygon.addEventListener("mouseout", function () {
-                  // 清除标签
+                 
                   label.setStyle({ display: "none" });
                   label.setStyle({ display: "none" });
                 });
                 });
 
 
-                // 添加点击事件
+                
                 polygon.addEventListener("click", function () {
                 polygon.addEventListener("click", function () {
                   window.location.href = 'dqfwNew.html?id=' + id;
                   window.location.href = 'dqfwNew.html?id=' + id;
                 });
                 });

+ 4 - 49
nngkxxdp/src/main/resources/static/naxsb/dqfw.html

@@ -378,64 +378,19 @@
                     <div v-else class="noData">暂无内容</div>
                     <div v-else class="noData">暂无内容</div>
                 </div>
                 </div>
             </div>
             </div>
-            <!-- <div class="left">
-                <div class="list" v-for="(item, index)  in leftList" :key="index" v-if="leftList.length">
-                    <div class="title" :class="{ active: currtopId == item.id }">{{item.partyForm?item.partyForm:'- '}}
-                    </div>
-                    <ul style="padding-left: 40px;">
-                        <li :class="{ active: currentTab == tabl.id }" v-for="(tabl, indexl)  in item.children"
-                            :key="indexl" @click="menuChange(tabl.id,item.id)">
-                            {{tabl.information?tabl.information:'- '}}
-                        </li>
-                    </ul>
-                </div>
-                <div v-else>- </div>
-            </div>
-            <div class="right">
-                <div class="title">
-                    <div class="line"></div>
-                    <span>{{rightdata.information?rightdata.information:'- '}}</span>
-                </div>
-                <div class="content">
-                    <div class="person">
-                        <div class="grzl">
-                            <img src="images/logo-person.png" alt="">
-                            <div>
-                                <p>联系人</p>
-                                <p><span>姓名:</span><span>{{rightdata.contacts?rightdata.contacts:'- '}}</span></p>
-                                <p><span>联系电话:</span>
-                                    <span>{{rightdata.contactsPhone?rightdata.contactsPhone:'-'}}</span>
-                                </p>
-                                <p><span>地址:</span><span>{{rightdata.contactsAddr?rightdata.contactsAddr:'- '}}</span>
-                                </p>
-                            </div>
-                        </div>
-                        <div class="sevre">{{rightdata.contactsFunction?rightdata.contactsFunction:'- '}}</div>
-                    </div>
-                    <div class="bottom">
-                        <div class="name" :title="rightdata.title">{{rightdata.information?rightdata.information:'-'}}
-                        </div>
-                        <div style="color: #333333;line-height: 48px;">{{rightdata.createWork}}</div>
-                        <img :src="rightdata.imgUrl" alt="" v-if="rightdata.imgUrl" style="width: 100%;">
-                    </div>
-                </div>
-            </div> -->
         </div>
         </div>
     </div>
     </div>
     <div style="width:100%;" class="footer"></div>
     <div style="width:100%;" class="footer"></div>
 </body>
 </body>
 <script>
 <script>
     $(function () {
     $(function () {
-        /*公共部分
-        * 导航栏
-        * footer CopyRight
-        */
+        
         $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
         $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
         $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
         $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
     });
     });
 </script>
 </script>
 <script>
 <script>
-    // 初始化Vue实例
+    
     new Vue({
     new Vue({
         el: '#dqfw',
         el: '#dqfw',
         data: function () {
         data: function () {
@@ -470,9 +425,9 @@
                         let value = data.data.PartyServiceList;
                         let value = data.data.PartyServiceList;
                         let newList = []
                         let newList = []
                         value.forEach(item => {
                         value.forEach(item => {
-                            let status = newList.find(el => el.partyForm === item.partyForm) // 判断第一层级,用name属性来判断
+                            let status = newList.find(el => el.partyForm === item.partyForm) 
                             if (status) {
                             if (status) {
-                                status.children.push({ ...item }) // 将数据插入到第二层级中
+                                status.children.push({ ...item }) 
                             } else {
                             } else {
                                 let obj = { ...item, children: [{ ...item }] }
                                 let obj = { ...item, children: [{ ...item }] }
                                 newList.push(obj)
                                 newList.push(obj)

+ 27 - 39
nngkxxdp/src/main/resources/static/naxsb/dqfwNew.html

@@ -468,12 +468,10 @@
       color: #C4C4C4 !important;
       color: #C4C4C4 !important;
     }
     }
 
 
-    /* 淡出动画 */
     .fade-out {
     .fade-out {
       animation: fadeOut 1s forwards;
       animation: fadeOut 1s forwards;
     }
     }
 
 
-    /* 淡入动画 */
     .fade-in {
     .fade-in {
       animation: fadeIn 1s forwards;
       animation: fadeIn 1s forwards;
     }
     }
@@ -536,14 +534,12 @@
       width: 100%;
       width: 100%;
       height: 100%;
       height: 100%;
       overflow: hidden;
       overflow: hidden;
-      /* 确保放大时不会超出容器 */
     }
     }
 
 
     video {
     video {
       width: 100%;
       width: 100%;
       height: auto;
       height: auto;
       transition: transform 0.3s ease;
       transition: transform 0.3s ease;
-      /* 添加平滑过渡效果 */
     }
     }
 
 
     .controls {
     .controls {
@@ -576,7 +572,6 @@
       <div id="mapcontainer" v-show="currentmap==1"></div>
       <div id="mapcontainer" v-show="currentmap==1"></div>
       <div id="mapcontainerrlt" v-show="currentmap==2"></div>
       <div id="mapcontainerrlt" v-show="currentmap==2"></div>
       <div class="contentR">
       <div class="contentR">
-        <!-- <div class="location"><i class="el-icon-location"></i>&nbsp;南岸区</div> -->
         <div class="contentBox">
         <div class="contentBox">
           <div class="contentItem">
           <div class="contentItem">
             <video autoplay loop muted playsinline controls controlslist="nodownload">
             <video autoplay loop muted playsinline controls controlslist="nodownload">
@@ -619,7 +614,6 @@
                   <div class="tdgyContent">
                   <div class="tdgyContent">
                     <div class="tdgyTitle">{{tab.landName}}</div>
                     <div class="tdgyTitle">{{tab.landName}}</div>
                     <div class="tdgyDec">{{tab.landArea}}亩&nbsp;丨&nbsp;{{tab.landFunction?tab.landFunction:''}}</div>
                     <div class="tdgyDec">{{tab.landArea}}亩&nbsp;丨&nbsp;{{tab.landFunction?tab.landFunction:''}}</div>
-                    <!-- <div class="tdgyLocation"><i class="el-icon-location"></i>{{tab.addr?tab.addr:''}}</div> -->
                   </div>
                   </div>
                 </div>
                 </div>
               </div>
               </div>
@@ -689,16 +683,13 @@
 
 
 <script>
 <script>
   $(function () {
   $(function () {
-    /*公共部分
-    * 导航栏
-    * footer CopyRight
-    */
+    
     $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
     $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
     $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
     $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
   });
   });
 </script>
 </script>
 <script>
 <script>
-  // 初始化Vue实例
+  
   new Vue({
   new Vue({
     el: '#dqfwNew',
     el: '#dqfwNew',
     data: function () {
     data: function () {
@@ -815,7 +806,7 @@
                 show: false,
                 show: false,
                 feature: {
                 feature: {
                   saveAsImage: false,
                   saveAsImage: false,
-                  toolbox: false // 隐藏工具箱按钮
+                  toolbox: false 
                 }
                 }
               },
               },
               animation: false,
               animation: false,
@@ -846,10 +837,9 @@
               ]
               ]
             })
             })
           );
           );
-          // 添加百度地图插件
+          
           var bmap = myChart.getModel().getComponent('bmap').getBMap();
           var bmap = myChart.getModel().getComponent('bmap').getBMap();
           bmap.addControl(new BMap.MapTypeControl());
           bmap.addControl(new BMap.MapTypeControl());
-          // bmap.setMapType(BMAP_SATELLITE_MAP);
           bmap.setMapType(BMAP_NORMAL_MAP);
           bmap.setMapType(BMAP_NORMAL_MAP);
         });
         });
 
 
@@ -863,8 +853,8 @@
           .then(data => {
           .then(data => {
             var centerPoint = data.features[0].properties.center;
             var centerPoint = data.features[0].properties.center;
             map = new BMapGL.Map("mapcontainer");
             map = new BMapGL.Map("mapcontainer");
-            map.enableScrollWheelZoom(true); // 启用滚轮缩放
-            map.enableDragging(true); // 启用拖拽功能
+            map.enableScrollWheelZoom(true); 
+            map.enableDragging(true); 
             const id = that.id;
             const id = that.id;
             map.setMapStyleV2({
             map.setMapStyleV2({
               styleJson: [
               styleJson: [
@@ -891,7 +881,7 @@
                 },
                 },
               ]
               ]
             });
             });
-            // 设定中心点和地图级别
+            
             var level = 14;
             var level = 14;
             if (id == 1) {
             if (id == 1) {
               map.centerAndZoom(new BMapGL.Point(106.651444, 29.45682), 13);
               map.centerAndZoom(new BMapGL.Point(106.651444, 29.45682), 13);
@@ -920,7 +910,7 @@
             pointList.forEach(function (point) {
             pointList.forEach(function (point) {
               result.push(new BMapGL.Point(point[0], point[1]));
               result.push(new BMapGL.Point(point[0], point[1]));
             });
             });
-            // 创建多边形
+            
             polygon = new BMapGL.Polygon(result, {
             polygon = new BMapGL.Polygon(result, {
               strokeColor: "#226cfb",
               strokeColor: "#226cfb",
               strokeWeight: 1.5,
               strokeWeight: 1.5,
@@ -929,7 +919,7 @@
               fillColor: "#4B98F6",
               fillColor: "#4B98F6",
               fillOpacity: 0.2
               fillOpacity: 0.2
             });
             });
-            // 将南岸区添加到地图中
+            
             map.addOverlay(polygon);
             map.addOverlay(polygon);
             let pointList1 = that.parkDesc.addr.split('@');
             let pointList1 = that.parkDesc.addr.split('@');
             let result1 = [];
             let result1 = [];
@@ -937,7 +927,7 @@
               let arr = point.split(',');
               let arr = point.split(',');
               result1.push(new BMapGL.Point(arr[0], arr[1]));
               result1.push(new BMapGL.Point(arr[0], arr[1]));
             });
             });
-            // 创建多边形
+            
             polygon1 = new BMapGL.Polygon(result1, {
             polygon1 = new BMapGL.Polygon(result1, {
               strokeColor: "transparent",
               strokeColor: "transparent",
               strokeWeight: 0,
               strokeWeight: 0,
@@ -946,7 +936,7 @@
               fillColor: that.parkDesc.color,
               fillColor: that.parkDesc.color,
               fillOpacity: 0.6
               fillOpacity: 0.6
             });
             });
-            // 将多边形添加到地图中
+            
             map.addOverlay(polygon1);
             map.addOverlay(polygon1);
             var points = that.ztpointList;
             var points = that.ztpointList;
             if (points.length) {
             if (points.length) {
@@ -955,15 +945,14 @@
                 pList.forEach(function (point) {
                 pList.forEach(function (point) {
                   let arr = point.split(',');
                   let arr = point.split(',');
                   let p = new BMapGL.Point(arr[0], arr[1]);
                   let p = new BMapGL.Point(arr[0], arr[1]);
-                  // let marker = new BMapGL.Marker(p);
                   var myIcon = new BMapGL.Icon('https://www.cqna.gov.cn/syygapi/naxsb/images/addrzt.png', new BMapGL.Size(40, 40));
                   var myIcon = new BMapGL.Icon('https://www.cqna.gov.cn/syygapi/naxsb/images/addrzt.png', new BMapGL.Size(40, 40));
                   let marker = new BMapGL.Marker(p, {icon: myIcon});
                   let marker = new BMapGL.Marker(p, {icon: myIcon});
                   var opts = {
                   var opts = {
-                    position: new BMapGL.Point(arr[0], arr[1]), // 指定文本标签所在的地理位置
-                    offset: new BMapGL.Size(10, 10) // 设置文本偏移量
+                    position: new BMapGL.Point(arr[0], arr[1]), 
+                    offset: new BMapGL.Size(10, 10) 
                   };
                   };
 
 
-                  // 创建文本标注对象
+                  
                   var label = new BMapGL.Label(d.carrierName, opts);
                   var label = new BMapGL.Label(d.carrierName, opts);
                   label.setStyle({
                   label.setStyle({
                     color: "#186FF0",
                     color: "#186FF0",
@@ -974,8 +963,8 @@
                     fontWeight: 'bold',
                     fontWeight: 'bold',
                     backgroundColor: 'transparent',
                     backgroundColor: 'transparent',
                     textShadow: '0 0 4px #4B97F5',
                     textShadow: '0 0 4px #4B97F5',
-                    textStrokeColor: "#4B97F5", // 文本描边颜色
-                    textStrokeWidth: "4px", // 文本描边宽度
+                    textStrokeColor: "#4B97F5", 
+                    textStrokeWidth: "4px", 
                     fontSize: "18px",
                     fontSize: "18px",
                     height: "20px",
                     height: "20px",
                     lineHeight: "20px",
                     lineHeight: "20px",
@@ -1008,7 +997,7 @@
                   let arr = point.split(',');
                   let arr = point.split(',');
                   result.push(new BMapGL.Point(arr[0], arr[1]));
                   result.push(new BMapGL.Point(arr[0], arr[1]));
                 });
                 });
-                // 创建多边形
+                
                 let polygon = new BMapGL.Polygon(result, {
                 let polygon = new BMapGL.Polygon(result, {
                   strokeColor: "red",
                   strokeColor: "red",
                   strokeWeight: 1,
                   strokeWeight: 1,
@@ -1020,7 +1009,7 @@
                 map.addOverlay(polygon);
                 map.addOverlay(polygon);
                 var id = polygonData.id;
                 var id = polygonData.id;
 
 
-                // 添加鼠标移入事件
+                
                 var label = new BMapGL.Label(polygonData.landName, {
                 var label = new BMapGL.Label(polygonData.landName, {
                   position: polygon.getBounds().getCenter(),
                   position: polygon.getBounds().getCenter(),
                   offset: new BMapGL.Size(0, 0)
                   offset: new BMapGL.Size(0, 0)
@@ -1035,22 +1024,21 @@
                   backgroundColor: 'transparent',
                   backgroundColor: 'transparent',
                   border: 'none',
                   border: 'none',
                   textShadow: '0 0 4px #4B97F5',
                   textShadow: '0 0 4px #4B97F5',
-                  textStrokeColor: "#4B97F5", // 文本描边颜色
-                  textStrokeWidth: "4px", // 文本描边宽度
+                  textStrokeColor: "#4B97F5", 
+                  textStrokeWidth: "4px", 
                 });
                 });
                 polygon.addEventListener("mouseover", function () {
                 polygon.addEventListener("mouseover", function () {
                   map.addOverlay(label);
                   map.addOverlay(label);
                   label.setStyle({ display: "block" });
                   label.setStyle({ display: "block" });
                 });
                 });
 
 
-                // 添加鼠标移出事件
+                
                 polygon.addEventListener("mouseout", function () {
                 polygon.addEventListener("mouseout", function () {
-                  // 清除标签
-                  // var label = this.getLabel()
+                 
                   label.setStyle({ display: "none" });
                   label.setStyle({ display: "none" });
                 });
                 });
 
 
-                // 添加点击事件
+                
                 polygon.addEventListener("click", function () {
                 polygon.addEventListener("click", function () {
                   window.location.href = 'tdcr.html?tdid=' + id;
                   window.location.href = 'tdcr.html?tdid=' + id;
                 });
                 });
@@ -1107,7 +1095,7 @@
             that.contentList = dataList;
             that.contentList = dataList;
             that.tdpointList = [];
             that.tdpointList = [];
             dataList.forEach(function (d) {
             dataList.forEach(function (d) {
-              // 添加选择地址
+              
               if (!d.point) return;
               if (!d.point) return;
               let pList = d.point.split('@');
               let pList = d.point.split('@');
               pList.forEach(function (point) {
               pList.forEach(function (point) {
@@ -1133,7 +1121,7 @@
             that.buildList = dataList;
             that.buildList = dataList;
             that.ztpointList = [];
             that.ztpointList = [];
             dataList.forEach(function (d) {
             dataList.forEach(function (d) {
-              // 添加选择地址
+              
               if (!d.point) return;
               if (!d.point) return;
               let pList = d.point.split('@');
               let pList = d.point.split('@');
               pList.forEach(function (point) {
               pList.forEach(function (point) {
@@ -1159,14 +1147,14 @@
         }, 50);
         }, 50);
       },
       },
 
 
-      // 递进缩放函数
+      
       zoomInStepByStep(currentZoom, maxZoom) {
       zoomInStepByStep(currentZoom, maxZoom) {
         let that = this;
         let that = this;
         if (currentZoom <= maxZoom) {
         if (currentZoom <= maxZoom) {
           map.setZoom(currentZoom, true);
           map.setZoom(currentZoom, true);
           setTimeout(function () {
           setTimeout(function () {
             that.zoomInStepByStep(currentZoom + 0.5, maxZoom);
             that.zoomInStepByStep(currentZoom + 0.5, maxZoom);
-          }, 100); // 每秒钟放大一级
+          }, 100); 
         }
         }
       }
       }
     }
     }

+ 1 - 11
nngkxxdp/src/main/resources/static/naxsb/floorone.html

@@ -211,11 +211,8 @@
         overflow: unset;
         overflow: unset;
         background: #A6D2EC;
         background: #A6D2EC;
         border: 0;
         border: 0;
-        /*清除自带的2px的边框*/
         padding: 0;
         padding: 0;
-        /*清除自带的padding间距*/
         outline: none;
         outline: none;
-        /*清除input点击之后的黑色边框*/
         height: 40px;
         height: 40px;
         padding-left: 10px;
         padding-left: 10px;
         color: #2895FF;
         color: #2895FF;
@@ -256,10 +253,6 @@
         <el-dialog title="窗口电话" class="global-dialog" :visible.sync="dialogVisible" width="60%"
         <el-dialog title="窗口电话" class="global-dialog" :visible.sync="dialogVisible" width="60%"
             :before-close="handleClose" :close-on-click-modal="false">
             :before-close="handleClose" :close-on-click-modal="false">
             <div class="btable">
             <div class="btable">
-                <!-- <div class="jysm">
-                        <div style="width: 2px;height: 14px;background-color: #2895FF;margin-right: 10px;"></div>
-                        <div>简要说明</div>
-                    </div> -->
                 <table border="0" cellspacing="0" style="width: 100%;">
                 <table border="0" cellspacing="0" style="width: 100%;">
                     <tbody>
                     <tbody>
                         <tr>
                         <tr>
@@ -591,10 +584,7 @@
 </body>
 </body>
 <script>
 <script>
     $(function () {
     $(function () {
-        /*公共部分
-        * 导航栏
-        * footer CopyRight
-        */
+        
         $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
         $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
         $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
         $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
     });
     });

+ 4 - 9
nngkxxdp/src/main/resources/static/naxsb/indexbmhq.html

@@ -212,12 +212,12 @@
       border-bottom: none;
       border-bottom: none;
     }
     }
 
 
-    /* 淡出动画 */
+    
     .fade-out {
     .fade-out {
       animation: fadeOut 1s forwards;
       animation: fadeOut 1s forwards;
     }
     }
 
 
-    /* 淡入动画 */
+    
     .fade-in {
     .fade-in {
       animation: fadeIn 1s forwards;
       animation: fadeIn 1s forwards;
     }
     }
@@ -273,9 +273,7 @@
       width: 100%;
       width: 100%;
       height: 100%;
       height: 100%;
       object-fit: cover;
       object-fit: cover;
-      /* 确保视频按比例填充整个页面 */
       z-index: -1;
       z-index: -1;
-      /* 将视频置于所有内容之下 */
     }
     }
   </style>
   </style>
 </head>
 </head>
@@ -370,16 +368,13 @@
 </body>
 </body>
 <script>
 <script>
   $(function () {
   $(function () {
-    /*公共部分
-    * 导航栏
-    * footer CopyRight
-    */
+    
     $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
     $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
     $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
     $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
   });
   });
 </script>
 </script>
 <script>
 <script>
-  // 初始化Vue实例
+  
   new Vue({
   new Vue({
     el: '#indexcygyy',
     el: '#indexcygyy',
     data: function () {
     data: function () {

+ 10 - 140
nngkxxdp/src/main/resources/static/naxsb/qjt.html

@@ -212,7 +212,6 @@
                         </div>
                         </div>
                         <div class="twofloor conList">
                         <div class="twofloor conList">
                             <div class="floortitle">实时办件详情</div>
                             <div class="floortitle">实时办件详情</div>
-                            <!-- <div class="floortitle">交通配套</div> -->
                             <div class="floorcontent" style="flex-wrap: nowrap;flex-direction: column;padding: 5px;">
                             <div class="floorcontent" style="flex-wrap: nowrap;flex-direction: column;padding: 5px;">
                                 <div class="top_t">
                                 <div class="top_t">
                                     <div class="t1">状态</div>
                                     <div class="t1">状态</div>
@@ -234,33 +233,6 @@
                                         </div>
                                         </div>
                                     </div>
                                     </div>
                                 </div>
                                 </div>
-                                <!--  <div class="list blue">
-                                    <div class="top radio">公交车站:</div>
-                                    <div class="bottom">
-                                        <img src="https://www.cqna.gov.cn/syygapi/naxsb/images/floor1.png" alt="">
-                                        <div>
-                                            <span>天福路口站</span>
-                                        </div>
-                                    </div>
-                                </div>
-                                <div class="list yellow">
-                                    <div class="top radio">公交线路:</div>
-                                    <div class="bottom">
-                                        <img src="https://www.cqna.gov.cn/syygapi/naxsb/images/floor2.png" alt="">
-                                        <div>
-                                            <span>144路 &nbsp; 180路 &nbsp; 188路 &nbsp; 345路</span>
-                                        </div>
-                                    </div>
-                                </div>
-                                <div class="list green">
-                                    <div class="top radio">停车场:</div>
-                                    <div class="bottom">
-                                        <img src="https://www.cqna.gov.cn/syygapi/naxsb/images/floor3.png" alt="">
-                                        <div>
-                                            <span style="white-space: nowrap;">行政中心室外/地下停车场</span><br />盛捷公寓停车场
-                                        </div>
-                                    </div>
-                                </div>-->
                             </div>
                             </div>
                         </div>
                         </div>
                         <div class="blsl conList">
                         <div class="blsl conList">
@@ -335,10 +307,7 @@
 </body>
 </body>
 <script>
 <script>
     $(function () {
     $(function () {
-        /*公共部分
-        * 导航栏
-        * footer CopyRight
-        */
+        
         $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
         $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
         $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
         $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
     });
     });
@@ -363,13 +332,7 @@
         autoClear: true,
         autoClear: true,
         logarithmicDepthBuffer: true
         logarithmicDepthBuffer: true
     });
     });
-    // 设置渲染器背景颜色
-    //    renderer.setClearColor(0xCFD1D3, 0.0);
     renderer.setSize(mwidth, mheight);
     renderer.setSize(mwidth, mheight);
-    // 设置渲染编码为 RGB 模式编码
-    //   renderer.outputEncoding = THREE.sRGBEncoding;
-    // renderer.toneMapping = THREE.ACESFilmicToneMapping;
-    //   renderer.toneMappingExposure = 2.0;
     renderer.shadowMap.enabled = true;
     renderer.shadowMap.enabled = true;
 
 
     // 2D 文字渲染
     // 2D 文字渲染
@@ -377,23 +340,10 @@
     css2Renderer.setSize(mwidth, mheight);
     css2Renderer.setSize(mwidth, mheight);
     css2Renderer.domElement.style.position = 'absolute';
     css2Renderer.domElement.style.position = 'absolute';
     css2Renderer.domElement.style.top = '0px';
     css2Renderer.domElement.style.top = '0px';
-    // 设置.pointerEvents=none,解决 HTM L元素标签对 threejs canvas 画布鼠标事件的遮挡
     css2Renderer.domElement.style.pointerEvents = 'none';
     css2Renderer.domElement.style.pointerEvents = 'none';
     document.body.appendChild(css2Renderer.domElement);
     document.body.appendChild(css2Renderer.domElement);
 
 
     // 四个方向的平行光
     // 四个方向的平行光
-    // let directionalLight = new THREE.DirectionalLight(0xffffff, .2);
-    // directionalLight.position.set(1, 0, 0);
-    // let directionalLight3 = new THREE.DirectionalLight(0xffffff, .2);
-    // directionalLight3.position.set(-1, 0, 0);
-    // let directionalLight1 = new THREE.DirectionalLight(0xffffff, .2);
-    // directionalLight1.position.set(0, 0, 1);
-    // let directionalLight2 = new THREE.DirectionalLight(0xffffff, .2);
-    // directionalLight2.position.set(0, 0, -1);
-    // scene.add(directionalLight);
-    // scene.add(directionalLight1);
-    // scene.add(directionalLight2);
-    // scene.add(directionalLight3);
 
 
     // 环境光
     // 环境光
     let ambient = new THREE.AmbientLight(0x404040, 0.1);
     let ambient = new THREE.AmbientLight(0x404040, 0.1);
@@ -423,7 +373,6 @@
     gLTFLoader.load('https://www.cqna.gov.cn/syygapi/naxsb/3ddemo/model/27.gltf', function (obj) {
     gLTFLoader.load('https://www.cqna.gov.cn/syygapi/naxsb/3ddemo/model/27.gltf', function (obj) {
         obj.scene.traverse(function (child) {
         obj.scene.traverse(function (child) {
             if (child.isMesh) {
             if (child.isMesh) {
-                // child.material.envMap = undefined;
                 child.frustumCulled = false;
                 child.frustumCulled = false;
                 child.castShadow = true;
                 child.castShadow = true;
                 child.receiveShadow = true;
                 child.receiveShadow = true;
@@ -431,8 +380,6 @@
                 child.material.emissiveMap = child.material.map;
                 child.material.emissiveMap = child.material.map;
                 child.material.transparent = true;
                 child.material.transparent = true;
                 child.material.emissiveIntensity = 0.8;
                 child.material.emissiveIntensity = 0.8;
-                //    child.material.opacity = 0.8;
-                //     child.material.color = 0xd2d2d2;
                 if (child.name) {
                 if (child.name) {
                     const div = document.createElement('div');
                     const div = document.createElement('div');
                     div.id = child.uuid;
                     div.id = child.uuid;
@@ -440,9 +387,6 @@
                     div.setAttribute("data", child.name);
                     div.setAttribute("data", child.name);
                     div.innerHTML = '<p data-name="' + child.name + '"></p>';
                     div.innerHTML = '<p data-name="' + child.name + '"></p>';
                     let tag = new THREE.CSS2DObject(div);
                     let tag = new THREE.CSS2DObject(div);
-                    // let tag = new THREE.CSS3DSprite(div);
-                    // tag.position.set(0, 0, 0);
-                    // child.add(tag);
                 }
                 }
                 // 一号楼
                 // 一号楼
                 if (child.name == 'yihaolou') {
                 if (child.name == 'yihaolou') {
@@ -460,7 +404,6 @@
                                 <span>地下停车场入口⬇</span>
                                 <span>地下停车场入口⬇</span>
                             </div>`
                             </div>`
                     html += '<div class="building-line" style="border-left: 1px dashed #1D96E9; height: 100px; top: 326px;left: 58px;"></div>';
                     html += '<div class="building-line" style="border-left: 1px dashed #1D96E9; height: 100px; top: 326px;left: 58px;"></div>';
-                    // html += '<div class="building-bottom" style="background: #1D96E9;"></div>';
                     div.innerHTML = html;
                     div.innerHTML = html;
                     let tag = new THREE.CSS2DObject(div);
                     let tag = new THREE.CSS2DObject(div);
                     child.add(tag);
                     child.add(tag);
@@ -484,7 +427,6 @@
                     html += '<svg width="10" height="10"><polygon id="triangle" points="0,0 10,0 5,10" fill="#1D96E9"/></svg>';
                     html += '<svg width="10" height="10"><polygon id="triangle" points="0,0 10,0 5,10" fill="#1D96E9"/></svg>';
                     html += '</div>';
                     html += '</div>';
                     html += '<div class="building-line" style="border-left: 1px dashed #1D96E9; height: 100px; top: 72px;"></div>';
                     html += '<div class="building-line" style="border-left: 1px dashed #1D96E9; height: 100px; top: 72px;"></div>';
-                    // html += '<div class="building-bottom" style="background: #1D96E9;"></div>';
                     div.innerHTML = html;
                     div.innerHTML = html;
                     let tag = new THREE.CSS2DObject(div);
                     let tag = new THREE.CSS2DObject(div);
                     child.add(tag);
                     child.add(tag);
@@ -506,7 +448,6 @@
                     html += '<svg width="10" height="10"><polygon id="triangle" points="0,0 10,0 5,10" fill="#1D96E9"/></svg>';
                     html += '<svg width="10" height="10"><polygon id="triangle" points="0,0 10,0 5,10" fill="#1D96E9"/></svg>';
                     html += '</div>';
                     html += '</div>';
                     html += '<div class="building-line" style="border-left: 1px dashed #1D96E9; height: 100px; top: 90px;"></div>';
                     html += '<div class="building-line" style="border-left: 1px dashed #1D96E9; height: 100px; top: 90px;"></div>';
-                    // html += '<div class="building-bottom" style="background: #1D96E9;"></div>';
                     div.innerHTML = html;
                     div.innerHTML = html;
                     let tag = new THREE.CSS2DObject(div);
                     let tag = new THREE.CSS2DObject(div);
                     child.add(tag);
                     child.add(tag);
@@ -529,13 +470,10 @@
                     html += '<svg width="10" height="10"><polygon id="triangle" points="0,0 10,0 5,10" fill="#18A65A"/></svg>';
                     html += '<svg width="10" height="10"><polygon id="triangle" points="0,0 10,0 5,10" fill="#18A65A"/></svg>';
                     html += '</div>';
                     html += '</div>';
                     html += '<div class="building-line"></div>';
                     html += '<div class="building-line"></div>';
-                    // html += '<div class="building-bottom"></div>';
                     div.innerHTML = html;
                     div.innerHTML = html;
                     let tag = new THREE.CSS2DObject(div);
                     let tag = new THREE.CSS2DObject(div);
                     child.add(tag);
                     child.add(tag);
                 }
                 }
-                // ----
-                // if (child.name == 'chewei-dizhuan') {
                 if (child.name == 'chedao-chedao') {
                 if (child.name == 'chedao-chedao') {
                     const div = document.createElement('div');
                     const div = document.createElement('div');
                     div.id = child.uuid;
                     div.id = child.uuid;
@@ -546,7 +484,6 @@
                     html += '<span style="font-size: 10px; text-align: left;">空余车位:-</span>';
                     html += '<span style="font-size: 10px; text-align: left;">空余车位:-</span>';
                     html += '<span style="font-size: 10px; text-align: left;">空余充电桩:-</span>';
                     html += '<span style="font-size: 10px; text-align: left;">空余充电桩:-</span>';
                     html += '</div>';
                     html += '</div>';
-                    // html += '<svg width="15" height="15"><polygon id="triangle" points="0,0 15,0 1,15" fill="#18A65A"/></svg>';
                     html += '</div>';
                     html += '</div>';
                     div.innerHTML = html;
                     div.innerHTML = html;
                     let tag = new THREE.CSS2DObject(div);
                     let tag = new THREE.CSS2DObject(div);
@@ -559,17 +496,10 @@
 
 
 
 
 
 
-
-
-        // 计算模型的统计中心
         const box = new THREE.Box3().setFromObject(obj.scene);
         const box = new THREE.Box3().setFromObject(obj.scene);
         const center = new THREE.Vector3();
         const center = new THREE.Vector3();
         box.getCenter(center);
         box.getCenter(center);
-        // 将模型的统计中心与其本身的原始统计中心进行对齐
         obj.scene.position.sub(center);
         obj.scene.position.sub(center);
-        // 设置摄像机位置,使模型处于视角中心
-        //camera.position.z = box.max.length() * 3;
-        //camera.lookAt(obj.scene.position); // 确保摄像机看向模型
 
 
         document.getElementById('loading').style.display = 'none';
         document.getElementById('loading').style.display = 'none';
         render();
         render();
@@ -578,26 +508,23 @@
     })
     })
 
 
     function render() {
     function render() {
-        // 执行渲染操作
         css2Renderer.render(scene, camera)
         css2Renderer.render(scene, camera)
         renderer.render(scene, camera);
         renderer.render(scene, camera);
     }
     }
 
 
     render();
     render();
-    // 创建控件对象
     let controls = new THREE.OrbitControls(camera, renderer.domElement);
     let controls = new THREE.OrbitControls(camera, renderer.domElement);
     controls.enableZoom = false
     controls.enableZoom = false
-    // controls.enableRotate = false
+    
     controls.maxPolarAngle = Math.PI / 2
     controls.maxPolarAngle = Math.PI / 2
     controls.minPolarAngle = 0
     controls.minPolarAngle = 0
-    // 监听鼠标、键盘事件
+    
     controls.addEventListener('change', render);
     controls.addEventListener('change', render);
-    // 辅助线
+    
     let axisHelper = new THREE.AxisHelper(50050);
     let axisHelper = new THREE.AxisHelper(50050);
-        // scene.add(axisHelper);
 </script>
 </script>
 <script>
 <script>
-    // 初始化Vue实例
+    
     new Vue({
     new Vue({
         el: '#qjt',
         el: '#qjt',
         data: function () {
         data: function () {
@@ -608,7 +535,7 @@
         },
         },
         created() {
         created() {
             this.updateTime();
             this.updateTime();
-            setInterval(this.updateTime, 1000); // 每秒更新一次时间
+            setInterval(this.updateTime, 1000); 
             this.getSSbj();
             this.getSSbj();
         },
         },
         beforeDestroy() {
         beforeDestroy() {
@@ -616,18 +543,15 @@
         },
         },
         methods: {
         methods: {
             updateTime() {
             updateTime() {
-                // 获取当前日期时间对象
                 const now = new Date();
                 const now = new Date();
 
 
-                // 获取年月日时分秒,并补零
                 const year = String(now.getFullYear()).padStart(4, '0');
                 const year = String(now.getFullYear()).padStart(4, '0');
-                const month = String(now.getMonth() + 1).padStart(2, '0'); // 月份是从0开始的
+                const month = String(now.getMonth() + 1).padStart(2, '0'); 
                 const day = String(now.getDate()).padStart(2, '0');
                 const day = String(now.getDate()).padStart(2, '0');
                 const hours = String(now.getHours()).padStart(2, '0');
                 const hours = String(now.getHours()).padStart(2, '0');
                 const minutes = String(now.getMinutes()).padStart(2, '0');
                 const minutes = String(now.getMinutes()).padStart(2, '0');
                 const seconds = String(now.getSeconds()).padStart(2, '0');
                 const seconds = String(now.getSeconds()).padStart(2, '0');
 
 
-                // 组合成格式化的字符串
                 const formattedDateTime = `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
                 const formattedDateTime = `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
                 this.currentTime = formattedDateTime;
                 this.currentTime = formattedDateTime;
             },
             },
@@ -719,7 +643,6 @@
                 lineStyle: {
                 lineStyle: {
                     width: 0
                     width: 0
                 },
                 },
-                // showSymbol: false,
                 areaStyle: {
                 areaStyle: {
                     opacity: 0.8,
                     opacity: 0.8,
                     color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                     color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
@@ -746,13 +669,12 @@
 <script>
 <script>
     var path = "https://www.cqna.gov.cn/data";
     var path = "https://www.cqna.gov.cn/data";
 
 
-    //办件数加载
     function handlingNumber(area, timeType) {
     function handlingNumber(area, timeType) {
         var data1 = ''
         var data1 = ''
         $.ajax({
         $.ajax({
-            url: path + "/department/getOfficeNumberByAreaInfo", //url地址
-            dataType: "json", //返回的数据类型
-            type: "get", //发起请求的方式
+            url: path + "/department/getOfficeNumberByAreaInfo", 
+            dataType: "json", 
+            type: "get",
             cache: false,
             cache: false,
             async: false,
             async: false,
             data: {
             data: {
@@ -790,7 +712,6 @@
     const time = 2 * 1000;
     const time = 2 * 1000;
     let that = this;
     let that = this;
 
 
-    //获取当前排队人数和分钟数
     function getCurrentPerson() {
     function getCurrentPerson() {
         $.ajax({
         $.ajax({
             url: conpath + "/qjt/",
             url: conpath + "/qjt/",
@@ -807,10 +728,8 @@
         })
         })
     }
     }
     getCurrentPerson();
     getCurrentPerson();
-    // 获取定时器的ID,以便之后可以清除它
     var intervalId = setInterval(getCurrentPerson, 1800000);
     var intervalId = setInterval(getCurrentPerson, 1800000);
 
 
-    //获取当前办理数量
     function getCurrentItem() {
     function getCurrentItem() {
         $.ajax({
         $.ajax({
             url: conpath + "/solveAffairs/",
             url: conpath + "/solveAffairs/",
@@ -831,65 +750,16 @@
         })
         })
     }
     }
     getCurrentItem();
     getCurrentItem();
-    // 获取定时器的ID,以便之后可以清除它
     var intervalId1 = setInterval(getCurrentItem, 300000);
     var intervalId1 = setInterval(getCurrentItem, 300000);
 
 
-    // 当用户离开页面时清除定时器
     window.addEventListener('beforeunload', function () {
     window.addEventListener('beforeunload', function () {
         clearInterval(intervalId);
         clearInterval(intervalId);
         clearInterval(intervalId1);
         clearInterval(intervalId1);
     });
     });
-    // // 1号楼当前排队人数
-    // const currWaitPeopleElement = document.getElementById('currWaitPeople');
-    // animateValue(currWaitPeopleElement, 0, 12, time);
-    // // 1号楼可办事项数量
-    // const taskNumElement = document.getElementById('taskNum');
-    // animateValue(taskNumElement, 0, 798, time);
-    // // 1号楼平均等待时长
-    // const waitTimeElement = document.getElementById('waitTime');
-    // animateValue(waitTimeElement, 0, 2, time);
-    // // 1号楼窗口数
-    // const winNumElement = document.getElementById('winNum');
-    // animateValue(winNumElement, 0, 28, time);
-    // 2号楼当前排队人数
-    // const currWaitPeopleElement2 = document.getElementById('currWaitPeople2');
-    // animateValue(currWaitPeopleElement2, 0, 6, time);
-    // 2号楼可办事项数量
     const taskNumElement2 = document.getElementById('taskNum2');
     const taskNumElement2 = document.getElementById('taskNum2');
     animateValue(taskNumElement2, 0, 798, time);
     animateValue(taskNumElement2, 0, 798, time);
-    // 2号楼窗口数
     const winNumElement2 = document.getElementById('winNum2');
     const winNumElement2 = document.getElementById('winNum2');
     animateValue(winNumElement2, 0, 78, time);
     animateValue(winNumElement2, 0, 78, time);
-
-
-    // //本月加载
-    // var data = handlingNumber(1, 2)
-    // let date = new Date()
-    // const nowWeek = date.getDay();
-    // const noMonth = date.getDate()
-    // const noyear = date.getFullYear()
-    // const currWeekTaskNumElement = document.getElementById('currWeekTaskNum');
-    // if (nowWeek > 5 || nowWeek === 0) {
-    //     animateValue(currWeekTaskNumElement, 0, 5 * 324, time);
-    // } else {
-    //     animateValue(currWeekTaskNumElement, 0, nowWeek * 324, time);
-    // }
-    // // // 本月办理数量
-    // const currMonthTaskNumElement = document.getElementById('currMonthTaskNum');
-    // animateValue(currMonthTaskNumElement, 0, ((parseInt(noMonth / 7)) * 5 + noMonth % 7) * 324, time);
-    // // 本年办理数量
-    // const month = date.getMonth()
-    // const currYearTaskNumElement = document.getElementById('currYearTaskNum');
-    // animateValue(currYearTaskNumElement, 0, ((month * 22) * 324) + (((parseInt(noMonth / 7)) * 5 + noMonth % 7) * 324), time);
-
-
-    // //本周加载
-    // var data = handlingNumber(1, 1)
-    // // 本周办理数量
-    // const currTaskNumElement = document.getElementById('currDayTaskNum');
-    // animateValue(currTaskNumElement, 0, data.acceptNumber, time);
-    // //本年加载
-    // var data = handlingNumber(1, 3)
 </script>
 </script>
 
 
 </html>
 </html>

+ 14 - 21
nngkxxdp/src/main/resources/static/naxsb/tdcr.html

@@ -214,8 +214,6 @@
             <div class="contentleft">
             <div class="contentleft">
                 <div class="itemname" style="display: flex;flex-direction: column;">
                 <div class="itemname" style="display: flex;flex-direction: column;">
                     <span>{{ tdcrDetail.landName }}</span>
                     <span>{{ tdcrDetail.landName }}</span>
-                    <!-- <span style="font-size: 26px;">(业主单位:{{
-                        tdcrDetail.ownerUnit }})</span> -->
                 </div>
                 </div>
                 <div class="swiperimg">
                 <div class="swiperimg">
                     <img :src="imgUrl" alt="" style="width: 75%;height: 394px;">
                     <img :src="imgUrl" alt="" style="width: 75%;height: 394px;">
@@ -261,10 +259,7 @@
 </body>
 </body>
 <script>
 <script>
     $(function () {
     $(function () {
-        /*公共部分
-        * 导航栏
-        * footer CopyRight
-        */
+        
         $(".header").load('top/top_style.html');
         $(".header").load('top/top_style.html');
         $(".footer").load('footer/footer.html');
         $(".footer").load('footer/footer.html');
     });
     });
@@ -329,9 +324,8 @@
             },
             },
             loadMap(points, namePoint, centerPoint, yqpoints) {
             loadMap(points, namePoint, centerPoint, yqpoints) {
                 let map = new BMap.Map("mapcontainer");
                 let map = new BMap.Map("mapcontainer");
-                map.enableScrollWheelZoom();// 启用滚轮缩放
-                map.enableDragging(); // 启用拖拽功能
-                // 设定中心点和地图级别
+                map.enableScrollWheelZoom();
+                map.enableDragging(); 
                 if (yqpoints) {
                 if (yqpoints) {
                     var id = yqpoints.id;
                     var id = yqpoints.id;
                     if (id == 1) {
                     if (id == 1) {
@@ -356,7 +350,7 @@
                         let arr = point.split(',');
                         let arr = point.split(',');
                         result1.push(new BMap.Point(arr[0], arr[1]));
                         result1.push(new BMap.Point(arr[0], arr[1]));
                     });
                     });
-                    // 创建多边形
+                    
                     let polygon1 = new BMap.Polygon(result1, {
                     let polygon1 = new BMap.Polygon(result1, {
                         strokeColor: "transparent",
                         strokeColor: "transparent",
                         strokeWeight: 0,
                         strokeWeight: 0,
@@ -365,13 +359,12 @@
                         fillColor: yqpoints.color,
                         fillColor: yqpoints.color,
                         fillOpacity: 0.85
                         fillOpacity: 0.85
                     });
                     });
-                    // 将多边形添加到地图中
+                    
                     map.addOverlay(polygon1);
                     map.addOverlay(polygon1);
                 } else if (!yqpoints && centerPoint) {
                 } else if (!yqpoints && centerPoint) {
                     let centerarr = centerPoint.split(',');
                     let centerarr = centerPoint.split(',');
                     map.centerAndZoom(new BMap.Point(centerarr[0], centerarr[1]), 17);
                     map.centerAndZoom(new BMap.Point(centerarr[0], centerarr[1]), 17);
                 } else {
                 } else {
-                    // map.centerAndZoom(new BMap.Point(106.635795,29.576181), 17);
                     map.centerAndZoom(new BMap.Point(106.651444, 29.48682), 14);
                     map.centerAndZoom(new BMap.Point(106.651444, 29.48682), 14);
                 }
                 }
                 map.setMapType(BMAP_NORMAL_MAP);
                 map.setMapType(BMAP_NORMAL_MAP);
@@ -382,7 +375,7 @@
                     let arr = point.split(',');
                     let arr = point.split(',');
                     result.push(new BMap.Point(arr[0], arr[1]));
                     result.push(new BMap.Point(arr[0], arr[1]));
                 });
                 });
-                // 创建多边形
+                
                 let polygon = new BMap.Polygon(result, {
                 let polygon = new BMap.Polygon(result, {
                     strokeColor: "#4BB664",
                     strokeColor: "#4BB664",
                     strokeWeight: 4,
                     strokeWeight: 4,
@@ -399,18 +392,18 @@
                         polygon.setStrokeColor('#4BB664');
                         polygon.setStrokeColor('#4BB664');
                     }
                     }
                 }, 500)
                 }, 500)
-                // 将多边形添加到地图中
+                
                 map.addOverlay(polygon);
                 map.addOverlay(polygon);
-                // 创建文本标签
+                
                 if (!namePoint) return;
                 if (!namePoint) return;
                 let namearr = namePoint.split(',');
                 let namearr = namePoint.split(',');
                 var opts = {
                 var opts = {
-                    position: new BMap.Point(namearr[0], namearr[1]), // 指定文本标签所在的地理位置
-                    offset: new BMap.Size(10, 10) // 设置文本偏移量
+                    position: new BMap.Point(namearr[0], namearr[1]), 
+                    offset: new BMap.Size(10, 10) 
                 };
                 };
-                // 创建文本标签对象,并添加到地图
+                
                 var label = new BMap.Label(this.tdcrDetail.landName, opts);
                 var label = new BMap.Label(this.tdcrDetail.landName, opts);
-                // 自定义文本标签样式
+                
                 label.setStyle({
                 label.setStyle({
                     color: "#186FF0",
                     color: "#186FF0",
                     fontSize: "18px",
                     fontSize: "18px",
@@ -421,8 +414,8 @@
                     backgroundColor: 'transparent',
                     backgroundColor: 'transparent',
                     border: 'none',
                     border: 'none',
                     textShadow: '0 0 4px #4B97F5',
                     textShadow: '0 0 4px #4B97F5',
-                    textStrokeColor: "#4B97F5", // 文本描边颜色
-                    textStrokeWidth: "4px", // 文本描边宽度
+                    textStrokeColor: "#4B97F5", 
+                    textStrokeWidth: "4px", 
                 });
                 });
                 map.addOverlay(label);
                 map.addOverlay(label);
 
 

+ 18 - 24
nngkxxdp/src/main/resources/static/naxsb/tdcrlist.html

@@ -288,7 +288,6 @@
                                 <div class="number">{{item.landArea}}&nbsp;亩</div>
                                 <div class="number">{{item.landArea}}&nbsp;亩</div>
                             </div>
                             </div>
                             <div class="title">{{item.landName}}</div>
                             <div class="title">{{item.landName}}</div>
-                            <!-- <div class="content"><img src="images/tdaddr.png" alt=""><span>{{item.addr}}</span> -->
                         </div>
                         </div>
                     </div>
                     </div>
                 </div>
                 </div>
@@ -301,10 +300,7 @@
 </body>
 </body>
 <script>
 <script>
     $(function () {
     $(function () {
-        /*公共部分
-        * 导航栏
-        * footer CopyRight
-        */
+        
         $(".header").load('top/top_style.html');
         $(".header").load('top/top_style.html');
         $(".footer").load('footer/footer.html');
         $(".footer").load('footer/footer.html');
     });
     });
@@ -314,7 +310,6 @@
         el: '#ztcr',
         el: '#ztcr',
         data: function () {
         data: function () {
             return {
             return {
-                // reqPtah: 'http://172.16.99.105:8082',
                 reqPtah: '',
                 reqPtah: '',
                 contentList: [],
                 contentList: [],
                 pageSize: 10000,
                 pageSize: 10000,
@@ -424,8 +419,8 @@
                     .then(response => response.json())
                     .then(response => response.json())
                     .then(data => {
                     .then(data => {
                         let map = new BMap.Map("mapcontainer");
                         let map = new BMap.Map("mapcontainer");
-                        map.enableScrollWheelZoom(); // 启用滚轮缩放
-                        map.enableDragging(); // 启用拖拽功能
+                        map.enableScrollWheelZoom(); 
+                        map.enableDragging(); 
                         map.centerAndZoom(new BMap.Point(106.651444, 29.51982), 13);
                         map.centerAndZoom(new BMap.Point(106.651444, 29.51982), 13);
                         map.setMapType(BMAP_NORMAL_MAP);
                         map.setMapType(BMAP_NORMAL_MAP);
                         var pointList = data.features[0].geometry.coordinates[0][0];
                         var pointList = data.features[0].geometry.coordinates[0][0];
@@ -433,7 +428,7 @@
                         pointList.forEach(function (point) {
                         pointList.forEach(function (point) {
                             result.push(new BMap.Point(point[0], point[1]));
                             result.push(new BMap.Point(point[0], point[1]));
                         });
                         });
-                        // 创建多边形
+                        
                         let polygon = new BMap.Polygon(result, {
                         let polygon = new BMap.Polygon(result, {
                             strokeColor: "#226cfb",
                             strokeColor: "#226cfb",
                             strokeWeight: 1.5,
                             strokeWeight: 1.5,
@@ -442,9 +437,9 @@
                             fillColor: "#4B98F6",
                             fillColor: "#4B98F6",
                             fillOpacity: 0.2
                             fillOpacity: 0.2
                         });
                         });
-                        // 将多边形添加到地图中
+                        
                         map.addOverlay(polygon);
                         map.addOverlay(polygon);
-                        //加载当前园区板块
+                        
                         if (that.yqMapAddr.addr) {
                         if (that.yqMapAddr.addr) {
                             var points = that.yqMapAddr.addr;
                             var points = that.yqMapAddr.addr;
                             let pointList = points.split('@');
                             let pointList = points.split('@');
@@ -453,7 +448,7 @@
                                 let arr = point.split(',');
                                 let arr = point.split(',');
                                 result.push(new BMap.Point(arr[0], arr[1]));
                                 result.push(new BMap.Point(arr[0], arr[1]));
                             });
                             });
-                            // 创建多边形
+                            
                             let polygon = new BMap.Polygon(result, {
                             let polygon = new BMap.Polygon(result, {
                                 strokeColor: "transparent",
                                 strokeColor: "transparent",
                                 strokeWeight: 0,
                                 strokeWeight: 0,
@@ -462,10 +457,10 @@
                                 fillColor: that.yqMapAddr.color,
                                 fillColor: that.yqMapAddr.color,
                                 fillOpacity: 0.5
                                 fillOpacity: 0.5
                             });
                             });
-                            // 将多边形添加到地图中
+                            
                             map.addOverlay(polygon);
                             map.addOverlay(polygon);
                         }
                         }
-                        //加载所有园区板块
+                        
                         var allpoints = that.allpointList;
                         var allpoints = that.allpointList;
                         if (allpoints) {
                         if (allpoints) {
                             var allpointList = that.titleList;
                             var allpointList = that.titleList;
@@ -477,7 +472,7 @@
                                     result.push(new BMap.Point(arr[0], arr[1]));
                                     result.push(new BMap.Point(arr[0], arr[1]));
                                 });
                                 });
                                 var color = polygonData.color;
                                 var color = polygonData.color;
-                                // 创建多边形
+                                
                                 let polygon = new BMap.Polygon(result, {
                                 let polygon = new BMap.Polygon(result, {
                                     strokeColor: "transparent",
                                     strokeColor: "transparent",
                                     strokeWeight: 0,
                                     strokeWeight: 0,
@@ -489,7 +484,7 @@
                                 map.addOverlay(polygon);
                                 map.addOverlay(polygon);
                             });
                             });
                         }
                         }
-                        //加载所有的土地板块
+                       
                         if (datalist.length) {
                         if (datalist.length) {
                             datalist.forEach(function (polygonData) {
                             datalist.forEach(function (polygonData) {
                                 let pointList = polygonData.point.split('@');
                                 let pointList = polygonData.point.split('@');
@@ -498,7 +493,7 @@
                                     let arr = point.split(',');
                                     let arr = point.split(',');
                                     result.push(new BMap.Point(arr[0], arr[1]));
                                     result.push(new BMap.Point(arr[0], arr[1]));
                                 });
                                 });
-                                // 创建多边形
+                                
                                 let polygon = new BMap.Polygon(result, {
                                 let polygon = new BMap.Polygon(result, {
                                     strokeColor: "red",
                                     strokeColor: "red",
                                     strokeWeight: 2,
                                     strokeWeight: 2,
@@ -510,7 +505,7 @@
                                 map.addOverlay(polygon);
                                 map.addOverlay(polygon);
                                 var id = polygonData.id;
                                 var id = polygonData.id;
 
 
-                                // 添加鼠标移入事件
+                                
                                 var label = new BMap.Label(polygonData.landName, {
                                 var label = new BMap.Label(polygonData.landName, {
                                     position: polygon.getBounds().getCenter(),
                                     position: polygon.getBounds().getCenter(),
                                     offset: new BMap.Size(0, 0)
                                     offset: new BMap.Size(0, 0)
@@ -525,22 +520,21 @@
                                     backgroundColor: 'transparent',
                                     backgroundColor: 'transparent',
                                     border: 'none',
                                     border: 'none',
                                     textShadow: '0 0 4px #4B97F5',
                                     textShadow: '0 0 4px #4B97F5',
-                                    textStrokeColor: "#4B97F5", // 文本描边颜色
-                                    textStrokeWidth: "4px", // 文本描边宽度
+                                    textStrokeColor: "#4B97F5", 
+                                    textStrokeWidth: "4px", 
                                 });
                                 });
                                 polygon.addEventListener("mouseover", function () {
                                 polygon.addEventListener("mouseover", function () {
                                     map.addOverlay(label);
                                     map.addOverlay(label);
                                     label.setStyle({ display: "block" });
                                     label.setStyle({ display: "block" });
                                 });
                                 });
 
 
-                                // 添加鼠标移出事件
+                                
                                 polygon.addEventListener("mouseout", function () {
                                 polygon.addEventListener("mouseout", function () {
-                                    // 清除标签
-                                    // var label = this.getLabel()
+                                   
                                     label.setStyle({ display: "none" });
                                     label.setStyle({ display: "none" });
                                 });
                                 });
 
 
-                                // 添加点击事件
+                                
                                 polygon.addEventListener("click", function () {
                                 polygon.addEventListener("click", function () {
                                     window.location.href = 'tdcr.html?tdid=' + id;
                                     window.location.href = 'tdcr.html?tdid=' + id;
                                 });
                                 });

+ 4 - 50
nngkxxdp/src/main/resources/static/naxsb/tsfw.html

@@ -138,7 +138,6 @@
 
 
         ::-webkit-scrollbar {
         ::-webkit-scrollbar {
             display: none;
             display: none;
-            /* Chrome Safari */
         }
         }
 
 
         .bottom .list {
         .bottom .list {
@@ -237,41 +236,6 @@
             </div>
             </div>
         </div>
         </div>
         <div class="container">
         <div class="container">
-            <!-- <div class="left">
-                <div class="list" v-for="(item, index)  in leftList" :key="index">
-                    <div class="title">
-                        <img src="images/bg-tsfw.png" alt="" style="width: 100%;height: 100%;">
-                        <p>{{item.parkForm}}</p>
-                    </div>
-                    <div class="content">
-                        <div v-for="(tabl, indexl)  in item.children" :key="indexl">
-                            {{indexl+1}}.{{tabl.information}}
-                        </div>
-                    </div>
-                </div>
-                <div class="list" v-if="!leftList.length">
-                    <div class="title">
-                        <img :src="'images/bg-tsfw1.png'" alt="" style="width: 100%;height: 100%;">
-                        <p>- </p>
-                    </div>
-                    <div class="content">
-                    </div>
-                </div>
-            </div>
-            <div class="right">
-                <div class="rlist">
-                    <p>联系人:</p>
-                    <p>{{person?person:'-'}}</p>
-                </div>
-                <div class="rlist">
-                    <p>电话:</p>
-                    <p>{{telphone?telphone:'-'}}</p>
-                </div>
-                <div class="rlist">
-                    <p>地址:</p>
-                    <p>{{address?address:'-'}}</p>
-                </div>
-            </div> -->
             <div class="top">
             <div class="top">
                 <div class="tlist">
                 <div class="tlist">
                     <img src="images/tslxr.png" alt="">
                     <img src="images/tslxr.png" alt="">
@@ -311,22 +275,18 @@
 </body>
 </body>
 <script>
 <script>
     $(function () {
     $(function () {
-        /*公共部分
-         * 导航栏
-         * footer CopyRight
-         */
+        
         $(".header").load('top/top_style.html');
         $(".header").load('top/top_style.html');
         $(".footer").load('footer/footer.html');
         $(".footer").load('footer/footer.html');
     });
     });
 </script>
 </script>
 <script>
 <script>
-    // 初始化Vue实例
+    
     new Vue({
     new Vue({
         el: '#tsfw',
         el: '#tsfw',
         data: function () {
         data: function () {
             return {
             return {
                 reqPtah: '',
                 reqPtah: '',
-                // reqPtah: 'http://172.16.99.105:8082',
                 leftList: [],
                 leftList: [],
                 titleList: [],
                 titleList: [],
                 person: '',
                 person: '',
@@ -341,12 +301,6 @@
                 this.activeName = val.name
                 this.activeName = val.name
                 this.getParkData(val.name);
                 this.getParkData(val.name);
                 this.getDetailData(val.name);
                 this.getDetailData(val.name);
-                // const arr = document.querySelectorAll('.mainTab>span')
-                // arr.forEach(item => {
-                //   item.classList.remove('activeTab')
-                //   arr[val - 1].classList.add('activeTab')
-                // })
-
             },
             },
             getDetailData(id) {
             getDetailData(id) {
                 let that = this;
                 let that = this;
@@ -394,11 +348,11 @@
                         let newList = []
                         let newList = []
                         value.forEach(item => {
                         value.forEach(item => {
                             let status = newList.find(el => el.parkForm === item
                             let status = newList.find(el => el.parkForm === item
-                                .parkForm) // 判断第一层级,用name属性来判断
+                                .parkForm) 
                             if (status) {
                             if (status) {
                                 status.children.push({
                                 status.children.push({
                                     ...item
                                     ...item
-                                }) // 将数据插入到第二层级中
+                                }) 
                             } else {
                             } else {
                                 let obj = {
                                 let obj = {
                                     ...item,
                                     ...item,

+ 2 - 91
nngkxxdp/src/main/resources/static/naxsb/wybdb.html

@@ -259,20 +259,10 @@
             </div>
             </div>
             <el-dialog title="南岸区重庆经开区帮办代办需求表" :visible.sync="dialogVisible" width="50%" @close="handleClose"
             <el-dialog title="南岸区重庆经开区帮办代办需求表" :visible.sync="dialogVisible" width="50%" @close="handleClose"
                 :close-on-click-modal="false">
                 :close-on-click-modal="false">
-                <!-- 表单内容 -->
                 <el-form ref="form" :model="form" :rules="rules" label-width="150px">
                 <el-form ref="form" :model="form" :rules="rules" label-width="150px">
                     <el-form-item label="项目单位名称" prop="unitName">
                     <el-form-item label="项目单位名称" prop="unitName">
                         <el-input v-model="form.unitName" placeholder="请输入项目单位名称"></el-input>
                         <el-input v-model="form.unitName" placeholder="请输入项目单位名称"></el-input>
                     </el-form-item>
                     </el-form-item>
-                    <!-- <el-form-item label="项目编码" prop="projectCoding">
-                    <el-input v-model="form.projectCoding" placeholder="请输入项目编码"></el-input>
-                </el-form-item>
-                <el-form-item label="是否重点项目" prop="keyProject">
-                    <el-radio-group v-model="form.keyProject">
-                        <el-radio label="是"></el-radio>
-                        <el-radio label="否"></el-radio>
-                    </el-radio-group>
-                </el-form-item> -->
                     <el-form-item label="项目单位地址" prop="projectAddr">
                     <el-form-item label="项目单位地址" prop="projectAddr">
                         <el-input type="textarea" v-model="form.projectAddr" placeholder="请输入项目单位地址"></el-input>
                         <el-input type="textarea" v-model="form.projectAddr" placeholder="请输入项目单位地址"></el-input>
                     </el-form-item>
                     </el-form-item>
@@ -294,9 +284,6 @@
                                 @blur="validatePhonejbr"></el-input>
                                 @blur="validatePhonejbr"></el-input>
                         </el-form-item>
                         </el-form-item>
                     </div>
                     </div>
-                    <!-- <el-form-item label="需帮办代办具体事项" prop="proxyMatters">
-                    <el-input type="textarea" v-model="form.proxyMatters" placeholder="请输入需帮办代办具体事项"></el-input>
-                </el-form-item> -->
                     <el-form-item label="需帮办代办具体事项" prop="proxyMatters">
                     <el-form-item label="需帮办代办具体事项" prop="proxyMatters">
                         <el-select v-model="form.proxyMatters" placeholder="请选择需帮办代办具体事项" style="width: 100%;">
                         <el-select v-model="form.proxyMatters" placeholder="请选择需帮办代办具体事项" style="width: 100%;">
                             <el-option label="政府投资房屋建筑和市政基础设施工程建设项目初步设计审批" value="政府投资房屋建筑和市政基础设施工程建设项目初步设计审批">
                             <el-option label="政府投资房屋建筑和市政基础设施工程建设项目初步设计审批" value="政府投资房屋建筑和市政基础设施工程建设项目初步设计审批">
@@ -343,7 +330,6 @@
                             <el-option label="食品经营许可变更" value="食品经营许可变更"></el-option>
                             <el-option label="食品经营许可变更" value="食品经营许可变更"></el-option>
                         </el-select>
                         </el-select>
                     </el-form-item>
                     </el-form-item>
-                    <!-- 帮办代办/联络人电话 -->
                     <div style="display: flex;">
                     <div style="display: flex;">
                         <el-form-item label="帮办代办联络人" prop="proxyName">
                         <el-form-item label="帮办代办联络人" prop="proxyName">
                             <el-input v-model="form.proxyName" placeholder="请输入帮办代办联络人"></el-input>
                             <el-input v-model="form.proxyName" placeholder="请输入帮办代办联络人"></el-input>
@@ -410,21 +396,12 @@
                 <tr class="title">
                 <tr class="title">
                     <td class="one" style="padding: 5px;">序号</td>
                     <td class="one" style="padding: 5px;">序号</td>
                     <td class="two">事项名称</td>
                     <td class="two">事项名称</td>
-                    <!-- <td class="three">所需材料</td> -->
                     <td class="four">审批部门</td>
                     <td class="four">审批部门</td>
                     <td class="five">咨询电话</td>
                     <td class="five">咨询电话</td>
                 </tr>
                 </tr>
                 <tr>
                 <tr>
                     <td class="one" rowspan="2">1</td>
                     <td class="one" rowspan="2">1</td>
                     <td class="two" rowspan="2">政府投资房屋建筑和市政基础设施工程建设项目初步设计审批</td>
                     <td class="two" rowspan="2">政府投资房屋建筑和市政基础设施工程建设项目初步设计审批</td>
-                    <!-- <td class="three">
-                    <span>1.公司登记(备案)申请书;</span>
-                    <span>2.公司章程;</span>
-                    <span>3.股东、发起人的主体资格文件或自然人身份证明;</span>
-                    <span>4.法定代表人、董事、监事和高级管理人员的任职文件;</span>
-                    <span>5.住所使用文件;</span>
-                    <span>6.其他视项目而论的必需材料。</span>
-                </td> -->
                     <td class="four">区住房城乡建委</td>
                     <td class="four">区住房城乡建委</td>
                     <td class="five">023-62606780、023-62988217</td>
                     <td class="five">023-62606780、023-62988217</td>
                 </tr>
                 </tr>
@@ -435,15 +412,6 @@
                 <tr>
                 <tr>
                     <td class="one" rowspan="2">2</td>
                     <td class="one" rowspan="2">2</td>
                     <td class="two" rowspan="2">建设工程消防设计审查</td>
                     <td class="two" rowspan="2">建设工程消防设计审查</td>
-                    <!-- <li class="three">
-                    <span>1.公司登记(备案)申请书;</span>
-                    <span>2.变更登记事项涉及公司章程修改的,提交修改公司章
-                        程的决议、决定;</span>
-                    <span>3.修改后的公司章程或者公司章程修正案;</span>
-                    <span>4.变更事项证明文件;;</span>
-                    <span>5.已领取纸质版营业执照的缴回所有营业执照正、副本;</span>
-                    <span>6.其他视项目而论的必需材料。</span>
-                </li> -->
                     <td class="four">区住房城乡建委</td>
                     <td class="four">区住房城乡建委</td>
                     <td class="five">023-62606780、023-62988355</td>
                     <td class="five">023-62606780、023-62988355</td>
                 </tr>
                 </tr>
@@ -454,14 +422,6 @@
                 <tr>
                 <tr>
                     <td class="one" rowspan="2">3</td>
                     <td class="one" rowspan="2">3</td>
                     <td class="two" rowspan="2">施工图审查备案</td>
                     <td class="two" rowspan="2">施工图审查备案</td>
-                    <!-- <td class="three">
-                    <span>1.公司登记(备案)申请书;</span>
-                    <span>2.公司章程;</span>
-                    <span>3.股东、发起人的主体资格文件或自然人身份证明;</span>
-                    <span>4.法定代表人、董事、监事和高级管理人员的任职文件;</span>
-                    <span>5.住所使用文件;</span>
-                    <span>6.其他视项目而论的必需材料。</span>
-                </td> -->
                     <td class="four">区住房城乡建委</td>
                     <td class="four">区住房城乡建委</td>
                     <td class="five">023-62606780、023-62988217</td>
                     <td class="five">023-62606780、023-62988217</td>
                 </tr>
                 </tr>
@@ -472,15 +432,6 @@
                 <tr>
                 <tr>
                     <td class="one" rowspan="2">4</td>
                     <td class="one" rowspan="2">4</td>
                     <td class="two" rowspan="2">建筑工程施工许可证核发</td>
                     <td class="two" rowspan="2">建筑工程施工许可证核发</td>
-                    <!-- <td class="three">
-                    <span>1.公司登记(备案)申请书;</span>
-                    <span>2.变更登记事项涉及公司章程修改的,提交修改公司章
-                        程的决议、决定;</span>
-                    <span>3.修改后的公司章程或者公司章程修正案;</span>
-                    <span>4.变更事项证明文件;;</span>
-                    <span>5.已领取纸质版营业执照的缴回所有营业执照正、副本;</span>
-                    <span>6.其他视项目而论的必需材料。</span>
-                </td> -->
                     <td class="four">区住房城乡建委</td>
                     <td class="four">区住房城乡建委</td>
                     <td class="five">023-62606780</td>
                     <td class="five">023-62606780</td>
                 </tr>
                 </tr>
@@ -491,12 +442,6 @@
                 <tr>
                 <tr>
                     <td class="one" rowspan="2">5</td>
                     <td class="one" rowspan="2">5</td>
                     <td class="two" rowspan="2">城镇污水排入排水管网许可</td>
                     <td class="two" rowspan="2">城镇污水排入排水管网许可</td>
-                    <!-- <td class="three">
-                    <span>1.食品经营许可申请书;</span>
-                    <span>2.平面布局图;</span>
-                    <span>3.食品安全管理制度文本;</span>
-                    <span>4.授权委托书</span>
-                </td> -->
                     <td class="four">区住房城乡建委</td>
                     <td class="four">区住房城乡建委</td>
                     <td class="five">023-62606780、023-62988221</td>
                     <td class="five">023-62606780、023-62988221</td>
                 </tr>
                 </tr>
@@ -507,12 +452,6 @@
                 <tr>
                 <tr>
                     <td class="one" rowspan="2">6</td>
                     <td class="one" rowspan="2">6</td>
                     <td class="two" rowspan="2">建设工程质量竣工验收监督</td>
                     <td class="two" rowspan="2">建设工程质量竣工验收监督</td>
-                    <!-- <td class="three">
-                    <span>1.食品经营许可申请书;</span>
-                    <span>2.平面布局图;</span>
-                    <span>3.食品安全管理制度文本;</span>
-                    <span>4.授权委托书</span>
-                </td> -->
                     <td class="four">区住房城乡建委</td>
                     <td class="four">区住房城乡建委</td>
                     <td class="five">023-62606780、023-62988225</td>
                     <td class="five">023-62606780、023-62988225</td>
                 </tr>
                 </tr>
@@ -737,10 +676,7 @@
 </body>
 </body>
 <script>
 <script>
     $(function () {
     $(function () {
-        /*公共部分
-        * 导航栏
-        * footer CopyRight
-        */
+        
         $(".header").load('top/top_style.html');
         $(".header").load('top/top_style.html');
         $(".footer").load('footer/footer.html');
         $(".footer").load('footer/footer.html');
     });
     });
@@ -754,8 +690,6 @@
                 reqPtah: '',
                 reqPtah: '',
                 form: {
                 form: {
                     unitName: '',
                     unitName: '',
-                    // projectCoding: '',
-                    // keyProject: '是',
                     projectAddr: '',
                     projectAddr: '',
                     chargeName: '',
                     chargeName: '',
                     chargePhone: '',
                     chargePhone: '',
@@ -808,26 +742,9 @@
                 this.$refs.form.resetFields();
                 this.$refs.form.resetFields();
             },
             },
             wybdb() {
             wybdb() {
-                // $.ajax({
-                //     url: conpath + '/proxyDemand/judge',
-                //     type: 'get',
-                //     contentType: 'application/json; charset=utf-8',
-                //     success: function (data) {
-                //         if (data.result === 'ok') {
-                //             this.dialogVisible = true;
-                //         } else {
-                //             this.$message.error(data.success || '提交失败!');
-                //             this.dialogVisible = false;
-                //         }
-                //     }.bind(this),
-                //     error: function (error) {
-                //         console.error('error:', error);
-                //     }
-                // });
                 this.dialogVisible = true;
                 this.dialogVisible = true;
             },
             },
             validatePhonefzr() {
             validatePhonefzr() {
-                // 这里可以添加手机号校验逻辑
                 const reg = /^1[3-9]\d{9}$/;
                 const reg = /^1[3-9]\d{9}$/;
                 if (!reg.test(this.form.chargePhone)) {
                 if (!reg.test(this.form.chargePhone)) {
                     this.$message.error('请输入有效的负责人手机号');
                     this.$message.error('请输入有效的负责人手机号');
@@ -837,7 +754,6 @@
                 }
                 }
             },
             },
             validatePhonejbr() {
             validatePhonejbr() {
-                // 这里可以添加手机号校验逻辑
                 const reg = /^1[3-9]\d{9}$/;
                 const reg = /^1[3-9]\d{9}$/;
                 if (!reg.test(this.form.handlerPhone)) {
                 if (!reg.test(this.form.handlerPhone)) {
                     this.$message.error('请输入有效的经办人手机号');
                     this.$message.error('请输入有效的经办人手机号');
@@ -847,7 +763,6 @@
                 }
                 }
             },
             },
             validatePhonellr() {
             validatePhonellr() {
-                // 这里可以添加手机号校验逻辑
                 const reg = /^1[3-9]\d{9}$/;
                 const reg = /^1[3-9]\d{9}$/;
                 if (!reg.test(this.form.proxyPhone)) {
                 if (!reg.test(this.form.proxyPhone)) {
                     this.$message.error('请输入有效的联络人手机号');
                     this.$message.error('请输入有效的联络人手机号');
@@ -857,7 +772,6 @@
                 }
                 }
             },
             },
             validatePhone() {
             validatePhone() {
-                // 验证手机号码的正则表达式
                 const reg = /^1[3-9]\d{9}$/;
                 const reg = /^1[3-9]\d{9}$/;
                 const validateSinglePhone = (field, label) => {
                 const validateSinglePhone = (field, label) => {
                     if (!reg.test(this.form[field])) {
                     if (!reg.test(this.form[field])) {
@@ -866,7 +780,6 @@
                     }
                     }
                     return true;
                     return true;
                 };
                 };
-                // 验证所有手机号码
                 if (!validateSinglePhone('chargePhone', '负责人')) {
                 if (!validateSinglePhone('chargePhone', '负责人')) {
                     return
                     return
                 }
                 }
@@ -885,14 +798,13 @@
                         if (!this.validatePhone()) {
                         if (!this.validatePhone()) {
                             return
                             return
                         }
                         }
-                        // this.form.keyProject = this.form.keyProject === '是' ? 1 : 0;
                         this.form.imgKey = sessionStorage.getItem("registerImageCodeKey");
                         this.form.imgKey = sessionStorage.getItem("registerImageCodeKey");
                         let formData = this.form; // 获取表单数据
                         let formData = this.form; // 获取表单数据
                         $.ajax({
                         $.ajax({
                             url: conpath + '/proxyDemand',
                             url: conpath + '/proxyDemand',
                             type: 'POST',
                             type: 'POST',
                             contentType: 'application/json; charset=utf-8',
                             contentType: 'application/json; charset=utf-8',
-                            data: JSON.stringify(formData), // 传递表单数据
+                            data: JSON.stringify(formData), 
                             dataType: 'json',
                             dataType: 'json',
                             success: function (data) {
                             success: function (data) {
                                 if (data.result === 'ok') {
                                 if (data.result === 'ok') {
@@ -913,7 +825,6 @@
                     }
                     }
                 });
                 });
             },
             },
-            /*创建uuid传给后端作redis的key值*/
             createUuid() {
             createUuid() {
                 var s = [];
                 var s = [];
                 var hexDigits = "0123456789abcdefghi";
                 var hexDigits = "0123456789abcdefghi";

+ 10 - 32
nngkxxdp/src/main/resources/static/naxsb/wyyy.html

@@ -81,11 +81,6 @@
             /* 你想要的高度 */
             /* 你想要的高度 */
         }
         }
 
 
-        /* .el-dialog__body::-webkit-scrollbar {
-            width: 0px;
-            height: 0px;
-        } */
-
         .el-image {
         .el-image {
             min-width: 90px;
             min-width: 90px;
             margin-left: 10px;
             margin-left: 10px;
@@ -124,13 +119,11 @@
             }
             }
         }
         }
 
 
-        /* 普通IE浏览器 样式清除 */
         input::-webkit-outer-spin-button,
         input::-webkit-outer-spin-button,
         input::-webkit-inner-spin-button {
         input::-webkit-inner-spin-button {
             -webkit-appearance: none !important;
             -webkit-appearance: none !important;
         }
         }
 
 
-        /* 火狐浏览器样式清除 */
         input[type="number"] {
         input[type="number"] {
             -moz-appearance: textfield;
             -moz-appearance: textfield;
         }
         }
@@ -224,7 +217,6 @@
             </div>
             </div>
             <el-dialog title="周六预约“加班办”报名表" :visible.sync="dialogVisible" width="40vw" @close="handleClose"
             <el-dialog title="周六预约“加班办”报名表" :visible.sync="dialogVisible" width="40vw" @close="handleClose"
                 :close-on-click-modal="false">
                 :close-on-click-modal="false">
-                <!-- 表单内容 -->
                 <el-form ref="form" :model="form" :rules="rules" label-width="135px">
                 <el-form ref="form" :model="form" :rules="rules" label-width="135px">
                     <el-form-item label="姓名" prop="overtimeName">
                     <el-form-item label="姓名" prop="overtimeName">
                         <el-input v-model="form.overtimeName" placeholder="请输入姓名"></el-input>
                         <el-input v-model="form.overtimeName" placeholder="请输入姓名"></el-input>
@@ -238,9 +230,6 @@
                         <el-input v-model="form.overtimePhone" placeholder="请输入手机号" maxlength="11" show-word-limit
                         <el-input v-model="form.overtimePhone" placeholder="请输入手机号" maxlength="11" show-word-limit
                             @blur="validatePhone"></el-input>
                             @blur="validatePhone"></el-input>
                     </el-form-item>
                     </el-form-item>
-                    <!-- <el-form-item label="拟办理业务" prop="business">
-                    <el-input type="textarea" v-model="form.business" placeholder="请输入拟办理业务"></el-input>
-                </el-form-item> -->
                     <el-form-item label="拟办理业务" prop="business">
                     <el-form-item label="拟办理业务" prop="business">
                         <el-select v-model="form.business" placeholder="请选择拟办理业务" style="width: 100%;">
                         <el-select v-model="form.business" placeholder="请选择拟办理业务" style="width: 100%;">
                             <el-option label="户政业务" value="户政业务"></el-option>
                             <el-option label="户政业务" value="户政业务"></el-option>
@@ -352,10 +341,7 @@
 </body>
 </body>
 <script>
 <script>
     $(function () {
     $(function () {
-        /*公共部分
-        * 导航栏
-        * footer CopyRight
-        */
+        
         $(".header").load('top/top_style.html');
         $(".header").load('top/top_style.html');
         $(".footer").load('footer/footer.html');
         $(".footer").load('footer/footer.html');
     });
     });
@@ -416,7 +402,7 @@
                 this.$refs.form.resetFields();
                 this.$refs.form.resetFields();
             },
             },
             validatePhone() {
             validatePhone() {
-                // 这里可以添加手机号校验逻辑
+                
                 const reg = /^1[3-9]\d{9}$/;
                 const reg = /^1[3-9]\d{9}$/;
                 if (!reg.test(this.form.overtimePhone)) {
                 if (!reg.test(this.form.overtimePhone)) {
                     this.$message.error('请输入有效的手机号');
                     this.$message.error('请输入有效的手机号');
@@ -427,10 +413,8 @@
             },
             },
             getThisWeekSaturday() {
             getThisWeekSaturday() {
                 const now = new Date();
                 const now = new Date();
-                const dayOfWeek = now.getDay(); // 0 表示星期日,6 表示星期六
+                const dayOfWeek = now.getDay(); 
                 const daysToSaturday = 6 - dayOfWeek;
                 const daysToSaturday = 6 - dayOfWeek;
-                // 如果今天是星期六,则本周六就是今天
-                // 如果今天不是星期六,则加上今天和星期六之间的天数
                 const saturday = new Date(
                 const saturday = new Date(
                     now.getFullYear(),
                     now.getFullYear(),
                     now.getMonth(),
                     now.getMonth(),
@@ -440,21 +424,18 @@
 
 
             },
             },
             formatDate(dateString) {
             formatDate(dateString) {
-                var date = new Date(dateString); // 解析日期时间字符串
-                var year = date.getFullYear(); // 获取年份
-                var month = date.getMonth() + 1; // 获取月份,+1是因为月份是从0开始的
-                var day = date.getDate(); // 获取日期
+                var date = new Date(dateString); 
+                var year = date.getFullYear(); 
+                var month = date.getMonth() + 1; 
+                var day = date.getDate();
 
 
-                // 将月份和日期格式化为两位数,如果小于10,则前面补0
                 month = month < 10 ? '0' + month : month;
                 month = month < 10 ? '0' + month : month;
                 day = day < 10 ? '0' + day : day;
                 day = day < 10 ? '0' + day : day;
 
 
-                // 将年、月、日拼接成MM-DD-YY格式
                 var formattedDate = year + '-' + month + '-' + day;
                 var formattedDate = year + '-' + month + '-' + day;
                 return formattedDate;
                 return formattedDate;
             },
             },
             submitForm(formName) {
             submitForm(formName) {
-                // 使用方法
                 const saturdayDate = this.getThisWeekSaturday();
                 const saturdayDate = this.getThisWeekSaturday();
                 var nowdate = this.formatDate(saturdayDate);
                 var nowdate = this.formatDate(saturdayDate);
                 this.form.imgKey = sessionStorage.getItem("registerImageCodeKey");
                 this.form.imgKey = sessionStorage.getItem("registerImageCodeKey");
@@ -473,34 +454,31 @@
                             handleTime: nowdate + ' ' + this.form.date2,
                             handleTime: nowdate + ' ' + this.form.date2,
                             imgCode: this.form.imgCode
                             imgCode: this.form.imgCode
                         }
                         }
-                        // AJAX 请求
                         $.ajax({
                         $.ajax({
                             url: conpath + '/reserveOvertime',
                             url: conpath + '/reserveOvertime',
                             type: 'post',
                             type: 'post',
                             contentType: 'application/json; charset=utf-8',
                             contentType: 'application/json; charset=utf-8',
-                            data: JSON.stringify(formData), // 传递表单数据
+                            data: JSON.stringify(formData), 
                             dataType: 'json',
                             dataType: 'json',
                             success: function (data) {
                             success: function (data) {
                                 if (data.result === 'ok') {
                                 if (data.result === 'ok') {
                                     this.$message.success('预约成功!');
                                     this.$message.success('预约成功!');
-                                    this.dialogVisible = false; // 关闭对话框
+                                    this.dialogVisible = false;
                                 } else {
                                 } else {
                                     this.getVerifyCode();
                                     this.getVerifyCode();
                                     this.$message.error(data.success || '预约失败!');
                                     this.$message.error(data.success || '预约失败!');
                                 }
                                 }
-                            }.bind(this), // 确保 `this` 指向 Vue 实例
+                            }.bind(this), 
                             error: function (error) {
                             error: function (error) {
                                 alert("请求发送失败");
                                 alert("请求发送失败");
                             }
                             }
                         });
                         });
-                        // 提交表单的其他逻辑
                         console.log('提交的数据:', formData);
                         console.log('提交的数据:', formData);
                     } else {
                     } else {
                         return false;
                         return false;
                     }
                     }
                 });
                 });
             },
             },
-            /*创建uuid传给后端作redis的key值*/
             createUuid() {
             createUuid() {
                 var s = [];
                 var s = [];
                 var hexDigits = "0123456789abcdefghi";
                 var hexDigits = "0123456789abcdefghi";

+ 10 - 13
nngkxxdp/src/main/resources/static/naxsb/znxz.html

@@ -293,10 +293,7 @@
 </body>
 </body>
 <script>
 <script>
     $(function () {
     $(function () {
-        /*公共部分
-        * 导航栏
-        * footer CopyRight
-        */
+        
         $(".header").load('top/top_style.html');
         $(".header").load('top/top_style.html');
         $(".footer").load('footer/footer.html');
         $(".footer").load('footer/footer.html');
     });
     });
@@ -350,7 +347,7 @@
                         that.contentList = dataList.sort((a, b) => { return b.recommend - a.recommend });
                         that.contentList = dataList.sort((a, b) => { return b.recommend - a.recommend });
                         let newProperty = "";
                         let newProperty = "";
                         dataList.forEach(function (d) {
                         dataList.forEach(function (d) {
-                            // 添加选择地址
+                            
                             if (!d.point) return;
                             if (!d.point) return;
                             let pList = d.point.split('@');
                             let pList = d.point.split('@');
                             pList.forEach(function (point) {
                             pList.forEach(function (point) {
@@ -369,8 +366,8 @@
             loadMap(currentPoint) {
             loadMap(currentPoint) {
                 let that = this;
                 let that = this;
                 that.parkMap = new BMap.Map("mapcontainer");
                 that.parkMap = new BMap.Map("mapcontainer");
-                that.parkMap.enableScrollWheelZoom();// 启用滚轮缩放
-                that.parkMap.enableDragging(); // 启用拖拽功能
+                that.parkMap.enableScrollWheelZoom();
+                that.parkMap.enableDragging(); 
                 //中心坐标
                 //中心坐标
                 if (currentPoint) {
                 if (currentPoint) {
                     let currPoint = currentPoint.split(',');
                     let currPoint = currentPoint.split(',');
@@ -385,15 +382,15 @@
                         let arr = point.split(',');
                         let arr = point.split(',');
                         let p = new BMap.Point(arr[0], arr[1]);
                         let p = new BMap.Point(arr[0], arr[1]);
                         var myIcon = new BMap.Icon("images/addrzt.png", new BMap.Size(40, 40), {
                         var myIcon = new BMap.Icon("images/addrzt.png", new BMap.Size(40, 40), {
-                            offset: new BMap.Size(10, 25), // 指定定位位置
+                            offset: new BMap.Size(10, 25), 
                         });
                         });
                         let marker = new BMap.Marker(p, { icon: myIcon });
                         let marker = new BMap.Marker(p, { icon: myIcon });
                         var opts = {
                         var opts = {
-                            position: new BMap.Point(arr[0], arr[1]), // 指定文本标签所在的地理位置
-                            offset: new BMap.Size(10, 10) // 设置文本偏移量
+                            position: new BMap.Point(arr[0], arr[1]), 
+                            offset: new BMap.Size(10, 10) 
                         };
                         };
 
 
-                        // 创建文本标注对象
+                        
                         var label = new BMap.Label(d.carrierName, opts);
                         var label = new BMap.Label(d.carrierName, opts);
                         label.setStyle({
                         label.setStyle({
                             color: "#186FF0",
                             color: "#186FF0",
@@ -404,8 +401,8 @@
                             fontWeight: 'bold',
                             fontWeight: 'bold',
                             backgroundColor: 'transparent',
                             backgroundColor: 'transparent',
                             textShadow: '0 0 4px #4B97F5',
                             textShadow: '0 0 4px #4B97F5',
-                            textStrokeColor: "#4B97F5", // 文本描边颜色
-                            textStrokeWidth: "4px", // 文本描边宽度
+                            textStrokeColor: "#4B97F5", 
+                            textStrokeWidth: "4px", 
                             fontSize: "18px",
                             fontSize: "18px",
                             height: "20px",
                             height: "20px",
                             lineHeight: "20px",
                             lineHeight: "20px",

+ 7 - 18
nngkxxdp/src/main/resources/static/naxsb/znxzchoice.html

@@ -189,10 +189,7 @@
 </body>
 </body>
 <script>
 <script>
     $(function () {
     $(function () {
-        /*公共部分
-        * 导航栏
-        * footer CopyRight
-        */
+        
         $(".header").load('top/top_style.html');
         $(".header").load('top/top_style.html');
         $(".footer").load('footer/footer.html');
         $(".footer").load('footer/footer.html');
     });
     });
@@ -440,8 +437,8 @@
             },
             },
             loadMap() {
             loadMap() {
                 var map = new BMapGL.Map("mapcontainer");
                 var map = new BMapGL.Map("mapcontainer");
-                map.enableScrollWheelZoom();// 启用滚轮缩放
-                map.enableDragging(); // 启用拖拽功能
+                map.enableScrollWheelZoom();
+                map.enableDragging(); 
                 map.centerAndZoom(new BMapGL.Point(106.651444, 29.48682), 14);
                 map.centerAndZoom(new BMapGL.Point(106.651444, 29.48682), 14);
 
 
             }
             }
@@ -456,22 +453,22 @@
     var that = this;
     var that = this;
     document.addEventListener('DOMContentLoaded', function () {
     document.addEventListener('DOMContentLoaded', function () {
 
 
-        //获取服务类型tab
+        
         var tabsContainer = document.getElementById('fwhy');
         var tabsContainer = document.getElementById('fwhy');
-        var fwhyselectedTabs = []; // 用于存储选中的Tab
+        var fwhyselectedTabs = []; 
 
 
         tabsContainer.addEventListener('click', function (event) {
         tabsContainer.addEventListener('click', function (event) {
             if (event.target.matches('.list')) {
             if (event.target.matches('.list')) {
                 var tabTarget = event.target.getAttribute('data-tab-target');
                 var tabTarget = event.target.getAttribute('data-tab-target');
                 if (fwhyselectedTabs.includes(tabTarget) && tabTarget != "不限") {
                 if (fwhyselectedTabs.includes(tabTarget) && tabTarget != "不限") {
-                    // 移除已选中的Tab
+                    
                     fwhyselectedTabs = fwhyselectedTabs.filter(function (selectedTab) {
                     fwhyselectedTabs = fwhyselectedTabs.filter(function (selectedTab) {
                         return selectedTab !== tabTarget;
                         return selectedTab !== tabTarget;
                     });
                     });
                     event.target.classList.remove('active');
                     event.target.classList.remove('active');
                 }
                 }
                 else {
                 else {
-                    // 添加新选中的Tab
+                   
                     fwhyselectedTabs.push(tabTarget);
                     fwhyselectedTabs.push(tabTarget);
                     if (tabTarget != "不限") {
                     if (tabTarget != "不限") {
                         event.target.classList.add('active');
                         event.target.classList.add('active');
@@ -482,8 +479,6 @@
                         fwhyselectedTabs = ['不限']
                         fwhyselectedTabs = ['不限']
                     }
                     }
                 }
                 }
-                // 更新界面以反映当前选中的Tab
-                // 输出选中的Tab数组
                 if (fwhyselectedTabs[0] == "不限") {
                 if (fwhyselectedTabs[0] == "不限") {
                     fwhyselectedTabs = [];
                     fwhyselectedTabs = [];
                     that.nowDiv.currfwhy = '';
                     that.nowDiv.currfwhy = '';
@@ -493,8 +488,6 @@
             }
             }
         });
         });
 
 
-
-        //获取载体类型tab
         var tabsContainerztlx = document.getElementById('ztlx');
         var tabsContainerztlx = document.getElementById('ztlx');
         var ztlxselectedTabs = [];
         var ztlxselectedTabs = [];
         tabsContainerztlx.addEventListener('click', function (event) {
         tabsContainerztlx.addEventListener('click', function (event) {
@@ -524,8 +517,6 @@
                 }
                 }
             }
             }
         });
         });
-
-        //获取周边配套tab
         var tabsContainerzbpt = document.getElementById('zbpt');
         var tabsContainerzbpt = document.getElementById('zbpt');
         var zbptselectedTabs = [];
         var zbptselectedTabs = [];
         tabsContainerzbpt.addEventListener('click', function (event) {
         tabsContainerzbpt.addEventListener('click', function (event) {
@@ -556,7 +547,6 @@
             }
             }
         });
         });
 
 
-        //获取租赁类型tab
         var tabsContainerzlqk = document.getElementById('zlqk');
         var tabsContainerzlqk = document.getElementById('zlqk');
         var zlqkselectedTabs = [];
         var zlqkselectedTabs = [];
         tabsContainerzlqk.addEventListener('click', function (event) {
         tabsContainerzlqk.addEventListener('click', function (event) {
@@ -587,7 +577,6 @@
             }
             }
         });
         });
 
 
-        //获取所属园区tab
         var tabsContainerssyq = document.getElementById('ssyq');
         var tabsContainerssyq = document.getElementById('ssyq');
         var ssyqselectedTabs = [];
         var ssyqselectedTabs = [];
         var ssyqtitle = [];
         var ssyqtitle = [];

+ 33 - 61
nngkxxdp/src/main/resources/static/naxsb/ztcrdetail.html

@@ -23,7 +23,6 @@
     <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/jquery-3.5.1.min.js"></script>
     <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/jquery-3.5.1.min.js"></script>
     <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=7XivTux4H2e1ifKLjvEhxfuayDYxAluq">
     <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=7XivTux4H2e1ifKLjvEhxfuayDYxAluq">
     </script>
     </script>
-    <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/jquery-3.5.1.min.js"></script>
     <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/urljson.js"></script>
     <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/urljson.js"></script>
     <style>
     <style>
         .contentleft {
         .contentleft {
@@ -338,10 +337,7 @@
 </body>
 </body>
 <script>
 <script>
     $(function () {
     $(function () {
-        /*公共部分
-         * 导航栏
-         * footer CopyRight
-         */
+        
         $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
         $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
         $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
         $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
     });
     });
@@ -404,18 +400,18 @@
                         let arr = item.complementPoint.split(',');
                         let arr = item.complementPoint.split(',');
                         let p = new BMap.Point(arr[0], arr[1]);
                         let p = new BMap.Point(arr[0], arr[1]);
                         var myIcon = new BMap.Icon("images/addrzb.png", new BMap.Size(23, 25), {
                         var myIcon = new BMap.Icon("images/addrzb.png", new BMap.Size(23, 25), {
-                            offset: new BMap.Size(10, 25), // 指定定位位置
+                            offset: new BMap.Size(10, 25),
                         });
                         });
                         let marker = new BMap.Marker(p, { icon: myIcon });
                         let marker = new BMap.Marker(p, { icon: myIcon });
                         marker.id = "zbId";
                         marker.id = "zbId";
                         that.map.addOverlay(marker);
                         that.map.addOverlay(marker);
                         var opts = {
                         var opts = {
-                            position: new BMap.Point(arr[0], arr[1]), // 指定文本标签所在的地理位置
-                            offset: new BMap.Size(10, 10) // 设置文本偏移量
+                            position: new BMap.Point(arr[0], arr[1]), 
+                            offset: new BMap.Size(10, 10) 
                         };
                         };
-                        // 创建文本标签对象,并添加到地图
+                        
                         var label = new BMap.Label(item.complementName, opts);
                         var label = new BMap.Label(item.complementName, opts);
-                        // 自定义文本标签样式
+                        
                         label.setStyle({
                         label.setStyle({
                             color: "#186FF0",
                             color: "#186FF0",
                             fontSize: "16px",
                             fontSize: "16px",
@@ -424,10 +420,7 @@
                             fontFamily: "微软雅黑",
                             fontFamily: "微软雅黑",
                             fontWeight: 'bold',
                             fontWeight: 'bold',
                             backgroundColor: 'transparent',
                             backgroundColor: 'transparent',
-                            border: 'none',
-                            // textShadow: '0 0 4px #4B97F5',
-                            // textStrokeColor: "#4B97F5", // 文本描边颜色
-                            // textStrokeWidth: "4px", // 文本描边宽度
+                            border: 'none'
                         });
                         });
                         marker.setLabel(label);
                         marker.setLabel(label);
                         label.setStyle({ display: "none" });
                         label.setStyle({ display: "none" });
@@ -459,7 +452,7 @@
                     url: conpath + "/complement/findByBuild",
                     url: conpath + "/complement/findByBuild",
                     type: 'POST',
                     type: 'POST',
                     contentType: 'application/json; charset=utf-8',
                     contentType: 'application/json; charset=utf-8',
-                    data: JSON.stringify(formData), // 传递表单数据
+                    data: JSON.stringify(formData), 
                     dataType: 'json',
                     dataType: 'json',
                     success: function (data) {
                     success: function (data) {
                         let mdata = data.data;
                         let mdata = data.data;
@@ -468,18 +461,18 @@
                             let arr = item.complementPoint.split(',');
                             let arr = item.complementPoint.split(',');
                             let p = new BMap.Point(arr[0], arr[1]);
                             let p = new BMap.Point(arr[0], arr[1]);
                             var myIcon = new BMap.Icon("images/addrzb.png", new BMap.Size(23, 25), {
                             var myIcon = new BMap.Icon("images/addrzb.png", new BMap.Size(23, 25), {
-                                offset: new BMap.Size(10, 25), // 指定定位位置
+                                offset: new BMap.Size(10, 25),
                             });
                             });
                             let marker = new BMap.Marker(p, { icon: myIcon });
                             let marker = new BMap.Marker(p, { icon: myIcon });
                             marker.id = "zbId";
                             marker.id = "zbId";
                             that.map.addOverlay(marker);
                             that.map.addOverlay(marker);
                             var opts = {
                             var opts = {
-                                position: new BMap.Point(arr[0], arr[1]), // 指定文本标签所在的地理位置
-                                offset: new BMap.Size(10, 10) // 设置文本偏移量
+                                position: new BMap.Point(arr[0], arr[1]), 
+                                offset: new BMap.Size(10, 10) 
                             };
                             };
-                            // 创建文本标签对象,并添加到地图
+                            
                             var label = new BMap.Label(item.complementName, opts);
                             var label = new BMap.Label(item.complementName, opts);
-                            // 自定义文本标签样式
+                            
                             label.setStyle({
                             label.setStyle({
                                 color: "#186FF0",
                                 color: "#186FF0",
                                 fontSize: "16px",
                                 fontSize: "16px",
@@ -488,10 +481,7 @@
                                 fontFamily: "微软雅黑",
                                 fontFamily: "微软雅黑",
                                 fontWeight: 'bold',
                                 fontWeight: 'bold',
                                 backgroundColor: 'transparent',
                                 backgroundColor: 'transparent',
-                                border: 'none',
-                                // textShadow: '0 0 4px #4B97F5',
-                                // textStrokeColor: "#4B97F5", // 文本描边颜色
-                                // textStrokeWidth: "4px", // 文本描边宽度
+                                border: 'none'
                             });
                             });
                             marker.setLabel(label);
                             marker.setLabel(label);
                             label.setStyle({ display: "none" });
                             label.setStyle({ display: "none" });
@@ -517,18 +507,18 @@
                 }
                 }
                 let p = new BMap.Point(point1, point2);
                 let p = new BMap.Point(point1, point2);
                 var myIcon = new BMap.Icon("images/addrchose.png", new BMap.Size(23, 25), {
                 var myIcon = new BMap.Icon("images/addrchose.png", new BMap.Size(23, 25), {
-                    offset: new BMap.Size(10, 25), // 指定定位位置
+                    offset: new BMap.Size(10, 25),
                 });
                 });
                 let marker = new BMap.Marker(p, { icon: myIcon });
                 let marker = new BMap.Marker(p, { icon: myIcon });
                 marker.id = "zbId";
                 marker.id = "zbId";
                 this.map.addOverlay(marker);
                 this.map.addOverlay(marker);
                 var opts = {
                 var opts = {
-                    position: new BMap.Point(point1, point2), // 指定文本标签所在的地理位置
-                    offset: new BMap.Size(10, 10) // 设置文本偏移量
+                    position: new BMap.Point(point1, point2), 
+                    offset: new BMap.Size(10, 10) 
                 };
                 };
-                // 创建文本标签对象,并添加到地图
+                
                 var label = new BMap.Label(name, opts);
                 var label = new BMap.Label(name, opts);
-                // 自定义文本标签样式
+                
                 label.setStyle({
                 label.setStyle({
                     color: "#186FF0",
                     color: "#186FF0",
                     fontSize: "18px",
                     fontSize: "18px",
@@ -539,8 +529,8 @@
                     backgroundColor: 'transparent',
                     backgroundColor: 'transparent',
                     border: 'none',
                     border: 'none',
                     textShadow: '0 0 4px #4B97F5',
                     textShadow: '0 0 4px #4B97F5',
-                    textStrokeColor: "#4B97F5", // 文本描边颜色
-                    textStrokeWidth: "4px", // 文本描边宽度
+                    textStrokeColor: "#4B97F5", 
+                    textStrokeWidth: "4px", 
                 });
                 });
 
 
                 marker.setLabel(label);
                 marker.setLabel(label);
@@ -599,9 +589,8 @@
             loadMap(points, currPoints, namePoint, centerPoint) {
             loadMap(points, currPoints, namePoint, centerPoint) {
                 let map = new BMap.Map("mapcontainer");
                 let map = new BMap.Map("mapcontainer");
                 this.map = map;
                 this.map = map;
-                map.enableScrollWheelZoom(); // 启用滚轮缩放
-                map.enableDragging(); // 启用拖拽功能
-                //设定中心点和地图级别
+                map.enableScrollWheelZoom(); 
+                map.enableDragging(); 
                 if (!currPoints) {
                 if (!currPoints) {
                     map.centerAndZoom(new BMap.Point(106.6438551, 29.480752), 17);
                     map.centerAndZoom(new BMap.Point(106.6438551, 29.480752), 17);
                 } else {
                 } else {
@@ -620,7 +609,7 @@
                         pointList.forEach(function (point) {
                         pointList.forEach(function (point) {
                             result.push(new BMap.Point(point[0], point[1]));
                             result.push(new BMap.Point(point[0], point[1]));
                         });
                         });
-                        // 创建多边形
+                        
                         let polygon = new BMap.Polygon(result, {
                         let polygon = new BMap.Polygon(result, {
                             strokeColor: "#226cfb",
                             strokeColor: "#226cfb",
                             strokeWeight: 1.5,
                             strokeWeight: 1.5,
@@ -629,45 +618,28 @@
                             fillColor: "#4B98F6",
                             fillColor: "#4B98F6",
                             fillOpacity: 0.2
                             fillOpacity: 0.2
                         });
                         });
-                        // 将多边形添加到地图中
+                        
                         that.map.addOverlay(polygon);
                         that.map.addOverlay(polygon);
                     })
                     })
                     .catch(error => console.error('Error fetching JSON:', error));
                     .catch(error => console.error('Error fetching JSON:', error));
-                map.setMapType(BMAP_NORMAL_MAP);
-                // var startPoint = new BMap.Point(106.656815, 29.512621);
-                // var endPoint = new BMap.Point(106.659483, 29.48807);
-                // var driving = new BMap.DrivingRoute(map, {
-                //     renderOptions: { map: map, autoViewport: true }
-                // });
-                // driving.search(startPoint, endPoint);
-                // var transit = new BMap.TransitRoute(map, {
-                //     renderOptions: { map: map, autoViewport: true }
-                // });
-                // transit.search(startPoint, endPoint);
-                // driving.addEventListener('onPolylinesSet', function (e) {
-                //     var polyline = e.getPolyline();
-                //     polyline.setStrokeColor("#38CA69"); // 设置路线颜色
-                //     polyline.setStrokeWeight(5); // 设置路线宽度
-                //     polyline.setStrokeOpacity(1); // 设置路线透明度
-                // });
-                // 添加选择地址
+                map.setMapType(BMAP_NORMAL_MAP);                
                 if (!currPoints) return;
                 if (!currPoints) return;
                 let pList = currPoints.split('@');
                 let pList = currPoints.split('@');
                 pList.forEach(function (point) {
                 pList.forEach(function (point) {
                     let arr = point.split(',');
                     let arr = point.split(',');
                     let p = new BMap.Point(arr[0], arr[1]);
                     let p = new BMap.Point(arr[0], arr[1]);
                     var myIcon = new BMap.Icon("images/addrzt.png", new BMap.Size(40, 40), {
                     var myIcon = new BMap.Icon("images/addrzt.png", new BMap.Size(40, 40), {
-                        offset: new BMap.Size(10, 25), // 指定定位位置
+                        offset: new BMap.Size(10, 25),
                     });
                     });
                     let marker = new BMap.Marker(p, { icon: myIcon });
                     let marker = new BMap.Marker(p, { icon: myIcon });
                     map.addOverlay(marker);
                     map.addOverlay(marker);
                     var opts = {
                     var opts = {
-                        position: new BMap.Point(arr[0], arr[1]), // 指定文本标签所在的地理位置
-                        offset: new BMap.Size(10, 10) // 设置文本偏移量
+                        position: new BMap.Point(arr[0], arr[1]), 
+                        offset: new BMap.Size(10, 10) 
                     };
                     };
-                    // 创建文本标签对象,并添加到地图
+                    
                     var label = new BMap.Label(that.ztcrDetail.carrierName, opts);
                     var label = new BMap.Label(that.ztcrDetail.carrierName, opts);
-                    // 自定义文本标签样式
+                    
                     label.setStyle({
                     label.setStyle({
                         color: "#186FF0",
                         color: "#186FF0",
                         fontSize: "18px",
                         fontSize: "18px",
@@ -678,8 +650,8 @@
                         backgroundColor: 'transparent',
                         backgroundColor: 'transparent',
                         border: 'none',
                         border: 'none',
                         textShadow: '0 0 4px #4B97F5',
                         textShadow: '0 0 4px #4B97F5',
-                        textStrokeColor: "#4B97F5", // 文本描边颜色
-                        textStrokeWidth: "4px", // 文本描边宽度
+                        textStrokeColor: "#4B97F5", 
+                        textStrokeWidth: "4px", 
                     });
                     });
                     map.addOverlay(label);
                     map.addOverlay(label);
                 });
                 });

+ 12 - 16
nngkxxdp/src/main/resources/static/naxsb/ztcrlist.html

@@ -277,10 +277,7 @@
 </body>
 </body>
 <script>
 <script>
     $(function () {
     $(function () {
-        /*公共部分
-        * 导航栏
-        * footer CopyRight
-        */
+        
         $(".header").load('top/top_style.html');
         $(".header").load('top/top_style.html');
         $(".footer").load('footer/footer.html');
         $(".footer").load('footer/footer.html');
     });
     });
@@ -417,10 +414,9 @@
                     .then(data => {
                     .then(data => {
                         var centerPoint = data.features[0].properties.center;
                         var centerPoint = data.features[0].properties.center;
                         that.parkMap = new BMap.Map("mapcontainer");
                         that.parkMap = new BMap.Map("mapcontainer");
-                        that.parkMap.enableScrollWheelZoom();// 启用滚轮缩放
-                        that.parkMap.enableDragging(); // 启用拖拽功能
+                        that.parkMap.enableScrollWheelZoom();
+                        that.parkMap.enableDragging(); 
                         const id = that.currentPq;
                         const id = that.currentPq;
-                        // 设定中心点和地图级别
                         if (id == 1) {
                         if (id == 1) {
                             that.parkMap.centerAndZoom(new BMap.Point(106.651444, 29.45682), 14);
                             that.parkMap.centerAndZoom(new BMap.Point(106.651444, 29.45682), 14);
                         } else if (id == 2) {
                         } else if (id == 2) {
@@ -442,7 +438,7 @@
                         pointList.forEach(function (point) {
                         pointList.forEach(function (point) {
                             result.push(new BMap.Point(point[0], point[1]));
                             result.push(new BMap.Point(point[0], point[1]));
                         });
                         });
-                        // 创建多边形
+                        
                         let polygon = new BMap.Polygon(result, {
                         let polygon = new BMap.Polygon(result, {
                             strokeColor: "#226cfb",
                             strokeColor: "#226cfb",
                             strokeWeight: 1.5,
                             strokeWeight: 1.5,
@@ -451,7 +447,7 @@
                             fillColor: "#4B98F6",
                             fillColor: "#4B98F6",
                             fillOpacity: 0.2
                             fillOpacity: 0.2
                         });
                         });
-                        // 将多边形添加到地图中
+                        
                         that.parkMap.addOverlay(polygon);
                         that.parkMap.addOverlay(polygon);
                         if (!points.length) return;
                         if (!points.length) return;
                         points.forEach(function (d) {
                         points.forEach(function (d) {
@@ -460,15 +456,15 @@
                                 let arr = point.split(',');
                                 let arr = point.split(',');
                                 let p = new BMap.Point(arr[0], arr[1]);
                                 let p = new BMap.Point(arr[0], arr[1]);
                                 var myIcon = new BMap.Icon("images/addrzt.png", new BMap.Size(40, 40), {
                                 var myIcon = new BMap.Icon("images/addrzt.png", new BMap.Size(40, 40), {
-                                    offset: new BMap.Size(10, 25), // 指定定位位置
+                                    offset: new BMap.Size(10, 25),
                                 });
                                 });
                                 let marker = new BMap.Marker(p, { icon: myIcon });
                                 let marker = new BMap.Marker(p, { icon: myIcon });
                                 var opts = {
                                 var opts = {
-                                    position: new BMap.Point(arr[0], arr[1]), // 指定文本标签所在的地理位置
-                                    offset: new BMap.Size(10, 10) // 设置文本偏移量
+                                    position: new BMap.Point(arr[0], arr[1]), 
+                                    offset: new BMap.Size(10, 10) 
                                 };
                                 };
 
 
-                                // 创建文本标注对象
+                                
                                 var label = new BMap.Label(d.carrierName, opts);
                                 var label = new BMap.Label(d.carrierName, opts);
                                 label.setStyle({
                                 label.setStyle({
                                     color: "#186FF0",
                                     color: "#186FF0",
@@ -479,8 +475,8 @@
                                     fontWeight: 'bold',
                                     fontWeight: 'bold',
                                     backgroundColor: 'transparent',
                                     backgroundColor: 'transparent',
                                     textShadow: '0 0 4px #4B97F5',
                                     textShadow: '0 0 4px #4B97F5',
-                                    textStrokeColor: "#4B97F5", // 文本描边颜色
-                                    textStrokeWidth: "4px", // 文本描边宽度
+                                    textStrokeColor: "#4B97F5", 
+                                    textStrokeWidth: "4px", 
                                     fontSize: "18px",
                                     fontSize: "18px",
                                     height: "20px",
                                     height: "20px",
                                     lineHeight: "20px",
                                     lineHeight: "20px",
@@ -544,7 +540,7 @@
                         that.contentList = dataList;
                         that.contentList = dataList;
                         that.pointList = [];
                         that.pointList = [];
                         dataList.forEach(function (d) {
                         dataList.forEach(function (d) {
-                            // 添加选择地址
+                            
                             if (!d.point) return;
                             if (!d.point) return;
                             let pList = d.point.split('@');
                             let pList = d.point.split('@');
                             pList.forEach(function (point) {
                             pList.forEach(function (point) {

+ 7 - 16
nngkxxdp/src/main/resources/static/naxsb/zwfwtyy.html

@@ -145,11 +145,6 @@
             overflow-x: hidden;
             overflow-x: hidden;
         }
         }
 
 
-        /* .el-dialog__body::-webkit-scrollbar {
-            width: 0px;
-            height: 0px;
-        } */
-
         .el-dialog {
         .el-dialog {
             margin-top: 10vh !important;
             margin-top: 10vh !important;
         }
         }
@@ -200,7 +195,6 @@
             <p class="topButton" style="width: 586px;margin: auto;" @click="dialogVisible = true">立即报名</p>
             <p class="topButton" style="width: 586px;margin: auto;" @click="dialogVisible = true">立即报名</p>
             <el-dialog title="政务服务体验员报名表" :visible.sync="dialogVisible" width="40vw" @close="handleClose"
             <el-dialog title="政务服务体验员报名表" :visible.sync="dialogVisible" width="40vw" @close="handleClose"
                 :close-on-click-modal="false">
                 :close-on-click-modal="false">
-                <!-- 表单内容 -->
                 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
                 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
                     <el-form-item label="姓名" prop="experienceName">
                     <el-form-item label="姓名" prop="experienceName">
                         <el-input v-model="form.experienceName" placeholder="请输入姓名"></el-input>
                         <el-input v-model="form.experienceName" placeholder="请输入姓名"></el-input>
@@ -247,7 +241,7 @@
     </div>
     </div>
 </body>
 </body>
 <script>
 <script>
-    // 初始化Vue实例
+    
     new Vue({
     new Vue({
         el: '#qqhg',
         el: '#qqhg',
         data: function () {
         data: function () {
@@ -263,7 +257,6 @@
                     business: '',
                     business: '',
                     imgCode: ''
                     imgCode: ''
                 },
                 },
-                /*图形验证码*/
                 imageCode: "",
                 imageCode: "",
                 rules: {
                 rules: {
                     experienceName: [
                     experienceName: [
@@ -293,7 +286,7 @@
                 this.$refs.form.resetFields();
                 this.$refs.form.resetFields();
             },
             },
             validatePhone() {
             validatePhone() {
-                // 这里可以添加手机号校验逻辑
+                
                 const reg = /^1[3-9]\d{9}$/;
                 const reg = /^1[3-9]\d{9}$/;
                 if (!reg.test(this.form.experiencePhone)) {
                 if (!reg.test(this.form.experiencePhone)) {
                     this.$message.error('请输入有效的手机号');
                     this.$message.error('请输入有效的手机号');
@@ -310,22 +303,21 @@
                             return
                             return
                         }
                         }
                         const formData = this.form;
                         const formData = this.form;
-                        // AJAX 请求
                         $.ajax({
                         $.ajax({
                             url: conpath + '/experienceApply',
                             url: conpath + '/experienceApply',
                             type: 'post',
                             type: 'post',
                             contentType: 'application/json; charset=utf-8',
                             contentType: 'application/json; charset=utf-8',
-                            data: JSON.stringify(formData), // 传递表单数据
+                            data: JSON.stringify(formData), 
                             dataType: 'json',
                             dataType: 'json',
                             success: function (data) {
                             success: function (data) {
                                 if (data.result === 'ok') {
                                 if (data.result === 'ok') {
                                     this.$message.success('报名成功!');
                                     this.$message.success('报名成功!');
-                                    this.dialogVisible = false; // 关闭对话框
+                                    this.dialogVisible = false; 
                                 } else {
                                 } else {
                                     this.getVerifyCode();
                                     this.getVerifyCode();
                                     this.$message.error(data.success || '报名失败!');
                                     this.$message.error(data.success || '报名失败!');
                                 }
                                 }
-                            }.bind(this), // 确保 `this` 指向 Vue 实例
+                            }.bind(this), 
                             error: function (data) {
                             error: function (data) {
                                 console.log("错误信息:", data);
                                 console.log("错误信息:", data);
                             }
                             }
@@ -335,15 +327,14 @@
                     }
                     }
                 });
                 });
             },
             },
-            /*创建uuid传给后端作redis的key值*/
             createUuid() {
             createUuid() {
                 var s = [];
                 var s = [];
                 var hexDigits = "0123456789abcdefghi";
                 var hexDigits = "0123456789abcdefghi";
                 for (var i = 0; i < 36; i++) {
                 for (var i = 0; i < 36; i++) {
                     s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
                     s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
                 }
                 }
-                s[14] = "4"; // bits 12-15 of the time_hi_and_version field to 0010
-                s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1); // bits 6-7 of the clock_seq_hi_and_reserved to 01
+                s[14] = "4"; 
+                s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1); 
                 s[8] = s[13] = s[18] = s[23] = "-";
                 s[8] = s[13] = s[18] = s[23] = "-";
 
 
                 var uuid = s.join("");
                 var uuid = s.join("");