公安app
diff --git a/www/img/m1.png b/www/img/m1.png
new file mode 100644
index 0000000..2159013
--- /dev/null
+++ b/www/img/m1.png
Binary files differ
diff --git a/www/img/m2.png b/www/img/m2.png
new file mode 100644
index 0000000..6f6a26a
--- /dev/null
+++ b/www/img/m2.png
Binary files differ
diff --git a/www/img/m3.png b/www/img/m3.png
new file mode 100644
index 0000000..f26cb6b
--- /dev/null
+++ b/www/img/m3.png
Binary files differ
diff --git a/www/img/m4.png b/www/img/m4.png
new file mode 100644
index 0000000..7f850a9
--- /dev/null
+++ b/www/img/m4.png
Binary files differ
diff --git a/www/img/p1.png b/www/img/p1.png
new file mode 100644
index 0000000..fce415e
--- /dev/null
+++ b/www/img/p1.png
Binary files differ
diff --git a/www/img/splashscreen.png b/www/img/splashscreen.png
index a93b845..87329cb 100644
--- a/www/img/splashscreen.png
+++ b/www/img/splashscreen.png
Binary files differ
diff --git a/www/index.html b/www/index.html
index 005362a..ea18141 100644
--- a/www/index.html
+++ b/www/index.html
@@ -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%" />
diff --git a/www/js/index.js b/www/js/index.js
index 9e660c1..5f48d1e 100644
--- a/www/js/index.js
+++ b/www/js/index.js
@@ -27,7 +27,7 @@
onDeviceReady: function() {
debugger;
var firstload = window.localStorage.getItem("firstload");
- if(isEmpty(firstload)){
+ if(isEmpty(firstload)||firstload!='yes'){
app.toPage("startload.html")
return;
}
diff --git a/www/js/startload.js b/www/js/startload.js
index 2ac0b7d..2066729 100644
--- a/www/js/startload.js
+++ b/www/js/startload.js
@@ -7,7 +7,7 @@
},
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";
diff --git a/www/login.html b/www/login.html
index bce7fd5..1406441 100644
--- a/www/login.html
+++ b/www/login.html
@@ -12,7 +12,7 @@
</head>
<body>
<div class="login-top">
- 大理公安在线
+ 大理智警
</div>
<section class="aui-content" >
<ul class="aui-list aui-form-list">
diff --git a/www/main.html b/www/main.html
index 0d18b69..4aeb95e 100644
--- a/www/main.html
+++ b/www/main.html
@@ -15,16 +15,16 @@
<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>
@@ -36,13 +36,13 @@
<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>
@@ -50,13 +50,13 @@
<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>
diff --git a/www/startload.html b/www/startload.html
index 93c1cc1..ae0e039 100644
--- a/www/startload.html
+++ b/www/startload.html
@@ -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;