From cdc4acf19ee0c0428c67de7d751b7fa6ca004010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=81=A5?= Date: Fri, 3 Sep 2021 11:39:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=8B=8D=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/detail-clinch/detail-clinch.js | 2 +- pages/auctionRecord/auctionRecord.js | 2 +- pages/auctionRecord/auctionRecord.wxml | 4 +++- pages/lookStay-detail/lookStay-detail.js | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/components/detail-clinch/detail-clinch.js b/components/detail-clinch/detail-clinch.js index f70b9fd..232f54d 100644 --- a/components/detail-clinch/detail-clinch.js +++ b/components/detail-clinch/detail-clinch.js @@ -27,7 +27,7 @@ Component({ methods: { goRecord() { wx.navigateTo({ - url: '/pages/auctionRecord/auctionRecord?id=' + JSON.stringify(this.properties.info), + url: '/pages/auctionRecord/auctionRecord?id=' + this.properties.info.landListedId, }) }, } diff --git a/pages/auctionRecord/auctionRecord.js b/pages/auctionRecord/auctionRecord.js index 51f520b..34ede00 100644 --- a/pages/auctionRecord/auctionRecord.js +++ b/pages/auctionRecord/auctionRecord.js @@ -16,7 +16,7 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - this.getList(JSON.parse(options.id).landListedId) + this.getList(options.id) }, //请求列表 getList(id) { diff --git a/pages/auctionRecord/auctionRecord.wxml b/pages/auctionRecord/auctionRecord.wxml index 9e37185..33ae856 100644 --- a/pages/auctionRecord/auctionRecord.wxml +++ b/pages/auctionRecord/auctionRecord.wxml @@ -9,7 +9,8 @@ 名义楼面价(元/m2) 无偿移交比例(%) - + + {{item.ranking}} {{item.raiseEnterprise}} @@ -25,6 +26,7 @@ {{item.percentUnpaidTransfers}} + 暂无数据 \ No newline at end of file diff --git a/pages/lookStay-detail/lookStay-detail.js b/pages/lookStay-detail/lookStay-detail.js index 4a1d961..e6a0192 100644 --- a/pages/lookStay-detail/lookStay-detail.js +++ b/pages/lookStay-detail/lookStay-detail.js @@ -104,7 +104,7 @@ Page({ if (res&&res.data&&res.data.length > 0) { this.setWKT1(res, 3); if(res.data[0].centerPoint){ - centerPoint = res.data[0].centerPoint; + let centerPoint = res.data[0].centerPoint; let point = WKT.parse(centerPoint); this.setData({ latitude: point.coordinates[1],