dqfwNewMobile.html 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta name=”SiteName” content=”重庆市南岸区人民政府”>
  7. <meta name="SiteDomain" content="http://www.cqna.gov.cn" />
  8. <meta name="SiteIDCode" content="5001080014">
  9. <meta name="ColumnName" content="产业园区">
  10. <meta name="ColumnDescription" content="产业园区" />
  11. <meta name="ColumnKeywords" content="产业园区" />
  12. <meta name="ColumnType" content="产业园区" />
  13. <title>产业园区-重庆市南岸区人民政府网</title>
  14. <!-- 引入 Vue -->
  15. <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/vue.min.js"></script>
  16. <!-- 引入样式 -->
  17. <link rel="stylesheet" href="https://www.cqna.gov.cn/syygapi/naxsb/css/index.css">
  18. <!-- 引入组件库 -->
  19. <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/index.js"></script>
  20. <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/jquery-3.5.1.min.js"></script>
  21. <script type="text/javascript"
  22. src="https://api.map.baidu.com/api?type=webgl&v=3.0&ak=7XivTux4H2e1ifKLjvEhxfuayDYxAluq">
  23. </script>
  24. <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=7XivTux4H2e1ifKLjvEhxfuayDYxAluq">
  25. </script>
  26. <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/jquery-3.5.1.min.js"></script>
  27. <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/urljson.js"></script>
  28. <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/echarts.min.js"></script>
  29. <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/bmap.min.js"></script>
  30. <style>
  31. * {
  32. padding: 0;
  33. margin: 0;
  34. }
  35. ul {
  36. list-style-type: none;
  37. }
  38. li {
  39. list-style: none;
  40. cursor: pointer;
  41. }
  42. ::-webkit-scrollbar {
  43. display: none;
  44. /* Chrome Safari */
  45. }
  46. @font-face {
  47. font-family: 'DOUYU';
  48. src: url('https://www.cqna.gov.cn/syygapi/naxsb/fonts/DOUYUFONT-2.woff');
  49. font-weight: normal;
  50. font-style: normal;
  51. }
  52. @font-face {
  53. font-family: 'Source Han Sans SC';
  54. src: url('https://www.cqna.gov.cn/syygapi/naxsb/fonts/MSYHL.TTC');
  55. font-weight: normal;
  56. font-style: normal;
  57. }
  58. .backbutton img {
  59. margin-right: 0.625rem;
  60. }
  61. #dqfwNew {
  62. /* height: 100vh; */
  63. font-family: Microsoft YaHei;
  64. color: #FFFFFF;
  65. box-sizing: border-box;
  66. position: relative;
  67. }
  68. .content {
  69. width: 100vw;
  70. display: flex;
  71. flex-direction: column;
  72. background: #EDF5FF;
  73. }
  74. #mapcontainer {
  75. width: 100vw;
  76. height: 73vw;
  77. }
  78. #mapcontainerrlt {
  79. width: 100vw;
  80. height: 73vw;
  81. margin-bottom: 10px;
  82. }
  83. .ec-extension-bmap {
  84. width:100vw !important;
  85. height: 73vw !important;
  86. }
  87. .contentR {
  88. width: 95vw;
  89. margin: auto;
  90. margin-bottom: 10px;
  91. }
  92. .contentBox {
  93. width: 100%;
  94. display: flex;
  95. flex-direction: column;
  96. }
  97. .contentItem {
  98. height: 53vw;
  99. border-radius: 10px;
  100. background: url(https://www.cqna.gov.cn/syygapi/naxsb/image/ysxxbg.png) no-repeat;
  101. background-size: 100% 100%;
  102. display: flex;
  103. flex-direction: column;
  104. overflow: hidden;
  105. width: 95vw;
  106. margin: auto;
  107. margin-top: 10px;
  108. }
  109. .main {
  110. padding: 10px 20px;
  111. flex: 1;
  112. overflow: auto;
  113. width: 100%;
  114. box-sizing: border-box;
  115. font-size: 14px;
  116. }
  117. .yqfw {
  118. display: flex;
  119. flex-wrap: wrap;
  120. padding: 25px;
  121. padding-left: 50px;
  122. }
  123. .yqlb {
  124. display: grid;
  125. padding: 10px;
  126. grid-template-columns: 1fr 1fr;
  127. grid-template-rows: 1fr 1fr 1fr;
  128. grid-column-gap: 0.2rem;
  129. grid-row-gap: 10px;
  130. flex: 1;
  131. }
  132. .mxqy {
  133. display: flex;
  134. flex-wrap: wrap;
  135. overflow-y: auto;
  136. -ms-overflow-style: none;
  137. scrollbar-width: none;
  138. padding: 15px;
  139. flex: 1;
  140. }
  141. .tdgy {
  142. padding: 0 20px;
  143. overflow: hidden;
  144. box-sizing: border-box;
  145. width: 100%;
  146. height: 100%;
  147. }
  148. .tdgyC {
  149. display: flex;
  150. flex-wrap: wrap;
  151. width: 100%;
  152. overflow-y: auto;
  153. -ms-overflow-style: none;
  154. scrollbar-width: none;
  155. }
  156. .ztfwC {
  157. display: flex;
  158. flex-wrap: wrap;
  159. width: 100%;
  160. overflow-y: auto;
  161. -ms-overflow-style: none;
  162. scrollbar-width: none;
  163. }
  164. .tdgyList {
  165. display: flex;
  166. border-bottom: 1px solid rgba(245, 250, 255, .2);
  167. padding: 5px 0;
  168. overflow: hidden;
  169. word-break: break-all;
  170. white-space: nowrap;
  171. width: 100%;
  172. cursor: pointer;
  173. }
  174. .liList {
  175. display: flex;
  176. padding: 5px 0;
  177. overflow: hidden;
  178. word-break: break-all;
  179. /* white-space: nowrap; */
  180. border-bottom: 1px solid rgba(245, 250, 255, .2);
  181. width: 100%;
  182. }
  183. .ztfwList {
  184. display: flex;
  185. border-bottom: 1px solid rgba(245, 250, 255, .2);
  186. padding: 5px 0;
  187. overflow: hidden;
  188. word-break: break-all;
  189. white-space: nowrap;
  190. width: 100%;
  191. cursor: pointer;
  192. }
  193. .liList:last-child {
  194. display: flex;
  195. border-bottom: none;
  196. }
  197. .ztfwList:last-child {
  198. display: flex;
  199. border-bottom: none;
  200. }
  201. .liList>img {
  202. width: 11px;
  203. height: 11px;
  204. margin-top: 5px;
  205. margin-right: 10px;
  206. cursor: pointer;
  207. }
  208. .tdgyList:last-child {
  209. display: flex;
  210. border-bottom: none;
  211. }
  212. .ztfwList:last-child {
  213. display: flex;
  214. border-bottom: none;
  215. }
  216. .tdgyList>img {
  217. width: 15px;
  218. height: 15px;
  219. margin-top: 5px;
  220. margin-right: 10px;
  221. }
  222. .ztfwList>img {
  223. width: 15px;
  224. height: 15px;
  225. margin-top: 5px;
  226. margin-right: 10px;
  227. }
  228. .nodata {
  229. height: calc(100% - 10px);
  230. /* width: calc(100% - 40px); */
  231. background-size: 100% 100%;
  232. }
  233. .tdgyContent {
  234. width: calc(100% - 35px);
  235. }
  236. .tdgyTitle {
  237. font-size: 14px;
  238. }
  239. .mxqyList {
  240. width: calc(50% - 5px);
  241. height: 50%;
  242. box-sizing: border-box;
  243. margin-bottom: 5px;
  244. background-color: #fff;
  245. cursor: pointer;
  246. }
  247. .mxqyList:nth-child(even) {
  248. margin-left: 5px;
  249. }
  250. .mxqyList>img {
  251. width: 100%;
  252. height: 100%;
  253. }
  254. .tdgyLocation {
  255. font-size: 12px;
  256. color: rgba(255, 255, 255, .6);
  257. overflow: hidden;
  258. word-break: break-all;
  259. white-space: nowrap;
  260. text-overflow: ellipsis !important;
  261. -o-text-overflow: ellipsis;
  262. }
  263. .tdgyDec {
  264. font-size: 13px;
  265. overflow: hidden;
  266. word-break: break-all;
  267. white-space: nowrap;
  268. text-overflow: ellipsis !important;
  269. -o-text-overflow: ellipsis;
  270. width: 90%;
  271. }
  272. .mainList {
  273. background: url(https://www.cqna.gov.cn/syygapi/naxsb/image/yqlbListbg.png) no-repeat;
  274. background-size: 100% 100%;
  275. box-sizing: border-box;
  276. font-family: Microsoft YaHei;
  277. font-weight: 400;
  278. font-size: 16px;
  279. display: flex;
  280. align-items: center;
  281. cursor: pointer;
  282. }
  283. .mainList:nth-child(odd) {
  284. padding-right: 25px;
  285. }
  286. .mb {
  287. margin-bottom: 50px;
  288. }
  289. .mainBox>img {
  290. width: 2rem;
  291. height: 2rem;
  292. margin-right: 10px;
  293. }
  294. .mainBox {
  295. width: 50%;
  296. display: flex;
  297. align-items: center;
  298. font-size: 16px;
  299. box-sizing: border-box;
  300. cursor: pointer;
  301. /* justify-content: center; */
  302. }
  303. .mainBox span {
  304. font-weight: bold;
  305. }
  306. .mainBox>img {
  307. vertical-align: middle;
  308. }
  309. .dec {
  310. font-size: 12px;
  311. }
  312. .yqfwBox {
  313. width: 50%;
  314. display: flex;
  315. align-items: center;
  316. font-size: 14px;
  317. box-sizing: border-box;
  318. cursor: pointer;
  319. }
  320. .yqfwBox>img {
  321. width: 15px;
  322. height: 15px;
  323. margin-right: 10px;
  324. }
  325. .title {
  326. display: flex;
  327. justify-content: space-between;
  328. padding: 15px 10px 10px 10px;
  329. align-items: center;
  330. color: #FFFFFF;
  331. font-family: Microsoft YaHei;
  332. font-size: 16px;
  333. }
  334. .title1 {
  335. display: flex;
  336. justify-content: space-between;
  337. padding: 15px 15px 0 15px;
  338. align-items: center;
  339. color: #FFFFFF;
  340. font-family: Microsoft YaHei;
  341. }
  342. .text {
  343. font-weight: bold;
  344. font-size: 16px;
  345. }
  346. .more {
  347. font-size: 13px;
  348. cursor: pointer;
  349. }
  350. .top {
  351. display: flex;
  352. justify-content: space-between;
  353. align-items: center;
  354. border-bottom: 1px solid #B7C7DC;
  355. background: #192E47;
  356. }
  357. .toplogo img {
  358. margin-bottom: 10px;
  359. margin-right: 10px;
  360. }
  361. .toplogo {
  362. padding-left: 10px;
  363. display: flex;
  364. align-items: center;
  365. font-family: DOUYU;
  366. font-weight: normal;
  367. font-size: 18px;
  368. color: #fff;
  369. height: 11vw;
  370. cursor: pointer;
  371. }
  372. .backbutton img {
  373. margin-right: 10px;
  374. }
  375. .contentItem video {
  376. width: 100%;
  377. height: 100%;
  378. }
  379. .text.active {
  380. border-bottom: 1px solid #fff;
  381. }
  382. .video-player-container {
  383. position: relative;
  384. width: 100%;
  385. height: 100%;
  386. overflow: hidden;
  387. }
  388. video {
  389. width: 100%;
  390. height: auto;
  391. transition: transform 0.3s ease;
  392. }
  393. .controls {
  394. position: absolute;
  395. bottom: 10px;
  396. left: 10px;
  397. z-index: 100;
  398. }
  399. .controls button {
  400. margin-right: 5px;
  401. }
  402. </style>
  403. </head>
  404. <body>
  405. <div style="width:100%;" class="header"></div>
  406. <div class="" id="dqfwNew">
  407. <div class="top">
  408. <div class="toplogo">
  409. <img src="images/gyylogowhite.png" alt="">
  410. <span>{{parkDesc?parkDesc.title:'-'}}</span>
  411. </div>
  412. <div class="backbutton" @click="window.history.go(-1)">
  413. <img src="images/backlogo.png" alt="">
  414. </div>
  415. </div>
  416. <div class="content">
  417. <div id="mapcontainer" v-show="currentmap==1"></div>
  418. <div id="mapcontainerrlt" v-show="currentmap==2"></div>
  419. <div class="contentR">
  420. <div class="contentBox">
  421. <div class="contentItem">
  422. <video autoplay loop muted playsinline controls controlslist="nodownload">
  423. <source
  424. :src="this.id==='1'?'https://www.cqna.gov.cn/syygapi/lkcygyy.mp4':this.id==='2'?'https://www.cqna.gov.cn/syygapi/lkxjdzcyy.mp4':this.id==='3'?'https://www.cqna.gov.cn/syygapi/lkcjyscxcyy.mp4':this.id==='4'?'https://www.cqna.gov.cn/syygapi/lknpxq.mp4':this.id==='5'?'https://www.cqna.gov.cn/syygapi/lkylcxg.mp4':'https://www.cqna.gov.cn/syygapi/index.mp4'"
  425. type="video/mp4" style="width:100%;height: 100%;border-radius: 10px;">
  426. Your browser does not support the video tag.
  427. </video>
  428. </div>
  429. <div class="contentItem">
  430. <div class="title1">
  431. <span class="text">园区介绍</span>
  432. </div>
  433. <div class="main">
  434. <div class="liList" v-for="(tab, index) in str" :key="index">
  435. <img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />
  436. <div :title="tab" class="tdgyTitle">{{tab}}</div>
  437. </div>
  438. </div>
  439. </div>
  440. <div class="contentItem"
  441. style="background:url(https://www.cqna.gov.cn/syygapi/naxsb/image/tdgybg.png) no-repeat;background-size: 100% 100%;">
  442. <div class="title">
  443. <div><span class="text active" style="cursor: pointer;" id="tdgydiv"
  444. @click="currentmap=1;$('#rltdiv').removeClass('active');$('#tdgydiv').addClass('active');">土地供应</span><span
  445. class="text" style="margin-left: 10px;cursor: pointer;"
  446. @click="currentmap=2;$('#tdgydiv').removeClass('active');$('#rltdiv').addClass('active');"
  447. id="rltdiv">热力图</span></div>
  448. <span class="more" @click="golink('tdcrlistMobile.html?id=-1',1)"
  449. v-if="!contentList.length">更多>></span>
  450. <span class="more" @click="golink('tdcrlistMobile.html',2)"
  451. v-else>更多>></span>
  452. </div>
  453. <div class="tdgy">
  454. <div class="tdgyC">
  455. <div class="tdgyList" v-for="(tab, index) in this.contentList" :key="index" @click="goTdcr(tab.id)">
  456. <img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />
  457. <div class="tdgyContent">
  458. <div class="tdgyTitle">{{tab.landName}}</div>
  459. <div class="tdgyDec">{{tab.landArea}}亩&nbsp;丨&nbsp;{{tab.landFunction?tab.landFunction:''}}</div>
  460. </div>
  461. </div>
  462. </div>
  463. <div class="nodata" v-show="!contentList.length"
  464. :style="{ backgroundImage: 'url(' + tdBackgroundImage + ')'}"></div>
  465. </div>
  466. </div>
  467. <div class="contentItem"
  468. style="background:url(https://www.cqna.gov.cn/syygapi/naxsb/image/ztfwbg.png) no-repeat;background-size: 100% 100%;">
  469. <div class="title">
  470. <span class="text">载体服务</span>
  471. <span class="more" @click="golink('ztcrlistMobile.html',2)">更多>></span>
  472. </div>
  473. <div class="tdgy">
  474. <div class="ztfwC">
  475. <div class="ztfwList" v-for="(tab, index) in this.buildList" :key="index" @click="goZtcr(tab.id)">
  476. <img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />
  477. <div class="tdgyContent">
  478. <div class="tdgyTitle">{{tab.carrierName}}</div>
  479. <div class="tdgyDec">
  480. {{tab.space?tab.space:''}}亩&nbsp;丨&nbsp;{{tab.addr?tab.addr:tab.application}}</div>
  481. </div>
  482. </div>
  483. </div>
  484. <div class="nodata" v-show="!buildList.length"
  485. :style="{ backgroundImage: 'url(' + ztBackgroundImage + ')'}"></div>
  486. </div>
  487. </div>
  488. <div class="contentItem"
  489. style="background:url(https://www.cqna.gov.cn/syygapi/naxsb/image/yqfwbg.png) no-repeat;background-size: 100% 100%;">
  490. <div class="title">
  491. <span class="text">便企服务站</span>
  492. </div>
  493. <div class="yqfw">
  494. <div class="yqfwBox mb" @click="golink('tsfwMobile.html')">
  495. <img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />特色服务
  496. </div>
  497. <div class="yqfwBox mb" @click="golink('dqfwMobile.html')">
  498. <img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />党群服务
  499. </div>
  500. <div class="yqfwBox" @click="window.open('wybdbMobile.html')">
  501. <img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />帮代办服务
  502. </div>
  503. <div class="yqfwBox" @click="golink('znxzchoiceMobile.html')">
  504. <img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />智能选址
  505. </div>
  506. </div>
  507. </div>
  508. <div class="contentItem"
  509. style="background:url(https://www.cqna.gov.cn/syygapi/naxsb/image/mxqybg.png) no-repeat;background-size: 100% 100%;">
  510. <div class="title">
  511. <span class="text">明星企业</span>
  512. </div>
  513. <div class="mxqy">
  514. <div class="mxqyList" v-for="(tab, index) in this.titleList" @click="tab.link?window.open(tab.link):''"
  515. :key="index">
  516. <img :src="tab.logo" alt="">
  517. </div>
  518. </div>
  519. </div>
  520. </div>
  521. </div>
  522. </div>
  523. </div>
  524. <div style="width:100%;" class="footer"></div>
  525. </body>
  526. <script>
  527. $(function () {
  528. $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
  529. $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
  530. });
  531. </script>
  532. <script>
  533. new Vue({
  534. el: '#dqfwNew',
  535. data: function () {
  536. return {
  537. str: [],
  538. currentTab: -1,
  539. currentmap: 1,
  540. contentList: [],
  541. buildList: [],
  542. currentTitle: '',
  543. parkDesc: null,
  544. parkName: '',
  545. titleList: [],
  546. tdBackgroundImage: 'https://www.cqna.gov.cn/syygapi/naxsb/image/tdcy.webp',
  547. ztBackgroundImage: 'https://www.cqna.gov.cn/syygapi/naxsb/image/ztcy.webp',
  548. fadeOut: false,
  549. fadeIn: false,
  550. id: null,
  551. map: null
  552. };
  553. },
  554. created() { },
  555. async mounted() {
  556. const url = new URL(window.location.href);
  557. this.id = url.searchParams.get('id');
  558. var id = url.searchParams.get('id');
  559. await this.getParkData()
  560. if (this.id == 4) {
  561. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/npxqcyy.jpg';
  562. } else if (this.id == 6) {
  563. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/dxkjy.jpg';
  564. } else if (this.id == 5) {
  565. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ylcxg.jpg';
  566. } else if (this.id == 1) {
  567. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/cycyy.jpg';
  568. } else if (this.id == 2) {
  569. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/xjqcdzcyy.jpg';
  570. } else if (this.id == 3) {
  571. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/cjlscxcyy.jpg';
  572. } else {
  573. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/tdcy.webp';
  574. }
  575. if (this.id == 4) {
  576. this.str = ['位于南岸核心区范围', '总面积约5平方公里', '轨道3号线、10号线', '城市公共服务和配套设施完善', '主导产业:软件信息业、商贸流通业、文旅大健康产业、生产型服务业']
  577. this.ztBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ztnp.webp';
  578. } else if (this.id == 6) {
  579. this.str = ['位于广阳湾智创生态城内', '规划总建筑面积约为75万平方米', '主导产业:软件及信息服务业发展']
  580. this.ztBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ztdx.webp';
  581. } else if (this.id == 5) {
  582. this.str = ['位于广阳湾智创生态城东南侧迎龙片区', '建设用地总面积0.72平方公里', '已建用地约为0.36平方公里', '轨道交通便捷,公路交通发达', '主导产业:脑科学等前沿科学、绿色低碳产业、软件信息服务业、商贸服务业']
  583. this.ztBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ztyl.webp';
  584. } else if (this.id == 3) {
  585. this.str = ['位于广阳湾智创生态城核心区', '规划建设用地面积约为4.43平方公里', '建成面积约为4.17平方公里', '主导产业:智能终端研发生产矩阵、数字经济软信产业链、节能环保绿色装备制造基地、医药医疗器械产业']
  586. this.ztBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ztcjcx.webp';
  587. } else if (this.id == 2) {
  588. this.str = ['位于广阳湾智创生态城内', '总用地面积约32万平方米', '规划总建筑面积约为75万平方米', '主导产业:软件及信息服务业发展']
  589. this.ztBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ztxj.webp';
  590. } else {
  591. this.str = ['总面积约7.31平方公里', '建设用地面积4.14平方公里', '建成面积约3.47平方公里', '主导产业:智能制造、软件信息服务、大健康、汽车及零部件']
  592. this.ztBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ztcy.webp';
  593. }
  594. if (id == 1) {
  595. this.loadheatMap('https://www.cqna.gov.cn/syygapi/naxsb/json/cycyy.json', '106.619974,29.505763');
  596. } else if (id == 2) {
  597. this.loadheatMap('https://www.cqna.gov.cn/syygapi/naxsb/json/xjqcdzcyy.json', '106.74585,29.610364');
  598. } else if (id == 3) {
  599. this.loadheatMap('https://www.cqna.gov.cn/syygapi/naxsb/json/cjlscxcyy.json', '106.650834,29.545306');
  600. } else if (id == 4) {
  601. this.loadheatMap('https://www.cqna.gov.cn/syygapi/naxsb/json/npxqcyy.json', '106.520471,29.543469');
  602. } else if (id == 5) {
  603. this.loadheatMap('https://www.cqna.gov.cn/syygapi/naxsb/json/ylcxg.json', '106.696781,29.532237');
  604. } else if (id == 6) {
  605. this.loadheatMap('https://www.cqna.gov.cn/syygapi/naxsb/json/dxkjy.json', '106.728802,29.610054');
  606. }
  607. },
  608. methods: {
  609. goTdcr(id) {
  610. window.location.href = 'tdcrMobile.html?tdid=' + id;
  611. },
  612. goZtcr(id) {
  613. window.location.href = 'ztcrdetailMobile.html?ztid=' + id;
  614. },
  615. golink(hrf, val) {
  616. if (val) {
  617. if (val === 1 && !this.contentList.length || val === 2 && !this.buildList.length) return window.location.href = hrf;
  618. }
  619. window.location.href = `${hrf}?id=${this.id}`;
  620. },
  621. loadheatMap(url, centerpoint) {
  622. var app = {};
  623. var chartDom = document.getElementById('mapcontainerrlt');
  624. var myChart = echarts.init(chartDom);
  625. var option;
  626. var point = centerpoint.split(',');
  627. $.get(url, function (data) {
  628. var points = [].concat.apply(
  629. [],
  630. data.map(function (track) {
  631. return track.map(function (seg) {
  632. return seg.coord.concat([1]);
  633. });
  634. })
  635. );
  636. myChart.setOption(
  637. (option = {
  638. toolbox: {
  639. show: false,
  640. feature: {
  641. saveAsImage: false,
  642. toolbox: false
  643. }
  644. },
  645. animation: false,
  646. bmap: {
  647. center: [point[0], point[1]],
  648. zoom: 14,
  649. roam: true
  650. },
  651. visualMap: {
  652. show: false,
  653. top: 'top',
  654. min: 0,
  655. max: 5,
  656. seriesIndex: 0,
  657. calculable: true,
  658. inRange: {
  659. color: ['blue', 'yellow', 'red']
  660. }
  661. },
  662. series: [
  663. {
  664. type: 'heatmap',
  665. coordinateSystem: 'bmap',
  666. data: points,
  667. pointSize: 25,
  668. blurSize: 15
  669. }
  670. ]
  671. })
  672. );
  673. var bmap = myChart.getModel().getComponent('bmap').getBMap();
  674. bmap.addControl(new BMap.MapTypeControl());
  675. bmap.setMapType(BMAP_NORMAL_MAP);
  676. });
  677. option && myChart.setOption(option);
  678. },
  679. loadAllMap() {
  680. var that = this;
  681. fetch('https://www.cqna.gov.cn/syygapi/naxsb/js/najson.json')
  682. .then(response => response.json())
  683. .then(data => {
  684. var centerPoint = data.features[0].properties.center;
  685. map = new BMapGL.Map("mapcontainer");
  686. map.enableScrollWheelZoom(true);
  687. map.enableDragging(true);
  688. const id = that.id;
  689. map.setMapStyleV2({
  690. styleJson: [
  691. {
  692. "featureType": "building",
  693. "elementType": "all",
  694. "stylers": {
  695. "visibility": "off"
  696. }
  697. },
  698. {
  699. "featureType": "poilabel",
  700. "elementType": "all",
  701. "stylers": {
  702. "visibility": "off"
  703. }
  704. },
  705. {
  706. "featureType": "manmade",
  707. "elementType": "all",
  708. "stylers": {
  709. "visibility": "off"
  710. }
  711. },
  712. ]
  713. });
  714. var level = 14;
  715. if (id == 1) {
  716. map.centerAndZoom(new BMapGL.Point(106.651444, 29.48682), 13);
  717. level = 14;
  718. } else if (id == 2) {
  719. map.centerAndZoom(new BMapGL.Point(106.76723874457288, 29.583276880811712), 13);
  720. level = 13;
  721. } else if (id == 3) {
  722. map.centerAndZoom(new BMapGL.Point(106.69517131217539, 29.53077313312822), 13);
  723. level = 14;
  724. } else if (id == 4) {
  725. map.centerAndZoom(new BMapGL.Point(106.559829995157, 29.528581648208534), 13);
  726. level = 14;
  727. } else if (id == 5) {
  728. map.centerAndZoom(new BMapGL.Point(106.72194027111843, 29.519690776940248), 13);
  729. level = 15;
  730. } else if (id == 6) {
  731. map.centerAndZoom(new BMapGL.Point(106.70580793222035, 29.519020426917684), 13);
  732. level = 15;
  733. } else {
  734. map.centerAndZoom(new BMapGL.Point(106.651444, 29.48682), 13);
  735. }
  736. map.setMapType(BMAP_NORMAL_MAP);
  737. var pointList = data.features[0].geometry.coordinates[0][0];
  738. let result = [];
  739. pointList.forEach(function (point) {
  740. result.push(new BMapGL.Point(point[0], point[1]));
  741. });
  742. polygon = new BMapGL.Polygon(result, {
  743. strokeColor: "#226cfb",
  744. strokeWeight: 1.5,
  745. strokeOpacity: 1,
  746. strokeStyle: "solid",
  747. fillColor: "#4B98F6",
  748. fillOpacity: 0.2
  749. });
  750. map.addOverlay(polygon);
  751. let pointList1 = that.parkDesc.addr.split('@');
  752. let result1 = [];
  753. pointList1.forEach(function (point) {
  754. let arr = point.split(',');
  755. result1.push(new BMapGL.Point(arr[0], arr[1]));
  756. });
  757. polygon1 = new BMapGL.Polygon(result1, {
  758. strokeColor: "transparent",
  759. strokeWeight: 0,
  760. strokeOpacity: 1,
  761. strokeStyle: "solid",
  762. fillColor: that.parkDesc.color,
  763. fillOpacity: 0.6
  764. });
  765. map.addOverlay(polygon1);
  766. var points = that.ztpointList;
  767. if (points.length) {
  768. points.forEach(function (d) {
  769. let pList = d.point.split('@');
  770. pList.forEach(function (point) {
  771. let arr = point.split(',');
  772. let p = new BMapGL.Point(arr[0], arr[1]);
  773. var myIcon = new BMapGL.Icon('images/addrztm.png', new BMapGL.Size(25, 25));
  774. let marker = new BMapGL.Marker(p, {icon: myIcon});
  775. var opts = {
  776. position: new BMapGL.Point(arr[0], arr[1]),
  777. offset: new BMapGL.Size(10, 10)
  778. };
  779. var label = new BMapGL.Label(d.carrierName, opts);
  780. label.setStyle({
  781. color: "#186FF0",
  782. border: "0",
  783. padding: "0",
  784. display: "none",
  785. background: "transparent",
  786. fontWeight: 'bold',
  787. backgroundColor: 'transparent',
  788. textShadow: '0 0 4px #4B97F5',
  789. textStrokeColor: "#4B97F5",
  790. textStrokeWidth: "4px",
  791. fontSize: "16px",
  792. height: "20px",
  793. lineHeight: "20px",
  794. fontFamily: "微软雅黑"
  795. });
  796. marker.setLabel(label);
  797. marker.addEventListener("mouseover", function (e) {
  798. var label = this.getLabel()
  799. label.setStyle({ display: "block" });
  800. });
  801. marker.addEventListener("mouseout", function (e) {
  802. var label = this.getLabel()
  803. label.setStyle({ display: "none" });
  804. });
  805. map.addOverlay(marker);
  806. marker.addEventListener('click', function () {
  807. var id = d.id;
  808. window.location.href = 'ztcrdetailMobile.html?ztid=' + id;
  809. });
  810. });
  811. });
  812. }
  813. var datalist = that.tdpointList;
  814. if (datalist.length) {
  815. datalist.forEach(function (polygonData) {
  816. let pointList = polygonData.point.split('@');
  817. let result = [];
  818. pointList.forEach(function (point) {
  819. let arr = point.split(',');
  820. result.push(new BMapGL.Point(arr[0], arr[1]));
  821. });
  822. let polygon = new BMapGL.Polygon(result, {
  823. strokeColor: "red",
  824. strokeWeight: 1,
  825. strokeOpacity: 1,
  826. strokeStyle: "solid",
  827. fillColor: "transparent",
  828. fillOpacity: 0
  829. });
  830. map.addOverlay(polygon);
  831. var id = polygonData.id;
  832. var label = new BMapGL.Label(polygonData.landName, {
  833. position: polygon.getBounds().getCenter(),
  834. offset: new BMapGL.Size(0, 0)
  835. });
  836. label.setStyle({
  837. color: "#186FF0",
  838. fontSize: "18px",
  839. height: "auto",
  840. lineHeight: "20px",
  841. fontFamily: "微软雅黑",
  842. fontWeight: 'bold',
  843. backgroundColor: 'transparent',
  844. border: 'none',
  845. textShadow: '0 0 4px #4B97F5',
  846. textStrokeColor: "#4B97F5",
  847. textStrokeWidth: "4px",
  848. });
  849. polygon.addEventListener("mouseover", function () {
  850. map.addOverlay(label);
  851. label.setStyle({ display: "block" });
  852. });
  853. polygon.addEventListener("mouseout", function () {
  854. label.setStyle({ display: "none" });
  855. });
  856. polygon.addEventListener("click", function () {
  857. window.location.href = 'tdcrMobile.html?tdid=' + id;
  858. });
  859. });
  860. }
  861. setTimeout(function name(params) {
  862. that.zoomInStepByStep(13, level);
  863. }, 3000)
  864. })
  865. .catch(error => console.error('Error fetching JSON:', error));
  866. },
  867. addKey(y) {
  868. let i = 0
  869. setInterval(function () {
  870. if (i >= y) return i = 0
  871. i++
  872. document.querySelector('.tdgyC').style.marginTop = `-${i}px`
  873. }, 50);
  874. },
  875. async getParkData() {
  876. let that = this;
  877. $.ajax({
  878. url: conpath + "/parkData/" + this.id,
  879. type: "get",
  880. dataType: "json",
  881. async: false,
  882. success: function (data) {
  883. var pointlist = data.addr.split('@');
  884. that.parkDesc = data;
  885. }
  886. })
  887. await $.ajax({
  888. url: conpath + "/parkData/details/" + this.id,
  889. type: "get",
  890. dataType: "json",
  891. success: function (data) {
  892. that.titleList = data.filter(item => item.moduleType === "3");
  893. }
  894. });
  895. await $.ajax({
  896. url: conpath + "/sellLand",
  897. type: "post",
  898. contentType: 'application/json',
  899. data: JSON.stringify({
  900. "currentPage": 1,
  901. "pageSize": 10000,
  902. "parkId": that.id,
  903. "keyword": ''
  904. }),
  905. dataType: "json",
  906. success: function (data) {
  907. let dataList = data.list;
  908. that.contentList = dataList;
  909. that.tdpointList = [];
  910. dataList.forEach(function (d) {
  911. if (!d.point) return;
  912. let pList = d.point.split('@');
  913. pList.forEach(function (point) {
  914. that.tdpointList.push(d);
  915. });
  916. });
  917. }
  918. });
  919. await $.ajax({
  920. url: conpath + "/sellBuild",
  921. type: "post",
  922. contentType: 'application/json',
  923. data: JSON.stringify({
  924. "currentPage": 1,
  925. "pageSize": 10000,
  926. "parkId": that.id,
  927. "space1": null,
  928. "application": null
  929. }),
  930. dataType: "json",
  931. success: function (data) {
  932. let dataList = data.list;
  933. that.buildList = dataList;
  934. that.ztpointList = [];
  935. dataList.forEach(function (d) {
  936. if (!d.point) return;
  937. let pList = d.point.split('@');
  938. pList.forEach(function (point) {
  939. that.ztpointList.push(d);
  940. });
  941. });
  942. }
  943. });
  944. that.loadAllMap();
  945. var height = document.querySelector('.ztfwList') ? document.querySelector('.ztfwList').clientHeight : 0;
  946. if (this.buildList.length) {
  947. this.addKeyFrames(height * this.buildList.length);
  948. }
  949. var height1 = document.querySelector('.tdgyList') ? document.querySelector('.tdgyList').clientHeight : 0;
  950. if (this.contentList.length) { this.addKey(height1 * this.contentList.length); }
  951. },
  952. addKeyFrames(y) {
  953. let i = 0
  954. setInterval(function () {
  955. if (i >= y) return i = 0
  956. i++
  957. document.querySelector('.ztfwC').style.marginTop = `-${i}px`
  958. }, 50);
  959. },
  960. zoomInStepByStep(currentZoom, maxZoom) {
  961. let that = this;
  962. if (currentZoom <= maxZoom) {
  963. map.setZoom(currentZoom, true);
  964. setTimeout(function () {
  965. that.zoomInStepByStep(currentZoom + 0.5, maxZoom);
  966. }, 100);
  967. }
  968. }
  969. }
  970. });
  971. </script>
  972. </html>