cytzMobile.html 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837
  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. <title>产业园区</title>
  7. <meta name=”SiteName” content=”重庆市南岸区人民政府”>
  8. <meta name="SiteDomain" content="http://www.cqna.gov.cn" />
  9. <meta name="SiteIDCode" content="5001080014">
  10. <meta name="ColumnName" content="产业园区">
  11. <meta name="ColumnDescription" content="产业园区" />
  12. <meta name="ColumnKeywords" content="产业园区" />
  13. <meta name="ColumnType" content="产业园区" />
  14. <title>产业园区-重庆市南岸区人民政府网</title>
  15. <!-- 引入 Vue -->
  16. <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/vue.min.js"></script>
  17. <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/echarts.min.js"></script>
  18. <!-- 引入样式 -->
  19. <link rel="stylesheet" href="https://www.cqna.gov.cn/syygapi/naxsb/css/index.css">
  20. <!-- 引入组件库 -->
  21. <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/index.js"></script>
  22. <link rel="stylesheet" href="https://www.cqna.gov.cn/syygapi/naxsb/swiper/swiper-bundle.css">
  23. <!-- jquery-->
  24. <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/jquery-3.5.1.min.js"></script>
  25. <script src="https://www.cqna.gov.cn/syygapi/naxsb/js/urljson.js"></script>
  26. <script type="text/javascript"
  27. src="https://api.map.baidu.com/api?type=webgl&v=3.0&ak=7XivTux4H2e1ifKLjvEhxfuayDYxAluq">
  28. </script>
  29. <style>
  30. * {
  31. padding: 0;
  32. margin: 0;
  33. }
  34. ul {
  35. list-style-type: none;
  36. }
  37. li {
  38. list-style: none;
  39. }
  40. ::-webkit-scrollbar {
  41. display: none;
  42. }
  43. @font-face {
  44. font-family: 'DOUYU';
  45. src: url('https://www.cqna.gov.cn/syygapi/naxsb/fonts/DOUYUFONT-2.woff');
  46. font-weight: normal;
  47. font-style: normal;
  48. }
  49. @font-face {
  50. font-family: 'Source Han Sans SC';
  51. src: url('https://www.cqna.gov.cn/syygapi/naxsb/fonts/MSYHL.TTC');
  52. font-weight: normal;
  53. font-style: normal;
  54. }
  55. #cytz {
  56. font-family: Microsoft YaHei;
  57. color: #FFFFFF;
  58. box-sizing: border-box;
  59. position: relative;
  60. }
  61. .content {
  62. width: 100vw;
  63. display: flex;
  64. flex-direction: column;
  65. background: #EDF5FF;
  66. }
  67. #map {
  68. width: 100vw;
  69. height: 73vw;
  70. }
  71. .contentR {
  72. width: 95vw;
  73. margin: auto;
  74. }
  75. .contentBox {
  76. width: 100%;
  77. display: flex;
  78. flex-direction: column;
  79. }
  80. .contentItem {
  81. height: 53vw;
  82. border-radius: 10px;
  83. background: url(https://www.cqna.gov.cn/syygapi/naxsb/image/ysxxbg.png) no-repeat;
  84. background-size: 100% 100%;
  85. display: flex;
  86. flex-direction: column;
  87. overflow: hidden;
  88. width: 95vw;
  89. margin: auto;
  90. margin-top: 10px;
  91. }
  92. .main {
  93. padding: 0 10px;
  94. height: 100%;
  95. overflow: auto;
  96. box-sizing: border-box;
  97. flex: 1;
  98. font-size: 14px;
  99. margin: 0 !important;
  100. }
  101. .mainTab {
  102. padding: 20px 0;
  103. font-size: 20px;
  104. }
  105. .el-tabs__item {
  106. color: #fff;
  107. font-size: 16px;
  108. border: none !important;
  109. }
  110. .el-tabs--card>.el-tabs__header .el-tabs__nav {
  111. border: none;
  112. width: 100%;
  113. display: flex;
  114. justify-content: space-between;
  115. }
  116. .el-tabs__nav-next,
  117. .el-tabs__nav-prev {
  118. color: #fff;
  119. }
  120. .activeTab {
  121. background-color: rgba(0, 0, 0, .4) !important;
  122. font-weight: bold;
  123. }
  124. .el-tabs__item.is-active {
  125. color: #fff;
  126. font-weight: 900;
  127. }
  128. .el-tabs__header{
  129. margin-bottom: 0;
  130. }
  131. .activeTab {
  132. background-color: rgba(0, 0, 0, .4) !important;
  133. font-weight: bold;
  134. }
  135. .main>div {
  136. width: 100%;
  137. overflow: auto;
  138. -ms-overflow-style: none;
  139. scrollbar-width: none;
  140. }
  141. li {
  142. width: 90%;
  143. overflow: hidden;
  144. word-break: break-all;
  145. white-space: nowrap;
  146. text-overflow: ellipsis !important;
  147. -o-text-overflow: ellipsis;
  148. }
  149. li>img {
  150. width: 11px;
  151. height: 11px;
  152. margin-right: 10px;
  153. vertical-align: middle;
  154. }
  155. .yqfw {
  156. display: flex;
  157. flex-wrap: wrap;
  158. padding: 25px;
  159. padding-left: 50px;
  160. }
  161. .yqlb {
  162. flex: 1;
  163. padding: 0 10px;
  164. line-height: 35px;
  165. }
  166. .tdgy {
  167. padding: 0 20px;
  168. width: 100%;
  169. overflow: hidden;
  170. height: 100%;
  171. }
  172. .tdgyC {
  173. display: flex;
  174. flex-wrap: wrap;
  175. /* padding: 0 20px; */
  176. width: 100%;
  177. overflow-y: auto;
  178. -ms-overflow-style: none;
  179. scrollbar-width: none;
  180. box-sizing: border-box;
  181. position: relative;
  182. }
  183. .ztfw {
  184. padding: 0 20px;
  185. box-sizing: border-box;
  186. overflow: hidden;
  187. }
  188. .ztfwC {
  189. width: 100%;
  190. overflow-y: auto;
  191. -ms-overflow-style: none;
  192. scrollbar-width: none;
  193. display: flex;
  194. flex-wrap: wrap;
  195. }
  196. .tdgyList {
  197. display: flex;
  198. border-bottom: 1px solid rgba(245, 250, 255, .2);
  199. cursor: pointer;
  200. padding: 5px 0;
  201. overflow: hidden;
  202. word-break: break-all;
  203. white-space: nowrap;
  204. width: 100%;
  205. position: relative;
  206. }
  207. .tdgyList:last-child {
  208. display: flex;
  209. border-bottom: none;
  210. }
  211. .tdgyList>img {
  212. width: 15px;
  213. height: 15px;
  214. margin-top: 5px;
  215. margin-right: 10px;
  216. }
  217. .ztfwList:last-child {
  218. display: flex;
  219. border-bottom: none;
  220. }
  221. .ztfwList>img {
  222. width: 15px;
  223. height: 15px;
  224. margin-top: 5px;
  225. margin-right: 10px;
  226. }
  227. .ztfwList {
  228. display: flex;
  229. border-bottom: 1px solid rgba(245, 250, 255, .2);
  230. padding: 5px 0;
  231. overflow: hidden;
  232. word-break: break-all;
  233. white-space: nowrap;
  234. width: 100%;
  235. position: relative;
  236. cursor: pointer;
  237. }
  238. .tdgyContent {
  239. width: calc(100% - 35px);
  240. }
  241. .tdgyTitle {
  242. font-size: 14px;
  243. overflow: hidden;
  244. word-break: break-all;
  245. white-space: nowrap;
  246. text-overflow: ellipsis !important;
  247. -o-text-overflow: ellipsis;
  248. }
  249. .tdgyLocation {
  250. font-size: 12px;
  251. color: rgba(255, 255, 255, .6);
  252. overflow: hidden;
  253. word-break: break-all;
  254. white-space: nowrap;
  255. text-overflow: ellipsis !important;
  256. -o-text-overflow: ellipsis;
  257. }
  258. .tdgyDec {
  259. font-size: 13px;
  260. }
  261. .mainList {
  262. box-sizing: border-box;
  263. font-family: Microsoft YaHei;
  264. font-weight: 400;
  265. font-size: 14px;
  266. display: flex;
  267. align-items: center;
  268. line-height: 24px;
  269. }
  270. .mb {
  271. margin-bottom: 50px;
  272. }
  273. .mainBox>img {
  274. width: 2rem;
  275. height: 2rem;
  276. margin-right: 10px;
  277. }
  278. .mainBox {
  279. width: 50%;
  280. display: flex;
  281. align-items: center;
  282. font-size: 18px;
  283. box-sizing: border-box;
  284. cursor: pointer;
  285. justify-content: center;
  286. }
  287. .yqfwBox {
  288. width: 50%;
  289. display: flex;
  290. align-items: center;
  291. font-size: 14px;
  292. box-sizing: border-box;
  293. cursor: pointer;
  294. /* justify-content: center; */
  295. }
  296. .yqfwBox>img {
  297. width: 15px;
  298. height: 15px;
  299. margin-right: 10px;
  300. }
  301. .title {
  302. display: flex;
  303. justify-content: space-between;
  304. padding: 15px 10px 10px 10px;
  305. align-items: center;
  306. color: #FFFFFF;
  307. font-family: Microsoft YaHei;
  308. font-size: 16px;
  309. }
  310. .text {
  311. font-weight: bold;
  312. font-size: 16px;
  313. }
  314. .more {
  315. font-size: 13px;
  316. cursor: pointer;
  317. }
  318. .nodata {
  319. height: calc(100% - 10px);
  320. width: calc(100% - 40px);
  321. background-size: 100% 100%;
  322. }
  323. .top {
  324. height: 11vw;
  325. display: flex;
  326. justify-content: space-between;
  327. align-items: center;
  328. border-bottom: 1px solid #B7C7DC;
  329. background: #192E47;
  330. }
  331. .toplogo img {
  332. margin-right: 10px;
  333. }
  334. .toplogo {
  335. height: 11vw;
  336. padding-left: 10px;
  337. display: flex;
  338. align-items: center;
  339. font-family: 'DOUYU';
  340. font-weight: normal;
  341. font-size: 18px;
  342. color: #fff;
  343. cursor: pointer;
  344. }
  345. .backbutton img {
  346. margin-right: 10px;
  347. }
  348. .location {
  349. height: 73px;
  350. font-family: Microsoft YaHei;
  351. font-weight: bold;
  352. font-size: 1.17rem;
  353. color: #333333;
  354. line-height: 73px;
  355. }
  356. .location>i {
  357. color: #C4C4C4 !important;
  358. }
  359. </style>
  360. </head>
  361. <body>
  362. <div style="width:100%;" class="header"></div>
  363. <div class="" id="cytz">
  364. <div class="top">
  365. <div class="toplogo">
  366. <img src="images/gyylogowhite.png" alt="">
  367. <span style="margin-bottom: -10px;">产业园区</span>
  368. </div>
  369. <div class="backbutton" @click="window.history.go(-1)">
  370. <img src="images/backlogo.png" alt="">
  371. </div>
  372. </div>
  373. <div class="content">
  374. <div id="map"></div>
  375. <div class="contentR">
  376. <div class="contentBox">
  377. <div class="contentItem">
  378. <video autoplay loop muted playsinline controls controlslist="nodownload" style="width:100%;height: 100%;">
  379. <source style="width:100%;height: 100%;border-radius: 10px;" src="https://www.cqna.gov.cn/syygapi/index.mp4"
  380. type="video/mp4" />
  381. </video>
  382. </div>
  383. <div class="contentItem">
  384. <el-tabs v-model="activeName" type="card" @tab-click="switchTab">
  385. <el-tab-pane label="区位条件" name="1"></el-tab-pane>
  386. <el-tab-pane label="创新优势" name="2"></el-tab-pane>
  387. <el-tab-pane label="产业特色" name="3"></el-tab-pane>
  388. </el-tabs>
  389. <div class="main" style="line-height: 30px;">
  390. <div v-show="this.activeName==='1'">
  391. <li title="15分钟直达江北国际机场"><img
  392. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />15分钟直达江北国际机场</li>
  393. <li title="20分钟可抵重庆西部物流园"><img
  394. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />20分钟可抵重庆西部物流园</li>
  395. <li title="高铁重庆东站主体结构封顶"><img
  396. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />高铁重庆东站主体结构封顶</li>
  397. <li title="13座长江大桥"><img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />13座长江大桥</li>
  398. <li title="轨道3号线、6号线、10号线、环线"><img
  399. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />轨道3号线、6号线、10号线、环线</li>
  400. </div>
  401. <div v-show="this.activeName==='2'">
  402. <li title="国家级基地(园区)7个"><img
  403. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />国家级基地(园区)7个</li>
  404. <li title="高等院校6所"><img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />高等院校6所</li>
  405. <li title="高新技术企业344家"><img
  406. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />高新技术企业344家</li>
  407. <li title="科技型企业2640家"><img
  408. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />科技型企业2640家</li>
  409. <li title="市级以上研发平台301个"><img
  410. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />市级以上研发平台301个</li>
  411. <li title="国家级研发平台20个"><img
  412. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />国家级研发平台20个</li>
  413. <li title="20项科技成果入选重庆市科学技术奖"><img
  414. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />20项科技成果入选重庆市科学技术奖</li>
  415. <li title="每万人口发明专利拥有量72.3件"><img
  416. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />每万人口发明专利拥有量72.3件</li>
  417. <li title="规上工业企业研发机构覆盖率达到54.2%"><img
  418. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />规上工业企业研发机构覆盖率达到54.2%</li>
  419. </div>
  420. <div v-show="this.activeName==='3'">
  421. <li title="2023年地区生产总值增长6.7%,居中心城区第一"><img
  422. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />2023年地区生产总值增长6.7%,居中心城区第一</li>
  423. <li title="构建智能终端、软件信息服务、大健康3个1000亿级主导产业体系"><img
  424. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />构建智能终端、软件信息服务、大健康3个1000亿级主导产业体系
  425. </li>
  426. <li title="构建节能环保、汽车电子2个500亿级特色支柱产业体系"><img
  427. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />构建节能环保、汽车电子2个500亿级特色支柱产业体系
  428. </li>
  429. <li title="长嘉汇金融中心、国际消费中心城市中心区建设稳步推进"><img
  430. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />长嘉汇金融中心、国际消费中心城市中心区建设稳步推进</li>
  431. <li title="高质量建设广阳湾智创生态城"><img
  432. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />高质量建设广阳湾智创生态城</li>
  433. <li title="推动朝天门商贸城转型为迎龙创新港"><img
  434. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />推动朝天门商贸城转型为迎龙创新港</li>
  435. <li title="重庆脑与智能科学中心等高能级平台入驻"><img
  436. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />重庆脑与智能科学中心等高能级平台入驻</li>
  437. <li title="广阳岛成功入选全国 “绿水青山就是金山银山”实践创新基地"><img
  438. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />广阳岛成功入选全国 “绿水青山就是金山银山”实践创新基地
  439. </li>
  440. <li title="重庆经开区入选国家绿色产业示范基地"><img
  441. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />重庆经开区入选国家绿色产业示范基地</li>
  442. <li title="高品质更新大南坪集聚区,推动南坪商圈提档升级"><img
  443. src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />高品质更新大南坪集聚区,推动南坪商圈提档升级</li>
  444. </div>
  445. </div>
  446. </div>
  447. <div class="contentItem"
  448. style="background:url(https://www.cqna.gov.cn/syygapi/naxsb/image/yqlbbg.png) no-repeat;background-size: 100% 100%;">
  449. <div class="title">
  450. <span class="text">园区列表</span>
  451. </div>
  452. <div class="yqlb">
  453. <li class="mainList" v-for="(tab, index) in this.titleList" @click="golink(`dqfwNewMobile.html?id=${tab.id}`)"
  454. :key="index"><img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />{{tab.title}}</li>
  455. </div>
  456. </div>
  457. <div class="contentItem" style="background:url(https://www.cqna.gov.cn/syygapi/naxsb/image/tdgybg.png) no-repeat;background-size: 100% 100%;">
  458. <div class="title">
  459. <span class="text">土地供应</span>
  460. <span class="more"
  461. @click="golink('tdcrlistMobile.html?id=-1',1)">更多>></span>
  462. </div>
  463. <div class="tdgy">
  464. <div class="tdgyC">
  465. <div :data="contentList" class="tdgyList" v-for="(tab, index) in this.contentList"
  466. @click="golink('tdcrMobile.html?tdid=' + tab.id)" :key="index">
  467. <img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />
  468. <div class="tdgyContent">
  469. <div class="tdgyTitle">{{tab.landName}}</div>
  470. <div class="tdgyDec">{{tab.landArea}}亩&nbsp;丨&nbsp;{{tab.landFunction}}</div>
  471. </div>
  472. </div>
  473. </div>
  474. <div class="nodata" v-show="!contentList.length"
  475. :style="{ backgroundImage: 'url(' + tdBackgroundImage + ')'}"></div>
  476. </div>
  477. </div>
  478. <div class="contentItem" style="background:url(https://www.cqna.gov.cn/syygapi/naxsb/image/ztfwbg.png) no-repeat;background-size: 100% 100%;">
  479. <div class="title">
  480. <span class="text">载体服务</span>
  481. <span class="more"
  482. @click="golink('ztcrlistMobile.html?id=-1',2)">更多>></span>
  483. </div>
  484. <div class="ztfw">
  485. <div class="ztfwC">
  486. <div class="ztfwList" v-for="(tab, index) in this.buildList"
  487. @click="golink('ztcrdetailMobile.html?ztid=' + tab.id)" :key="index">
  488. <img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />
  489. <div class="tdgyContent">
  490. <div class="tdgyTitle">{{tab.carrierName}}</div>
  491. <div class="tdgyDec">{{tab.space}}亩&nbsp;丨&nbsp;{{tab.parkData.title}}</div>
  492. </div>
  493. </div>
  494. </div>
  495. <div class="nodata" v-show="!buildList.length"
  496. :style="{ backgroundImage: 'url(' + ztBackgroundImage + ')'}"></div>
  497. </div>
  498. </div>
  499. <div class="contentItem" style="background:url(https://www.cqna.gov.cn/syygapi/naxsb/image/yqfwbg.png) no-repeat;background-size: 100% 100%;margin-bottom: 10px;">
  500. <div class="title">
  501. <span class="text">便企服务站</span>
  502. </div>
  503. <div class="yqfw">
  504. <div class="yqfwBox mb" @click="golink('tsfwMobile.html?id=3')">
  505. <img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />特色服务
  506. </div>
  507. <div class="yqfwBox mb" @click="tolink('dqfwMobile.html')">
  508. <img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />党群服务
  509. </div>
  510. <div class="yqfwBox" @click="window.open('wybdbMobile.html')">
  511. <img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />帮代办服务
  512. </div>
  513. <div class="yqfwBox" @click="golink('znxzchoiceMobile.html')">
  514. <img src="https://www.cqna.gov.cn/syygapi/naxsb/image/listcricle.png" />智能选址
  515. </div>
  516. </div>
  517. </div>
  518. </div>
  519. </div>
  520. </div>
  521. </div>
  522. <div style="width:100%;" class="footer"></div>
  523. </body>
  524. <script>
  525. $(function () {
  526. $(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
  527. $(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
  528. });
  529. </script>
  530. <script>
  531. new Vue({
  532. el: '#cytz',
  533. data: function () {
  534. return {
  535. reqPtah: '',
  536. currentTab: -1,
  537. contentList: [],
  538. buildList: [],
  539. currentTitle: '',
  540. parkDesc: '',
  541. parkName: '',
  542. titleList: [],
  543. tdBackgroundImage: '',
  544. ztBackgroundImage: '',
  545. backgroundImage: 'https://www.cqna.gov.cn/syygapi/naxsb/images/yqgkBg.png',
  546. id: null,
  547. activeName: '1'
  548. };
  549. },
  550. created() { },
  551. async mounted() {
  552. const url = new URL(window.location.href);
  553. this.id = url.searchParams.get('id');
  554. if (this.id == 4) {
  555. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/npxqcyy.jpg';
  556. } else if (this.id == 6) {
  557. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/dxkjy.jpg';
  558. } else if (this.id == 5) {
  559. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ylcxg.jpg';
  560. } else if (this.id == 1) {
  561. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/cycyy.jpg';
  562. } else if (this.id == 2) {
  563. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/xjqcdzcyy.jpg';
  564. } else if (this.id == 3) {
  565. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/cjlscxcyy.jpg';
  566. } else {
  567. this.tdBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/tdcy.webp';
  568. }
  569. if (this.id == 4) {
  570. this.ztBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ztnp.webp';
  571. } else if (this.id == 6) {
  572. this.ztBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ztdx.webp';
  573. } else if (this.id == 5) {
  574. this.ztBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ztyl.webp';
  575. } else if (this.id == 3) {
  576. this.ztBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ztcjcx.webp';
  577. } else if (this.id == 2) {
  578. this.ztBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ztxj.webp';
  579. } else {
  580. this.ztBackgroundImage = 'https://www.cqna.gov.cn/syygapi/naxsb/image/ztcy.webp';
  581. }
  582. await this.getParkData()
  583. this.loadAllMap()
  584. },
  585. methods: {
  586. switchTab(val) {
  587. this.activeName = val.name
  588. },
  589. golink(hrf, val) {
  590. window.location.href = hrf;
  591. },
  592. tolink(hrf, val) {
  593. window.location.href = `${hrf}?id=1`;
  594. },
  595. getParkAllPoint() {
  596. let that = this;
  597. var points;
  598. $.ajax({
  599. url: conpath + "/parkData/-1",
  600. type: "get",
  601. dataType: "json",
  602. async: false,
  603. success: function (data) {
  604. points = data.addrs;
  605. }
  606. });
  607. return points;
  608. },
  609. addKey(y) {
  610. let i = 0
  611. setInterval(function () {
  612. if (i >= y) return i = 0
  613. i++
  614. document.querySelector('.ztfwC').style.marginTop = `-${i}px`
  615. }, 50);
  616. },
  617. zoomInStepByStep(currentZoom, maxZoom) {
  618. let that = this;
  619. if (currentZoom <= maxZoom) {
  620. map.setZoom(currentZoom, true);
  621. setTimeout(function () {
  622. that.zoomInStepByStep(currentZoom + 0.5, maxZoom);
  623. }, 100);
  624. }
  625. },
  626. loadAllMap() {
  627. var that = this;
  628. fetch('https://www.cqna.gov.cn/syygapi/naxsb/js/najson.json')
  629. .then(response => response.json())
  630. .then(data => {
  631. var centerPoint = data.features[0].properties.center;
  632. map = new BMapGL.Map("map");
  633. map.enableScrollWheelZoom();
  634. map.enableDragging();
  635. map.centerAndZoom(new BMapGL.Point(106.662444, 29.53282), 10);
  636. map.setMapType(BMAP_NORMAL_MAP);
  637. var pointList = data.features[0].geometry.coordinates[0][0];
  638. let result = [];
  639. pointList.forEach(function (point) {
  640. result.push(new BMapGL.Point(point[0], point[1]));
  641. });
  642. let polygon = new BMapGL.Polygon(result, {
  643. strokeColor: "#226cfb",
  644. strokeWeight: 1.5,
  645. strokeOpacity: 1,
  646. strokeStyle: "solid",
  647. fillColor: "#4B98F6",
  648. fillOpacity: 0.2
  649. });
  650. map.addOverlay(polygon);
  651. var datalist = that.titleList;
  652. if (datalist.length) {
  653. datalist.forEach(function (polygonData) {
  654. let pointList = polygonData.addr.split('@');
  655. let result = [];
  656. pointList.forEach(function (point) {
  657. let arr = point.split(',');
  658. result.push(new BMapGL.Point(arr[0], arr[1]));
  659. });
  660. var color = polygonData.color;
  661. let polygon = new BMapGL.Polygon(result, {
  662. strokeColor: "transparent",
  663. strokeWeight: 0,
  664. strokeOpacity: 1,
  665. strokeStyle: "solid",
  666. fillColor: color,
  667. fillOpacity: 0.6
  668. });
  669. map.addOverlay(polygon);
  670. var id = polygonData.id;
  671. var label = new BMapGL.Label(polygonData.title, {
  672. position: polygon.getBounds().getCenter(),
  673. offset: new BMapGL.Size(0, 0)
  674. });
  675. label.setStyle({
  676. color: "#fff",
  677. borderColor: "transparent",
  678. borderWeight: 0,
  679. fontSize: "12px",
  680. backgroundColor: "rgba(0,0,0,0.5)",
  681. padding: "2px 5px",
  682. borderRadius: "5px",
  683. borderStyle: "solid"
  684. });
  685. polygon.addEventListener("mouseover", function () {
  686. map.addOverlay(label);
  687. label.setStyle({ display: "block" });
  688. });
  689. polygon.addEventListener("mouseout", function () {
  690. label.setStyle({ display: "none" });
  691. });
  692. polygon.addEventListener("click", function () {
  693. window.location.href = 'dqfwNewMobile.html?id=' + id;
  694. });
  695. });
  696. }
  697. setTimeout(function name(params) {
  698. that.zoomInStepByStep(10, 12);
  699. }, 3000)
  700. })
  701. .catch(error => console.error('Error fetching JSON:', error));
  702. },
  703. async getParkData() {
  704. let that = this;
  705. await $.ajax({
  706. url: conpath + "/parkData/",
  707. type: "get",
  708. dataType: "json",
  709. async: false,
  710. success: function (data) {
  711. const arr = []
  712. data.forEach(function (item) {
  713. item.subtitleList = item.subtitle ? item.subtitle.split(",").slice(0, 3) : [];
  714. })
  715. that.titleList = data;
  716. }
  717. })
  718. await $.ajax({
  719. url: conpath + "/sellLand",
  720. type: "post",
  721. contentType: 'application/json',
  722. data: JSON.stringify({
  723. "currentPage": 1,
  724. "pageSize": 10000,
  725. "parkId": that.id,
  726. "keyword": ''
  727. }),
  728. dataType: "json",
  729. success: function (data) {
  730. let dataList = data.list;
  731. that.contentList = dataList;
  732. }
  733. });
  734. await $.ajax({
  735. url: conpath + "/sellBuild",
  736. type: "post",
  737. contentType: 'application/json',
  738. data: JSON.stringify({
  739. "currentPage": 1,
  740. "pageSize": 10000,
  741. "parkId": that.id,
  742. "space1": null,
  743. "application": null
  744. }),
  745. dataType: "json",
  746. success: function (data) {
  747. let dataList = data.list;
  748. that.buildList = dataList;
  749. }
  750. });
  751. var height = document.querySelector('.tdgyList') ? document.querySelector('.tdgyList').clientHeight : 0;
  752. if (this.contentList.length) {
  753. this.addKeyFrames(height * this.contentList.length);
  754. }
  755. var height1 = document.querySelector('.ztfwList') ? document.querySelector('.ztfwList').clientHeight : 0;
  756. if (this.buildList.length) { this.addKey(height1 * this.buildList.length); }
  757. },
  758. addKeyFrames(y) {
  759. let i = 0
  760. setInterval(function () {
  761. if (i >= y) return i = 0
  762. i++
  763. document.querySelector('.tdgyC').style.marginTop = `-${i}px`
  764. }, 50);
  765. }
  766. }
  767. });
  768. </script>
  769. </html>