jack 8 年之前
父节点
当前提交
044f966ed9
共有 1 个文件被更改,包括 11 次插入2 次删除
  1. 11 2
      app/html/attentions.html

+ 11 - 2
app/html/attentions.html

34
			checkedindex = this.getAttribute("index");
34
			checkedindex = this.getAttribute("index");
35
			var libtn_arr = document.getElementById("fixbtn").getElementsByTagName("li");
35
			var libtn_arr = document.getElementById("fixbtn").getElementsByTagName("li");
36
			if(checkedindex == 0) {
36
			if(checkedindex == 0) {
37
				var list1 = plus.webview.getWebviewById('attentions-list2.html');
38
				console.log(list1)
39
				if(list1==null){
40
					return;
41
				}
37
				libtn_arr[0].classList.add("liactive");
42
				libtn_arr[0].classList.add("liactive");
38
				libtn_arr[1].classList.remove("liactive");
43
				libtn_arr[1].classList.remove("liactive");
39
				mui.openWindow({
44
				mui.openWindow({
48
						bottom: '0px',
53
						bottom: '0px',
49
					}
54
					}
50
				});
55
				});
51
				var list1 = plus.webview.getWebviewById('attentions-list2.html');
56
				
52
				list1.close();
57
				list1.close();
53
			} else {
58
			} else {
59
				var list2 = plus.webview.getWebviewById('attentions-list.html');
60
				if(list2==null){
61
					return;
62
				}
54
				libtn_arr[1].classList.add("liactive");
63
				libtn_arr[1].classList.add("liactive");
55
				libtn_arr[0].classList.remove("liactive");
64
				libtn_arr[0].classList.remove("liactive");
56
			
65
			
66
						bottom: '0px',
75
						bottom: '0px',
67
					}
76
					}
68
				});
77
				});
69
				var list2 = plus.webview.getWebviewById('attentions-list.html');
78
				
70
				list2.close();
79
				list2.close();
71
			}
80
			}
72
		})
81
		})