Browse Source

修改看地BUG

master
王健 3 years ago
parent
commit
d3680b70ab
  1. 17
      pages/look/look.js
  2. 8
      pages/look/look.wxml

17
pages/look/look.js

@ -40,16 +40,7 @@ Page({
latitude: 29.543812,
longitude: 106.434042,
},
markers: [
// {
// iconPath: "../../assets/images/add.png",
// latitude: 29.543812,
// longitude: 106.434042,
// id: 0,
// width: 34,
// height: 49
// }
],
markers: [],
circles: [],
polygons: [],
start: '2015',
@ -102,11 +93,9 @@ Page({
startingFloorPrice: '45852',
transferPrice: '12553',
auctionDate: '2021-07-18',
years: arryList,
indexStart: 0,
indexEnd: 0,
// 搜索框
is_search: false,
is_focusing: false, //是否聚焦
@ -181,8 +170,8 @@ Page({
if (res.data[0].centerPoint) {
let centerPoint = res.data[0].centerPoint;
this.setData({
latitude: centerPoint[0],
longitude: centerPoint[1],
longitude: centerPoint[0],
latitude: centerPoint[1]
})
gisUtil.setWKT(this, res, 2)
this.addFeaturesToList(res, 2);

8
pages/look/look.wxml

@ -42,7 +42,7 @@
<view class="searchList" wx:if="{{ is_searchList}}">
<scroll-view class="list_ul pl20" scroll-y="true">
<view class="list_li ptb30 pr20" data-item="{{item}}" bindtap="chooseFun" wx:for="{{list_arr}}"
wx:key="{{index}}">
wx:key="index">
<view class="title f32 c3 bold one-title">
{{item.landCode}}
</view>
@ -67,9 +67,9 @@
<mp-dialog title="{{titleLand}} " show="{{dialogVisible}}" bindbuttontap="tapDialogButton" buttons="{{buttons}}">
<view class="list">
<view class="list-info">
<view class="list-info-item">总计容建筑面积:{{totalConsArea}}</view>
<view class="list-info-item">楼面起始价:{{startingFloorPrice}}(万)</view>
<view class="list-info-item">起始总价:{{transferPrice}}(万)</view>
<view class="list-info-item">总计容建筑面积:{{totalConsArea}}㎡</view>
<view class="list-info-item">楼面起始价:{{startingFloorPrice}}元/㎡</view>
<view class="list-info-item">起始总价:{{transferPrice}}万元</view>
<view class="list-info-item">竞拍时间:{{auctionDate}}</view>
</view>
</view>

Loading…
Cancel
Save