Browse Source

dierbaneben

xiuli.gao 6 years ago
parent
commit
320a4fc630

+ 3 - 0
fund_h5/agreement.html

@@ -5,6 +5,9 @@
5 5
     <meta charset="UTF-8">
6 6
     <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
7 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 11
     <style>
9 12
     html,
10 13
     body,

+ 1 - 1
fund_h5/choice_city.html

@@ -10,7 +10,7 @@
10 10
     <script type="text/javascript" src="kuxuan/api-url.js"></script>
11 11
     <script src="./js/jquery.min.js"></script>
12 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 14
     </div>
15 15
     <script src="./js/common.js?vv=2"></script>
16 16
 </head>

+ 3 - 0
fund_h5/choose_city.html

@@ -8,6 +8,9 @@
8 8
     <link rel="stylesheet" href="./css/reset.css">
9 9
     <link rel="stylesheet" href="./css/choose_city.css?v=10">
10 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 14
     <script src="./js/common.js"></script>
12 15
 </head>
13 16
 

+ 3 - 0
fund_h5/choose_city02.html

@@ -9,6 +9,9 @@
9 9
     <link rel="stylesheet" href="./css/choose_city.css?v=10">
10 10
     <script src="./js/jquery.min.js"></script>
11 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 15
 </head>
13 16
 
14 17
 <body style='display: none;'>

+ 21 - 7
fund_h5/css/fund_h5_api.css

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

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

