小程序扫码更新
diff --git a/pages/index/index.js b/pages/index/index.js
index a6dd36f..8320ac1 100644
--- a/pages/index/index.js
+++ b/pages/index/index.js
@@ -35,6 +35,8 @@
},
onLoad: function() {
+ wx.hideHomeButton();
+
var brightness=wx.getStorageSync("brightness");
if(!wx.$isEmpty(brightness)){
@@ -139,11 +141,7 @@
})
},
doScan: function() {
- // var check = wx.$checkBankcard();
- // if (!check) {
-
- // return;
- // }
+
wx.scanCode({
success(ret) {
@@ -154,7 +152,7 @@
wx.navigateTo({
url: '../scan/scan'
})
- //}
+
}
})