|
|
|
@ -6,6 +6,7 @@ const util = require('../../utils/util') |
|
|
|
const tdsdk = require('../../libs/tdweapp.js') |
|
|
|
const wxqqmap = require('../../libs/qqmap-wx-jssdk.min') |
|
|
|
const event = require('../../utils/event') |
|
|
|
const math = require('../../utils/math') |
|
|
|
const storage = require('../../utils/storage') |
|
|
|
const app = getApp() |
|
|
|
const qqwxmap = new wxqqmap({ key: 'GAMBZ-CBGCK-GB6J3-A6PJX-F6ZHH-IWFUD'}) |
|
|
|
@ -53,7 +54,9 @@ Page({ |
|
|
|
event.on('EventMessage', this, this.onEvent) |
|
|
|
wx.showLoading({ title: '加载中', mask: true }) |
|
|
|
const fheght = (app.globalData.safeFragmentHeight + app.globalData.statusBarHeight) - 100 |
|
|
|
this.setData({ |
|
|
|
var sHeight = parseInt(math.times(app.globalData.fragmentHeight, 0.65)) |
|
|
|
this.setData({ |
|
|
|
sHeight, |
|
|
|
fragment: fheght, |
|
|
|
safeBottom: app.globalData.safeBottom, |
|
|
|
maxDate, minDate, calendar, |
|
|
|
|