ndk {
abiFilters "armeabi"
}
- versionCode 11
- versionName '1.3.7'
+ versionCode 12
+ versionName '1.3.8'
targetSdkVersion 26
}
lintOptions {
-[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":11,"versionName":"1.3.7","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":12,"versionName":"1.3.8","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
\ No newline at end of file
<?xml version='1.0' encoding='utf-8'?>
-<manifest android:hardwareAccelerated="true" android:versionCode="10005" android:versionName="1.0.5" package="com.dalicitycard.app" xmlns:android="http://schemas.android.com/apk/res/android">
+<manifest android:hardwareAccelerated="true" android:versionCode="10006" android:versionName="1.0.6" package="com.dalicitycard.app" xmlns:android="http://schemas.android.com/apk/res/android">
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
<application android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher" android:label="@string/launcher_name" android:supportsRtl="true">
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:screenOrientation="portrait" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
})
})
});
- /*$("#doorBtn").click(function(){
+ $("#doorBtn").click(function(){
app.checkBefore(function() {
showRet(DOOR_URl);
})
- })*/
+ })
$('#usersec').click(function() {
app.checkBefore(function() {
app.checkOther(function() {
var dev = false;
var SERVER = "https://yy.dlsmk.cn/payapi/mobileapi";
-var DOOR_URl = "http://172.28.43.8:8099/door/app/appMintUIindex";//门禁服务地址
+var DOOR_URl = "https://yy.dlsmk.cn/door/app/appMintUIindex";//门禁服务地址
var GLOBAL_TODAY="";
var GLOBAL_YESTERDAY="";
var CURRENT_INDEX=1;
</div>
<div class="aui-col-xs-6 top-btn" id="qrcodeBtn">
<div class="center-in"><img src="img/icon_qrcode.png" style="width:56px;"></div>
- <div class="aui-grid-label top-title">付款码</div>
+ <div class="aui-grid-label top-title">我的码</div>
</div>
</div>
</div>
<div class="center-in"><img src="img/icon_securty.png" style="width:28px;height: 28px"></div>
<div class="aui-grid-label" style="margin-top:10px;">账户安全</div>
</div>
- <!--<div class="aui-col-xs-4" id="doorBtn">
+ <div class="aui-col-xs-4" id="doorBtn">
<div class="center-in"><img src="img/icon_door.png" style="width:28px;height: 28px"></div>
<div class="aui-grid-label" style="margin-top:10px;">远程开门</div>
- </div>-->
+ </div>
</div>
</div>
</section>
<link rel="stylesheet" type="text/css" href="css/aui.css">
<link rel="stylesheet" type="text/css" href="css/weui.min.css">
<link rel="stylesheet" type="text/css" href="css/jquery-weui.min.css">
- <title>付款码</title>
+ <title>我的码</title>
</head>
<body style="background: #fff" >
<header class="aui-bar aui-bar-nav" style="padding-top:25px;">
<a class="aui-pull-left" href="javascript:app.backTo()">
<span class="aui-iconfont aui-icon-left"></span>
</a>
- <div class="aui-title">付款码</div>
+ <div class="aui-title">我的码</div>
</header>
<div style="display: flex;flex-direction: row;justify-content: center;align-items: center;margin-top: 50px;">
<div style="background: #fff;text-align: center;" id="qrcode"></div>
<?xml version='1.0' encoding='utf-8'?>
-<widget id="com.dalicitycard.app" version="1.0.5" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
+<widget id="com.dalicitycard.app" version="1.0.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<feature name="Fingerprint">
<param name="android-package" value="de.niklasmerz.cordova.fingerprint.Fingerprint" />
</feature>
<?xml version='1.0' encoding='utf-8'?>
-<widget id="com.dalicitycard.app" version="1.0.5" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
+<widget id="com.dalicitycard.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>
<description>
A sample Apache Cordova application that responds to the deviceready event.
})
})
});
- /*$("#doorBtn").click(function(){
+ $("#doorBtn").click(function(){
app.checkBefore(function() {
showRet(DOOR_URl);
})
- })*/
+ })
$('#usersec').click(function() {
app.checkBefore(function() {
app.checkOther(function() {
},
loginByTouchId: function() {
Fingerprint.isAvailable(function(result){
- alert("Fingerprint available");
+ $.alert("设备不支持指纹", "提示");
}, function(message){
alert(message);
});
-var dev = false;
+var dev = true;
var SERVER = "https://yy.dlsmk.cn/payapi/mobileapi";
-var DOOR_URl = "http://172.28.43.8:8099/door/app/appMintUIindex";//门禁服务地址
+var DOOR_URl = "https://yy.dlsmk.cn/door/app/appMintUIindex";//门禁服务地址
var GLOBAL_TODAY="";
var GLOBAL_YESTERDAY="";
var CURRENT_INDEX=1;
if (ret.code == 200) {
$("#content").html(ret.page);
if (isEmpty(ret.signed) || ret.signed != 'yes') {
- $("#btn").show();
- app.checkTime();
- $("#content").css("bottom", "135px");
+ //$("#btn").show();
+ //app.checkTime();
+ //$("#content").css("bottom", "135px");
} else {
$("#unbtn").show();
$("#content").css("bottom", "10px");
</div>
<div class="aui-col-xs-6 top-btn" id="qrcodeBtn">
<div class="center-in"><img src="img/icon_qrcode.png" style="width:56px;"></div>
- <div class="aui-grid-label top-title">付款码</div>
+ <div class="aui-grid-label top-title">我的码</div>
</div>
</div>
</div>
<div class="center-in"><img src="img/icon_securty.png" style="width:28px;height: 28px"></div>
<div class="aui-grid-label" style="margin-top:10px;">账户安全</div>
</div>
- <!--<div class="aui-col-xs-4" id="doorBtn">
+ <div class="aui-col-xs-4" id="doorBtn">
<div class="center-in"><img src="img/icon_door.png" style="width:28px;height: 28px"></div>
<div class="aui-grid-label" style="margin-top:10px;">远程开门</div>
- </div>-->
+ </div>
</div>
</div>
</section>
<link rel="stylesheet" type="text/css" href="css/aui.css">
<link rel="stylesheet" type="text/css" href="css/weui.min.css">
<link rel="stylesheet" type="text/css" href="css/jquery-weui.min.css">
- <title>付款码</title>
+ <title>我的码</title>
</head>
<body style="background: #fff" >
<header class="aui-bar aui-bar-nav" style="padding-top:25px;">
<a class="aui-pull-left" href="javascript:app.backTo()">
<span class="aui-iconfont aui-icon-left"></span>
</a>
- <div class="aui-title">付款码</div>
+ <div class="aui-title">我的码</div>
</header>
<div style="display: flex;flex-direction: row;justify-content: center;align-items: center;margin-top: 50px;">
<div style="background: #fff;text-align: center;" id="qrcode"></div>
<div class="aui-list-item-right"></div>
</div>
</li>
- <!--<li class="aui-list-item" onclick="app.loginByTouchId()">
+ <li class="aui-list-item" onclick="app.loginByTouchId()">
<div class="aui-list-item-label-icon">
<i class="aui-iconfont aui-icon-lock aui-text-info"></i>
</div>
<div class="aui-list-item-title">指纹\人脸登录</div>
<div class="aui-list-item-right"><input type="checkbox" id="login" class="aui-switch" ></div>
</div>
- </li>-->
+ </li>
<li class="aui-list-item" onclick="app.toPayPwd()">
<div class="aui-list-item-label-icon">
<i class="aui-iconfont aui-icon-pencil aui-text-danger"></i>
</div>
</li>
</ul>
- <div style="padding: 20px;margin-top: 40px;">
- <a href="javascript:app.logout();" class="weui-btn weui-btn_warn">退出登录</a>
- </div>
</section>
</body>
<div class="aui-btn aui-btn-block " apmode onclick="app.unAgreeXY()" id="unsignBtn">解除代扣协议</div>
</section>
</div>
- <div class="weui-footer weui-footer_fixed-bottom" style="background: #fff;display: none;" id="btn">
- <div style="margin-top: 10px;">
- <label for="agree" class="weui-agree" style="padding: .5em 5px .5em 15px;display: inline-block;">
- <input id="agree" type="checkbox" class="weui-agree__checkbox" value="yes">
- <span class="weui-agree__text">
- 我已阅读并同意该协议
- </span>
- </label>
- </div>
- <section class="aui-content-padded" style="margin-top: 20px;">
- <div class="aui-btn aui-btn-block " tapmode onclick="app.agreeXY()" id="signBtn">签约代扣协议</div>
- </section>
- </div>
</body>
</html>
<script type="text/javascript" src="cordova.js"></script>