Browse Source

dierbaneben

xiuli.gao 6 years ago
parent
commit
320a4fc630

+ 3 - 0
fund_h5/agreement.html

5
     <meta charset="UTF-8">
5
     <meta charset="UTF-8">
6
     <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
6
     <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
7
     <title>解析公积金数据协议</title>
7
     <title>解析公积金数据协议</title>
8
+     <div style="display: none;">
9
+    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274276190'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1274276190' type='text/javascript'%3E%3C/script%3E"));</script>
10
+    </div>
8
     <style>
11
     <style>
9
     html,
12
     html,
10
     body,
13
     body,

+ 1 - 1
fund_h5/choice_city.html

10
     <script type="text/javascript" src="kuxuan/api-url.js"></script>
10
     <script type="text/javascript" src="kuxuan/api-url.js"></script>
11
     <script src="./js/jquery.min.js"></script>
11
     <script src="./js/jquery.min.js"></script>
12
     <div style="display: none;">
12
     <div style="display: none;">
13
-    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
13
+    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274276190'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1274276190' type='text/javascript'%3E%3C/script%3E"));</script>
14
     </div>
14
     </div>
15
     <script src="./js/common.js?vv=2"></script>
15
     <script src="./js/common.js?vv=2"></script>
16
 </head>
16
 </head>

+ 3 - 0
fund_h5/choose_city.html

8
     <link rel="stylesheet" href="./css/reset.css">
8
     <link rel="stylesheet" href="./css/reset.css">
9
     <link rel="stylesheet" href="./css/choose_city.css?v=10">
9
     <link rel="stylesheet" href="./css/choose_city.css?v=10">
10
     <script src="./js/jquery.min.js"></script>
10
     <script src="./js/jquery.min.js"></script>
11
+    <div style="display: none;">
12
+    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274276190'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1274276190' type='text/javascript'%3E%3C/script%3E"));</script>
13
+    </div>
11
     <script src="./js/common.js"></script>
14
     <script src="./js/common.js"></script>
12
 </head>
15
 </head>
13
 
16
 

+ 3 - 0
fund_h5/choose_city02.html

9
     <link rel="stylesheet" href="./css/choose_city.css?v=10">
9
     <link rel="stylesheet" href="./css/choose_city.css?v=10">
10
     <script src="./js/jquery.min.js"></script>
10
     <script src="./js/jquery.min.js"></script>
11
     <script src="./js/common.js"></script>
11
     <script src="./js/common.js"></script>
12
+    <div style="display: none;">
13
+    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274276190'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1274276190' type='text/javascript'%3E%3C/script%3E"));</script>
14
+    </div>
12
 </head>
15
 </head>
13
 
16
 
14
 <body style='display: none;'>
17
 <body style='display: none;'>

+ 21 - 7
fund_h5/css/fund_h5_api.css

126
 .login-wrapper {
126
 .login-wrapper {
127
     font-size: 0;
127
     font-size: 0;
128
     background-color: #fff;
128
     background-color: #fff;
129
-    margin: 0 0.10rem 0.12rem;
129
+    /*margin: 0 0.10rem 0.12rem;*/
130
     border-radius: 4px;
130
     border-radius: 4px;
131
     overflow: hidden;
131
     overflow: hidden;
132
 }
132
 }
153
     display: inline-block;
153
     display: inline-block;
154
     width: 0.16rem;
154
     width: 0.16rem;
155
     height: 0.03rem;
155
     height: 0.03rem;
156
+    margin-top: 0.14rem;
156
 }
157
 }
157
 
158
 
158
 .tab-tab-active .hr-active {
159
 .tab-tab-active .hr-active {
159
     background-color: #5d7dff;
160
     background-color: #5d7dff;
161
+    margin-top: 0.14rem;
162
+}
163
+
164
+.tab-tab-active .tab-title{
165
+	color: #5D7DFF;
160
 }
166
 }
161
 
167
 
162
 .tab-content-wrapper {
168
 .tab-content-wrapper {
170
     font-size: 0;
176
     font-size: 0;
171
 }
177
 }
172
 
178
 
179
+.input-wrapper:last-of-type{
180
+	border-bottom: none;
181
+}
182
+
173
 .input-wrapper label {
183
 .input-wrapper label {
174
     display: inline-block;
184
     display: inline-block;
175
     width: 0.80rem;
185
     width: 0.80rem;
176
-    font-size: 0.14rem;
186
+    font-size: 0.16rem;
177
     color: #222;
187
     color: #222;
178
     text-align:justify;
188
     text-align:justify;
179
 }
189
 }
180
 
190
 
181
 .input-wrapper input {
191
 .input-wrapper input {
182
     color: #222;
192
     color: #222;
183
-    font-size: 0.14rem;
193
+    font-size: 0.16rem;
184
     border: none;
194
     border: none;
185
     outline: none;
195
     outline: none;
186
     width: 2rem;
196
     width: 2rem;
194
     margin-top: 0.16rem;
204
     margin-top: 0.16rem;
195
     color: #888;
205
     color: #888;
196
     font-size: 0.12rem;
206
     font-size: 0.12rem;
207
+    margin-left: 0.2rem;
197
 }
208
 }
198
 
209
 
