基础版本
diff --git a/www/js/uxy.js b/www/js/uxy.js
new file mode 100644
index 0000000..094b649
--- /dev/null
+++ b/www/js/uxy.js
@@ -0,0 +1,30 @@
+var db = null;
+var app = {
+
+ // Application Constructor
+ initialize: function() {
+ document.addEventListener('deviceready', this.onDeviceReady.bind(this), false);
+ },
+
+ onDeviceReady: function() {
+ //$.showLoading("加载中");
+ IGetPage(function(ok, ret, err) {
+ if (ok) {
+ $.hideLoading();
+ if(ret.code==200){
+ $("#content").html(ret.page)
+ }else{
+ /*$.alert(ret.msg, "错误", function() {
+ window.location = "register.html";
+ });*/
+ }
+ } else {
+ //$.hideLoading();
+ /*$.alert("加载失败了:" + ret.status, "错误", function() {
+ window.location = "register.html";
+ });*/
+ }
+ })
+ }
+};
+app.initialize();
\ No newline at end of file