公安app
authorqiaowei <jov123@163.com>
Tue, 14 Apr 2020 09:52:42 +0000 (17:52 +0800)
committerqiaowei <jov123@163.com>
Tue, 14 Apr 2020 09:52:42 +0000 (17:52 +0800)
39 files changed:
config.xml
package.json
platforms/android/app/src/main/assets/www/index.html
platforms/android/app/src/main/assets/www/js/index.js
platforms/android/app/src/main/assets/www/login.html
platforms/android/app/src/main/assets/www/main.html
platforms/android/app/src/main/res/drawable-hdpi/icon.png
platforms/android/app/src/main/res/drawable-ldpi/icon.png
platforms/android/app/src/main/res/drawable-mdpi/icon.png
platforms/android/app/src/main/res/drawable-xhdpi/icon.png
platforms/android/app/src/main/res/drawable-xxhdpi/icon.png
platforms/android/app/src/main/res/drawable-xxxhdpi/icon.png
platforms/android/app/src/main/res/mipmap-hdpi-v26/ic_launcher_foreground.png
platforms/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
platforms/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher_foreground.png
platforms/android/app/src/main/res/mipmap-ldpi/ic_launcher.png
platforms/android/app/src/main/res/mipmap-mdpi-v26/ic_launcher_foreground.png
platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
platforms/android/app/src/main/res/mipmap-xhdpi-v26/ic_launcher_foreground.png
platforms/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
platforms/android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher_foreground.png
platforms/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
platforms/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher_foreground.png
platforms/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
platforms/android/app/src/main/res/values/strings.xml
platforms/android/app/src/main/res/xml/config.xml
platforms/browser/config.xml
www/img/m1.png [new file with mode: 0644]
www/img/m2.png [new file with mode: 0644]
www/img/m3.png [new file with mode: 0644]
www/img/m4.png [new file with mode: 0644]
www/img/p1.png [new file with mode: 0644]
www/img/splashscreen.png
www/index.html
www/js/index.js
www/js/startload.js
www/login.html
www/main.html
www/startload.html

index 0c356ca..409322b 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding='utf-8'?>
 <widget id="com.dalipolice.app" version="1.0.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
-    <name short="大理公安在线">dlapp</name>
+    <name short="大理智警">dlapp</name>
     <description>
         A sample Apache Cordova application that responds to the deviceready event.
     </description>
