基础版本
diff --git a/www/js/security.js b/www/js/security.js
new file mode 100644
index 0000000..3586930
--- /dev/null
+++ b/www/js/security.js
@@ -0,0 +1,24 @@
+var app = {
+
+ // Application Constructor
+ initialize: function() {
+ document.addEventListener('deviceready', this.onDeviceReady.bind(this), false);
+ },
+
+ onDeviceReady: function() {
+ var uid = window.localStorage.getItem("uid");
+ var phone = window.localStorage.getItem("phoneX");
+
+ },
+ editPwd: function() {
+ window.location = "editpwd.html";
+ },
+ toPayPwd: function() {
+ window.location = "paypwdmng.html";
+ },
+ logout:function(){
+ window.localStorage.removeItem("token");
+ window.location = "login.html";
+ }
+};
+app.initialize();