diff --git a/manifest.json b/manifest.json
index d36339b..79fba08 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,7 +2,7 @@
"name" : "星汉物联",
"appid" : "__UNI__A21EF43",
"description" : "设备管控",
- "versionName" : "1.0.7",
+ "versionName" : "1.0.8",
"versionCode" : "100",
"transformPx" : false,
/* 5+App特有相关 */
diff --git a/pages.json b/pages.json
index ce41a16..8debdd3 100644
--- a/pages.json
+++ b/pages.json
@@ -355,6 +355,20 @@
{
"navigationBarTitleText" : "注销账号"
}
+ },
+ {
+ "path" : "pages/common/aboutUs/ContactUs",
+ "style" :
+ {
+ "navigationBarTitleText" : "联系我们"
+ }
+ },
+ {
+ "path" : "pages/018A/HBY018A",
+ "style" :
+ {
+ "navigationBarTitleText" : "HBY018A"
+ }
}
diff --git a/pages/018A/HBY018A.vue b/pages/018A/HBY018A.vue
new file mode 100644
index 0000000..d91775e
--- /dev/null
+++ b/pages/018A/HBY018A.vue
@@ -0,0 +1,1554 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{formData.sta_PowerPercent}}%
+ 电量
+
+
+
+
+
+ {{formData.sta_charge?dic.sta_charge[formData.sta_charge+'']:"未充电" }}
+
+ 设备状态
+
+
+
+
+
+
+
+ 设备名称
+ {{device.deviceName}}
+
+
+ Mac地址
+ {{device.deviceMac}}
+
+
+ 蓝牙名称
+ {{device.bluetoothName}}
+
+
+ 蓝牙状态
+ {{formData.bleStatu?'已连接':'未连接'}}
+
+
+
+
+
+ 设备静止报警中!
+
+
+ 设备声光报警中!
+
+
+
+
+
+ {{formData.sta_LedType==='led_alarm'?'报警中':'声光报警'}}
+
+ 解除
+
+
+
+
+
+
+
+ 警示灯
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 产品信息
+
+
+
+ 产品参数
+
+
+
+ 操作说明
+
+
+
+ 操作视频
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/common/aboutUs/ContactUs.vue b/pages/common/aboutUs/ContactUs.vue
new file mode 100644
index 0000000..6426afb
--- /dev/null
+++ b/pages/common/aboutUs/ContactUs.vue
@@ -0,0 +1,272 @@
+
+
+
+ 您可以反馈App使用中的问题、产品问题、投诉、意见或建议,向我们获取使用教程,我们将在收到您的反馈后,15个工作日内答复您,请保持您的注册手机号畅通。
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/common/addBLE/addEquip.vue b/pages/common/addBLE/addEquip.vue
index 69ab224..4a6022e 100644
--- a/pages/common/addBLE/addEquip.vue
+++ b/pages/common/addBLE/addEquip.vue
@@ -34,7 +34,7 @@
- 信号:{{110+item.RSSI>100?100:110+item.RSSI}}%
+ 信号:{{item.RSSI}}dBm
@@ -71,7 +71,7 @@
- 信号:{{110+item.RSSI>100?100:110+item.RSSI}}%
+ 信号:{{item.RSSI}}dBm
@@ -377,6 +377,8 @@
}
these.EquipMents.push(device);
}
+
+ these.EquipMents.sort((a, b) => b.RSSI - a.RSSI);//信号好的排前面,一般信号好的是目标设备
}
}, pagePath);
}
diff --git a/pages/common/forgotPassword/index.vue b/pages/common/forgotPassword/index.vue
index 2e3445e..b27dd36 100644
--- a/pages/common/forgotPassword/index.vue
+++ b/pages/common/forgotPassword/index.vue
@@ -72,7 +72,7 @@
agreed: false,
isCounting: false,
countdown: 0,
- isChecked: true,
+ isChecked: false,
showAgreement: false, // 控制弹窗显示
}
},
diff --git a/pages/common/login/index.vue b/pages/common/login/index.vue
index 66a234b..ad40230 100644
--- a/pages/common/login/index.vue
+++ b/pages/common/login/index.vue
@@ -217,7 +217,9 @@
this.showAgreement = true
return false
}
+
try {
+
uni.showLoading({
title: '登录中...'
})
diff --git a/pages/common/register/index.vue b/pages/common/register/index.vue
index 1777522..1a420fe 100644
--- a/pages/common/register/index.vue
+++ b/pages/common/register/index.vue
@@ -75,7 +75,7 @@
agreed: false,
isCounting: false,
countdown: 0,
- isChecked: true,
+ isChecked: false,
showAgreement: false, // 控制弹窗显示
}
},
diff --git a/pages/common/user/index.vue b/pages/common/user/index.vue
index 6895939..74d9807 100644
--- a/pages/common/user/index.vue
+++ b/pages/common/user/index.vue
@@ -27,13 +27,18 @@
版本更新 ({{appVersion}})
+
@@ -160,7 +165,7 @@
},
logOff(){
uni.navigateTo({
- url:'/pages/common/user/logOff'
+ url:'/pages/common/account/deleteAccount/index'
})
},
// 关于我们
@@ -169,6 +174,12 @@
url: '/pages/common/aboutUs/index'
})
},
+ //举报反馈、联系我们
+ sendCounsel(){
+ uni.navigateTo({
+ url: '/pages/common/aboutUs/ContactUs'
+ })
+ },
// 账户安全
account(){
uni.navigateTo({
diff --git a/pages/common/user/logOff.vue b/pages/common/user/logOff.vue
index bc1fc4a..34ded02 100644
--- a/pages/common/user/logOff.vue
+++ b/pages/common/user/logOff.vue
@@ -65,7 +65,7 @@
logOff(){
let task=()=>{
return new Promise((resolve,reject)=>{
-
+ //假装注销
setTimeout(()=>{
resolve();
},500)
@@ -74,7 +74,9 @@
}
let logOut=()=>{
+ let phone=uni.getStorageSync('phone');
uni.clearStorageSync();
+ uni.setStorageSync("logOutPhone",phone)
uni.reLaunch({
url:'/pages/common/login/index'
})
diff --git a/static/images/common/guanyuwomen.png b/static/images/common/guanyuwomen.png
new file mode 100644
index 0000000..ac56cf5
Binary files /dev/null and b/static/images/common/guanyuwomen.png differ
diff --git a/static/images/common/yijianfankui.png b/static/images/common/yijianfankui.png
new file mode 100644
index 0000000..0e74eb6
Binary files /dev/null and b/static/images/common/yijianfankui.png differ
diff --git a/static/images/common/zhuxiao.png b/static/images/common/zhuxiao.png
new file mode 100644
index 0000000..a52c15e
Binary files /dev/null and b/static/images/common/zhuxiao.png differ
diff --git a/utils/MqHelper.js b/utils/MqHelper.js
index ccbf7d8..8220092 100644
--- a/utils/MqHelper.js
+++ b/utils/MqHelper.js
@@ -50,7 +50,7 @@ class MqHelper {
});
}
- //订阅消息
+ //订阅消息{topic:'主题名称',callback:fn(payload,receive)}
subscribes(topics) {
return new Promise((resolve,reject)=>{