Merge branch 'YOUFANGAPP1.1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1.1
This commit is contained in:
@@ -5,6 +5,10 @@
|
|||||||
document.addEventListener("plusready", function() {
|
document.addEventListener("plusready", function() {
|
||||||
// 监听点击消息事件
|
// 监听点击消息事件
|
||||||
plus.push.addEventListener("click", function(msg) {
|
plus.push.addEventListener("click", function(msg) {
|
||||||
|
//刷新个人中心
|
||||||
|
if (plus.webview.getWebviewById('views/user/userInfo.html') != null) {
|
||||||
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
|
}
|
||||||
// 判断是从本地创建还是离线推送的消息
|
// 判断是从本地创建还是离线推送的消息
|
||||||
var payload = msg.payload;
|
var payload = msg.payload;
|
||||||
var title = msg.title;
|
var title = msg.title;
|
||||||
@@ -87,6 +91,10 @@ document.addEventListener("plusready", function() {
|
|||||||
|
|
||||||
// 监听在线消息事件, iOS透传消息在线时会进入这里进行处理
|
// 监听在线消息事件, iOS透传消息在线时会进入这里进行处理
|
||||||
plus.push.addEventListener("receive", function(msg) {
|
plus.push.addEventListener("receive", function(msg) {
|
||||||
|
//刷新个人中心
|
||||||
|
if (plus.webview.getWebviewById('views/user/userInfo.html') != null) {
|
||||||
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
|
}
|
||||||
var title = msg.title;
|
var title = msg.title;
|
||||||
var content = msg.content;
|
var content = msg.content;
|
||||||
var payload = msg.payload;
|
var payload = msg.payload;
|
||||||
|
|||||||
@@ -1922,7 +1922,9 @@ function addEvaluation(){
|
|||||||
|
|
||||||
if(source=="changeHouse"){
|
if(source=="changeHouse"){
|
||||||
back(),plus.nativeUI.closeWaiting();
|
back(),plus.nativeUI.closeWaiting();
|
||||||
|
if(plus.webview.getWebviewById('views/user/userInfo.html')!= null){
|
||||||
|
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||||
|
}
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
$("#evaluation_btn").removeAttr("disabled");
|
$("#evaluation_btn").removeAttr("disabled");
|
||||||
|
|||||||
Reference in New Issue
Block a user