修改显示图片及签约流程
diff --git a/www/js/mainmenu.js b/www/js/mainmenu.js
index 9d9fad6..02e67ba 100644
--- a/www/js/mainmenu.js
+++ b/www/js/mainmenu.js
@@ -329,8 +329,8 @@
var cum = new auiDialog({});
var confirm = cum.alert({
title: "提示",
- msg: '为了不影响您正常使用相关功能,请先绑定银行卡',
- buttons: ['取消', '去绑卡']
+ msg: '为了不影响您正常使用相关功能,请先进行市民卡签约',
+ buttons: ['取消', '去签约']
}, function(ret) {
if (ret.buttonIndex == 2) {
window.location = 'bindcard.html'
@@ -386,10 +386,10 @@
window.location = 'billdetail.html';
},
toCard: function() {
- var userid = window.localStorage.getItem("userid");
- if (isEmpty(userid)) {
+ var signed = window.localStorage.getItem("signed");
+ if (isEmpty(signed) || signed != 'yes') {
window.location = 'bindcard.html'
- } else {
+ }else{
window.location = 'cardinfor.html'
}
},