const app=getApp(); var utils=require("../../../utils/http"),page=1; const util = require("../../../utils/util"); let time = 0,timer = null; Page({ /** * 页面的初始数据 */ data: { evidencetype:[], nowtype:'', evidencelist:[], leftevidencelist:[], rightevidencelist:[], datashow:false, imgUrl:app.globalData.imgUrl, loginFlag:false, canIUseGetUserProfile: false, shareobj:{}, employeeflag:false,//false是用户,true是员工 top:app.globalData.statusBarHeight, hgt:app.globalData.titleBarHeight, companyobj:{}, }, /** * 生命周期函数--监听页面加载 */ onLoad: function (options) { wx.showLoading({ title: '加载中...', }) time = 0; this.setData({ top:app.globalData.statusBarHeight, hgt:app.globalData.titleBarHeight, }) if (wx.getUserProfile) { this.setData({ canIUseGetUserProfile: true }) } if(!!options.scene){ options=unescape(options.scene); let arr=options.split('&'); let obj={}; for(let i=0;i