dqfwNew.html 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778
  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. <!-- 引入 Vue -->
  8. <script src="js/vue.min.js"></script>
  9. <!-- 引入样式 -->
  10. <link rel="stylesheet" href="css/index.css">
  11. <!-- 引入组件库 -->
  12. <script src="js/index.js"></script>
  13. <script src="js/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=7XivTux4H2e1ifKLjvEhxfuayDYxAluq">
  15. </script>
  16. <script src="js/urljson.js"></script>
  17. <style>
  18. * {
  19. padding: 0;
  20. margin: 0;
  21. }
  22. ul {
  23. list-style-type: none;
  24. }
  25. li {
  26. list-style: none;
  27. }
  28. ::-webkit-scrollbar {
  29. display: none;
  30. /* Chrome Safari */
  31. }
  32. @font-face {
  33. font-family: 'DOUYU';
  34. src: url('fonts/DOUYUFONT-2.OTF');
  35. font-weight: normal;
  36. font-style: normal;
  37. }
  38. @font-face {
  39. font-family: 'Source Han Sans SC';
  40. src: url('fonts/MSYHL.TTC');
  41. font-weight: normal;
  42. font-style: normal;
  43. }
  44. .backbutton img {
  45. margin-right: 0.625rem;
  46. }
  47. #dqfwNew {
  48. height: 100vh;
  49. font-family: Microsoft YaHei;
  50. color: #FFFFFF;
  51. box-sizing: border-box;
  52. position: relative;
  53. }
  54. .content {
  55. height: calc(100% - 82px);
  56. display: flex;
  57. background: #EDF5FF;
  58. padding: 0 15px 15px 15px;
  59. }
  60. #mapcontainer {
  61. width: 60%;
  62. height: calc(100% - 10px);
  63. margin-top: 10px;
  64. }
  65. .contentR {
  66. width: calc(40% - 10px);
  67. height: 100%;
  68. margin-left: 10px;
  69. }
  70. .contentBox {
  71. height: calc(100% - 73px);
  72. width: 100%;
  73. display: grid;
  74. grid-template-columns: 1fr 1fr;
  75. grid-template-rows: 1fr 1fr 1fr;
  76. grid-column-gap: 15px;
  77. grid-row-gap: 15px;
  78. }
  79. .contentItem {
  80. border-radius: 10px;
  81. background: url(image/ysxxbg.png) no-repeat;
  82. background-size: 100% 100%;
  83. display: flex;
  84. flex-direction: column;
  85. overflow: hidden;
  86. width: 100%;
  87. }
  88. .main {
  89. display: flex;
  90. flex-wrap: wrap;
  91. padding: 20px;
  92. flex: 1;
  93. }
  94. .yqfw {
  95. display: flex;
  96. flex-wrap: wrap;
  97. padding: 3rem;
  98. flex: 1;
  99. }
  100. .yqlb {
  101. display: grid;
  102. padding: 0.9rem;
  103. grid-template-columns: 1fr 1fr;
  104. grid-template-rows: 1fr 1fr 1fr;
  105. grid-column-gap: 0.2rem;
  106. grid-row-gap: 0.9rem;
  107. flex: 1;
  108. }
  109. .mxqy {
  110. display: flex;
  111. flex-wrap: wrap;
  112. overflow-y: auto;
  113. -ms-overflow-style: none;
  114. scrollbar-width: none;
  115. padding: 0.9rem;
  116. flex: 1;
  117. }
  118. .tdgy {
  119. display: flex;
  120. flex-wrap: wrap;
  121. padding: 0 20px;
  122. width: 100%;
  123. overflow-y: auto;
  124. -ms-overflow-style: none;
  125. scrollbar-width: none;
  126. box-sizing: border-box;
  127. height: 100%;
  128. }
  129. .tdgyList {
  130. display: flex;
  131. border-bottom: 1px solid rgba(245, 250, 255, .2);
  132. padding: 5px 0;
  133. overflow: hidden;
  134. word-break: break-all;
  135. white-space: nowrap;
  136. width: 100%;
  137. }
  138. .tdgyList:last-child {
  139. display: flex;
  140. border-bottom: none;
  141. }
  142. .tdgyList>img {
  143. width: 20px;
  144. height: 20px;
  145. margin-top: 5px;
  146. margin-right: 10px;
  147. }
  148. .nodata {
  149. height: calc(100% - 10px);
  150. width: 100%;
  151. background-size: 100% 100%;
  152. }
  153. .tdgyContent {
  154. width: calc(100% - 35px);
  155. }
  156. .tdgyTitle {
  157. font-size: 20px;
  158. overflow: hidden;
  159. word-break: break-all;
  160. white-space: nowrap;
  161. text-overflow: ellipsis !important;
  162. -o-text-overflow: ellipsis;
  163. }
  164. .mxqyList {
  165. width: calc(50% - 5px);
  166. height: 50%;
  167. box-sizing: border-box;
  168. margin-bottom: 5px;
  169. background-color: #fff;
  170. cursor: pointer;
  171. }
  172. .mxqyList:nth-child(even) {
  173. margin-left: 5px;
  174. }
  175. .mxqyList>img {
  176. width: 100%;
  177. height: 100%;
  178. }
  179. .tdgyLocation {
  180. font-size: 12px;
  181. color: rgba(255, 255, 255, .6);
  182. overflow: hidden;
  183. word-break: break-all;
  184. white-space: nowrap;
  185. text-overflow: ellipsis !important;
  186. -o-text-overflow: ellipsis;
  187. }
  188. .tdgyDec {
  189. font-size: 16px;
  190. }
  191. .mainList {
  192. background: url(image/yqlbListbg.png) no-repeat;
  193. background-size: 100% 100%;
  194. box-sizing: border-box;
  195. font-family: Microsoft YaHei;
  196. font-weight: 400;
  197. font-size: 16px;
  198. display: flex;
  199. align-items: center;
  200. cursor: pointer;
  201. }
  202. .mainList:nth-child(odd) {
  203. padding-right: 25px;
  204. }
  205. .mb {
  206. margin-bottom: 25px;
  207. }
  208. .mainBox>img {
  209. width: 2rem;
  210. height: 2rem;
  211. margin-right: 10px;
  212. }
  213. .mainBox {
  214. width: 50%;
  215. display: flex;
  216. align-items: center;
  217. font-size: 16px;
  218. box-sizing: border-box;
  219. cursor: pointer;
  220. /* justify-content: center; */
  221. }
  222. .mainBox span {
  223. font-weight: bold;
  224. }
  225. .mainBox>img {
  226. vertical-align: middle;
  227. }
  228. .dec {
  229. font-size: 12px;
  230. }
  231. .yqfwBox {
  232. width: 50%;
  233. display: flex;
  234. align-items: center;
  235. font-size: 18px;
  236. box-sizing: border-box;
  237. cursor: pointer;
  238. /* justify-content: center; */
  239. }
  240. .yqfwBox>img {
  241. width: 20px;
  242. height: 20px;
  243. margin-right: 10px;
  244. }
  245. .title {
  246. display: flex;
  247. justify-content: space-between;
  248. padding: 15px;
  249. align-items: center;
  250. color: #FFFFFF;
  251. font-family: Microsoft YaHei;
  252. }
  253. .text {
  254. font-weight: bold;
  255. font-size: 20px;
  256. }
  257. .more {
  258. font-size: 16px;
  259. cursor: pointer;
  260. }
  261. .top {
  262. display: flex;
  263. justify-content: space-between;
  264. align-items: center;
  265. border-bottom: 1px solid #B7C7DC;
  266. background: #192E47;
  267. }
  268. .toplogo img {
  269. margin-bottom: 17px;
  270. margin-right: 10px;
  271. }
  272. .toplogo {
  273. padding-left: 10px;
  274. display: flex;
  275. align-items: center;
  276. font-family: DOUYU;
  277. font-weight: normal;
  278. font-size: 30px;
  279. color: #fff;
  280. height: 66px;
  281. cursor: pointer;
  282. }
  283. .backbutton {
  284. width: 117px;
  285. height: 42px;
  286. background: #539EDD;
  287. border-radius: 10px;
  288. font-family: Microsoft YaHei;
  289. font-weight: 400;
  290. font-size: 16px;
  291. color: #fff;
  292. display: flex;
  293. align-items: center;
  294. justify-content: center;
  295. margin-right: 10px;
  296. cursor: pointer;
  297. }
  298. .backbutton img {
  299. margin-right: 10px;
  300. }
  301. .location {
  302. height: 73px;
  303. font-family: Microsoft YaHei;
  304. font-weight: bold;
  305. font-size: 1.17rem;
  306. color: #333333;
  307. line-height: 73px;
  308. }
  309. .location>i {
  310. color: #C4C4C4 !important;
  311. }
  312. /* 淡出动画 */
  313. .fade-out {
  314. animation: fadeOut 1s forwards;
  315. }
  316. /* 淡入动画 */
  317. .fade-in {
  318. animation: fadeIn 1s forwards;
  319. }
  320. @keyframes fadeOut {
  321. from {
  322. opacity: 0.8;
  323. }
  324. to {
  325. opacity: 0.6;
  326. }
  327. }
  328. @keyframes fadeIn {
  329. from {
  330. opacity: 0.6;
  331. }
  332. to {
  333. opacity: 0.8;
  334. }
  335. }
  336. @media screen and (max-width:1600px) {
  337. html,
  338. body {
  339. font-size: 14px;
  340. }
  341. }
  342. @media screen and (max-width:1400px) {
  343. html,
  344. body {
  345. font-size: 14px;
  346. }
  347. }
  348. @media screen and (max-width:1300px) {
  349. html,
  350. body {
  351. font-size: 10px;
  352. }
  353. }
  354. </style>
  355. </head>
  356. <body>
  357. <div class="header"></div>
  358. <div class="" id="dqfwNew">
  359. <div class="top">
  360. <div class="toplogo">
  361. <img src="image/gyylogowhite.png" alt="">
  362. <span>产业园区</span>
  363. </div>
  364. <div class="backbutton" @click="window.history.go(-1)">
  365. <img src="images/backlogo.png" alt="">
  366. <span>返回</span>
  367. </div>
  368. </div>
  369. <div class="content">
  370. <div id="mapcontainer"></div>
  371. <div class="contentR">
  372. <div class="location"><i class="el-icon-location"></i>&nbsp;南岸区</div>
  373. <div class="contentBox">
  374. <div class="contentItem"></div>
  375. <div class="contentItem">
  376. <div class="title">
  377. <span class="text">园区介绍</span>
  378. </div>
  379. <div class="main">
  380. <div class="mainBox mb" v-show="parkDesc&&parkDesc.title&&parkDesc.title.length">
  381. <img src="image/zmj.png" />
  382. <div>
  383. <div>{{parkDesc?parkDesc.title:'-'}}</div>
  384. </div>
  385. </div>
  386. <div class="mainBox mb" v-show="parkDesc&&parkDesc.totalArea&&parkDesc.totalArea.length">
  387. <img src="image/jcmj.png" />
  388. <div>
  389. <div>用地面积</div>
  390. <div class="dec"><span>{{parkDesc?parkDesc.totalArea:'-'}}</span>平方公里</div>
  391. </div>
  392. </div>
  393. <div class="mainBox mb" v-show="parkDesc&&parkDesc.buildArea&&parkDesc.buildArea.length">
  394. <img src="image/jcmj1.png" />
  395. <div>建成面积
  396. <div class="dec"><span>{{parkDesc?parkDesc.buildArea:'-'}}</span>平方公里</div>
  397. </div>
  398. </div>
  399. <div class="mainBox" v-show="parkDesc&&parkDesc.industry&&parkDesc.industry.length">
  400. <img src="image/cyfb.png" />
  401. <div>主导产业
  402. <div class="dec">{{parkDesc?parkDesc.industry:'-'}}</div>
  403. </div>
  404. </div>
  405. </div>
  406. </div>
  407. <div class="contentItem" style="background:url(image/tdgybg.png) no-repeat;background-size: 100% 100%;">
  408. <div class="title">
  409. <span class="text">土地供应</span>
  410. <span class="more" @click="golink('tdcrlist.html',1)">更多>></span>
  411. </div>
  412. <div class="tdgy">
  413. <div class="tdgyList" v-for="(tab, index) in this.contentList" :key="index">
  414. <img src="image/listcricle.png" />
  415. <div class="tdgyContent">
  416. <div class="tdgyTitle">{{tab.landName}}</div>
  417. <div class="tdgyDec">{{tab.landArea}}亩&nbsp;丨&nbsp;{{tab.landFunction?tab.landFunction:''}}</div>
  418. <div class="tdgyLocation"><i class="el-icon-location"></i>{{tab.addr?tab.addr:''}}</div>
  419. </div>
  420. </div>
  421. <div class="nodata" v-show="!contentList.length"
  422. :style="{ backgroundImage: 'url(' + tdBackgroundImage + ')'}"></div>
  423. </div>
  424. </div>
  425. <div class="contentItem" style="background:url(image/ztfwbg.png) no-repeat;background-size: 100% 100%;">
  426. <div class="title">
  427. <span class="text">载体服务</span>
  428. <span class="more" @click="golink('ztcrlist.html',2)">更多>></span>
  429. </div>
  430. <div class="tdgy">
  431. <div class="tdgyList" v-for="(tab, index) in this.buildList" :key="index">
  432. <img src="image/listcricle.png" />
  433. <div class="tdgyContent">
  434. <div class="tdgyTitle">{{tab.carrierName}}</div>
  435. <div class="tdgyDec">
  436. {{tab.space?tab.space:''}}亩&nbsp;丨&nbsp;</div>
  437. </div>
  438. </div>
  439. <div class="nodata" v-show="!buildList.length"
  440. :style="{ backgroundImage: 'url(' + ztBackgroundImage + ')'}"></div>
  441. </div>
  442. </div>
  443. <div class="contentItem" style="background:url(image/yqfwbg.png) no-repeat;background-size: 100% 100%;">
  444. <div class="title">
  445. <span class="text">园区服务</span>
  446. </div>
  447. <div class="yqfw">
  448. <div class="yqfwBox mb" @click="golink('tsfw.html')">
  449. <img src="image/listcricle.png" />特色服务
  450. </div>
  451. <div class="yqfwBox mb" @click="golink('dqfw.html')">
  452. <img src="image/listcricle.png" />党群服务
  453. </div>
  454. <div class="yqfwBox" @click="window.open('wybdb.html')">
  455. <img src="image/listcricle.png" />帮代办服务
  456. </div>
  457. <div class="yqfwBox" @click="golink('znxzchoice.html')">
  458. <img src="image/listcricle.png" />智能选址
  459. </div>
  460. </div>
  461. </div>
  462. <div class="contentItem" style="background:url(image/mxqybg.png) no-repeat;background-size: 100% 100%;">
  463. <div class="title">
  464. <span class="text">明星企业</span>
  465. </div>
  466. <div class="mxqy">
  467. <div class="mxqyList" v-for="(tab, index) in this.titleList" @click="tab.link?window.open(tab.link):''"
  468. :key="index">
  469. <img :src="tab.logo" alt="">
  470. </div>
  471. </div>
  472. </div>
  473. </div>
  474. </div>
  475. </div>
  476. </div>
  477. </body>
  478. <!-- <script>
  479. $(function () {
  480. /*公共部分
  481. * 导航栏
  482. * footer CopyRight
  483. */
  484. // $(".headerpage").load("load/header.html");/*浏览器容易引起跨域问题*/
  485. $(".header").load('https://www.cqna.gov.cn/ggbf_search/top/top_style.html');
  486. });
  487. </script> -->
  488. <script>
  489. // 初始化Vue实例
  490. new Vue({
  491. el: '#dqfwNew',
  492. data: function () {
  493. return {
  494. reqPtah: '',
  495. currentTab: -1,
  496. contentList: [],
  497. buildList: [],
  498. currentTitle: '',
  499. parkDesc: null,
  500. parkName: '',
  501. titleList: [],
  502. tdBackgroundImage: 'image/tdcy.webp',
  503. ztBackgroundImage: 'image/ztcy.webp',
  504. fadeOut: false,
  505. fadeIn: false,
  506. id: null,
  507. curraddr: ''
  508. };
  509. },
  510. created() { },
  511. async mounted() {
  512. const url = new URL(window.location.href);
  513. this.id = url.searchParams.get('id');
  514. await this.getParkData()
  515. if (this.id == 4) {
  516. this.tdBackgroundImage = 'image/tdnp.webp';
  517. } else if (this.id == 6) {
  518. this.tdBackgroundImage = 'image/tdcj.webp';
  519. } else if (this.id == 5) {
  520. this.tdBackgroundImage = 'image/tdyl.webp';
  521. } else {
  522. this.tdBackgroundImage = 'image/tdcy.webp';
  523. }
  524. if (this.id == 4) {
  525. this.ztBackgroundImage = 'image/ztnp.webp';
  526. } else if (this.id == 6) {
  527. this.ztBackgroundImage = 'image/ztdx.webp';
  528. } else if (this.id == 5) {
  529. this.ztBackgroundImage = 'image/ztyl.webp';
  530. } else if (this.id == 3) {
  531. this.ztBackgroundImage = 'image/ztcjcx.webp';
  532. } else if (this.id == 2) {
  533. this.ztBackgroundImage = 'image/ztxj.webp';
  534. } else {
  535. this.ztBackgroundImage = 'image/ztcy.webp';
  536. }
  537. },
  538. methods: {
  539. goIndex() {
  540. window.location.href = "indexsyyg.html"
  541. },
  542. back() {
  543. window.location.href = "indexsyyg.html"
  544. },
  545. golink(hrf, val) {
  546. if (val) {
  547. if (val === 1 && !this.contentList.length || val === 2 && !this.buildList.length) return window.location.href = hrf;
  548. }
  549. window.location.href = `${hrf}?id=${this.id}`;
  550. },
  551. loadAllMap() {
  552. var that = this;
  553. fetch('js/najson.json')
  554. .then(response => response.json())
  555. .then(data => {
  556. var centerPoint = data.features[0].properties.center;
  557. var map = new BMap.Map("mapcontainer");
  558. map.enableScrollWheelZoom(); // 启用滚轮缩放
  559. map.enableDragging(); // 启用拖拽功能
  560. map.centerAndZoom(new BMap.Point(106.651444, 29.51982), 13);
  561. map.setMapType(BMAP_NORMAL_MAP);
  562. var pointList = data.features[0].geometry.coordinates[0][0];
  563. let result = [];
  564. pointList.forEach(function (point) {
  565. result.push(new BMap.Point(point[0], point[1]));
  566. });
  567. // 创建多边形
  568. let polygon = new BMap.Polygon(result, {
  569. strokeColor: "#226cfb",
  570. strokeWeight: 3,
  571. strokeOpacity: 1,
  572. strokeStyle: "dashed",
  573. fillColor: "#4B98F6",
  574. fillOpacity: 0.3
  575. });
  576. // 将多边形添加到地图中
  577. map.addOverlay(polygon);
  578. let pointList1 = that.curraddr.split('@');
  579. let result1 = [];
  580. pointList1.forEach(function (point) {
  581. let arr = point.split(',');
  582. result1.push(new BMap.Point(arr[0], arr[1]));
  583. });
  584. // 创建多边形
  585. polygon1 = new BMap.Polygon(result1, {
  586. strokeColor: "transparent",
  587. strokeWeight: 0,
  588. strokeOpacity: 1,
  589. strokeStyle: "solid",
  590. fillColor: "#f76f3a",
  591. fillOpacity: 1
  592. });
  593. // 将多边形添加到地图中
  594. map.addOverlay(polygon1);
  595. })
  596. .catch(error => console.error('Error fetching JSON:', error));
  597. },
  598. loadMap(points) {
  599. let map = new BMap.Map("mapcontainer");
  600. map.enableScrollWheelZoom(); // 启用滚轮缩放
  601. map.enableDragging(); // 启用拖拽功能
  602. // 设定中心点和地图级别
  603. const addr = new URL(window.location.href);
  604. const id = addr.searchParams.get('id');
  605. // 设定中心点和地图级别
  606. if (id == 1) {
  607. map.centerAndZoom(new BMap.Point(106.651444, 29.45682), 14);
  608. } else if (id == 2) {
  609. map.centerAndZoom(new BMap.Point(106.76723874457288, 29.573276880811712), 14);
  610. } else if (id == 3) {
  611. map.centerAndZoom(new BMap.Point(106.69517131217539, 29.51577313312822), 15);
  612. } else if (id == 4) {
  613. map.centerAndZoom(new BMap.Point(106.559829995157, 29.501581648208534), 15);
  614. } else if (id == 5) {
  615. map.centerAndZoom(new BMap.Point(106.72194027111843, 29.513690776940248), 16);
  616. } else if (id == 6) {
  617. map.centerAndZoom(new BMap.Point(106.70580793222035, 29.514020426917684), 16);
  618. } else {
  619. map.centerAndZoom(new BMap.Point(106.651444, 29.48682), 14);
  620. }
  621. map.setMapType(BMAP_NORMAL_MAP);
  622. if (!points) return;
  623. // // 创建文本标签
  624. // if (!namePoint) return;
  625. // let namearr = namePoint.split(',');
  626. // var opts = {
  627. // position: new BMap.Point(namearr[0], namearr[1]), // 指定文本标签所在的地理位置
  628. // offset: new BMap.Size(10, 10) // 设置文本偏移量
  629. // };
  630. // // var opts = {
  631. // // position: new BMap.Point(106.76806451085417, 29.60233121330567), // 指定文本标签所在的地理位置
  632. // // offset: new BMap.Size(10, 10) // 设置文本偏移量
  633. // // };
  634. // // 创建文本标签对象,并添加到地图
  635. // var label = new BMap.Label(this.tdcrDetail.landName, opts);
  636. // // 自定义文本标签样式
  637. // label.setStyle({
  638. // color: "#FFFFFF",
  639. // fontSize: "18px",
  640. // height: "auto",
  641. // lineHeight: "20px",
  642. // fontFamily: "微软雅黑",
  643. // fontWeight: 'bold',
  644. // backgroundColor: 'transparent',
  645. // border: 'none',
  646. // textShadow: '0 0 4px #4B97F5',
  647. // textStrokeColor: "#4B97F5", // 文本描边颜色
  648. // textStrokeWidth: "4px", // 文本描边宽度
  649. // });
  650. // map.addOverlay(label);
  651. },
  652. getParkData() {
  653. let that = this;
  654. $.ajax({
  655. url: conpath + "/parkData/" + this.id,
  656. type: "get",
  657. dataType: "json",
  658. async: false,
  659. success: function (data) {
  660. var pointlist = data.addr.split('@');
  661. that.parkDesc = data;
  662. that.curraddr = data.addr;
  663. that.loadAllMap();
  664. }
  665. })
  666. console.log(that.parkDesc)
  667. $.ajax({
  668. url: conpath + "/parkData/details/" + this.id,
  669. type: "get",
  670. dataType: "json",
  671. success: function (data) {
  672. that.titleList = data.filter(item => item.moduleType === "3");
  673. }
  674. });
  675. $.ajax({
  676. url: conpath + "/sellLand",
  677. type: "post",
  678. contentType: 'application/json',
  679. data: JSON.stringify({
  680. "currentPage": 1,
  681. "pageSize": 10000,
  682. "parkId": that.id,
  683. "keyword": ''
  684. }),
  685. dataType: "json",
  686. success: function (data) {
  687. let dataList = data.list;
  688. that.contentList = dataList;
  689. }
  690. });
  691. $.ajax({
  692. url: conpath + "/sellBuild",
  693. type: "post",
  694. contentType: 'application/json',
  695. data: JSON.stringify({
  696. "currentPage": 1,
  697. "pageSize": 10000,
  698. "parkId": that.id,
  699. "space1": null,
  700. "application": null
  701. }),
  702. dataType: "json",
  703. success: function (data) {
  704. let dataList = data.list;
  705. that.buildList = dataList;
  706. }
  707. });
  708. }
  709. }
  710. });
  711. </script>
  712. </html>