| @@ -188,7 +188,7 @@ Page({ | |||
| if (data15 != null) { | |||
| console.log("广播秤"); | |||
| device.advertisData = data15.address; | |||
| device.name = "icomon15"; | |||
| device.name = "el-deviceinfo"; | |||
| const foundDevices = this.data.devices | |||
| const idx = inArray(foundDevices, 'deviceId', device.deviceId) | |||
| const data = {} | |||
| @@ -239,7 +239,7 @@ Page({ | |||
| console.log(e.currentTarget.dataset.name); | |||
| console.log(e.currentTarget.dataset.macaddress); | |||
| if (e.currentTarget.dataset.name != "icomon15") { | |||
| if (e.currentTarget.dataset.name != "el-deviceinfo") { | |||
| console.log('点击连接--连接秤'); | |||
| @@ -262,7 +262,7 @@ Page({ | |||
| var that = this; | |||
| if (deviceInfo != null && deviceInfo != "1") { | |||
| if (wx.getStorageSync('deviceInfo').name == "icomon15") { | |||
| if (wx.getStorageSync('deviceInfo').name == "el-deviceinfo") { | |||
| wx.openBluetoothAdapter({ | |||
| success: function (res) { | |||
| deviceInfo_address = wx.getStorageSync('devMacAddress') | |||
| @@ -1,43 +1,69 @@ | |||
| { | |||
| "description": "项目配置文件", | |||
| "packOptions": { | |||
| "ignore": [] | |||
| }, | |||
| "setting": { | |||
| "urlCheck": true, | |||
| "es6": true, | |||
| "postcss": true, | |||
| "minified": true, | |||
| "newFeature": true, | |||
| "autoAudits": false, | |||
| "coverView": true | |||
| }, | |||
| "compileType": "miniprogram", | |||
| "libVersion": "2.9.4", | |||
| "appid": "wxf6042009c5b19c52", | |||
| "projectname": "bodyFatScale-plugin-demo", | |||
| "debugOptions": { | |||
| "hidedInDevtools": [] | |||
| }, | |||
| "isGameTourist": false, | |||
| "simulatorType": "wechat", | |||
| "simulatorPluginLibVersion": {}, | |||
| "condition": { | |||
| "search": { | |||
| "current": -1, | |||
| "list": [] | |||
| }, | |||
| "conversation": { | |||
| "current": -1, | |||
| "list": [] | |||
| }, | |||
| "game": { | |||
| "currentL": -1, | |||
| "list": [] | |||
| }, | |||
| "miniprogram": { | |||
| "current": -1, | |||
| "list": [] | |||
| } | |||
| } | |||
| "description": "项目配置文件", | |||
| "packOptions": { | |||
| "ignore": [] | |||
| }, | |||
| "setting": { | |||
| "urlCheck": true, | |||
| "es6": true, | |||
| "enhance": true, | |||
| "postcss": true, | |||
| "preloadBackgroundData": false, | |||
| "minified": true, | |||
| "newFeature": true, | |||
| "coverView": true, | |||
| "nodeModules": false, | |||
| "autoAudits": false, | |||
| "showShadowRootInWxmlPanel": true, | |||
| "scopeDataCheck": false, | |||
| "uglifyFileName": false, | |||
| "checkInvalidKey": true, | |||
| "checkSiteMap": true, | |||
| "uploadWithSourceMap": true, | |||
| "compileHotReLoad": false, | |||
| "lazyloadPlaceholderEnable": false, | |||
| "useMultiFrameRuntime": true, | |||
| "useApiHook": true, | |||
| "useApiHostProcess": true, | |||
| "babelSetting": { | |||
| "ignore": [], | |||
| "disablePlugins": [], | |||
| "outputPath": "" | |||
| }, | |||
| "useIsolateContext": true, | |||
| "userConfirmedBundleSwitch": false, | |||
| "packNpmManually": false, | |||
| "packNpmRelationList": [], | |||
| "minifyWXSS": true, | |||
| "disableUseStrict": false, | |||
| "minifyWXML": true, | |||
| "showES6CompileOption": false, | |||
| "useCompilerPlugins": false, | |||
| "ignoreUploadUnusedFiles": true | |||
| }, | |||
| "compileType": "miniprogram", | |||
| "libVersion": "2.9.4", | |||
| "appid": "wxf6042009c5b19c52", | |||
| "projectname": "bodyFatScale-plugin-demo", | |||
| "debugOptions": { | |||
| "hidedInDevtools": [] | |||
| }, | |||
| "isGameTourist": false, | |||
| "simulatorType": "wechat", | |||
| "simulatorPluginLibVersion": {}, | |||
| "condition": { | |||
| "search": { | |||
| "list": [] | |||
| }, | |||
| "conversation": { | |||
| "list": [] | |||
| }, | |||
| "game": { | |||
| "currentL": -1, | |||
| "list": [] | |||
| }, | |||
| "miniprogram": { | |||
| "list": [] | |||
| } | |||
| } | |||
| } | |||
| @@ -0,0 +1,77 @@ | |||
| { | |||
| "description": "项目配置文件", | |||
| "packOptions": { | |||
| "ignore": [] | |||
| }, | |||
| "setting": { | |||
| "urlCheck": true, | |||
| "es6": true, | |||
| "enhance": true, | |||
| "postcss": true, | |||
| "preloadBackgroundData": false, | |||
| "minified": true, | |||
| "newFeature": false, | |||
| "coverView": true, | |||
| "nodeModules": false, | |||
| "autoAudits": false, | |||
| "showShadowRootInWxmlPanel": true, | |||
| "scopeDataCheck": false, | |||
| "uglifyFileName": false, | |||
| "checkInvalidKey": true, | |||
| "checkSiteMap": true, | |||
| "uploadWithSourceMap": true, | |||
| "compileHotReLoad": false, | |||
| "lazyloadPlaceholderEnable": false, | |||
| "useMultiFrameRuntime": true, | |||
| "useApiHook": true, | |||
| "useApiHostProcess": true, | |||
| "babelSetting": { | |||
| "ignore": [], | |||
| "disablePlugins": [], | |||
| "outputPath": "" | |||
| }, | |||
| "useIsolateContext": true, | |||
| "userConfirmedBundleSwitch": false, | |||
| "packNpmManually": false, | |||
| "packNpmRelationList": [], | |||
| "minifyWXSS": true, | |||
| "disableUseStrict": false, | |||
| "minifyWXML": true, | |||
| "showES6CompileOption": false, | |||
| "useCompilerPlugins": false, | |||
| "ignoreUploadUnusedFiles": true | |||
| }, | |||
| "compileType": "miniprogram", | |||
| "libVersion": "2.23.4", | |||
| "appid": "wx738fabadc43a7183", | |||
| "projectname": "AIFit_miniApp", | |||
| "debugOptions": { | |||
| "hidedInDevtools": [] | |||
| }, | |||
| "scripts": {}, | |||
| "staticServerOptions": { | |||
| "baseURL": "", | |||
| "servePath": "" | |||
| }, | |||
| "isGameTourist": false, | |||
| "condition": { | |||
| "search": { | |||
| "list": [] | |||
| }, | |||
| "conversation": { | |||
| "list": [] | |||
| }, | |||
| "game": { | |||
| "list": [] | |||
| }, | |||
| "plugin": { | |||
| "list": [] | |||
| }, | |||
| "gamePlugin": { | |||
| "list": [] | |||
| }, | |||
| "miniprogram": { | |||
| "list": [] | |||
| } | |||
| } | |||
| } | |||