199
 .check {
210
 .check {
220
     font-size: 0.15rem;
231
     font-size: 0.15rem;
221
 }
232
 }
222
 .button-wrapper input {
233
 .button-wrapper input {
223
-    width: 2.08rem;
224
-    height: 0.34rem;
234
+   width: 3rem;
235
+    height: 0.4rem;
225
     border: none;
236
     border: none;
226
     outline: none;
237
     outline: none;
227
     color: #fff;
238
     color: #fff;
228
-    border-radius: 0.17rem;
239
+    border-radius: 0.2rem;
240
+    font-size: 0.2rem;
229
 }
241
 }
230
 
242
 
231
 .disable-commit {
243
 .disable-commit {
280
     line-height: 0.20rem;
292
     line-height: 0.20rem;
281
     font-size: 0.14rem;
293
     font-size: 0.14rem;
282
     color: #888;
294
     color: #888;
295
+    text-align: left;
296
+    padding: 0 0.1rem;
283
 }
297
 }
284
 
298
 
285
 .dialog-wrapper input{
299
 .dialog-wrapper input{
359
     line-height: 0.20rem;
373
     line-height: 0.20rem;
360
     font-size: .12rem;
374
     font-size: .12rem;
361
     right: 0;
375
     right: 0;
362
-    color: #666;
376
+    color: #5D7DFF;
363
     padding-left: 0.11rem;
377
     padding-left: 0.11rem;
364
     border-left: 0.01rem solid #D8D8D8;
378
     border-left: 0.01rem solid #D8D8D8;
365
 }
379
 }

+ 41 - 0
fund_h5/css/query-help.css

51
 .goOfficialNetwork span{
51
 .goOfficialNetwork span{
52
 	color: #4B62FF;
52
 	color: #4B62FF;
53
 }
53
 }
54
+.alert-info {
55
+    position: absolute;
56
+    top: 1.74rem;
57
+    right: 0;
58
+    left: 0;
59
+    bottom: 0;
60
+    text-align: center;
61
+}
62
+
63
+.alert-info p {
64
+    display: inline-block;
65
+    height: 0.38rem;
66
+    color: #fff;
67
+    font-size: 0.14rem;
68
+    line-height: 0.38rem;
69
+    padding: 0 0.10rem;
70
+    background-color: rgba(0, 0, 0, 0.7);
71
+    border-radius: 5px;
72
+}
73
+.goGjj{
74
+	font-size: 0.14rem;
75
+	text-align: right;
76
+	margin-top: 0.1rem;
77
+}
78
+.goGjj em{
79
+	font-style: normal;
80
+}
81
+.goGjj span{
82
+	color: #4B62FF;
83
+}
84
+.ljqw{
85
+	font-size: 0.14rem;
86
+	line-height: 0.2rem;
87
+	color: #666666;
88
+	padding: 0.16rem;
89
+	padding-bottom: 0;
90
+	text-align: right;
91
+}
92
+.ljqw span{
93
+	color: #4B62FF;
94
+}

+ 10 - 8
fund_h5/fund_h5_api.html

10
     <script src="./js/jquery.min.js"></script>
10
     <script src="./js/jquery.min.js"></script>
11
     <script type="text/javascript" src="kuxuan/api-url.js"></script>
11
     <script type="text/javascript" src="kuxuan/api-url.js"></script>
12
     <script src="./js/common.js"></script>
12
     <script src="./js/common.js"></script>
13
+    <div style="display: none;">
14
+    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274276190'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1274276190' type='text/javascript'%3E%3C/script%3E"));</script>
15
+    </div>
13
 </head>
16
 </head>
14
 
17
 
15
 <body>
18
 <body>
40
                     <!-- 登录参数 -->
43
                     <!-- 登录参数 -->
41
                 </div>
44
                 </div>
42
                 <input type="hidden" id="tid">
45
                 <input type="hidden" id="tid">
43
-                <div class="agreement-wrapper">
44
-                    <i class="check check-active"></i>同意<a href="./agreement.html">《解析公积金数据协议》</a>
45
-                </div>
46
-                <div class="button-wrapper">
47
-                    <input type="button" value="提交" class="disable-commit" id="submitButton" disabled="disabled">
48
-                </div>
49
             </div>
46
             </div>
50
         </div>
47
         </div>
48
+        <div class="agreement-wrapper">
49
+            <i class="check check-active"></i>同意<a href="./agreement.html">《解析公积金数据协议》</a>
50
+        </div>
51
+        <div class="button-wrapper">
52
+            <input type="button" value="提交" class="disable-commit" id="submitButton" disabled="disabled">
53
+        </div>
51
         <!--<div class="tips">
54
         <!--<div class="tips">
52
                                     常见问题 
55
                                     常见问题 
53
         </div>-->
56
         </div>-->
70
                 </div>
73
                 </div>
71
                 <div class="dialog-forget">
74
                 <div class="dialog-forget">
72
                     <h4 class="tishi">提示</h4>
75
                     <h4 class="tishi">提示</h4>
73
-                    <p>如果您忘记密码,需前往北京公积金官网
74
-                        <br>重置密码</p>
76
+                    <p></p>
75
                 </div>
77
                 </div>
76
                 <input type="button" value="确定" id="closeMask">