@@ -51,3 +51,44 @@ nav p {
51 51
 .goOfficialNetwork span{
52 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,6 +10,9 @@
10 10
     <script src="./js/jquery.min.js"></script>
11 11
     <script type="text/javascript" src="kuxuan/api-url.js"></script>
12 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 16
 </head>
14 17
 
15 18
 <body>
@@ -40,14 +43,14 @@
40 43
                     <!-- 登录参数 -->
41 44
                 </div>
42 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 46
             </div>
50 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 54
         <!--<div class="tips">
52 55
                                     常见问题 
53 56
         </div>-->
@@ -70,8 +73,7 @@
70 73
                 </div>
71 74
                 <div class="dialog-forget">
72 75
                     <h4 class="tishi">提示</h4>
73
-                    <p>如果您忘记密码,需前往北京公积金官网
74
-                        <br>重置密码</p>
76
+                    <p></p>
75 77
                 </div>
76 78
                 <input type="button" value="确定" id="closeMask">
77 79
             </div>

+ 33 - 6
fund_h5/js/fund_h5_api.js

@@ -31,10 +31,10 @@ $().ready(function() {
31 31
 	httpStr += "returnUrl=" + returnUrl + "&appName=" + appName;
32 32
     httpStr = encodeURIComponent(httpStr)
33 33
     $("nav p span").html(qs.name+"公积金查询")
34
- console.log(httpStr)
35 34
     getLoginInfo();
36 35
     //头部切换公积金类型
37 36
     switchingType();
37
+   
38 38
 });
39 39
 
40 40
 //头部切换公积金类型
@@ -86,7 +86,8 @@ function showDialog(type) {
86 86
     } else if (type === 'forget') {
87 87
     	var html = '如果您忘记密码,需前往' + qs.name+ '公积金官网<br>重置密码'
88 88
         $('.dialog-forget').show();
89
-        $('.dialog-forget').find('p').html(html)
89
+//      $('.dialog-forget').find('p').html(html)
90
+        cituInfoData();
90 91
         $('.dialog-wrapper input').val('立即前往').click(function() {
91 92
 			tips.find(function(item, index) {
92 93
 				if(item.region == cityInfo.region){
@@ -94,7 +95,7 @@ function showDialog(type) {
94 95
 						retrievePwd = item.URL.password;
95 96
 //						window.location.href=retrievePwd;
96 97
     					window.webkit.messageHandlers.OutPushMessageHandler.postMessage({'name':qs.name,'url':retrievePwd});
97
-					}else{
98
+					}else if(item.URL.web){
98 99
 						retrievePwd = item.URL.web;
99 100
 //						window.location.href=retrievePwd;
100 101
     					window.webkit.messageHandlers.OutPushMessageHandler.postMessage({'name':qs.name,'url':retrievePwd});
@@ -221,8 +222,6 @@ function getLoginInfo() {
221 222
         contentType: 'application/json;charset=utf-8',
222 223
         success: function(data) {
223 224
         	cityInfo = data;
224
-        	console.log('data')
225
-        	console.log(data)
226 225
             return renderLoginInfo(data);
227 226
         },
228 227
         error: function(err) {
@@ -281,7 +280,6 @@ function renderLoginInfo(cityInfo) {
281 280
     }
282 281
     tabWrapper.html(tabsHtmlStr);
283 282
     tabConWrapper.html(tabConHtmlStr);
284
-    console.log(cityInfo)
285 283
     if(cityInfo.loginTypes !=undefined){
286 284
 	   	if(cityInfo.loginTypes.length == 1){
287 285
 			$(".tab-tab").css({
@@ -739,3 +737,32 @@ var process = new Process({
739 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,8 +24,8 @@ $().ready(function() {
24 24
     if (qs.token) {
25 25
         token = qs.token;
26 26
     } 
27
-    $(".goOfficialNetwork i").html(city_name)
28 27
     goBack()
28
+    cituInfoData()
29 29
 });
30 30
 //nav返回上一页
31 31
 function goBack () {
@@ -51,3 +51,55 @@ function goZhuce () {
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,7 +6,6 @@ var nextCode = '';
6 6
 var httpStr = '';
7 7
 $().ready(function() {
8 8
    var qs = parseQueryString(window.location.href);
9
-   console.log(qs)
10 9
    name = qs.name;
11 10
    regionCode = qs.code;
12 11
    token = qs.token;
@@ -47,7 +46,6 @@ function goBack () {
47 46
 
48 47
 //公积金类型数据
49 48
 function cituInfoData () {
50
-	console.log(name)
51 49
 	$.ajax({
52 50
 		type:"POST",
53 51
 		url: "/api/city/info",

+ 12 - 1
fund_h5/queryHelp.html

@@ -8,6 +8,9 @@
8 8
 	    <link rel="stylesheet" href="./css/query-help.css?v=10">
9 9
 	    <script src="./js/jquery.min.js"></script>
10 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 14
 	</head>
12 15
 	<body>
13 16
 		<nav>
@@ -15,10 +18,18 @@
15 18
 	        <p>查询帮助</p>
16 19
 	    </nav>
17 20
 	    <div class="content">
21
+	    	<div class="container"></div>
22
+	    	<div class="goGjj"></div>
23
+	    </div>
24
+	    <!--<div class="content">
18 25
 	    	<h3 class="title">如何获取查询密码/公积金帐号</h3>
19 26
 	    	<p class="goOfficialNetwork">如果您还未在最新版,<i>北京</i>公积金官网主注册并设置相关信息;<span onclick="goZhuce()">立即前往 >></span></p>
20 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 33
 	</body>
23 34
 </html>
24 35
 <script src="./js/auto_size.js"></script>

+ 3 - 0
fund_h5/typeChoice.html

@@ -9,6 +9,9 @@
9 9
 	    <script src="./js/jquery.min.js"></script>
10 10
 	    <script type="text/javascript" src="kuxuan/api-url.js"></script>
11 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 15
 	</head>
13 16
 	<body>
14 17
 		<nav>

+ 1 - 1
fund_h5_01/choice_city.html

@@ -13,7 +13,7 @@
13 13
     <div style="display: none;">
14 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 15
     </div>
16
-    <script src="./js/common.js?vv=2"></script>
16
+    <script src="./js/common.js?vv=10"></script>
17 17
 </head>
18 18
 
19 19
 <body>

+ 6 - 6
fund_h5_01/choose_city.html

@@ -5,8 +5,8 @@
5 5
     <meta charset="UTF-8">
6 6
     <title>选择城市</title>
7 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 10
     <script src="./js/jquery.min.js"></script>
11 11
     <div style="display: none;">
12 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,7 +16,7 @@
16 16
 	<style type="text/css">
17 17
 		#allmap{position: absolute;left: -2000px;}
18 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 22
 </head>
@@ -55,10 +55,10 @@
55 55
         <!-- tip提示,3s后消失 -->
56 56
         <p></p>
57 57
     </div>
58
-    <script src="./js/auto_size.js?vv=1"></script>
58
+    <script src="./js/auto_size.js?vv=10"></script>
59 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 62
 </body>
63 63
 
64 64
 </html>

+ 1 - 0
fund_h5_01/css/fund_h5_api.css

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

+ 2 - 2
fund_h5_01/fund_h5_api.html

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

+ 4 - 4
fund_h5_01/iframeUrl.html

@@ -4,13 +4,13 @@
4 4
 		<meta charset="UTF-8">
5 5
 	    <title>公积金查询</title>
6 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 9
 	    <script src="./js/jquery.min.js"></script>
10 10
 	    <div style="display: none;">
11 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 12
 	    </div>
13
-	    <script src="./js/common.js?vv=2"></script>
13
+	    <script src="./js/common.js?vv=10"></script>
14 14
 	    <style id="antiClickjack">body{display:none !important;}</style>
15 15
 		<script>
16 16
 			if (self === top) {
@@ -31,7 +31,7 @@
31 31
 	</body>
32 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 35
 <script type="text/javascript">
36 36
 	var goUrl = ''
37 37
 	var qs = parseQueryString(window.location.href);

+ 43 - 15
fund_h5_01/js/fund_h5_api.js

@@ -87,26 +87,26 @@ function showDialog(type) {
87 87
     	var html = '如果您忘记密码,需前往' + qs.name+ '公积金官网<br>重置密码';
88 88
     	$('.dialog-wrapper input').val('复制链接')
89 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 105
         $('.dialog-wrapper input').click(function() {
105 106
 			tips.find(function(item, index) {
106 107
 				if(item.region == cityInfo.region){
107 108
 						if($('.dialog-wrapper input').val() == "复制链接"){
108 109
 							if(item.URL.password){
109
-								console.log("liji")
110 110
 								retrievePwd = item.URL.password;
111 111
 								goCopy(retrievePwd);
112 112
 //								window.location.href="iframeUrl.html?url=" + retrievePwd;
@@ -766,3 +766,31 @@ var process = new Process({
766 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,7 +27,7 @@ $().ready(function() {
27 27
     $(".ljqw em").html(city_name)
28 28
     $(".goOfficialNetwork i").html(city_name)
29 29
     goBack()
30
-    renderTips(city_name);
30
+    cituInfoData()
31 31
 });
32 32
 //nav返回上一页
33 33
 function goBack () {
@@ -57,41 +57,43 @@ function goZhuce () {
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,13 +4,13 @@
4 4
 		<meta charset="UTF-8">
5 5
 	    <title>公积金查询</title>
6 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 8
 	    <link rel="stylesheet" type="text/css" href="css/no_open_city.css"/>
9 9
 	    <script src="./js/jquery.min.js"></script>
10 10
 	    <div style="display: none;">
11 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 12
 	    </div>
13
-	    <script src="./js/common.js?vv=2"></script>
13
+	    <script src="./js/common.js?vv=10"></script>
14 14
 	    <style type="text/css">
15 15
 	    	
16 16
 	    </style>
@@ -27,7 +27,7 @@
27 27
 	    <div class="button" onclick="goBack()">我知道了</div>
28 28
 	</body>
29 29
 </html>
30
-<script src="./js/auto_size.js?vv=1"></script>
30
+<script src="./js/auto_size.js?vv=10"></script>
31 31
 <script type="text/javascript">
32 32
 	var qs = parseQueryString(window.location.href);
33 33
 	$().ready(function() {

+ 12 - 16
fund_h5_01/queryHelp.html

@@ -4,8 +4,8 @@
4 4
 		<meta charset="UTF-8">
5 5
 	    <title>查询帮助</title>
6 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 9
 	    <script src="./js/jquery.min.js"></script>
10 10
 	    <div style="display: none;">
11 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,6 +15,7 @@
15 15
 	    	#copy_1,#copy_2{
16 16
 				position:absolute;
17 17
 				left:-3000px;
18
+				font-size: 0.14rem;
18 19
 			}
19 20
 	    </style>
20 21
 	</head>
@@ -25,24 +26,19 @@
25 26
 	    </nav>
26 27
 	    <input id="copy_1" type="text" readonly="true" value=""/>
27 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 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 36
         <div class="alert-info" style="display: none;">
41 37
             <!-- tip提示,3s后消失 -->
42 38
             <p></p>
43 39
         </div>
44 40
 	</body>
45 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,9 +5,9 @@
5 5
 	    <title>类型选择</title>
6 6
 	    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
7 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 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 11
 	    <div style="display: none;">
12 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 13
 	    </div>
@@ -35,6 +35,6 @@
35 35
 			
36 36
 	</body>
37 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>