tml 6 hónapja
szülő
commit
0cd336d995

+ 130 - 19
nngkxxdp/src/main/resources/static/naxsb/cytz.html

@@ -74,11 +74,12 @@
 
     #map {
       width: 60%;
-      height: 100%;
+      height: calc(100% - 10px);
+      margin-top: 10px;
     }
 
     .contentR {
-      width: 40%;
+      width: calc(40% - 10px);
       height: 100%;
     }
 
@@ -133,6 +134,15 @@
       cursor: pointer;
     }
 
+    .mainTab>span:hover {
+      font-weight: bold;
+    }
+
+    .activeTab {
+      background-color: rgba(0, 0, 0, .4) !important;
+      font-weight: bold;
+    }
+
     .main>div {
       width: 100%;
     }
@@ -161,7 +171,7 @@
 
     .yqlb {
       display: grid;
-      padding: 0.9rem;
+      padding: 0 0 0.9rem 0.9rem;
       grid-template-columns: 1fr 1fr;
       grid-template-rows: 1fr 1fr 1fr;
       grid-column-gap: 0.2rem;
@@ -178,16 +188,33 @@
       -ms-overflow-style: none;
       scrollbar-width: none;
       box-sizing: border-box;
+      position: relative;
+    }
+
+    .ztfw {
+      display: flex;
+      flex-wrap: wrap;
+      padding: 0 20px;
+      width: 100%;
+      overflow-y: auto;
+      -ms-overflow-style: none;
+      scrollbar-width: none;
+      box-sizing: border-box;
+      position: relative;
     }
 
     .tdgyList {
       display: flex;
       border-bottom: 1px solid rgba(245, 250, 255, .2);
+      cursor: pointer;
       padding: 5px 0;
       overflow: hidden;
       word-break: break-all;
       white-space: nowrap;
       width: 100%;
+      position: relative;
+      -webkit-animation: 40s rowup linear infinite normal;
+      animation: 40s rowup linear infinite normal;
     }
 
     .tdgyList:last-child {
@@ -202,6 +229,31 @@
       margin-right: 10px;
     }
 
+    .ztfwList:last-child {
+      display: flex;
+      border-bottom: none;
+    }
+
+    .ztfwList>img {
+      width: 20px;
+      height: 20px;
+      margin-top: 5px;
+      margin-right: 10px;
+    }
+
+    .ztfwList {
+      display: flex;
+      border-bottom: 1px solid rgba(245, 250, 255, .2);
+      padding: 5px 0;
+      overflow: hidden;
+      word-break: break-all;
+      white-space: nowrap;
+      width: 100%;
+      position: relative;
+      -webkit-animation: 20s rowupzt linear infinite normal;
+      animation: 20s rowupzt linear infinite normal;
+    }
+
     .tdgyContent {
       width: calc(100% - 35px);
     }
@@ -411,6 +463,7 @@
 </head>
 
 <body>
+  <div style="width:100%;height:570px" class="header"></div>
   <div class="" id="cytz">
     <div class="top">
       <div class="toplogo">
@@ -427,10 +480,14 @@
       <div class="contentR">
         <div class="location"><i class="el-icon-location"></i>&nbsp;南岸区</div>
         <div class="contentBox">
-          <div class="contentItem"></div>
           <div class="contentItem">
-            <div class="mainTab"><span @click="switchTab(1)">区位条件</span><span @click="switchTab(2)">创新优势</span><span
-                @click="switchTab(3)">产业特色</span></div>
+            <video autoplay loop muted playsinline style="width:100%;height: 100%;">
+              <source style="width:100%;height: 100%;" src="media/业.ecabc222.mp4" type="video/mp4" />
+            </video>
+          </div>
+          <div class="contentItem">
+            <div class="mainTab"><span class="activeTab" @click="switchTab(1)">区位条件</span><span
+                @click="switchTab(2)">创新优势</span><span @click="switchTab(3)">产业特色</span></div>
             <div class="main">
               <div v-show="this.activeName===1">
                 <li><img src="image/listcricle.png" />15分钟直达江北国际机场,20分钟可抵重庆西部物流园</li>
@@ -477,17 +534,18 @@
               <span class="text">园区列表</span>
             </div>
             <div class="yqlb">
-              <div class="mainList" v-for="(tab, index)  in this.titleList"
-                @click="golink(`indexsyy.html?id=${tab.id}`)" :key="index">&nbsp;{{tab.title}}</div>
+              <div class="mainList" v-for="(tab, index)  in this.titleList" @click="golink(`dqfwNew.html?id=${tab.id}`)"
+                :key="index">&nbsp;{{tab.title}}</div>
             </div>
           </div>
           <div class="contentItem" style="background:url(image/tdgybg.png) no-repeat;background-size: 100% 100%;">
             <div class="title">
               <span class="text">土地供应</span>
