Browse Source

Merge remote-tracking branch 'origin/test'

luyanan 6 years ago
parent
commit
45eedd0d69
2 changed files with 35 additions and 1 deletions
  1. 1 1
      app/js/attentedList.js
  2. 34 0
      app/js/j.js

+ 1 - 1
app/js/attentedList.js

@ -549,4 +549,4 @@ mui.ready(function() {
549 549
		collectSorts(0,1)
550 550
		bindClickFun()
551 551
	})
552
});
552
});

+ 34 - 0
app/js/j.js

@ -0,0 +1,34 @@
1
 mui.ready(function() {
2
 	mui.plusReady(function() {
3
 		client1()
4
 		if(mui.os.ios) {
5
 			plus.push.addEventListener("click", function(msg) {
6
 				plus.push.clear();
7
 				plus.webview.getLaunchWebview().show();
8
 				plus.webview.getWebviewById("html/consult_home.html").show();
9
 				mui(".mui-tab-item").each(function(index) {
10
 					if(index == 2) {
11
 						this.classList.add("mui-active");
12
 					} else {
13
 						this.classList.remove("mui-active");
14
 					}
15
 				})
16
 			});
17
 		} else {
18

19
 			plus.push.addEventListener("receive", function(msg) {
20
 				//plus.push.clear();
21
 				plus.webview.getLaunchWebview().show();
22
 				plus.webview.getWebviewById("html/consult_home.html").show();
23
 				mui(".mui-tab-item").each(function(index) {
24
 					if(index == 2) {
25
 						this.classList.add("mui-active");
26
 					} else {
27
 						this.classList.remove("mui-active");
28
 					}
29
 				})
30
 			}, false);
31
 		}
32
 	});
33

34
 })