index 5a54e09..d267972 100644 (file)
@@ -1,5 +1,5 @@
 {
-  "name": "com.dalicitycard.app",
+  "name": "com.dalipolice.app",
   "displayName": "大理市民卡",
   "version": "1.0.3",
   "description": "A sample Apache Cordova application that responds to the deviceready event.",
index 005362a..ea18141 100644 (file)
@@ -8,7 +8,7 @@
     <link rel="stylesheet" type="text/css" href="css/weui.min.css">
     <link rel="stylesheet" type="text/css" href="css/jquery-weui.min.css">
     <link rel="stylesheet" type="text/css" href="css/index.css">
-    <title>大理公安在线</title>
+    <title>大理智警</title>
 </head>
 <body class="mainbg">
    <img src="img/splashscreen.png" style="width: 100%;height: 100%" />
index 9e660c1..5f48d1e 100644 (file)
@@ -27,7 +27,7 @@ var app = {
     onDeviceReady: function() {
         debugger;
         var firstload = window.localStorage.getItem("firstload");
-       if(isEmpty(firstload)){
+       if(isEmpty(firstload)||firstload!='yes'){
          app.toPage("startload.html")
          return;
        }
index bce7fd5..1406441 100644 (file)
@@ -12,7 +12,7 @@
 </head>
 <body>
     <div class="login-top">
-        大理公安在线
+        大理智警
     </div>
     <section class="aui-content" >
        <ul class="aui-list aui-form-list">
index 0d18b69..4aeb95e 100644 (file)
 <body>
     <div id="main1">
         <div id="maintop">
-            <div id="startslider" class="main" style="height: 260px;display: block;">
+            <div id="startslider" class="main" style="height: 260px;display: block;background: #fff">
                 <div class="aui-slide-wrap" >
                     <div class="aui-slide-node bg-dark">
-                        <img  src="img/s1.jpg" />
+                        <img  src="img/p1.png" />
                     </div>
                     <div class="aui-slide-node bg-dark">
-                        <img src="img/s2.jpg"  />
+                        <img src="img/p1.png"  />
                     </div>
                     <div class="aui-slide-node bg-dark">
-                        <img src="img/s3.jpg"  />
+                        <img src="img/p1.png"  />
                     </div>
                 </div>
                 <div class="aui-slide-page-wrap"><!--分页容器--></div>
                     <div class="aui-row" style="height: 50%">
                         <div class="aui-col-xs-6  mainmeun-div" id="qrcodeBtn" style="background: #BBE6EC;">
                             <div>
-                                <div class="center-in"><img src="img/icon_qrcode.png" style="width:100px;height: 100px"></div>
+                                <div class="center-in"><img src="img/m4.png" style="width:100px;height: 100px"></div>
                                 <div class="aui-grid-label" style="margin-top:20px;font-size: 22px;">读码</div>
                             </div>
                         </div>
                         <div class="aui-col-xs-6 mainmeun-div" id="scanBtn" style="background: #91DDEA;">
                             <div>
-                                <div class="center-in"><img src="img/icon_scan.png" style="width:100px;height: 100px"></div>
+                                <div class="center-in"><img src="img/m2.png" style="width:100px;height: 100px"></div>
                                 <div class="aui-grid-label" style="margin-top:20px;font-size: 22px;">扫码</div>
                             </div>
                         </div>
                     <div class="aui-row" style="height: 50%">
                         <div class="aui-col-xs-6 mainmeun-div" id="qrcodeBtn1" style="background: #fff;">
                             <div>
-                                <div class="center-in"><img src="img/icon_securty.png" style="width:100px;height: 100px"></div>
+                                <div class="center-in"><img src="img/m3.png" style="width:100px;height: 100px"></div>
                                 <div class="aui-grid-label" style="margin-top:20px;font-size: 22px;">访码</div>
                             </div>
                         </div>
                         <div class="aui-col-xs-6 mainmeun-div" id="moreFuncBtn"  style="background: #FDD479;">
                             <div>
-                                <div class="center-in"><img src="img/icon_door.png" style="width:100px;height: 100px"></div>
+                                <div class="center-in"><img src="img/m1.png" style="width:100px;height: 100px"></div>
                                 <div class="aui-grid-label" style="margin-top:20px;font-size: 22px;">更多</div>
                             </div>
                         </div>
index cf210c5..9b8c49c 100644 (file)
Binary files a/platforms/android/app/src/main/res/drawable-hdpi/icon.png and b/platforms/android/app/src/main/res/drawable-hdpi/icon.png differ
index 7cfa69b..eb9b7ba 100644 (file)
Binary files a/platforms/android/app/src/main/res/drawable-ldpi/icon.png and b/platforms/android/app/src/main/res/drawable-ldpi/icon.png differ
index 74e4190..b354ab7 100644 (file)
Binary files a/platforms/android/app/src/main/res/drawable-mdpi/icon.png and b/platforms/android/app/src/main/res/drawable-mdpi/icon.png differ
index 96b824e..b5f0007 100644 (file)
Binary files a/platforms/android/app/src/main/res/drawable-xhdpi/icon.png and b/platforms/android/app/src/main/res/drawable-xhdpi/icon.png differ
index 8dea17d..291ff23 100644 (file)
Binary files a/platforms/android/app/src/main/res/drawable-xxhdpi/icon.png and b/platforms/android/app/src/main/res/drawable-xxhdpi/icon.png differ
index d5a2e54..dc1b1a1 100644 (file)
Binary files a/platforms/android/app/src/main/res/drawable-xxxhdpi/icon.png and b/platforms/android/app/src/main/res/drawable-xxxhdpi/icon.png differ
index cf210c5..9b8c49c 100644 (file)
Binary files a/platforms/android/app/src/main/res/mipmap-hdpi-v26/ic_launcher_foreground.png and b/platforms/android/app/src/main/res/mipmap-hdpi-v26/ic_launcher_foreground.png differ
index cf210c5..9b8c49c 100644 (file)
Binary files a/platforms/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/platforms/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
index 7cfa69b..eb9b7ba 100644 (file)
Binary files a/platforms/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher_foreground.png and b/platforms/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher_foreground.png differ
index 7cfa69b..eb9b7ba 100644 (file)
Binary files a/platforms/android/app/src/main/res/mipmap-ldpi/ic_launcher.png and b/platforms/android/app/src/main/res/mipmap-ldpi/ic_launcher.png differ
index 74e4190..b354ab7 100644 (file)
Binary files a/platforms/android/app/src/main/res/mipmap-mdpi-v26/ic_launcher_foreground.png and b/platforms/android/app/src/main/res/mipmap-mdpi-v26/ic_launcher_foreground.png differ
index 74e4190..b354ab7 100644 (file)
Binary files a/platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
index 96b824e..9b8c49c 100644 (file)
Binary files a/platforms/android/app/src/main/res/mipmap-xhdpi-v26/ic_launcher_foreground.png and b/platforms/android/app/src/main/res/mipmap-xhdpi-v26/ic_launcher_foreground.png differ
index 96b824e..9b8c49c 100644 (file)
Binary files a/platforms/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/platforms/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
index 8dea17d..9b8c49c 100644 (file)
Binary files a/platforms/android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher_foreground.png and b/platforms/android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher_foreground.png differ
index 8dea17d..9b8c49c 100644 (file)
Binary files a/platforms/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/platforms/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
index d5a2e54..9b8c49c 100644 (file)
Binary files a/platforms/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher_foreground.png and b/platforms/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher_foreground.png differ
index d5a2e54..9b8c49c 100644 (file)
Binary files a/platforms/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/platforms/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
index c6e1b7a..6bfd2ab 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding='utf-8'?>
 <resources>
     <string name="app_name">dlapp</string>
-    <string name="launcher_name">大理公安在线</string>
+    <string name="launcher_name">大理智警</string>
     <string name="activity_name">@string/launcher_name</string>
 </resources>
index a983c3b..ca7b3a0 100644 (file)
@@ -43,7 +43,7 @@
     <feature name="Fingerprint">
         <param name="android-package" value="de.niklasmerz.cordova.biometric.Fingerprint" />
     </feature>
-    <name short="大理公安在线">dlapp</name>
+    <name short="大理智警">dlapp</name>
     <description>
         A sample Apache Cordova application that responds to the deviceready event.
     </description>
index ca652aa..dd220da 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding='utf-8'?>
 <widget id="com.dalipolice.app" version="1.0.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
-    <name short="大理公安在线">dlapp</name>
+    <name short="大理智警">dlapp</name>
     <description>
         A sample Apache Cordova application that responds to the deviceready event.
     </description>
diff --git a/www/img/m1.png b/www/img/m1.png
new file mode 100644 (file)
index 0000000..2159013
Binary files /dev/null and b/www/img/m1.png differ
diff --git a/www/img/m2.png b/www/img/m2.png
new file mode 100644 (file)
index 0000000..6f6a26a
Binary files /dev/null and b/www/img/m2.png differ
diff --git a/www/img/m3.png b/www/img/m3.png
new file mode 100644 (file)
index 0000000..f26cb6b
Binary files /dev/null and b/www/img/m3.png differ
diff --git a/www/img/m4.png b/www/img/m4.png
new file mode 100644 (file)
index 0000000..7f850a9
Binary files /dev/null and b/www/img/m4.png differ
diff --git a/www/img/p1.png b/www/img/p1.png
new file mode 100644 (file)
index 0000000..fce415e
Binary files /dev/null and b/www/img/p1.png differ
index a93b845..87329cb 100644 (file)
Binary files a/www/img/splashscreen.png and b/www/img/splashscreen.png differ
index 005362a..ea18141 100644 (file)
@@ -8,7 +8,7 @@
     <link rel="stylesheet" type="text/css" href="css/weui.min.css">
     <link rel="stylesheet" type="text/css" href="css/jquery-weui.min.css">
     <link rel="stylesheet" type="text/css" href="css/index.css">
-    <title>大理公安在线</title>
+    <title>大理智警</title>
 </head>
 <body class="mainbg">
    <img src="img/splashscreen.png" style="width: 100%;height: 100%" />
index 9e660c1..5f48d1e 100644 (file)
@@ -27,7 +27,7 @@ var app = {
     onDeviceReady: function() {
         debugger;
         var firstload = window.localStorage.getItem("firstload");
-       if(isEmpty(firstload)){
+       if(isEmpty(firstload)||firstload!='yes'){
          app.toPage("startload.html")
          return;
        }
index 2ac0b7d..2066729 100644 (file)
@@ -7,7 +7,7 @@ var app = {
         
     },
     toMain:function(){
-         window.localStorage.setItem("firstload",'no'); 
+         //window.localStorage.setItem("firstload",'no'); 
          var uid = window.localStorage.getItem("token");
         if (isEmpty(uid)) {
             window.location = "login.html";
index bce7fd5..1406441 100644 (file)
@@ -12,7 +12,7 @@
 </head>
 <body>
     <div class="login-top">
-        大理公安在线
+        大理智警
     </div>
     <section class="aui-content" >
        <ul class="aui-list aui-form-list">
index 0d18b69..4aeb95e 100644 (file)
 <body>
     <div id="main1">
         <div id="maintop">
-            <div id="startslider" class="main" style="height: 260px;display: block;">
+            <div id="startslider" class="main" style="height: 260px;display: block;background: #fff">
                 <div class="aui-slide-wrap" >
                     <div class="aui-slide-node bg-dark">
-                        <img  src="img/s1.jpg" />
+                        <img  src="img/p1.png" />
                     </div>
                     <div class="aui-slide-node bg-dark">
-                        <img src="img/s2.jpg"  />
+                        <img src="img/p1.png"  />
                     </div>
                     <div class="aui-slide-node bg-dark">
-                        <img src="img/s3.jpg"  />
+                        <img src="img/p1.png"  />
                     </div>
                 </div>
                 <div class="aui-slide-page-wrap"><!--分页容器--></div>
                     <div class="aui-row" style="height: 50%">
                         <div class="aui-col-xs-6  mainmeun-div" id="qrcodeBtn" style="background: #BBE6EC;">
                             <div>
-                                <div class="center-in"><img src="img/icon_qrcode.png" style="width:100px;height: 100px"></div>
+                                <div class="center-in"><img src="img/m4.png" style="width:100px;height: 100px"></div>
                                 <div class="aui-grid-label" style="margin-top:20px;font-size: 22px;">读码</div>
                             </div>
                         </div>
                         <div class="aui-col-xs-6 mainmeun-div" id="scanBtn" style="background: #91DDEA;">
                             <div>
-                                <div class="center-in"><img src="img/icon_scan.png" style="width:100px;height: 100px"></div>
+                                <div class="center-in"><img src="img/m2.png" style="width:100px;height: 100px"></div>
                                 <div class="aui-grid-label" style="margin-top:20px;font-size: 22px;">扫码</div>
                             </div>
                         </div>
                     <div class="aui-row" style="height: 50%">
                         <div class="aui-col-xs-6 mainmeun-div" id="qrcodeBtn1" style="background: #fff;">
                             <div>
-                                <div class="center-in"><img src="img/icon_securty.png" style="width:100px;height: 100px"></div>
+                                <div class="center-in"><img src="img/m3.png" style="width:100px;height: 100px"></div>
                                 <div class="aui-grid-label" style="margin-top:20px;font-size: 22px;">访码</div>
                             </div>
                         </div>
                         <div class="aui-col-xs-6 mainmeun-div" id="moreFuncBtn"  style="background: #FDD479;">
                             <div>
-                                <div class="center-in"><img src="img/icon_door.png" style="width:100px;height: 100px"></div>
+                                <div class="center-in"><img src="img/m1.png" style="width:100px;height: 100px"></div>
                                 <div class="aui-grid-label" style="margin-top:20px;font-size: 22px;">更多</div>
                             </div>
                         </div>
index 93c1cc1..ae0e039 100644 (file)
@@ -8,7 +8,7 @@
     <link rel="stylesheet" type="text/css" href="css/aui.css">
     <link rel="stylesheet" type="text/css" href="css/aui-slide.css">
     <link rel="stylesheet" type="text/css" href="css/index.css">
-    <title>大理公安在线</title>
+    <title>大理智警</title>
     <style type="text/css">
         .main{
           position: absolute!important;