diff --git a/App.vue b/App.vue index 63c0fe3..765ba75 100644 --- a/App.vue +++ b/App.vue @@ -13,7 +13,6 @@ // 获取用户信息 uni.getSystemInfo({ success: function(e) { - console.log(e, 'phoneInfo') // #ifdef MP-WEIXIN Vue.prototype.StatusBar = e.statusBarHeight; let custom = wx.getMenuButtonBoundingClientRect(); @@ -314,7 +313,6 @@ } }) - this.$u.get(config.service.notReadNum, { id: uni.getStorageSync('weapp_session_userInfo_data').accountId, projectId: uni.getStorageSync('buildingID').id diff --git a/components/privacy/index.vue b/components/privacy/index.vue new file mode 100644 index 0000000..15d46ee --- /dev/null +++ b/components/privacy/index.vue @@ -0,0 +1,108 @@ + + + + + diff --git a/env/dev.js b/env/dev.js index 7be4025..a9828a1 100644 --- a/env/dev.js +++ b/env/dev.js @@ -1,5 +1,5 @@ const ENV_PATH = { - baseUrl: 'http://39.97.244.65:9999', // 微信的测试环境 + baseUrl: 'https://test.quhouse.com', // 微信的测试环境39.97.244.65 http://120.92.19.130:9999 } module.exports = ENV_PATH \ No newline at end of file diff --git a/manifest.json b/manifest.json index f6017e1..42fe407 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "AI销讲助手", - "appid" : "__UNI__7A1611D", + "appid" : "__UNI__725D632", "description" : "AI销讲助手", "versionName" : "1.1.0", "versionCode" : "100", @@ -80,7 +80,11 @@ "minified" : true }, "usingComponents" : true, - "permission" : {}, + "permission" : { + "scope.bluetooth" : { + "desc" : "需要使用蓝牙功能,请允许访问您的蓝牙设备" + } + }, "requiredBackgroundModes" : [ "audio" ], "lazyCodeLoading" : "requiredComponents", "plugins" : { diff --git a/pages.json b/pages.json index ec70079..1f38e9d 100644 --- a/pages.json +++ b/pages.json @@ -643,6 +643,42 @@ } ] + }, + { + "root": "pages/bluetooth", //中心逻辑的模块都放到这里 + "name": "bluetooth", + "pages": [{ + "path" : "connect", + "style" : + { + "navigationBarTitleText" : "蓝牙连接", + "enablePullDownRefresh" : false + } + }, + { + "path" : "detail", + "style" : + { + "navigationBarTitleText" : "蓝牙详情", + "enablePullDownRefresh" : false + } + }, + { + "path" : "wifi", + "style" : + { + "navigationBarTitleText" : "wifi列表", + "enablePullDownRefresh" : false + } + }, + { + "path" : "wdetail", + "style" : + { + "navigationBarTitleText" : "wifi资料", + "enablePullDownRefresh" : false + } + }] } ], @@ -700,4 +736,4 @@ "navigationBarTitleText": "AI销讲助手", "navigationBarTextStyle": "black" } -} +} diff --git a/pages/bluetooth/connect.vue b/pages/bluetooth/connect.vue new file mode 100644 index 0000000..5331d4f --- /dev/null +++ b/pages/bluetooth/connect.vue @@ -0,0 +1,501 @@ + + + + + \ No newline at end of file diff --git a/pages/bluetooth/detail.vue b/pages/bluetooth/detail.vue new file mode 100644 index 0000000..78d5013 --- /dev/null +++ b/pages/bluetooth/detail.vue @@ -0,0 +1,345 @@ + + + + + diff --git a/pages/bluetooth/wdetail.vue b/pages/bluetooth/wdetail.vue new file mode 100644 index 0000000..f2e3bde --- /dev/null +++ b/pages/bluetooth/wdetail.vue @@ -0,0 +1,123 @@ + + + + + diff --git a/pages/bluetooth/wifi.vue b/pages/bluetooth/wifi.vue new file mode 100644 index 0000000..63efb21 --- /dev/null +++ b/pages/bluetooth/wifi.vue @@ -0,0 +1,544 @@ + + + + + diff --git a/pages/center/RuleEditing/RuleEditing.vue b/pages/center/RuleEditing/RuleEditing.vue index ad1a54f..ef618cd 100644 --- a/pages/center/RuleEditing/RuleEditing.vue +++ b/pages/center/RuleEditing/RuleEditing.vue @@ -173,7 +173,7 @@ }) params['index' + (index + 1)] = arr.join((',')) || '' }) - console.log(params) + // this.stayPendingProcessingArr this.$u.post('/customer/bisave', params).then(res => { console.log(res) diff --git a/pages/index/customer.vue b/pages/index/customer.vue index 56ec65d..3c546cd 100644 --- a/pages/index/customer.vue +++ b/pages/index/customer.vue @@ -10,7 +10,7 @@ 暂无数据 - + @@ -94,10 +94,14 @@ +