78
                 <input type="button" value="确定" id="closeMask">
77
             </div>
79
             </div>

+ 33 - 6
fund_h5/js/fund_h5_api.js

31
 	httpStr += "returnUrl=" + returnUrl + "&appName=" + appName;
31
 	httpStr += "returnUrl=" + returnUrl + "&appName=" + appName;
32
     httpStr = encodeURIComponent(httpStr)
32
     httpStr = encodeURIComponent(httpStr)
33
     $("nav p span").html(qs.name+"公积金查询")
33
     $("nav p span").html(qs.name+"公积金查询")
34
- console.log(httpStr)
35
     getLoginInfo();
34
     getLoginInfo();
36
     //头部切换公积金类型
35
     //头部切换公积金类型
37
     switchingType();
36
     switchingType();
37
+   
38
 });
38
 });
39
 
39
 
40
 //头部切换公积金类型
40
 //头部切换公积金类型
86
     } else if (type === 'forget') {
86
     } else if (type === 'forget') {
87
     	var html = '如果您忘记密码,需前往' + qs.name+ '公积金官网<br>重置密码'
87
     	var html = '如果您忘记密码,需前往' + qs.name+ '公积金官网<br>重置密码'
88
         $('.dialog-forget').show();
88
         $('.dialog-forget').show();
89
-        $('.dialog-forget').find('p').html(html)
89
+//      $('.dialog-forget').find('p').html(html)
90
+        cituInfoData();
90
         $('.dialog-wrapper input').val('立即前往').click(function() {
91
         $('.dialog-wrapper input').val('立即前往').click(function() {
91
 			tips.find(function(item, index) {
92
 			tips.find(function(item, index) {
92
 				if(item.region == cityInfo.region){
93
 				if(item.region == cityInfo.region){
94
 						retrievePwd = item.URL.password;
95
 						retrievePwd = item.URL.password;
95
 //						window.location.href=retrievePwd;
96
 //						window.location.href=retrievePwd;
96
     					window.webkit.messageHandlers.OutPushMessageHandler.postMessage({'name':qs.name,'url':retrievePwd});
97
     					window.webkit.messageHandlers.OutPushMessageHandler.postMessage({'name':qs.name,'url':retrievePwd});
97
-					}else{
98
+					}else if(item.URL.web){
98
 						retrievePwd = item.URL.web;
99
 						retrievePwd = item.URL.web;
99
 //						window.location.href=retrievePwd;
100
 //						window.location.href=retrievePwd;
100
     					window.webkit.messageHandlers.OutPushMessageHandler.postMessage({'name':qs.name,'url':retrievePwd});
101
     					window.webkit.messageHandlers.OutPushMessageHandler.postMessage({'name':qs.name,'url':retrievePwd});
221
         contentType: 'application/json;charset=utf-8',
222
         contentType: 'application/json;charset=utf-8',
222
         success: function(data) {
223
         success: function(data) {
223
         	cityInfo = data;
224
         	cityInfo = data;
224
-        	console.log('data')
225
-        	console.log(data)
226
             return renderLoginInfo(data);
225
             return renderLoginInfo(data);
227
         },
226
         },
228
         error: function(err) {
227
         error: function(err) {
281
     }
280
     }
282
     tabWrapper.html(tabsHtmlStr);
281
     tabWrapper.html(tabsHtmlStr);
283
     tabConWrapper.html(tabConHtmlStr);
282
     tabConWrapper.html(tabConHtmlStr);
284
-    console.log(cityInfo)
285
     if(cityInfo.loginTypes !=undefined){
283
     if(cityInfo.loginTypes !=undefined){
286
 	   	if(cityInfo.loginTypes.length == 1){
284
 	   	if(cityInfo.loginTypes.length == 1){
287
 			$(".tab-tab").css({
285
 			$(".tab-tab").css({
739
         window.sessionStorage.processRate = this.rate;
737
         window.sessionStorage.processRate = this.rate;
740
     }
738
     }
741
 })
739
 })
740
+
741
+
742
+//忘记密码文案
743
+function cituInfoData () {
744
+	$.ajax({
745
+		type:"POST",
746
+		url: "/api/city/info",
747
+		headers:{
748
+			'token': '5dac206be8b1f5736285fc03a08adb3c'
749
+		},
750
+		data:{
751
+			'region': qs.name
752
+		},
753
+		dataType:'json',
754
+		success: function (res) {
755
+			console.log(res)
756
+			if(res.errno == 0 && res.rst.data && res.rst.data.city){
757
+				var data = res.rst.data.city;
758
+				if(data.pwd_info){
759
+					$(".dialog-forget").find("p").html(data.pwd_info);
760
+				}else{
761
+					$(".dialog-forget").find("p").html(`如果您忘记密码,需前往${qs.name}公积金官网重置密码.`)
762
+				}
763
+			}else{
764
+				showMsg(res.err)
765
+			}
766
+		}
767
+	});
768
+}

+ 53 - 1
fund_h5/js/queryHelp.js

24
     if (qs.token) {
24
     if (qs.token) {
25
         token = qs.token;
25
         token = qs.token;
26
     } 
26
     } 
27
-    $(".goOfficialNetwork i").html(city_name)
28
     goBack()
27
     goBack()
28
+    cituInfoData()
29
 });
29
 });
30
 //nav返回上一页
30
 //nav返回上一页
31
 function goBack () {
31
 function goBack () {
51
 		}
51
 		}
52
 	})
52
 	})
53
 }
53
 }
54
+//帮助文案
55
+function cituInfoData () {
56
+	$.ajax({
57
+		type:"POST",
58
+		url: "/api/city/info",
59
+		headers:{
60
+			'token': '5dac206be8b1f5736285fc03a08adb3c'
61
+		},
62
+		data:{
63
+			'region': qs.name
64
+		},
65
+		dataType:'json',
66
+		success: function (res) {
67
+			console.log(res)
68
+			if(res.errno == 0 && res.rst.data && res.rst.data.city){
69
+				var data = res.rst.data.city;
70
+				if(data.help_info && data.help_info != ""){
71
+					$(".container").html(data.help_info);
72
+					$(".container").find("p").css({
73
+						"line-height":0,
74
+						"font-size":"0.16rem"
75
+					}).find("span").css({
76
+						"line-height":"0.26rem",
77
+						"font-size":"0.14rem",
78
+						"color":"#666666"
79
+					})
80
+					$(".container strong").find("span").css({"color":"#333333"})
81
+					$(".goGjj").html(`<div class="ljqw">前往<em>${city_name}</em>公积金官网注册  <span onclick="goZhuce()">立即前往 >></span>
82
+            </div>`)
83
+				}else{
84
+					$(".container").html(`<h3 class="title">如何获取查询密码/公积金帐号</h3>
85
+	    	<p class="goOfficialNetwork">如果您还未在最新版,<i>${city_name}</i>公积金官网主注册并设置相关信息;<span onclick="goZhuce()">立即前往 >></span></p>
86
+	    	<p class="goOfficialNetwork">注册完成后即可使用APP查询。</p>`)
87
+				}
88
+			}else{
89
+				showMsg(res.err)
90
+			}
91
+		}
92
+	});
93
+}
94
+/**
95
+ * [showMsg 提示各种错误信息,3s后消失]
96
+ */
97
+function showMsg(msg) {
98
+    var msgBox = $('.alert-info');
99
+    msgBox.children('p').text(msg);
100
+    msgBox.show();
101
+
102
+    setTimeout(function() {
103
+        msgBox.hide();
104
+    }, 3000);
105
+}

+ 0 - 2
fund_h5/js/typeChoice.js

6
 var httpStr = '';
6
 var httpStr = '';
7
 $().ready(function() {
7
 $().ready(function() {
8
    var qs = parseQueryString(window.location.href);
8
    var qs = parseQueryString(window.location.href);
9
-   console.log(qs)
10
    name = qs.name;
9
    name = qs.name;
11
    regionCode = qs.code;
10
    regionCode = qs.code;
12
    token = qs.token;
11
    token = qs.token;
47
 
46
 
48
 //公积金类型数据
47
 //公积金类型数据
49
 function cituInfoData () {
48
 function cituInfoData () {
50
-	console.log(name)
51
 	$.ajax({
49
 	$.ajax({
52
 		type:"POST",
50
 		type:"POST",
53
 		url: "/api/city/info",
51
 		url: "/api/city/info",

+ 12 - 1
fund_h5/queryHelp.html

8
 	    <link rel="stylesheet" href="./css/query-help.css?v=10">
8
 	    <link rel="stylesheet" href="./css/query-help.css?v=10">
9
 	    <script src="./js/jquery.min.js"></script>
9
 	    <script src="./js/jquery.min.js"></script>
10
 	    <script src="./js/common.js"></script>
10
 	    <script src="./js/common.js"></script>
11
+	    <div style="display: none;">
12
+	    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274276190'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1274276190' type='text/javascript'%3E%3C/script%3E"));</script>
13
+	    </div>
11
 	</head>
14
 	</head>
12
 	<body>
15
 	<body>
13
 		<nav>
16
 		<nav>
15
 	        <p>查询帮助</p>
18
 	        <p>查询帮助</p>
16
 	    </nav>
19
 	    </nav>
17
 	    <div class="content">
20
 	    <div class="content">
21
+	    	<div class="container"></div>
22
+	    	<div class="goGjj"></div>
23
+	    </div>
24
+	    <!--<div class="content">
18
 	    	<h3 class="title">如何获取查询密码/公积金帐号</h3>
25
 	    	<h3 class="title">如何获取查询密码/公积金帐号</h3>
19
 	    	<p class="goOfficialNetwork">如果您还未在最新版,<i>北京</i>公积金官网主注册并设置相关信息;<span onclick="goZhuce()">立即前往 >></span></p>
26
 	    	<p class="goOfficialNetwork">如果您还未在最新版,<i>北京</i>公积金官网主注册并设置相关信息;<span onclick="goZhuce()">立即前往 >></span></p>
20
 	    	<p class="goOfficialNetwork">注册完成后即可使用APP查询。</p>
27
 	    	<p class="goOfficialNetwork">注册完成后即可使用APP查询。</p>
21
-	    </div>
28
+	    </div>-->
29
+	    <div class="alert-info" style="display: none;">
30
+            <!-- tip提示,3s后消失 -->
31
+            <p></p>
32
+        </div>
22
 	</body>
33
 	</body>
23
 </html>
34
 </html>
24
 <script src="./js/auto_size.js"></script>
35
 <script src="./js/auto_size.js"></script>

+ 3 - 0
fund_h5/typeChoice.html

9
 	    <script src="./js/jquery.min.js"></script>
9
 	    <script src="./js/jquery.min.js"></script>
10
 	    <script type="text/javascript" src="kuxuan/api-url.js"></script>
10
 	    <script type="text/javascript" src="kuxuan/api-url.js"></script>
11
 	    <script src="./js/common.js"></script>
11
 	    <script src="./js/common.js"></script>
12
+	    <div style="display: none;">
13
+	    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274276190'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1274276190' type='text/javascript'%3E%3C/script%3E"));</script>
14
+	    </div>
12
 	</head>
15
 	</head>
13
 	<body>
16
 	<body>
14
 		<nav>
17
 		<nav>

+ 1 - 1
fund_h5_01/choice_city.html

13
     <div style="display: none;">
13
     <div style="display: none;">
14
     	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
14
     	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
15
     </div>
15
     </div>
16
-    <script src="./js/common.js?vv=2"></script>
16
+    <script src="./js/common.js?vv=10"></script>
17
 </head>
17
 </head>
18
 
18
 
19
 <body>
19
 <body>

+ 6 - 6
fund_h5_01/choose_city.html

5
     <meta charset="UTF-8">
5
     <meta charset="UTF-8">
6
     <title>选择城市</title>
6
     <title>选择城市</title>
7
     <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
7
     <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
8
-    <link rel="stylesheet" href="./css/reset.css?vv=1">
9
-    <link rel="stylesheet" href="./css/choose_city.css?vv=4">
8
+    <link rel="stylesheet" href="./css/reset.css?vv=10">
9
+    <link rel="stylesheet" href="./css/choose_city.css?vv=10">
10
     <script src="./js/jquery.min.js"></script>
10
     <script src="./js/jquery.min.js"></script>
11
     <div style="display: none;">
11
     <div style="display: none;">
12
     	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
12
     	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
16
 	<style type="text/css">
16
 	<style type="text/css">
17
 		#allmap{position: absolute;left: -2000px;}
17
 		#allmap{position: absolute;left: -2000px;}
18
 	</style>
18
 	</style>
19
-	<script src="./js/common.js?vv=2"></script>
19
+	<script src="./js/common.js?vv=10"></script>
20
 
20
 
21
     
21
     
22
 </head>
22
 </head>
55
         <!-- tip提示,3s后消失 -->
55
         <!-- tip提示,3s后消失 -->
56
         <p></p>
56
         <p></p>
57
     </div>
57
     </div>
58
-    <script src="./js/auto_size.js?vv=1"></script>
58
+    <script src="./js/auto_size.js?vv=10"></script>
59
     <script src="./js/tips.js?vv=1"></script>
59
     <script src="./js/tips.js?vv=1"></script>
60
-    <script src="./js/city_picker.js?vv=2"></script>
61
-    <script src="./js/choose_city.js?vv=1"></script>
60
+    <script src="./js/city_picker.js?vv=10"></script>
61
+    <script src="./js/choose_city.js?vv=10"></script>
62
 </body>
62
 </body>
63
 
63
 
64
 </html>
64
 </html>

+ 1 - 0
fund_h5_01/css/fund_h5_api.css

294
     font-size: 0.14rem;
294
     font-size: 0.14rem;
295
     color: #888;
295
     color: #888;
296
     padding: 0 0.15rem;
296
     padding: 0 0.15rem;
297
+    text-align: left;
297
 }
298
 }
298
 
299
 
299
 .dialog-wrapper input{
300
 .dialog-wrapper input{

+ 2 - 2
fund_h5_01/fund_h5_api.html

17
    		#copy_1,#copy_2{
17
    		#copy_1,#copy_2{
18
 			position:absolute;
18
 			position:absolute;
19
 			left:-3000px;
19
 			left:-3000px;
20
+			font-size: 0.12rem;
20
 		}
21
 		}
21
    </style>
22
    </style>
22
 </head>
23
 </head>
80
                 </div>
81
                 </div>
81
                 <div class="dialog-forget">
82
                 <div class="dialog-forget">
82
                     <h4 class="tishi">提示</h4>
83
                     <h4 class="tishi">提示</h4>
83
-                    <p>如果您忘记密码,需前往北京公积金官网
84
-                        <br>重置密码</p>
84
+                    <p></p>
85
                 </div>
85
                 </div>
86
                 <input type="button" value="确定" id="closeMask">
86
                 <input type="button" value="确定" id="closeMask">
87
             </div>
87
             </div>

+ 4 - 4
fund_h5_01/iframeUrl.html

4
 		<meta charset="UTF-8">
4
 		<meta charset="UTF-8">
5
 	    <title>公积金查询</title>
5
 	    <title>公积金查询</title>
6
 	    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
6
 	    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
7
-	    <link rel="stylesheet" href="./css/reset.css?vv=1">
8
-		<link rel="stylesheet" type="text/css" href="css/iframeUrl.css?vv=1"/>
7
+	    <link rel="stylesheet" href="./css/reset.css?vv=10">
8
+		<link rel="stylesheet" type="text/css" href="css/iframeUrl.css?vv=10"/>
9
 	    <script src="./js/jquery.min.js"></script>
9
 	    <script src="./js/jquery.min.js"></script>
10
 	    <div style="display: none;">
10
 	    <div style="display: none;">
11
 	    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
11
 	    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
12
 	    </div>
12
 	    </div>
13
-	    <script src="./js/common.js?vv=2"></script>
13
+	    <script src="./js/common.js?vv=10"></script>
14
 	    <style id="antiClickjack">body{display:none !important;}</style>
14
 	    <style id="antiClickjack">body{display:none !important;}</style>
15
 		<script>
15
 		<script>
16
 			if (self === top) {
16
 			if (self === top) {
31
 	</body>
31
 	</body>
32
 </html>
32
 </html>
33
 
33
 
34
-<script src="./js/auto_size.js?vv=1"></script>
34
+<script src="./js/auto_size.js?vv=10"></script>
35
 <script type="text/javascript">
35
 <script type="text/javascript">
36
 	var goUrl = ''
36
 	var goUrl = ''
37
 	var qs = parseQueryString(window.location.href);
37
 	var qs = parseQueryString(window.location.href);

+ 43 - 15
fund_h5_01/js/fund_h5_api.js

87
     	var html = '如果您忘记密码,需前往' + qs.name+ '公积金官网<br>重置密码';
87
     	var html = '如果您忘记密码,需前往' + qs.name+ '公积金官网<br>重置密码';
88
     	$('.dialog-wrapper input').val('复制链接')
88
     	$('.dialog-wrapper input').val('复制链接')
89
         $('.dialog-forget').show();
89
         $('.dialog-forget').show();
90
-        tips.find(function(item, index) {
91
-				if(item.region == cityInfo.region){
92
-					if(item.forget_pwd){
93
-						html = item.forget_pwd[0].content;
94
-						if(item.forget_pwd[0].btnContent == "立即前往"){
95
-							$('.dialog-wrapper input').val('复制链接')
96
-						}else if(item.forget_pwd[0].btnContent == "我知道了"){
97
-							$('.dialog-wrapper input').val('我知道了')
98
-						}
99
-					}
100
-				
101
-				}
102
-			})
103
-        $('.dialog-forget').find('p').html(html)
90
+        cituInfoData();
91
+//      tips.find(function(item, index) {
92
+//				if(item.region == cityInfo.region){
93
+//					if(item.forget_pwd){
94
+//						html = item.forget_pwd[0].content;
95
+//						if(item.forget_pwd[0].btnContent == "立即前往"){
96
+//							$('.dialog-wrapper input').val('复制链接')
97
+//						}else if(item.forget_pwd[0].btnContent == "我知道了"){
98
+//							$('.dialog-wrapper input').val('我知道了')
99
+//						}
100
+//					}
101
+//				
102
+//				}
103
+//			})
104
+//      $('.dialog-forget').find('p').html(html)
104
         $('.dialog-wrapper input').click(function() {
105
         $('.dialog-wrapper input').click(function() {
105
 			tips.find(function(item, index) {
106
 			tips.find(function(item, index) {
106
 				if(item.region == cityInfo.region){
107
 				if(item.region == cityInfo.region){
107
 						if($('.dialog-wrapper input').val() == "复制链接"){
108
 						if($('.dialog-wrapper input').val() == "复制链接"){
108
 							if(item.URL.password){
109
 							if(item.URL.password){
109
-								console.log("liji")
110
 								retrievePwd = item.URL.password;
110
 								retrievePwd = item.URL.password;
111
 								goCopy(retrievePwd);
111
 								goCopy(retrievePwd);
112
 //								window.location.href="iframeUrl.html?url=" + retrievePwd;
112
 //								window.location.href="iframeUrl.html?url=" + retrievePwd;
766
         window.sessionStorage.processRate = this.rate;
766
         window.sessionStorage.processRate = this.rate;
767
     }
767
     }
768
 })
768
 })
769
+
770
+//忘记密码文案
771
+function cituInfoData () {
772
+	$.ajax({
773
+		type:"POST",
774
+		url: "/api/city/info",
775
+		headers:{
776
+			'token': '5dac206be8b1f5736285fc03a08adb3c'
777
+		},
778
+		data:{
779
+			'region': qs.name
780
+		},
781
+		dataType:'json',
782
+		success: function (res) {
783
+			console.log(res)
784
+			if(res.errno == 0 && res.rst.data && res.rst.data.city){
785
+				var data = res.rst.data.city;
786
+				if(data.pwd_info){
787
+					$(".dialog-forget").find("p").html(data.pwd_info);
788
+				}else{
789
+					$(".dialog-forget").find("p").html(`如果您忘记密码,需前往${qs.name}公积金官网重置密码.`)
790
+				}
791
+			}else{
792
+				showMsg(res.err)
793
+			}
794
+		}
795
+	});
796
+}

+ 40 - 38
fund_h5_01/js/queryHelp.js

27
     $(".ljqw em").html(city_name)
27
     $(".ljqw em").html(city_name)
28
     $(".goOfficialNetwork i").html(city_name)
28
     $(".goOfficialNetwork i").html(city_name)
29
     goBack()
29
     goBack()
30
-    renderTips(city_name);
30
+    cituInfoData()
31
 });
31
 });
32
 //nav返回上一页
32
 //nav返回上一页
33
 function goBack () {
33
 function goBack () {
57
 	})
57
 	})
58
 }
58
 }
59
 
59
 
60
-/**
61
- * [renderTips 渲染常见问题]
62
- * @param  {[type]} region [description]
63
- */
64
-function renderTips(region) {
65
-    var tipStr = "";
66
-    var defaultTip = null;
67
-    var defaultRegion = '北京';
68
-
69
-    var tipContent = tips.find(function(item, index) {
70
-        if (item.region === defaultRegion) {
71
-            defaultTip = item;
72
-        }
73
-        return item.region === region;
74
-    });
75
-
76
-    if (!tipContent) {
77
-        tipContent = defaultTip; // 默认北京
78
-    }
79
-
80
-    tipContent = tipContent.tip;
81
-	
82
-	console.log()
83
-	if(Boolean(tipContent[0].title)){
84
-		for (var list of tipContent) {
85
-		    tipStr += "<p class=title>" + list.title + "</p>";
86
-		    if (list.content) {
87
-		        for (var tip of list.content) {
88
-		            tipStr += "<p style=text-indent:2em>" + tip + "</p>"
89
-		        }
90
-		    }
60
+//帮助文案
61
+function cituInfoData () {
62
+	$.ajax({
63
+		type:"POST",
64
+		url: "/api/city/info",
65
+		headers:{
66
+			'token': '5dac206be8b1f5736285fc03a08adb3c'
67
+		},
68
+		data:{
69
+			'region': qs.name
70
+		},
71
+		dataType:'json',
72
+		success: function (res) {
73
+			console.log(res)
74
+			if(res.errno == 0 && res.rst.data && res.rst.data.city){
75
+				var data = res.rst.data.city;
76
+				if(data.help_info && data.help_info != ""){
77
+					$(".container").html(data.help_info);
78
+					$(".container").find("p").css({
79
+						"line-height":0,
80
+						"font-size":"0.16rem"
81
+					}).find("span").css({
82
+						"line-height":"0.26rem",
83
+						"font-size":"0.14rem",
84
+						"color":"#666666"
85
+					})
86
+					$(".container strong").find("span").css({"color":"#333333"})
87
+					$(".goGjj").html(`<div class="ljqw">前往<em>${city_name}</em>公积金官网注册  <span onclick="goZhuce()">复制链接 </span>
88
+            </div>`)
89
+				}else{
90
+					$(".container").html(`<h3 class="title">如何获取查询密码/公积金帐号</h3>
91
+	    	<p class="goOfficialNetwork">如果您还未在最新版,<i>${city_name}</i>公积金官网主注册并设置相关信息;<span onclick="goZhuce()">复制链接</span></p>
92
+	    	<p class="goOfficialNetwork">注册完成后即可使用APP查询。</p>`)
93
+				}
94
+			}else{
95
+				showMsg(res.err)
96
+			}
91
 		}
97
 		}
92
-	}else{
93
-		tipStr = `<p style="padding-top:0.2rem">如果您还未在最新版,${city_name}公积金官网主注册并设置相关信息;注册完成后即可使用APP查询。</p>`
94
-	}
95
-
96
-    $('.tips .con').html(tipStr);
97
-}
98
+	});
99
+}

+ 3 - 3
fund_h5_01/no_open_city.html

4
 		<meta charset="UTF-8">
4
 		<meta charset="UTF-8">
5
 	    <title>公积金查询</title>
5
 	    <title>公积金查询</title>
6
 	    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
6
 	    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
7
-	    <link rel="stylesheet" href="./css/reset.css?vv=1">
7
+	    <link rel="stylesheet" href="./css/reset.css?vv=10">
8
 	    <link rel="stylesheet" type="text/css" href="css/no_open_city.css"/>
8
 	    <link rel="stylesheet" type="text/css" href="css/no_open_city.css"/>
9
 	    <script src="./js/jquery.min.js"></script>
9
 	    <script src="./js/jquery.min.js"></script>
10
 	    <div style="display: none;">
10
 	    <div style="display: none;">
11
 	    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
11
 	    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
12
 	    </div>
12
 	    </div>
13
-	    <script src="./js/common.js?vv=2"></script>
13
+	    <script src="./js/common.js?vv=10"></script>
14
 	    <style type="text/css">
14
 	    <style type="text/css">
15
 	    	
15
 	    	
16
 	    </style>
16
 	    </style>
27
 	    <div class="button" onclick="goBack()">我知道了</div>
27
 	    <div class="button" onclick="goBack()">我知道了</div>
28
 	</body>
28
 	</body>
29
 </html>
29
 </html>
30
-<script src="./js/auto_size.js?vv=1"></script>
30
+<script src="./js/auto_size.js?vv=10"></script>
31
 <script type="text/javascript">
31
 <script type="text/javascript">
32
 	var qs = parseQueryString(window.location.href);
32
 	var qs = parseQueryString(window.location.href);
33
 	$().ready(function() {
33
 	$().ready(function() {

+ 12 - 16
fund_h5_01/queryHelp.html

4
 		<meta charset="UTF-8">
4
 		<meta charset="UTF-8">
5
 	    <title>查询帮助</title>
5
 	    <title>查询帮助</title>
6
 	    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
6
 	    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
7
-	    <link rel="stylesheet" href="./css/reset.css?vv=1">
8
-	    <link rel="stylesheet" href="./css/query-help.css?vv=3">
7
+	    <link rel="stylesheet" href="./css/reset.css?vv=10">
8
+	    <link rel="stylesheet" href="./css/query-help.css?vv=10">
9
 	    <script src="./js/jquery.min.js"></script>
9
 	    <script src="./js/jquery.min.js"></script>
10
 	    <div style="display: none;">
10
 	    <div style="display: none;">
11
 	    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
11
 	    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
15
 	    	#copy_1,#copy_2{
15
 	    	#copy_1,#copy_2{
16
 				position:absolute;
16
 				position:absolute;
17
 				left:-3000px;
17
 				left:-3000px;
18
+				font-size: 0.14rem;
18
 			}
19
 			}
19
 	    </style>
20
 	    </style>
20
 	</head>
21
 	</head>
25
 	    </nav>
26
 	    </nav>
26
 	    <input id="copy_1" type="text" readonly="true" value=""/>
27
 	    <input id="copy_1" type="text" readonly="true" value=""/>
27
 		<div id="copy_2"></div>
28
 		<div id="copy_2"></div>
28
-	    <!--<div class="content">
29
-	    	<h3 class="title">如何获取查询密码/公积金帐号</h3>
29
+	    <div class="content">
30
+	    	<div class="container"></div>
31
+	    	<div class="goGjj"></div>
32
+	    	<!--<h3 class="title">如何获取查询密码/公积金帐号</h3>
30
 	    	<p class="goOfficialNetwork">如果您还未在最新版,<i>北京</i>公积金官网主注册并设置相关信息;<span onclick="goZhuce()">立即前往 >></span></p>
33
 	    	<p class="goOfficialNetwork">如果您还未在最新版,<i>北京</i>公积金官网主注册并设置相关信息;<span onclick="goZhuce()">立即前往 >></span></p>
31
-	    	<p class="goOfficialNetwork">注册完成后即可使用APP查询。</p>
32
-	    </div>-->
33
-	    <div class="tips">
34
-            <!-- 常见问题 -->
35
-            <div class="con"></div>
36
-            <div class="ljqw">
37
-            	前往<em>**</em>公积金官网注册  <span onclick="goZhuce()">复制链接</span>
38
-            </div>
39
-        </div>
34
+	    	<p class="goOfficialNetwork">注册完成后即可使用APP查询。</p>-->
35
+	    </div>
40
         <div class="alert-info" style="display: none;">
36
         <div class="alert-info" style="display: none;">
41
             <!-- tip提示,3s后消失 -->
37
             <!-- tip提示,3s后消失 -->
42
             <p></p>
38
             <p></p>
43
         </div>
39
         </div>
44
 	</body>
40
 	</body>
45
 </html>
41
 </html>
46
-<script src="./js/auto_size.js?vv=1"></script>
47
-<script src="./js/tips.js?vv=1"></script>
48
-<script type="text/javascript" src="js/queryHelp.js?vv=3"></script>
42
+<script src="./js/auto_size.js?vv=10"></script>
43
+<script src="./js/tips.js?vv=10"></script>
44
+<script type="text/javascript" src="js/queryHelp.js?vv=10"></script>

+ 5 - 5
fund_h5_01/typeChoice.html

5
 	    <title>类型选择</title>
5
 	    <title>类型选择</title>
6
 	    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
6
 	    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
7
 	    <link rel="stylesheet" href="./css/reset.css?vv=1">
7
 	    <link rel="stylesheet" href="./css/reset.css?vv=1">
8
-	    <link rel="stylesheet" href="./css/typeChoice.css?vv=1">
8
+	    <link rel="stylesheet" href="./css/typeChoice.css?vv=10">
9
 	    <script src="./js/jquery.min.js"></script>
9
 	    <script src="./js/jquery.min.js"></script>
10
-	    <script type="text/javascript" src="kuxuan/api-url.js?vv=2"></script>
10
+	    <script type="text/javascript" src="kuxuan/api-url.js?vv=10"></script>
11
 	    <div style="display: none;">
11
 	    <div style="display: none;">
12
 	    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
12
 	    	<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1274146775'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s13.cnzz.com/z_stat.php%3Fid%3D1274146775' type='text/javascript'%3E%3C/script%3E"));</script>
13
 	    </div>
13
 	    </div>
35
 			
35
 			
36
 	</body>
36
 	</body>
37
 </html>
37
 </html>
38
-<script src="./js/auto_size.js?vv=1"></script>
39
-<script src="./js/tips.js?vv=1"></script>
40
-<script type="text/javascript" src="js/typeChoice.js?vv=1"></script>
38
+<script src="./js/auto_size.js?vv=10"></script>
39
+<script src="./js/tips.js?vv=10"></script>
40
+<script type="text/javascript" src="js/typeChoice.js?vv=10"></script>