فهرست منبع

修改移动端

tml 5 ماه پیش
والد
کامیت
0de0008db1

+ 11 - 0
nngkxxdp/src/main/resources/static/naxsb/cytz.html

@@ -659,6 +659,17 @@
   });
 </script>
 <script>
+  function isMobileUserAgent() {
+      return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+          window.parent.navigator.userAgent.toLowerCase("")
+      );
+  }
+
+  if (isMobileUserAgent()) {
+      window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/cytzMobile.html'
+  }
+</script>
+<script>
   new Vue({
     el: '#cytz',
     data: function () {

+ 17 - 5
nngkxxdp/src/main/resources/static/naxsb/dqfw.html

@@ -348,7 +348,8 @@
             <div class="ctlist" style="position: relative;">
                 <div class="list" :class="{ active: currentTab == item.id }" v-for="(item, index)  in leftList"
                     :key="index" v-if="leftList.length" @mouseover="mentopChange(item.id)">
-                    <div class="img"><img :src="'https://www.cqna.gov.cn/syygapi/naxsb/images/dqfwl'+(index+1)+'.png'" alt=""></div>
+                    <div class="img"><img :src="'https://www.cqna.gov.cn/syygapi/naxsb/images/dqfwl'+(index+1)+'.png'"
+                            alt=""></div>
                     <span>{{item.partyForm?item.partyForm:'- '}}</span>
                     <img src="https://www.cqna.gov.cn/syygapi/naxsb/images/dqfw-arrow.png" alt="">
                 </div>
@@ -384,13 +385,24 @@
 </body>
 <script>
     $(function () {
-        
+
         $(".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');
     });
 </script>
 <script>
-    
+    function isMobileUserAgent() {
+        return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+            window.parent.navigator.userAgent.toLowerCase("")
+        );
+    }
+
+    if (isMobileUserAgent()) {
+        window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/indexbmhqMobile.html'
+    }
+</script>
+<script>
+
     new Vue({
         el: '#dqfw',
         data: function () {
@@ -425,9 +437,9 @@
                         let value = data.data.PartyServiceList;
                         let newList = []
                         value.forEach(item => {
-                            let status = newList.find(el => el.partyForm === item.partyForm) 
+                            let status = newList.find(el => el.partyForm === item.partyForm)
                             if (status) {
-                                status.children.push({ ...item }) 
+                                status.children.push({ ...item })
                             } else {
                                 let obj = { ...item, children: [{ ...item }] }
                                 newList.push(obj)

+ 11 - 0
nngkxxdp/src/main/resources/static/naxsb/dqfwNew.html

@@ -689,6 +689,17 @@
   });
 </script>
 <script>
+    function isMobileUserAgent() {
+        return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+            window.parent.navigator.userAgent.toLowerCase("")
+        );
+    }
+
+    if (isMobileUserAgent()) {
+        window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/indexbmhqMobile.html'
+    }
+</script>
+<script>
   
   new Vue({
     el: '#dqfwNew',

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

@@ -594,7 +594,17 @@
 <!-- 引入样式 -->
 <link rel="stylesheet" href="https://www.cqna.gov.cn/syygapi/naxsb/css/index.css">
 <!-- 引入组件库 -->
-<script src="https://www.cqna.gov.cn/syygapi/naxsb/js/index.js"></script>
+<script src="https://www.cqna.gov.cn/syygapi/naxsb/js/index.js"></script><script>
+    function isMobileUserAgent() {
+        return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+            window.parent.navigator.userAgent.toLowerCase("")
+        );
+    }
+
+    if (isMobileUserAgent()) {
+        window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/flooroneMobile.html'
+    }
+</script>
 <script>
     var nowDiv = new Vue({
         el: "#app",

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

@@ -367,6 +367,17 @@
   <div style="width:100%;" class="footer"></div>
 </body>
 <script>
+  function isMobileUserAgent() {
+      return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+          window.parent.navigator.userAgent.toLowerCase("")
+      );
+  }
+
+  if (isMobileUserAgent()) {
+      window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/indexbmhqMobile.html'
+  }
+</script>
+<script>
   $(function () {
     
     $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
@@ -433,15 +444,4 @@
   });
 </script>
 
-<script>
-  function isMobileUserAgent() {
-      return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
-          window.parent.navigator.userAgent.toLowerCase("")
-      );
-  }
-
-  if (isMobileUserAgent()) {
-      window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/indexbmhqMobile.html'
-  }
-</script>
 </html>

+ 7 - 7
nngkxxdp/src/main/resources/static/naxsb/mobile/tdcrMobile.html

@@ -321,17 +321,17 @@
                 if (yqpoints) {
                     var id = yqpoints.id;
                     if (id == 1) {
-                        map.centerAndZoom(new BMap.Point(106.651444, 29.45682), 14);
+                        map.centerAndZoom(new BMap.Point(106.651444, 29.45682), 12);
                     } else if (id == 2) {
-                        map.centerAndZoom(new BMap.Point(106.76723874457288, 29.573276880811712), 14);
+                        map.centerAndZoom(new BMap.Point(106.76723874457288, 29.584276880811712), 13);
                     } else if (id == 3) {
-                        map.centerAndZoom(new BMap.Point(106.69517131217539, 29.51577313312822), 15);
+                        map.centerAndZoom(new BMap.Point(106.69517131217539, 29.53577313312822), 14);
                     } else if (id == 4) {
-                        map.centerAndZoom(new BMap.Point(106.559829995157, 29.501581648208534), 15);
+                        map.centerAndZoom(new BMap.Point(106.559829995157, 29.521581648208534), 14);
                     } else if (id == 5) {
-                        map.centerAndZoom(new BMap.Point(106.72194027111843, 29.513690776940248), 16);
+                        map.centerAndZoom(new BMap.Point(106.72194027111843, 29.513690776940248), 15);
                     } else if (id == 6) {
-                        map.centerAndZoom(new BMap.Point(106.70580793222035, 29.514020426917684), 16);
+                        map.centerAndZoom(new BMap.Point(106.70580793222035, 29.519020426917684), 15);
                     } else {
                         map.centerAndZoom(new BMap.Point(106.651444, 29.48682), 14);
                     }
@@ -370,7 +370,7 @@
 
                 let polygon = new BMap.Polygon(result, {
                     strokeColor: "#4BB664",
-                    strokeWeight: 4,
+                    strokeWeight: 2,
                     strokeOpacity: 1,
                     strokeStyle: "solid",
                     fillColor: "transparent",

+ 5 - 5
nngkxxdp/src/main/resources/static/naxsb/mobile/ztcrlistMobile.html

@@ -465,17 +465,17 @@
                         that.parkMap.enableDragging();
                         const id = that.currentPq;
                         if (id == 1) {
-                            that.parkMap.centerAndZoom(new BMap.Point(106.651444, 29.45682), 13);
+                            that.parkMap.centerAndZoom(new BMap.Point(106.651444, 29.48282), 14);
                         } else if (id == 2) {
-                            that.parkMap.centerAndZoom(new BMap.Point(106.76723874457288, 29.573276880811712), 13);
+                            that.parkMap.centerAndZoom(new BMap.Point(106.76723874457288, 29.583276880811712), 13);
                         } else if (id == 3) {
-                            that.parkMap.centerAndZoom(new BMap.Point(106.69517131217539, 29.51577313312822), 14);
+                            that.parkMap.centerAndZoom(new BMap.Point(106.69517131217539, 29.53077313312822), 14);
                         } else if (id == 4) {
-                            that.parkMap.centerAndZoom(new BMap.Point(106.559829995157, 29.501581648208534), 14);
+                            that.parkMap.centerAndZoom(new BMap.Point(106.559829995157, 29.528581648208534), 14);
                         } else if (id == 5) {
                             that.parkMap.centerAndZoom(new BMap.Point(106.72194027111843, 29.513690776940248), 15);
                         } else if (id == 6) {
-                            that.parkMap.centerAndZoom(new BMap.Point(106.70580793222035, 29.514020426917684), 15);
+                            that.parkMap.centerAndZoom(new BMap.Point(106.70580793222035, 29.519020426917684), 15);
                         } else {
                             that.parkMap.centerAndZoom(new BMap.Point(106.651444, 29.48682), 14);
                         }

+ 29 - 19
nngkxxdp/src/main/resources/static/naxsb/qjt.html

@@ -306,13 +306,23 @@
     <div style="width:100%;" class="footer"></div>
 </body>
 <script>
+    function isMobileUserAgent() {
+        return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+            window.parent.navigator.userAgent.toLowerCase("")
+        );
+    }
+
+    if (isMobileUserAgent()) {
+        window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/qjtMobile.html'
+    }
+</script>
+<script>
     $(function () {
-        
+
         $(".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');
     });
 </script>
-<script src="https://www.cqna.gov.cn/syygapi/naxsb/js/jquery-3.5.1.min.js"></script>
 <script>
     // 判断浏览器是否支持 webgl
     if (!Detector.webgl) Detector.addGetWebGLMessage();
@@ -515,16 +525,16 @@
     render();
     let controls = new THREE.OrbitControls(camera, renderer.domElement);
     controls.enableZoom = false
-    
+
     controls.maxPolarAngle = Math.PI / 2
     controls.minPolarAngle = 0
-    
+
     controls.addEventListener('change', render);
-    
+
     let axisHelper = new THREE.AxisHelper(50050);
 </script>
 <script>
-    
+
     new Vue({
         el: '#qjt',
         data: function () {
@@ -535,7 +545,7 @@
         },
         created() {
             this.updateTime();
-            setInterval(this.updateTime, 1000); 
+            setInterval(this.updateTime, 1000);
             this.getSSbj();
         },
         beforeDestroy() {
@@ -546,7 +556,7 @@
                 const now = new Date();
 
                 const year = String(now.getFullYear()).padStart(4, '0');
-                const month = String(now.getMonth() + 1).padStart(2, '0'); 
+                const month = String(now.getMonth() + 1).padStart(2, '0');
                 const day = String(now.getDate()).padStart(2, '0');
                 const hours = String(now.getHours()).padStart(2, '0');
                 const minutes = String(now.getMinutes()).padStart(2, '0');
@@ -672,8 +682,8 @@
     function handlingNumber(area, timeType) {
         var data1 = ''
         $.ajax({
-            url: path + "/department/getOfficeNumberByAreaInfo", 
-            dataType: "json", 
+            url: path + "/department/getOfficeNumberByAreaInfo",
+            dataType: "json",
             type: "get",
             cache: false,
             async: false,
@@ -737,15 +747,15 @@
             dataType: "json",
             async: false,
             success: function (data) {
-               var data = data.data;
-               const currDayTaskNumElement = document.getElementById('currDayTaskNum');
-               animateValue(currDayTaskNumElement, 0, data[0], time);
-               const currWeekTaskNumElement = document.getElementById('currWeekTaskNum');
-               animateValue(currWeekTaskNumElement, 0, data[1], time);
-               const currMonthTaskNumElement = document.getElementById('currMonthTaskNum');
-               animateValue(currMonthTaskNumElement, 0, data[2], time);
-               const currYearTaskNumElement = document.getElementById('currYearTaskNum');
-               animateValue(currYearTaskNumElement, 0, data[3], time);
+                var data = data.data;
+                const currDayTaskNumElement = document.getElementById('currDayTaskNum');
+                animateValue(currDayTaskNumElement, 0, data[0], time);
+                const currWeekTaskNumElement = document.getElementById('currWeekTaskNum');
+                animateValue(currWeekTaskNumElement, 0, data[1], time);
+                const currMonthTaskNumElement = document.getElementById('currMonthTaskNum');
+                animateValue(currMonthTaskNumElement, 0, data[2], time);
+                const currYearTaskNumElement = document.getElementById('currYearTaskNum');
+                animateValue(currYearTaskNumElement, 0, data[3], time);
             }
         })
     }

+ 11 - 0
nngkxxdp/src/main/resources/static/naxsb/tdcr.html

@@ -264,6 +264,17 @@
         $(".footer").load('footer/footer.html');
     });
 </script>
+<script>
+    function isMobileUserAgent() {
+        return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+            window.parent.navigator.userAgent.toLowerCase("")
+        );
+    }
+
+    if (isMobileUserAgent()) {
+        window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/indexbmhqMobile.html'
+    }
+</script>
 <script src="https://www.cqna.gov.cn/syygapi/naxsb/swiper/swiper-bundle.js"></script>
 <script>
     new Vue({

+ 11 - 0
nngkxxdp/src/main/resources/static/naxsb/tdcrlist.html

@@ -306,6 +306,17 @@
     });
 </script>
 <script>
+    function isMobileUserAgent() {
+        return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+            window.parent.navigator.userAgent.toLowerCase("")
+        );
+    }
+
+    if (isMobileUserAgent()) {
+        window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/indexbmhqMobile.html'
+    }
+</script>
+<script>
     new Vue({
         el: '#ztcr',
         data: function () {

+ 11 - 0
nngkxxdp/src/main/resources/static/naxsb/tsfw.html

@@ -281,6 +281,17 @@
     });
 </script>
 <script>
+    function isMobileUserAgent() {
+        return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+            window.parent.navigator.userAgent.toLowerCase("")
+        );
+    }
+
+    if (isMobileUserAgent()) {
+        window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/indexbmhqMobile.html'
+    }
+</script>
+<script>
     
     new Vue({
         el: '#tsfw',

+ 11 - 0
nngkxxdp/src/main/resources/static/naxsb/wybdb.html

@@ -682,6 +682,17 @@
     });
 </script>
 <script>
+    function isMobileUserAgent() {
+        return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+            window.parent.navigator.userAgent.toLowerCase("")
+        );
+    }
+
+    if (isMobileUserAgent()) {
+        window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/wybdbMobile.html'
+    }
+</script>
+<script>
     new Vue({
         el: "#topBg",
         data: function () {

+ 11 - 0
nngkxxdp/src/main/resources/static/naxsb/wyyy.html

@@ -347,6 +347,17 @@
     });
 </script>
 <script>
+    function isMobileUserAgent() {
+        return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+            window.parent.navigator.userAgent.toLowerCase("")
+        );
+    }
+
+    if (isMobileUserAgent()) {
+        window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/wyyyMobile.html'
+    }
+</script>
+<script>
     new Vue({
         el: "#topBg",
         data: function () {

+ 11 - 0
nngkxxdp/src/main/resources/static/naxsb/znxz.html

@@ -299,6 +299,17 @@
     });
 </script>
 <script>
+    function isMobileUserAgent() {
+        return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+            window.parent.navigator.userAgent.toLowerCase("")
+        );
+    }
+
+    if (isMobileUserAgent()) {
+        window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/znxzchoiceMobile.html'
+    }
+</script>
+<script>
     new Vue({
         el: '#znxz',
         data: function () {

+ 11 - 0
nngkxxdp/src/main/resources/static/naxsb/znxzchoice.html

@@ -195,6 +195,17 @@
     });
 </script>
 <script>
+    function isMobileUserAgent() {
+        return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+            window.parent.navigator.userAgent.toLowerCase("")
+        );
+    }
+
+    if (isMobileUserAgent()) {
+        window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/znxzchoiceMobile.html'
+    }
+</script>
+<script>
     var nowDiv = new Vue({
         el: '#znxz',
         data: function () {

+ 9 - 1
nngkxxdp/src/main/resources/static/naxsb/ztcrdetail.html

@@ -340,7 +340,15 @@
 </script>
 <script src="https://www.cqna.gov.cn/syygapi/naxsb/swiper/swiper-bundle.js"></script>
 <script>
-
+    function isMobileUserAgent() {
+        return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+            window.parent.navigator.userAgent.toLowerCase("")
+        );
+    }
+
+    if (isMobileUserAgent()) {
+        window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/indexbmhqMobile.html'
+    }
 </script>
 <script>
     new Vue({

+ 11 - 0
nngkxxdp/src/main/resources/static/naxsb/ztcrlist.html

@@ -283,6 +283,17 @@
     });
 </script>
 <script>
+    function isMobileUserAgent() {
+        return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
+            window.parent.navigator.userAgent.toLowerCase("")
+        );
+    }
+
+    if (isMobileUserAgent()) {
+        window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/indexbmhqMobile.html'
+    }
+</script>
+<script>
     new Vue({
         el: '#znxz',
         data: function () {