Browse Source

一些修改

master
王健 4 years ago
parent
commit
343821be1e
  1. 4
      components/detail-announcement/detail-announcement.js
  2. 2
      pages/auth/auth.wxml
  3. 18
      utils/gisApi.js

4
components/detail-announcement/detail-announcement.js

@ -85,7 +85,7 @@ Component({
latitude: Number(longitude),
longitude: Number(latitude),
name: res.data[0].name,
scale: 28
scale: 10
})
}
})
@ -99,7 +99,7 @@ Component({
latitude: Number(longitude),
longitude: Number(latitude),
name: res.data[0].name,
scale: 28
scale: 10
})
}
})

2
pages/auth/auth.wxml

@ -1,6 +1,6 @@
<!--pages/auth/auth.wxml-->
<view class="pages" >
<mp-navigation-bar ext-class="set-bar" title="艾" back="{{false}}"></mp-navigation-bar>
<mp-navigation-bar ext-class="set-bar" title="艾儿数据" back="{{false}}"></mp-navigation-bar>
<view class="main">
<view class="top">
<image class="log" src="../../assets/images/tabIcon/air.png"></image>

18
utils/gisApi.js

@ -41,7 +41,7 @@ const DELETE = 'DELETE';
// url: "/pages/auth/auth",
// })
// // setTimeout(() => {
// // }, 1500)
// } else {
// resolve(res.data);
@ -57,14 +57,14 @@ const DELETE = 'DELETE';
const API = {
getLandListing: (data) => request(GET, `getLandListing`, data), //已出让
getLandList: (data) => request(GET, `getLandList`, data), //挂牌中
getRegionByLocation: (data) => request(GET, `getRegionByLocation`, data), //行政区
getLandToList: (data) => request(GET, `getLandToList`, data), //待挂牌
getFacilitiesByLocation: (data) => request(GET, `getFacilitiesByLocation`, data), //配套
getLoopLine: (data) => request(GET, `getLoopLine`, data), //环线
getTypeRegionByLocation: (data) => request(GET, `getTypeRegionByLocation`, data), //大组团或者小组团
AJAX: (GET, url, data, is_token) => request(GET, url, data, is_token),
getLandListing: (data) => request(GET, `applets/map/getLandListing`, data), //已出让
getLandList: (data) => request(GET, `applets/map/getLandList`, data), //挂牌中
getRegionByLocation: (data) => request(GET, `applets/map/getRegionByLocation`, data), //行政区
getLandToList: (data) => request(GET, `applets/map/getLandToList`, data), //待挂牌
getFacilitiesByLocation: (data) => request(GET, `applets/map/getFacilitiesByLocation`, data), //配套
getLoopLine: (data) => request(GET, `applets/map/getLoopLine`, data), //环线
getTypeRegionByLocation: (data) => request(GET, `applets/map/getTypeRegionByLocation`, data), //大组团或者小组团
AJAX: (GET, url, data, is_token) => request(GET, 'applets/map/' + url, data, is_token),
};
module.exports = {
API: API

Loading…
Cancel
Save