App({ globalData: { Version: "2.1.64", //IsProduction: true, IsProduction: false, ShareTitle: "高效学习从秒过开始", SharePath: "pages/index/index", ShareImage: '../images/program_screenshot_main.png', ProgramID: 166, ProgramName: "秒过学习", AppID: "wx84b3feac6069eec3", serverUrl: "https://www.kylx365.com/apiData/", serverUrlServer: "https://www.kylx365.com/apiData/", serverUrlLocalhost: "http://localhost:3020/apiData/", audioUrlBaidu: "https://tsn.baidu.com/text2audio?lan=zh&ctp=1&cuid=abcdxxx&tok=[token]&tex=[word]&vol=9&per=0&spd=3&pit=5", audioUrlYoudao: "https://dict.youdao.com/dictvoice?rate=10&le=auto&audio=[word]", uploadImageUrl: "https://miaguo-1253256735.file.myqcloud.com/", officialAccounts:"https://mp.weixin.qq.com/s/gO9S4PrPl1Uu1iksyRuBgw", BaiduToken: "",//百度开发平台token IsIOS: true, IsAndroid: false, IsIPad: false, IsIPhoneX: false, IsOppo: false, systemInfo: null, userInfo: null, SourceID: 0,//来源ID shareTicket: null, userSource: null,//用户来源方式 Key: "kylx365_chengjie", IV: "kylx365hongliren", IsEnter: true,//是否是刚进来 LessonID: 0,//听课ID CardWaitTimeMax: 3,//每张卡最长等待时间(分钟) IsRecorderAccredit: 0, CardList: [],//卡列表变量 CardList2: [],//卡列表变量 TaskToday: [],//今天任务列表 SearchResultList: [],//搜索获得要选择的字词或古诗词列表 TempMiaoguoCardID: 0,//临时题卡ID,用于资料选取时用 SearchNull: 0,//资料搜索为空时标记,用于资料搜索时用 SearchItem: {},//资料搜索项信息,用于资料搜索时用 TempFieldNumber: 0,//资料搜索时的段落编号 TempSearchBackNumber: 3,//资料搜索时返回的页面数 IsShowSettingRemind: 3,//首页显示设置提醒日期限制 TempStr:"",//临时字符串。用于不能传递的一些参数 TempStr2:"",//临时字符串。用于不能传递的一些参数 FolderList:[],//卡单列表 MemoryLevel: 0,//记忆水平 ColorIndex: 0,//色彩方案 ClickType: 0,//点击方案 SecondConfigArray: [0, 0, 0],//选择记忆水平建议 GotoUrl: "",//首页跳转页面 IsUpdateStudyPlan: 0,//是否更改学习计划,学习中使用 SymbolArray: "∬_+-×÷=<>≤≥*/·≈≠±“”()[]{}《》「」%‰°℃⁰¹²³⁴⁵⁶⁷⁸⁹ⁱʲᵏˡᵐⁿ⁺⁻⁼⁽⁾₀₁₂₃₄₅₆₇₈₉₊₋₌₍₎ₐₑᵢₒᵤ﹫⓪①②③④⑤⑥⑦⑧⑨⑩ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ½⅓⅔¼¾⅕⅖⅗⅘⅙⅚⅛⅜⅝⅞⅑⅒∵∴|‖∠⊥○☐△▽▷◁☆♤♧♡♢●■▲▼▶︎◀︎★⊙√ㄨ←↑→↓⇄⇅↖↗↘↙āáǎàōóǒòēéěèīíǐìūúǔùǖǘǚǜüê$¥〒¢£ΓΔΘΞΠΣΥΦΨΧΩαβγδεζηθικλμνξπρστυφχψω∈∪∩⊆⊂⊇⊃∞", SymbolMain: [{ "Name": "( )", "CSS": "btn2" }, { "Name": "_", "CSS": "btn2" }, { "Name": "+", "CSS": "btn2" }, { "Name": "-", "CSS": "btn2" }, { "Name": "×", "CSS": "btn2" }, { "Name": "÷", "CSS": "btn2" }, { "Name": "=", "CSS": "btn2" }], }, onLaunch: function (options) { this.getSystemInfo(); }, onShow: function(options) { if (options && options.scene) { this.globalData.userSource = options.scene; console.log("options.scene2:" + options.scene); } }, getSystemInfo: function () { this.globalData.systemInfo = wx.getSystemInfoSync(); if (this.globalData.systemInfo.system.indexOf("Android") >= 0) { this.globalData.IsIOS =false; this.globalData.IsAndroid=true; } else if (this.globalData.systemInfo.system.indexOf("iOS") >= 0) { this.globalData.IsIOS = true; this.globalData.IsAndroid=false; if (this.globalData.systemInfo.model.indexOf("X") >= 0 || this.globalData.systemInfo.model.indexOf("11") >= 0 || this.globalData.systemInfo.model.indexOf("12") >= 0 || this.globalData.systemInfo.model.indexOf("13") >= 0) this.globalData.IsIPhoneX=true; } if (this.globalData.systemInfo.model.indexOf("iPad")>=0){ this.globalData.IsIPad=true; } if (this.globalData.systemInfo.brand.indexOf("OPPO")>=0){ this.globalData.IsOppo=true; } } })