浏览代码

页面优化

xuchunyang 8 年之前
父节点
当前提交
4b7eca7e9a

+ 7 - 0
app/html/aboutus.html

@ -33,6 +33,13 @@
33 33
34 34
	</div>
35 35
	<script src="../js/public/mui.min.js"></script>
36
	<script src="../js/public/base.js"></script>
37
	<script type="text/javascript">
38
		mui.plusReady(function(){
39
			plus.nativeUI.closeWaiting();
40
			plus.webview.currentWebview().show("slide-in-right", 150);
41
		})
42
	</script>
36 43
</body>
37 44
38 45
</html>

+ 3 - 1
app/html/attentions.html

@ -29,6 +29,7 @@
29 29
	<script src="../js/public/base.js"></script>
30 30
	<script>
31 31
	   var checkedindex = 0;
32
	  
32 33
		mui("#fixbtn").on("tap", "li", function() {
33 34
			checkedindex = this.getAttribute("index");
34 35
			var libtn_arr = document.getElementById("fixbtn").getElementsByTagName("li");
@ -80,7 +81,8 @@
80 81
			}]
81 82
		});
82 83
		mui.plusReady(function(){
83
			plus.nativeUI.showWaiting();
84
			 plus.nativeUI.closeWaiting();
85
			 plus.webview.currentWebview().show("slide-in-right", 150);
84 86
		})
85 87
		
86 88


+ 7 - 0
app/html/privacy.html

@ -168,6 +168,13 @@
168 168
		</div>
169 169
	</div>
170 170
	<script src="../js/public/mui.min.js"></script>
171
	<script src="../js/public/base.js"></script>
172
	<script type="text/javascript">
173
		mui.plusReady(function(){
174
			plus.nativeUI.closeWaiting();
175
			plus.webview.currentWebview().show("slide-in-right", 150);
176
		})
177
	</script>
171 178
</body>
172 179
173 180
</html>

+ 2 - 0
app/js/expert-authentication.js

@ -28,6 +28,8 @@ mui.plusReady(function() {
28 28
			}, "提示", bts);	
29 29
		}
30 30
	})
31
	plus.nativeUI.closeWaiting();
32
	self.show("slide-in-right", 150);
31 33
})
32 34

33 35
//拼接图片样式

+ 3 - 0
app/js/index.js

@ -44,6 +44,7 @@ document.getElementById("demandP").addEventListener("tap", function() {
44 44
						url: '../html/realname-authentication.html',
45 45
						id: 'realname-authentication.html',
46 46
						show: {
47
							autoShow: false,
47 48
							aniShow: "slide-in-right",
48 49
						}
49 50
					});
@ -95,6 +96,7 @@ document.getElementById("improfessor").addEventListener("tap", function() {
95 96
						url: '../html/expert-authentication.html',
96 97
						id: 'expert-authentication.html',
97 98
						show: {
99
							autoShow: false,
98 100
							aniShow: "slide-in-right",
99 101
						}
100 102
					});
@ -107,6 +109,7 @@ document.getElementById("improfessor").addEventListener("tap", function() {
107 109
						url: '../html/realname-authentication2.html',
108 110
						id: 'realname-authentication2.html',
109 111
						show: {
112
							autoShow: false,
110 113
							aniShow: "slide-in-right",
111 114
						}
112 115
					});

+ 4 - 1
app/js/myaccount.js

@ -95,6 +95,7 @@ mui.ready(function() {
95 95
										url: '../html/expert-authentication.html',
96 96
										id: 'expert-authentication.html',
97 97
										show: {
98
											autoShow: false,
98 99
											aniShow: "slide-in-right"
99 100
										}
100 101
									});
@ -105,6 +106,7 @@ mui.ready(function() {
105 106
										url: '../html/realname-authentication2.html',
106 107
										id: 'realname-authentication2.html',
107 108
										show: {
109
											autoShow: false,
108 110
											aniShow: "slide-in-right"
109 111
										}
110 112
									});
@ -134,6 +136,7 @@ mui.ready(function() {
134 136
						url: '../html/setup.html',
135 137
						id: '../html/setup.html',
136 138
						show: {
139
							//autoShow: false,
137 140
							aniShow: "slide-in-right"
138 141
						}
139 142
					});
@ -155,7 +158,7 @@ mui.ready(function() {
155 158
						url: '../html/attentions.html',
156 159
						id: '../html/attentions.html',
157 160
						show: {
158
							//autoShow: false,
161
							autoShow: false,
159 162
							aniShow: "slide-in-right"
160 163
						}
161 164
					});

+ 3 - 0
app/js/realname-authentication.js

@ -1,5 +1,6 @@
1 1
//实名认证
2 2
mui.plusReady(function() {
3
	var self = plus.webview.currentWebview();
3 4
	var userid = plus.storage.getItem('userid');
4 5
	$('#submit').on("click", function() {
5 6
		plus.nativeUI.showWaiting();
@ -22,6 +23,8 @@ mui.plusReady(function() {
22 23
			
23 24
		}
24 25
	})
26
	plus.nativeUI.closeWaiting();
27
	self.show("slide-in-right", 150);
25 28
})
26 29

27 30
//拼接图片样式

+ 4 - 0
app/js/realname-authentication2.js

@ -1,5 +1,6 @@
1 1
//实名认证
2 2
mui.plusReady(function() {
3
	var self = plus.webview.currentWebview();
3 4
	var userid = plus.storage.getItem('userid');
4 5
	$('#submit').on("click", function() {
5 6
		var arr = $(".image-item img");
@ -14,6 +15,7 @@ mui.plusReady(function() {
14 15
				url: '../html/expert-authentication.html',
15 16
				id: 'expert-authentication.html',
16 17
				show: {
18
					autoShow: false,
17 19
					aniShow: "slide-in-right"
18 20
				},
19 21
				extras:{
@ -23,6 +25,8 @@ mui.plusReady(function() {
23 25
			});
24 26
		}
25 27
	})
28
	plus.nativeUI.closeWaiting();
29
	self.show("slide-in-right", 150);
26 30
})
27 31

28 32
//拼接图片样式

+ 1 - 0
app/js/security.js

@ -107,6 +107,7 @@ mui.plusReady(function() {
107 107
								url: '../html/realname-authentication.html',
108 108
								id: 'realname-authentication.html',
109 109
								show: {
110
									autoShow: false,
110 111
									aniShow: "slide-in-right"
111 112
								}
112 113
							});

+ 2 - 0
app/js/setup.js

@ -27,6 +27,7 @@ mui.ready(function() {
27 27
			url: '../html/aboutus.html',
28 28
			id: '../html/aboutus.html',
29 29
			show: {
30
				autoShow: false,
30 31
				aniShow: "slide-in-right"
31 32
			}
32 33
		});
@ -39,6 +40,7 @@ mui.ready(function() {
39 40
			url: '../html/privacy.html',
40 41
			id: '../html/privacy.html',
41 42
			show: {
43
				autoShow: false,
42 44
				aniShow: "slide-in-right"
43 45
			}
44 46
		});