| | |
| | | <script> |
| | | import { |
| | | showToast |
| | | } from './comm/utils' |
| | | |
| | | export default { |
| | | globalData: { |
| | | platform: "", |
| | |
| | | min_y: 0, |
| | | img_x: 1, |
| | | img_y: 1, |
| | | } |
| | | }, |
| | | withLog: false, |
| | | pageBigData: {}, |
| | | updateUrl: "http://39.170.81.174:5000" //"http://116.204.82.126/mobox3", |
| | | |
| | | |
| | | }, |
| | | onLaunch: function() { |
| | | console.log('App Launch') |
| | | // #ifdef APP-PLUS |
| | | plus.runtime.getProperty(plus.runtime.appid, (info) => { |
| | | // console.log(info); |
| | | _this.version = info.version; |
| | | _this.checkAppVersion(_this.version) |
| | | }); |
| | | //#endif |
| | | }, |
| | | onShow: function() { |
| | | console.log('App Show') |
| | | |
| | | }, |
| | | onHide: function() { |
| | | console.log('App Hide') |