123456789101112131415161718192021222324 |
- import {GetQueryString} from 'utils/util'
- const Towxml = require('/towxml/main');
- App({
- onLaunch: function (options) {
-
- this.checkIsIPhoneX()
- },
- globalData: {
- isIPX: false,
- },
- checkIsIPhoneX: function() {
- const self = this
- wx.getSystemInfo({
- success: function (res) {
-
- if (res.model.search('iPhone X') != -1) {
- self.globalData.isIPX = true
- }
- }
- })
- },
- towxml: new Towxml()
- })
|