-              <span class="more" @click="golink('tdcrlist.html',1)">更多>></span>
+              <span class="more" @click="golink('tdcrlist.html?id=-1',1)">更多>></span>
             </div>
             <div class="tdgy">
-              <div class="tdgyList" v-for="(tab, index)  in this.contentList" :key="index">
+              <div :data="contentList" class="tdgyList" v-for="(tab, index)  in this.contentList"
+                @click="golink('tdcr.html?tdid=' + tab.id)" :key="index">
                 <img src="image/listcricle.png" />
                 <div class="tdgyContent">
                   <div class="tdgyTitle">{{tab.landName}}</div>
@@ -502,8 +560,9 @@
               <span class="text">载体服务</span>
               <span class="more" @click="golink('ztcrlist.html',2)">更多>></span>
             </div>
-            <div class="tdgy">
-              <div class="tdgyList" v-for="(tab, index)  in this.buildList" :key="index">
+            <div class="ztfw">
+              <div class="ztfwList" v-for="(tab, index)  in this.buildList"
+                @click="golink('ztcrdetail.html?ztid=' + tab.id)" :key="index">
                 <img src="image/listcricle.png" />
                 <div class="tdgyContent">
                   <div class="tdgyTitle">{{tab.carrierName}}</div>
@@ -520,7 +579,7 @@
               <div class="yqfwBox mb" @click="golink('tsfw.html')">
                 <img src="image/listcricle.png" />特色服务
               </div>
-              <div class="yqfwBox mb" @click="golink('dqfw.html')">
+              <div class="yqfwBox mb" @click="tolink('dqfw.html')">
                 <img src="image/listcricle.png" />党群服务
               </div>
               <div class="yqfwBox" @click="window.open('wybdb.html')">
@@ -535,8 +594,19 @@
       </div>
     </div>
   </div>
+  <div style="width:100%;" class="footer"></div>
 </body>
 <script>
+  $(function () {
+    /*公共部分
+    * 导航栏
+    * footer CopyRight
+    */
+    $(".header").load('https://www.cqna.gov.cn/ggbf_search/top/top_style.html');
+    $(".footer").load('https://www.cqna.gov.cn/ggbf_search/ggyr/2022foot/bottomBlack.html');
+  });
+</script>
+<script>
   // 初始化Vue实例
   new Vue({
     el: '#cytz',
@@ -558,15 +628,21 @@
       };
     },
     created() { },
-    mounted() {
+    async mounted() {
       const url = new URL(window.location.href);
       this.id = url.searchParams.get('id');
-      this.getParkData()
+      await this.getParkData()
       this.loadAllMap()
     },
     methods: {
       switchTab(val) {
         this.activeName = val
+        const arr = document.querySelectorAll('.mainTab>span')
+        arr.forEach(item => {
+          item.classList.remove('activeTab')
+          arr[val - 1].classList.add('activeTab')
+        })
+
       },
       goIndex() {
         window.location.href = "indexsyyg.html"
@@ -577,6 +653,9 @@
       golink(hrf, val) {
         window.location.href = hrf;
       },
+      tolink(hrf, val) {
+        window.location.href = `${hrf}?id=1`;
+      },
       getParkAllPoint() {
         let that = this;
         var points;
@@ -591,6 +670,19 @@
         });
         return points;
       },
+      addKey(y) {
+        var style = document.createElement('style');
+        style.type = 'text/css';
+        var keyFrames = '\
+    @keyframes rowup {\
+        100% {\
+            -webkit-transform: translate3d(0, A_DYNAMIC_VALUE, 0);\
+            top: -A_DYNAMIC_VALUEpx;\
+        }\
+    }';
+        style.innerHTML = keyFrames.replace(/A_DYNAMIC_VALUE/g, y);
+        document.getElementsByClassName('ztfw')[0].appendChild(style);
+      },
       loadAllMap() {
         var that = this;
         fetch('js/najson.json')
@@ -718,9 +810,9 @@
           .catch(error => console.error('Error fetching JSON:', error));
 
       },
-      getParkData() {
+      async getParkData() {
         let that = this;
-        $.ajax({
+        await $.ajax({
           url: conpath + "/parkData/",
           type: "get",
           dataType: "json",
@@ -733,7 +825,7 @@
             that.titleList = data;
           }
         })
-        $.ajax({
+        await $.ajax({
           url: conpath + "/sellLand",
           type: "post",
           contentType: 'application/json',
@@ -749,7 +841,7 @@
             that.contentList = dataList;
           }
         });
-        $.ajax({
+        await $.ajax({
           url: conpath + "/sellBuild",
           type: "post",
           contentType: 'application/json',
@@ -766,6 +858,25 @@
             that.buildList = dataList;
           }
         });
+        var height = document.querySelector('.tdgyList').clientHeight;
+        console.log(height);
+        this.addKeyFrames('-' + height * this.contentList.length + 'px');
+        var height1 = document.querySelector('.ztfwList').clientHeight;
+        console.log(height1);
+        this.addKey('-' + height1 * this.buildList.length + 'px');
+      },
+      addKeyFrames(y) {
+        var style = document.createElement('style');
+        style.type = 'text/css';
+        var keyFrames = '\
+    @keyframes rowupzt {\
+        100% {\
+            -webkit-transform: translate3d(0, A_DYNAMIC_VALUE, 0);\
+            top: -A_DYNAMIC_VALUEpx;\
+        }\
+    }';
+        style.innerHTML = keyFrames.replace(/A_DYNAMIC_VALUE/g, y);
+        document.getElementsByClassName('tdgy')[0].appendChild(style);
       }
     }
   });

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

@@ -307,7 +307,7 @@
 
 <body>
 
-    <div style="width:100%;height:280px" class="header"></div>
+    <div style="width:100%;height:570px" class="header"></div>
     <div class="dqfw" id="dqfw">
         <div class="hide" v-if="hide"></div>
         <div class="top">

+ 23 - 6
nngkxxdp/src/main/resources/static/naxsb/dqfwNew.html

@@ -153,6 +153,7 @@
       word-break: break-all;
       white-space: nowrap;
       width: 100%;
+      cursor: pointer;
     }
 
     .tdgyList:last-child {
@@ -412,16 +413,21 @@
         font-size: 10px;
       }
     }
