tanghaolin
2022-11-08 c8c3f384040bad0044dcabf72e162e35b5786afa
map/index.js
@@ -90,8 +90,6 @@
    ]
  },
  onLoad: function (options) {
    // console.log(wx.getSystemInfoSync())
    // console.log(wx.getSystemInfoSync().windowHeight * 0.2 * -1 - 10)
    var userInfo = app.globalData.userInfo;
    // console.log(userInfo)
    if (userInfo) {
@@ -111,6 +109,14 @@
    // this.getRepairFormList();
  },
  onReady: function () {},
  onShow(){
    if (typeof this.getTabBar === 'function' &&
      this.getTabBar()) {
      this.getTabBar().setData({
        selected: 2
      })
    }
  },
  //展示所有marker标点的视野  
  setIncludePoints() {
    var MapContext = wx.createMapContext('detailMap');