+
+    .contentItem video {
+      width: 100%;
+      height: 100%;
+    }
   </style>
 </head>
 
 <body>
-  <div style="width:100%;height:280px" class="header"></div>
+  <div style="width:100%;height:570px" class="header"></div>
   <div class="" id="dqfwNew">
     <div class="top">
       <div class="toplogo">
         <img src="image/gyylogowhite.png" alt="">
-        <span>产业园区</span>
+        <span>{{parkDesc?parkDesc.title:'-'}}</span>
       </div>
       <div class="backbutton" @click="window.history.go(-1)">
         <img src="images/backlogo.png" alt="">
@@ -433,7 +439,12 @@
       <div class="contentR">
         <div class="location"><i class="el-icon-location"></i>&nbsp;南岸区</div>
         <div class="contentBox">
-          <div class="contentItem"></div>
+          <div class="contentItem">
+            <video autoplay loop muted playsinline>
+              <source src="media/业.ecabc222.mp4" type="video/mp4" style="width:100%;height: 100%;">
+              Your browser does not support the video tag.
+            </video>
+          </div>
           <div class="contentItem">
             <div class="title">
               <span class="text">园区介绍</span>
@@ -469,10 +480,10 @@
           <div class="contentItem" style="background:url(image/tdgybg.png) no-repeat;background-size: 100% 100%;">
             <div class="title">
               <span class="text">土地供应</span>
-              <span class="more" @click="golink('tdcrlist.html',1)">更多>></span>
+              <span class="more" @click="golink('tdcrlist.html',2)">更多>></span>
             </div>
             <div class="tdgy">
-              <div class="tdgyList" v-for="(tab, index)  in this.contentList" :key="index">
+              <div class="tdgyList" v-for="(tab, index)  in this.contentList" :key="index" @click="goTdcr(tab.id)">
                 <img src="image/listcricle.png" />
                 <div class="tdgyContent">
                   <div class="tdgyTitle">{{tab.landName}}</div>
@@ -490,7 +501,7 @@
               <span class="more" @click="golink('ztcrlist.html',2)">更多>></span>
             </div>
             <div class="tdgy">
-              <div class="tdgyList" v-for="(tab, index)  in this.buildList" :key="index">
+              <div class="tdgyList" v-for="(tab, index)  in this.buildList" :key="index" @click="goZtcr(tab.id)">
                 <img src="image/listcricle.png" />
                 <div class="tdgyContent">
                   <div class="tdgyTitle">{{tab.carrierName}}</div>
@@ -605,6 +616,12 @@
       back() {
         window.location.href = "indexsyyg.html"
       },
+      goTdcr(id) {
+        window.location.href = 'tdcr.html?tdid=' + id;
+      },
+      goZtcr(id) {
+        window.location.href = 'ztcrdetail.html?ztid=' + id;
+      },
       golink(hrf, val) {
         if (val) {
           if (val === 1 && !this.contentList.length || val === 2 && !this.buildList.length) return window.location.href = hrf;

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

@@ -237,7 +237,7 @@
 </style>
 
 <body>
-    <div style="width:100%;height:280px" class="header"></div>
+    <div style="width:100%;height:570px" class="header"></div>
     <div class="container hide" id="app">
         <div class="floorTabs">
             <div class="list" :class="{ active: currentFloor == tab.id }" v-for="(tab,index) in floorList" :key="index"

BIN
nngkxxdp/src/main/resources/static/naxsb/image/yqfwbg.png


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

@@ -273,7 +273,7 @@
 </head>
 
 <body>
-  <div style="width:100%;height:280px" class="header"></div>
+  <div style="width:100%;height:570px" class="header"></div>
   <video autoplay loop muted playsinline>
     <source src="media/业.ecabc222.mp4" type="video/mp4">
     Your browser does not support the video tag.

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

@@ -79,7 +79,7 @@
 </head>
 
 <body>
-    <div style="width:100%;height:280px" class="header"></div>
+    <div style="width:100%;height:570px" class="header"></div>
     <div class="container">
         <div class="row">
             <div class="col-sm-12">

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

@@ -184,9 +184,8 @@
     </style>
 </head>
 
-
 <body>
-  <div style="width:100%;height:280px" class="header"></div>
+    <div style="width:100%;height:570px" class="header"></div>
     <div id="tdcr">
         <div class="top">
             <div class="toplogo">
@@ -284,17 +283,17 @@
             <div class="contentright" id="mapcontainer"></div>
         </div>
     </div>
-  <div style="width:100%;" class="footer"></div>
+    <div style="width:100%;" class="footer"></div>
 </body>
 <script>
-  $(function () {
-    /*公共部分
-    * 导航栏
-    * footer CopyRight
-    */
-    $(".header").load('https://www.cqna.gov.cn/ggbf_search/top/top_style.html');
-    $(".footer").load('https://www.cqna.gov.cn/ggbf_search/ggyr/2022foot/bottomBlack.html');
-  });
+    $(function () {
+        /*公共部分
+        * 导航栏
+        * footer CopyRight
+        */
+        $(".header").load('https://www.cqna.gov.cn/ggbf_search/top/top_style.html');
+        $(".footer").load('https://www.cqna.gov.cn/ggbf_search/ggyr/2022foot/bottomBlack.html');
+    });
 </script>
 <script src="swiper/swiper-bundle.js"></script>
 <script>

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

@@ -245,7 +245,7 @@
 </head>
 
 <body>
-    <div style="width:100%;height:280px" class="header"></div>
+    <div style="width:100%;height:570px" class="header"></div>
     <div id="ztcr">
         <div class="top">
             <div class="toplogo">

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

@@ -171,7 +171,7 @@
 </head>
 
 <body>
-    <div style="width:100%;height:280px" class="header"></div>
+    <div style="width:100%;height:570px" class="header"></div>
     <div class="tsfw" id="tsfw">
         <div class="top">
             <div class="toplogo">

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

@@ -244,7 +244,7 @@
 </head>
 
 <body>
-    <div style="width:100%;height:280px" class="header"></div>
+    <div style="width:100%;height:570px" class="header"></div>
     <div>
         <div class="topBg" style="background-image: url(images/indexbg-bdb.png);" id="topBg">
             <div class="topButton" @click="wybdb">我要帮代办

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

@@ -210,7 +210,7 @@
 </head>
 
 <body>
-    <div style="width:100%;height:280px" class="header"></div>
+    <div style="width:100%;height:570px" class="header"></div>
     <div>
         <div class="topBg" style="background-image: url(images/indexbg-yy.png);" id="topBg">
             <div class="topButton" @click="dialogVisible = true">我要预约

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

@@ -210,7 +210,7 @@
 </head>
 
 <body>
-    <div style="width:100%;height:280px" class="header"></div>
+    <div style="width:100%;height:570px" class="header"></div>
     <div id="znxz">
         <div class="top">
             <div class="toplogo">

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

@@ -104,7 +104,7 @@
 </head>
 
 <body>
-    <div style="width:100%;height:280px" class="header"></div>
+    <div style="width:100%;height:570px" class="header"></div>
     <div id="znxz">
         <div class="top">
             <div class="toplogo">

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

@@ -192,7 +192,7 @@
 
 
 <body>
-    <div style="width:100%;height:280px" class="header"></div>
+    <div style="width:100%;height:570px" class="header"></div>
     <div id="ztcr">
         <div class="top">
             <div class="toplogo">

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

@@ -187,7 +187,7 @@
 </head>
 
 <body>
-    <div style="width:100%;height:280px" class="header"></div>
+    <div style="width:100%;height:570px" class="header"></div>
     <div id="znxz">
         <div class="top">
             <div class="toplogo">

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

@@ -175,7 +175,7 @@
 </head>
 
 <body>
-    <div style="width:100%;height:280px" class="header"></div>
+    <div style="width:100%;height:570px" class="header"></div>
     <div>
         <div class="topBg" style="background-image: url(images/indexbg-tyy.png);background-color: #DDEDFF;">
             <div class="title">活动介绍</div>