Merge branch 'master' of http://yun.pashanhoo.com:9090/renchao/portalStaticPage
Showing
28 changed files
with
276 additions
and
331 deletions
down.html
deleted
100644 → 0
1 | <!DOCTYPE html> | ||
2 | <html lang="en"> | ||
3 | |||
4 | <head> | ||
5 | <meta charset="UTF-8"> | ||
6 | <title>网上“一窗办事”登记系统</title> | ||
7 | <meta name="copyright" content=" ® 技术支持 All Rights Reserved" /> | ||
8 | <meta name="robots" content="index,follow" /> | ||
9 | <meta name="googlebot" content="index,follow,archive" /> | ||
10 | <link rel="alternate icon" type="image/png" href="./staticImages/logo-realestate.png"> | ||
11 | <link rel='icon' href='favicon.ico' type='image/x-ico' /> | ||
12 | <meta name="description" content="" /> | ||
13 | <meta name="Keywords" content="" /> | ||
14 | <link rel="stylesheet" type="text/css" href="./staticLib/layui/css/layui.css" /> | ||
15 | <link type="text/css" rel="stylesheet" href="./staticCss/common.css" /> | ||
16 | <link type="text/css" rel="stylesheet" href="./staticCss/global.css" /> | ||
17 | </head> | ||
18 | |||
19 | <body> | ||
20 | <div class="footer"> | ||
21 | <div class="system_service"> | ||
22 | <ul class=""> | ||
23 | <li> | ||
24 | <a href="" title="公示公告"> | ||
25 | <span>公示公告</span> | ||
26 | </a> | ||
27 | </li> | ||
28 | <li> | ||
29 | <a href="" title="法律法规"> | ||
30 | <span>法律法规</span> | ||
31 | </a> | ||
32 | </li> | ||
33 | <li> | ||
34 | <a href="" title="相应政策"> | ||
35 | <span>相应政策</span> | ||
36 | </a> | ||
37 | </li> | ||
38 | <li> | ||
39 | <a href="" title="下载服务"> | ||
40 | <span>下载服务</span> | ||
41 | </a> | ||
42 | </li> | ||
43 | <li> | ||
44 | <a href="" title="关于我们"> | ||
45 | <span>关于我们</span> | ||
46 | </a> | ||
47 | </li> | ||
48 | </ul> | ||
49 | </div> | ||
50 | <div class="subject"> | ||
51 | <div class="footer_logo"> | ||
52 | <a href="" title="党政机关"> | ||
53 | <img src="./staticImages/jiguan.png" alt="党政机关" /> | ||
54 | </a> | ||
55 | </div> | ||
56 | <ul> | ||
57 | <li> | ||
58 | 西安市自然资源和规划局 | ||
59 | </li> | ||
60 | <li> | ||
61 | 电话:028-456465 | ||
62 | </li> | ||
63 | <li> | ||
64 | 地址:西安市丰城8路 | ||
65 | </li> | ||
66 | <li> | ||
67 | 网站标识吗:87987987 | ||
68 | </li> | ||
69 | <li> | ||
70 | 备案:陕IPC456465465 | ||
71 | </li> | ||
72 | <li> | ||
73 | 陕公网备案:456465465 | ||
74 | </li> | ||
75 | </ul> | ||
76 | <ol> | ||
77 | <li> | ||
78 | <img src="./staticImages/code.png" alt="公众号" /> | ||
79 | <p>扫描关注公众号</p> | ||
80 | </li> | ||
81 | <li> | ||
82 | <img src="./staticImages/code.png" alt="公众号" /> | ||
83 | <p>扫描关注公众号</p> | ||
84 | </li> | ||
85 | |||
86 | </ol> | ||
87 | </div> | ||
88 | </div> | ||
89 | |||
90 | </body> | ||
91 | |||
92 | </html> | ||
93 | <script src="./staticLib/jquery/jquery.min.js"></script> | ||
94 | <script src="./staticLib/layui/layui.js"></script> | ||
95 | |||
96 | <script src="https://at.alicdn.com/t/font_2174584_uxkon9mpq1.js"></script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
head.html
deleted
100644 → 0
1 | <!DOCTYPE html> | ||
2 | <html lang="en"> | ||
3 | |||
4 | <head> | ||
5 | <meta charset="UTF-8"> | ||
6 | <title>网上“一窗办事”登记系统</title> | ||
7 | <meta name="copyright" content=" ® 技术支持 All Rights Reserved" /> | ||
8 | <meta name="robots" content="index,follow" /> | ||
9 | <meta name="googlebot" content="index,follow,archive" /> | ||
10 | <link rel="alternate icon" type="image/png" href="./staticImages/logo-realestate.png"> | ||
11 | <link rel='icon' href='favicon.ico' type='image/x-ico' /> | ||
12 | <meta name="description" content="" /> | ||
13 | <meta name="Keywords" content="" /> | ||
14 | <link rel="stylesheet" type="text/css" href="./staticLib/layui/css/layui.css" /> | ||
15 | <link type="text/css" rel="stylesheet" href="./staticCss/common.css" /> | ||
16 | <link type="text/css" rel="stylesheet" href="./staticCss/global.css" /> | ||
17 | </head> | ||
18 | |||
19 | <body> | ||
20 | <div class="top-logo"> | ||
21 | <div class="top_logo_content"> | ||
22 | <h1><a href="./staticIndex.html"><img src="staticImages/logo.jpg" alt="西安市不动产登记平台" /></a></h1> | ||
23 | |||
24 | <div class="top_logo_search"> | ||
25 | <input type="text" name="title" required lay-verify="required" placeholder="请输入关键字搜索" autocomplete="off" | ||
26 | class="layui-input"> | ||
27 | <i class="layui-icon layui-icon-search" style="font-size: 14px;"></i> | ||
28 | </div> | ||
29 | |||
30 | <ul class="login"> | ||
31 | <!-- <li>登录</li> --> | ||
32 | <li> | ||
33 | <a href="./staticViews/grzx/index.html">登录</a> | ||
34 | </li> | ||
35 | <li>注册</li> | ||
36 | </ul> | ||
37 | </div> | ||
38 | </div> | ||
39 | <div class="navigation"> | ||
40 | <ul class="layui-nav layui-bg-blue" lay-filter=""> | ||
41 | <li class="layui-nav-item layui-this"><a href="./staticIndex.html" title="首页">首页</a></li> | ||
42 | <li class="layui-nav-item"><a href="./staticViews/xwdt/index.html" title="新闻动态">新闻动态</a></li> | ||
43 | <li class="layui-nav-item"><a href="">政策法规</a></li> | ||
44 | <li class="layui-nav-item"><a href="./staticViews/bszn/index.html">办事指南</a></li> | ||
45 | <li class="layui-nav-item"><a href="">业务办理</a></li> | ||
46 | <li class="layui-nav-item"> | ||
47 | <a href="javascript:;">查验中心</a> | ||
48 | <dl class="layui-nav-child"> | ||
49 | <!-- 二级菜单 --> | ||
50 | <dd><a href="">移动模块</a></dd> | ||
51 | <dd><a href="">后台模版</a></dd> | ||
52 | <dd><a href="">电商平台</a></dd> | ||
53 | </dl> | ||
54 | </li> | ||
55 | <li class="layui-nav-item"><a href="./staticViews/zxjf/index.html">在线缴费</a></li> | ||
56 | <li class="layui-nav-item" class="item_last_child"><a href="">好差评</a></li> | ||
57 | </ul> | ||
58 | </div> | ||
59 | </body> | ||
60 | |||
61 | </html> | ||
62 | <script src="portalStaticPage/staticLib/jquery/jquery.min.js"></script> | ||
63 | <script src="portalStaticPage/staticLib/layui/layui.js"></script> | ||
64 | <script src="portalStaticPage/staticJs/staticIndex.js"></script> | ||
65 | <script src="https://at.alicdn.com/t/font_2174584_uxkon9mpq1.js"></script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -382,6 +382,13 @@ div.footer .system_service ul li a:hover { | ... | @@ -382,6 +382,13 @@ div.footer .system_service ul li a:hover { |
382 | font-size: 14px; | 382 | font-size: 14px; |
383 | border-radius: 4px; | 383 | border-radius: 4px; |
384 | } | 384 | } |
385 | |||
386 | .personalCenter { | ||
387 | display: none!important; | ||
388 | } | ||
389 | .show{ | ||
390 | display: inline-block!important; | ||
391 | } | ||
385 | /* card样式 */ | 392 | /* card样式 */ |
386 | .cardItem { | 393 | .cardItem { |
387 | background: #FFFFFF; | 394 | background: #FFFFFF; | ... | ... |
... | @@ -129,4 +129,12 @@ | ... | @@ -129,4 +129,12 @@ |
129 | position: absolute; | 129 | position: absolute; |
130 | left: 65px; | 130 | left: 65px; |
131 | top: 40px; | 131 | top: 40px; |
132 | } | ||
133 | .complete { | ||
134 | text-align: center; | ||
135 | margin-top: 20px; | ||
136 | } | ||
137 | .complete p { | ||
138 | margin-bottom: 5px; | ||
139 | color: #0091FF; | ||
132 | } | 140 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -157,4 +157,7 @@ div.navigation { | ... | @@ -157,4 +157,7 @@ div.navigation { |
157 | } | 157 | } |
158 | .releaseTime { | 158 | .releaseTime { |
159 | display: inline-block; | 159 | display: inline-block; |
160 | } | ||
161 | .source p { | ||
162 | display: inline-block; | ||
160 | } | 163 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -195,4 +195,8 @@ | ... | @@ -195,4 +195,8 @@ |
195 | text-align: left; | 195 | text-align: left; |
196 | padding-left: 60px; | 196 | padding-left: 60px; |
197 | line-height: 36px; | 197 | line-height: 36px; |
198 | } | ||
199 | .submitButton { | ||
200 | text-align: center; | ||
201 | margin: 20px 0; | ||
198 | } | 202 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -89,4 +89,15 @@ | ... | @@ -89,4 +89,15 @@ |
89 | .taxItem { | 89 | .taxItem { |
90 | width: 33%!important; | 90 | width: 33%!important; |
91 | margin-bottom: 5px; | 91 | margin-bottom: 5px; |
92 | } | ||
93 | |||
94 | .informationList li { | ||
95 | width: 100%!important; | ||
96 | } | ||
97 | .informationList p { | ||
98 | width: 25%!important; | ||
99 | display: inline-block; | ||
100 | } | ||
101 | .informationList p span { | ||
102 | width: 80px!important; | ||
92 | } | 103 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -128,4 +128,11 @@ | ... | @@ -128,4 +128,11 @@ |
128 | position: absolute; | 128 | position: absolute; |
129 | left: 65px; | 129 | left: 65px; |
130 | top: 40px; | 130 | top: 40px; |
131 | } | ||
132 | .informationList li{ | ||
133 | width: 100%!important; | ||
134 | } | ||
135 | .informationList li p { | ||
136 | width: 25%; | ||
137 | display: inline-block!important; | ||
131 | } | 138 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -57,4 +57,4 @@ function getCookie(){ | ... | @@ -57,4 +57,4 @@ function getCookie(){ |
57 | var arr1 = arr[0].replace(/(\s)+/g,'').split('='); | 57 | var arr1 = arr[0].replace(/(\s)+/g,'').split('='); |
58 | return JSON.parse(arr1[1]); | 58 | return JSON.parse(arr1[1]); |
59 | } | 59 | } |
60 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
60 | }; | ... | ... |
... | @@ -23,6 +23,7 @@ function newsDetail() { | ... | @@ -23,6 +23,7 @@ function newsDetail() { |
23 | success: function (result) {//返回数据根据结果进行相应的处理 | 23 | success: function (result) {//返回数据根据结果进行相应的处理 |
24 | if (result.code == 200 && result.data != null) { | 24 | if (result.code == 200 && result.data != null) { |
25 | $('.newsTitle').html(result.data.title) | 25 | $('.newsTitle').html(result.data.title) |
26 | $('.source p').html(result.data.issuer) | ||
26 | $('.releaseTime').html(result.data.addtime) | 27 | $('.releaseTime').html(result.data.addtime) |
27 | newsDetail.append(result.data.content) | 28 | newsDetail.append(result.data.content) |
28 | } | 29 | } | ... | ... |
... | @@ -33,7 +33,7 @@ document.writeln(" </div>"); | ... | @@ -33,7 +33,7 @@ document.writeln(" </div>"); |
33 | document.writeln(""); | 33 | document.writeln(""); |
34 | document.writeln(" <ul class=\'login\'>"); | 34 | document.writeln(" <ul class=\'login\'>"); |
35 | document.writeln(" <!-- <li>登录</li> -->"); | 35 | document.writeln(" <!-- <li>登录</li> -->"); |
36 | document.writeln(" <li>"); | 36 | document.writeln(" <li class='personalCenter'>"); |
37 | document.writeln(" <a href=\'"+localhostPaht+"/staticViews/grzx.html\'>个人中心</a>"); | 37 | document.writeln(" <a href=\'"+localhostPaht+"/staticViews/grzx.html\'>个人中心</a>"); |
38 | document.writeln(" </li>"); | 38 | document.writeln(" </li>"); |
39 | document.writeln(" <li>"); | 39 | document.writeln(" <li>"); | ... | ... |
... | @@ -9,7 +9,7 @@ function login(){ | ... | @@ -9,7 +9,7 @@ function login(){ |
9 | skin: 'confimInfo', | 9 | skin: 'confimInfo', |
10 | content: '<div class="loginINfo">' | 10 | content: '<div class="loginINfo">' |
11 | + '<ul>' | 11 | + '<ul>' |
12 | + '<li><span><a class="require">*</a>用户名</span>:<input id="userName"></li>' | 12 | + '<li><span><a class="require">*</a>手机号</span>:<input id="phone"></li>' |
13 | + '<li><span><a class="require">*</a>密码</span>:<input id="IDcard"></li>' | 13 | + '<li><span><a class="require">*</a>密码</span>:<input id="IDcard"></li>' |
14 | + '</ul>' | 14 | + '</ul>' |
15 | + '<div class="btns">' | 15 | + '<div class="btns">' |
... | @@ -19,23 +19,25 @@ function login(){ | ... | @@ -19,23 +19,25 @@ function login(){ |
19 | }); | 19 | }); |
20 | }) | 20 | }) |
21 | } | 21 | } |
22 | // 时间委托解决冒泡 | 22 | $(document).on('click', '.PersonLogin', function(){ |
23 | $(document).off().on('click', '.PersonLogin', function(){ | ||
24 | //所执行的代码 | ||
25 | login() | 23 | login() |
26 | }); | 24 | }) |
25 | |||
27 | // 点击登陆的时候 | 26 | // 点击登陆的时候 |
28 | $(document).on('click', '#loginButton', function(){ | 27 | $(document).on('click', '#loginButton', function(){ |
29 | var userLoginRequest = {} | 28 | var userLoginRequest = {} |
30 | var username =$('#userName').val() | 29 | var username =$('#phone').val() |
31 | var password =$('#IDcard').val() | 30 | var password =$('#IDcard').val() |
32 | userLoginRequest.username = username | 31 | userLoginRequest.phone = username |
33 | userLoginRequest.password = password | 32 | userLoginRequest.password = password |
34 | clicklogin(userLoginRequest) | 33 | clicklogin(userLoginRequest) |
35 | layer.closeAll() | 34 | layer.closeAll() |
36 | }); | 35 | }); |
37 | $(function(){ | 36 | $(function(){ |
38 | $('.PersonLogin').html(getCookie().username) | 37 | $('.PersonLogin').html(getCookie().username) |
38 | if(getCookie().username) { | ||
39 | $('.personalCenter').addClass('show') | ||
40 | } | ||
39 | }) | 41 | }) |
40 | // 点击注册的时候 | 42 | // 点击注册的时候 |
41 | $(document).on('click', '#registerButton', function(){ | 43 | $(document).on('click', '#registerButton', function(){ |
... | @@ -52,10 +54,10 @@ function clicklogin(data){ | ... | @@ -52,10 +54,10 @@ function clicklogin(data){ |
52 | dataType: "json", | 54 | dataType: "json", |
53 | data:JSON.stringify(data),//***关键****** | 55 | data:JSON.stringify(data),//***关键****** |
54 | success: function (result) {//返回数据根据结果进行相应的处理 | 56 | success: function (result) {//返回数据根据结果进行相应的处理 |
55 | console.log(222,result) | ||
56 | if(result.code ==200 && result.data!==null){ | 57 | if(result.code ==200 && result.data!==null){ |
57 | setCookie(result.data) | 58 | setCookie(result.data); |
58 | $('.PersonLogin').html(getCookie().username) | 59 | $('.personalCenter').addClass('show') |
60 | $('.PersonLogin').html(getCookie().username); | ||
59 | }else if(result.code ==500){ | 61 | }else if(result.code ==500){ |
60 | window.open(`${localhostPaht}/staticViews/register.html`,'_self') | 62 | window.open(`${localhostPaht}/staticViews/register.html`,'_self') |
61 | } | 63 | } |
... | @@ -63,5 +65,15 @@ function clicklogin(data){ | ... | @@ -63,5 +65,15 @@ function clicklogin(data){ |
63 | }); | 65 | }); |
64 | } | 66 | } |
65 | 67 | ||
66 | 68 | // 点击判断是否登录 | |
69 | function isLogin() { | ||
70 | let login1; | ||
71 | if(getCookie().username) { | ||
72 | login1 = true; | ||
73 | }else { | ||
74 | login(); | ||
75 | login1 = false; | ||
76 | } | ||
77 | return login1; | ||
78 | } | ||
67 | 79 | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -103,7 +103,11 @@ function getFDCQ2(bsm_ql) { | ... | @@ -103,7 +103,11 @@ function getFDCQ2(bsm_ql) { |
103 | //数据,这里使用的是Json格式进行传输 | 103 | //数据,这里使用的是Json格式进行传输 |
104 | success: function (result) {//返回数据根据结果进行相应的处理 | 104 | success: function (result) {//返回数据根据结果进行相应的处理 |
105 | if (result.code == 200 && result.data != null) { | 105 | if (result.code == 200 && result.data != null) { |
106 | successResult(result.data); | 106 | // successResult(result.data); |
107 | let json = result.data; | ||
108 | json["bdcdyid"] = "35a97100331704f9cbf93a92227c6f0c"; | ||
109 | json["bsm_ql"] = "89f3ea0265f40b52e6da54e62e2991b4"; | ||
110 | addCreatSLSQ(json); | ||
107 | } | 111 | } |
108 | } | 112 | } |
109 | }); | 113 | }); | ... | ... |
... | @@ -24,16 +24,34 @@ $(function () { | ... | @@ -24,16 +24,34 @@ $(function () { |
24 | $('#area p').text(houseInfo.jzmj); | 24 | $('#area p').text(houseInfo.jzmj); |
25 | // 买方信息 | 25 | // 买方信息 |
26 | var listItem; | 26 | var listItem; |
27 | for (var i = 0; i < list.sqrList.length; i++) { | 27 | let userInfo = []; |
28 | listItem = '<li>' | 28 | userInfo.push(getCookie('myCookie')); |
29 | listItem += '<p><span>姓名</span>:'+list.sqrList[i].sqrmc+'</p>' | 29 | |
30 | if (list.sqrList[i].sqrzj == 1) { | 30 | console.log(userInfo) |
31 | listItem += '<p><span>证件类型</span>:身份证</p>' | 31 | if(list.sqrList && list.sqrList.length>0) { |
32 | for (var i = 0; i < list.sqrList.length; i++) { | ||
33 | listItem = '<li>' | ||
34 | listItem += '<p><span>姓名</span>:'+list.sqrList[i].sqrmc+'</p>' | ||
35 | if (list.sqrList[i].sqrzj == 1) { | ||
36 | listItem += '<p><span>证件类型</span>:身份证</p>' | ||
37 | } | ||
38 | listItem += '<p><span>证件号码</span>:'+list.sqrList[i].zjhm+'</p>' | ||
39 | listItem += '<p><span>联系电话</span>:'+list.sqrList[i].dhhm+'</p>' | ||
40 | $('#informationList').append(listItem) | ||
41 | } | ||
42 | }else { | ||
43 | for (var i = 0; i < userInfo.length; i++) { | ||
44 | listItem = '<li>' | ||
45 | listItem += '<p><span>姓名</span>:'+userInfo[i].username+'</p>' | ||
46 | if (userInfo[i].zjzl == 1) { | ||
47 | listItem += '<p><span>证件类型</span>:身份证</p>' | ||
48 | } | ||
49 | listItem += '<p><span>证件号码</span>:'+userInfo[i].zjhm+'</p>' | ||
50 | listItem += '<p><span>联系电话</span>:'+userInfo[i].phone+'</p>' | ||
51 | $('#informationList').append(listItem) | ||
32 | } | 52 | } |
33 | listItem += '<p><span>证件号码</span>:'+list.sqrList[i].zjhm+'</p>' | ||
34 | listItem += '<p><span>联系电话</span>:'+list.sqrList[i].dhhm+'</p>' | ||
35 | $('#informationList').append(listItem) | ||
36 | } | 53 | } |
54 | |||
37 | }) | 55 | }) |
38 | //下一步事件 | 56 | //下一步事件 |
39 | function skipClick(){ | 57 | function skipClick(){ | ... | ... |
... | @@ -3,6 +3,8 @@ var slsqxx; | ... | @@ -3,6 +3,8 @@ var slsqxx; |
3 | var bsmCl; | 3 | var bsmCl; |
4 | // 领证方式 | 4 | // 领证方式 |
5 | var lzfs = 1; | 5 | var lzfs = 1; |
6 | layui.use('element', function () { | ||
7 | }); | ||
6 | $(function () { | 8 | $(function () { |
7 | //设置步骤条信息 | 9 | //设置步骤条信息 |
8 | setAcceptFlow(GetQueryString('bsm_slsq'), GetQueryString('businessno')); | 10 | setAcceptFlow(GetQueryString('bsm_slsq'), GetQueryString('businessno')); |
... | @@ -38,21 +40,29 @@ $(function () { | ... | @@ -38,21 +40,29 @@ $(function () { |
38 | li = '<div class="layui-form-item">' | 40 | li = '<div class="layui-form-item">' |
39 | li += '<div class="layui-inline">' | 41 | li += '<div class="layui-inline">' |
40 | li += '<label class="layui-form-label">姓名</label>' | 42 | li += '<label class="layui-form-label">姓名</label>' |
43 | li += '<div class="layui-input-block">' | ||
41 | li += '<input type="text" name="name" value="'+slsqxx.sqrList[i].sqrmc+'" required lay-verify="name" placeholder="请输权利人" class="layui-input">' | 44 | li += '<input type="text" name="name" value="'+slsqxx.sqrList[i].sqrmc+'" required lay-verify="name" placeholder="请输权利人" class="layui-input">' |
42 | li += '</div>' | 45 | li += '</div>' |
46 | li += '</div>' | ||
43 | li += '<div class="layui-inline idCard">' | 47 | li += '<div class="layui-inline idCard">' |
44 | li += '<label class="layui-form-label">身份证类型</label>' | 48 | li += '<label class="layui-form-label">身份证类型</label>' |
49 | li += '<div class="layui-input-block">' | ||
45 | li += '<select lay-filter="typeId">' | 50 | li += '<select lay-filter="typeId">' |
46 | li += '<option value="'+slsqxx.sqrList[i].sqrzj+'">身份证</option>' | 51 | li += '<option value="'+slsqxx.sqrList[i].sqrzj+'">身份证</option>' |
47 | li += '</select>' | 52 | li += '</select>' |
48 | li += '</div>' | 53 | li += '</div>' |
54 | li += '</div>' | ||
49 | li += '<div class="layui-inline">' | 55 | li += '<div class="layui-inline">' |
50 | li += '<label class="layui-form-label">证件号码</label>' | 56 | li += '<label class="layui-form-label">证件号码</label>' |
57 | li += '<div class="layui-input-block">' | ||
51 | li += '<input type="tel" name="card" value="'+slsqxx.sqrList[i].zjhm+ '" maxlength="18" required lay-verify="card" placeholder="请输证件号码" class="layui-input">' | 58 | li += '<input type="tel" name="card" value="'+slsqxx.sqrList[i].zjhm+ '" maxlength="18" required lay-verify="card" placeholder="请输证件号码" class="layui-input">' |
52 | li += '</div>' | 59 | li += '</div>' |
60 | li += '</div>' | ||
53 | li += '<div class="layui-inline">' | 61 | li += '<div class="layui-inline">' |
54 | li += '<label class="layui-form-label">联系方式</label>' | 62 | li += '<label class="layui-form-label">联系方式</label>' |
55 | li += '<input type="tel" name="phone" maxlength="11" required lay-verify="phone" placeholder="请输联系方式" class="layui-input">' | 63 | li += '<div class="layui-input-block">' |
64 | li += '<input type="tel" name="phone" value="'+slsqxx.sqrList[i].dhhm+'" maxlength="11" required lay-verify="phone" placeholder="请输联系方式" class="layui-input">' | ||
65 | li += '</div>' | ||
56 | li += '</div>' | 66 | li += '</div>' |
57 | li += '<i class="layui-icon layui-icon-reduce-circle"></i>' | 67 | li += '<i class="layui-icon layui-icon-reduce-circle"></i>' |
58 | li += '</div>' | 68 | li += '</div>' |
... | @@ -74,6 +84,25 @@ $(function () { | ... | @@ -74,6 +84,25 @@ $(function () { |
74 | $('#titleCertificate p').text(houseInfo.bdcqzh); | 84 | $('#titleCertificate p').text(houseInfo.bdcqzh); |
75 | $('#beLocated p').text(houseInfo.fdzl); | 85 | $('#beLocated p').text(houseInfo.fdzl); |
76 | $('#area p').text(houseInfo.jzmj); | 86 | $('#area p').text(houseInfo.jzmj); |
87 | |||
88 | // 领证方式 | ||
89 | lzfs = slsqxx.lzfs; | ||
90 | if (lzfs == 2) { | ||
91 | $('.shipping_method').show(); | ||
92 | $('.submitButton').hide(); | ||
93 | } else { | ||
94 | $('.shipping_method').hide(); | ||
95 | $('.submitButton').show(); | ||
96 | } | ||
97 | // 邮寄地址 | ||
98 | if (slsqxx.mailRecordDetail) { | ||
99 | $('#consignee').val(slsqxx.mailRecordDetail.consignee); | ||
100 | $('#consigneePhone').val(slsqxx.mailRecordDetail.consigneePhone); | ||
101 | $('#province').attr('data-area',slsqxx.mailRecordDetail.province); | ||
102 | $('#city').attr('data-area',slsqxx.mailRecordDetail.city); | ||
103 | $('#district').attr('data-area',slsqxx.mailRecordDetail.district); | ||
104 | $('#consigneeAddress').val(slsqxx.mailRecordDetail.consigneeAddress); | ||
105 | } | ||
77 | }) | 106 | }) |
78 | addTabs('#wssq') | 107 | addTabs('#wssq') |
79 | // form 表单 | 108 | // form 表单 |
... | @@ -103,10 +132,14 @@ addTabs('#wssq') | ... | @@ -103,10 +132,14 @@ addTabs('#wssq') |
103 | // }) | 132 | // }) |
104 | $('.radioInfo').click(function () { | 133 | $('.radioInfo').click(function () { |
105 | let index = $(this).attr("value") | 134 | let index = $(this).attr("value") |
106 | if (index == 2 || index == 3) { | 135 | if ($('#layui-form .layui-form-item').length>1) { |
107 | $('.add_form').show() | 136 | return false |
108 | } else { | 137 | }else { |
109 | $('.add_form').hide() | 138 | if (index == 2 || index == 3) { |
139 | $('.add_form').show() | ||
140 | } else { | ||
141 | $('.add_form').hide() | ||
142 | } | ||
110 | } | 143 | } |
111 | }) | 144 | }) |
112 | // form 添加 | 145 | // form 添加 |
... | @@ -192,10 +225,18 @@ function LoadClxxDiv() { | ... | @@ -192,10 +225,18 @@ function LoadClxxDiv() { |
192 | clxxContent += '<input type="file" multiple id="fileInput' + index + '" onchange="handleUpdate(this,' + index + ', ' + slsqxx.slclList[index].fs + ')"/>'; | 225 | clxxContent += '<input type="file" multiple id="fileInput' + index + '" onchange="handleUpdate(this,' + index + ', ' + slsqxx.slclList[index].fs + ')"/>'; |
193 | clxxContent += '<div class="pictureUpload"></div>'; | 226 | clxxContent += '<div class="pictureUpload"></div>'; |
194 | clxxContent += '<div class="file_name">'; | 227 | clxxContent += '<div class="file_name">'; |
195 | clxxContent += '<img class="update" src="../../staticImages/update.png">'; | 228 | if (slsqxx.slclList[index].fs == item.slclmxDetailList.length) { |
196 | clxxContent += '<p class="updatetext">点击文件上传</p>'; | 229 | clxxContent += '<img class="update" src="../../staticImages/Yes.png">'; |
230 | }else { | ||
231 | clxxContent += '<img class="update" src="../../staticImages/update.png">'; | ||
232 | clxxContent += '<p class="updatetext">点击文件上传</p>'; | ||
233 | } | ||
197 | clxxContent += '</div>'; | 234 | clxxContent += '</div>'; |
198 | clxxContent += '<ul class="fileListName" id="fileULName' + index + '"></ul>'; | 235 | clxxContent += '<ul class="fileListName" id="fileULName' + index + '">' |
236 | $.each(item.slclmxDetailList, function (childIndex, childIitem){ | ||
237 | clxxContent += '<li class="fileName">' + '<span title="' + childIitem.fileName + '">' + childIitem.fileName + '</span>' + '<img bsmSlclmx="'+childIitem.bsmSlclmx+'" class="operation" src="../../staticImages/chacha.png">' + '</li>' | ||
238 | }); | ||
239 | clxxContent +='</ul>'; | ||
199 | clxxContent += '</div>'; | 240 | clxxContent += '</div>'; |
200 | clxxContent += '<div class="certificate">' + slsqxx.slclList[index].clmc + '【' + slsqxx.slclList[index].wjlxmc + '】(' + slsqxx.slclList[index].fs + '份)</div>'; | 241 | clxxContent += '<div class="certificate">' + slsqxx.slclList[index].clmc + '【' + slsqxx.slclList[index].wjlxmc + '】(' + slsqxx.slclList[index].fs + '份)</div>'; |
201 | clxxContent += '</div>'; | 242 | clxxContent += '</div>'; |
... | @@ -282,7 +323,6 @@ function _saveSQR() { | ... | @@ -282,7 +323,6 @@ function _saveSQR() { |
282 | d.userid = getCookie('myCookie').userid | 323 | d.userid = getCookie('myCookie').userid |
283 | sqrList.push(d) | 324 | sqrList.push(d) |
284 | // 领证方式-邮寄地址 | 325 | // 领证方式-邮寄地址 |
285 | |||
286 | var addMailRecordRequest = {}; | 326 | var addMailRecordRequest = {}; |
287 | if (lzfs==2) { | 327 | if (lzfs==2) { |
288 | var addressList = $('.addressForm').serializeArray(); | 328 | var addressList = $('.addressForm').serializeArray(); |
... | @@ -301,7 +341,6 @@ function _saveSQR() { | ... | @@ -301,7 +341,6 @@ function _saveSQR() { |
301 | 'gyfsbm': 1, | 341 | 'gyfsbm': 1, |
302 | 'sqrlx': 1, | 342 | 'sqrlx': 1, |
303 | 'sqrlb': slsqxx.sqrlb, | 343 | 'sqrlb': slsqxx.sqrlb, |
304 | 'gyfsmc': '单独所有', | ||
305 | 'lzfs': lzfs, | 344 | 'lzfs': lzfs, |
306 | 'sqrList':sqrList, | 345 | 'sqrList':sqrList, |
307 | 'addMailRecordRequest':addMailRecordRequest | 346 | 'addMailRecordRequest':addMailRecordRequest |
... | @@ -316,4 +355,4 @@ function _saveSQR() { | ... | @@ -316,4 +355,4 @@ function _saveSQR() { |
316 | } | 355 | } |
317 | }); | 356 | }); |
318 | return isSave | 357 | return isSave |
319 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
358 | } | ... | ... |
... | @@ -2,22 +2,8 @@ $(function () { | ... | @@ -2,22 +2,8 @@ $(function () { |
2 | layui.use('element', function () { | 2 | layui.use('element', function () { |
3 | let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 | 3 | let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 |
4 | }); | 4 | }); |
5 | addTabs('#wssq') | 5 | addTabs('#wssq'); |
6 | setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno')); | 6 | setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno')); |
7 | layui.use('laytpl', function () { | ||
8 | laytpl = layui.laytpl; | ||
9 | var getTpl = document.getElementById('progress').innerHTML | ||
10 | , view = document.getElementById('app_progress'); | ||
11 | laytpl(getTpl).render(data, function (html) { | ||
12 | view.innerHTML = html; | ||
13 | }); | ||
14 | |||
15 | layui.use(['element'], function () { | ||
16 | var element = layui.element; | ||
17 | //初始化动态元素,一些动态生成的元素如果不设置初始化,将不会有默认的动态效果 | ||
18 | element.init(); | ||
19 | }); | ||
20 | }); | ||
21 | // | 7 | // |
22 | $('.payment_channel_con li').click(function () { | 8 | $('.payment_channel_con li').click(function () { |
23 | $('.payment_channel_con li').removeClass('payActive'); | 9 | $('.payment_channel_con li').removeClass('payActive'); |
... | @@ -32,30 +18,53 @@ $(function () { | ... | @@ -32,30 +18,53 @@ $(function () { |
32 | $('.paymentText').text('打开手机支付宝') | 18 | $('.paymentText').text('打开手机支付宝') |
33 | } | 19 | } |
34 | }) | 20 | }) |
35 | layui.use('layer', function () { | 21 | // layui.use('layer', function () { |
36 | layer.open({ | 22 | // layer.open({ |
37 | type: 1, | 23 | // type: 1, |
38 | title: false, | 24 | // title: false, |
39 | closeBtn: 0, | 25 | // closeBtn: 0, |
40 | shade:0, | 26 | // shade:0, |
41 | shadeClose: true, | 27 | // shadeClose: true, |
42 | skin: 'paymentSuccess', | 28 | // skin: 'paymentSuccess', |
43 | btn: ['下一步'], | 29 | // btn: ['下一步'], |
44 | yes : function() { | 30 | // yes : function() { |
45 | skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno')); | 31 | // skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno')); |
46 | }, | 32 | // }, |
47 | content: '<ul>' | 33 | // content: '<ul>' |
48 | + '<li><img src="../../staticImages/xuanzhong.png"></li>' | 34 | // + '<li><img src="../../staticImages/xuanzhong.png"></li>' |
49 | + '<li>支付成功</li>' | 35 | // + '<li>支付成功</li>' |
50 | + '<li class="info"><span>支付流水号:</span><p>9898989989</p></li>' | 36 | // + '<li class="info"><span>支付流水号:</span><p>9898989989</p></li>' |
51 | + '<li class="info"><span>支付时间:</span><p>2023255-102-13</p></li>' | 37 | // + '<li class="info"><span>支付时间:</span><p>2023255-102-13</p></li>' |
52 | + '<li class="info"><span>支付金额:</span><p>600元</p></li>' | 38 | // + '<li class="info"><span>支付金额:</span><p>600元</p></li>' |
53 | + '</ul>' | 39 | // + '</ul>' |
54 | }); | 40 | // }); |
55 | }) | 41 | // }) |
56 | 42 | ||
57 | $('.payment_channel_con li').click(function () { | 43 | $('.payment_channel_con li').click(function () { |
58 | $('.payment_channel_con li').removeClass() | 44 | $('.payment_channel_con li').removeClass() |
59 | $(this).addClass('payActive') | 45 | $(this).addClass('payActive') |
60 | }) | 46 | }) |
47 | _getSfxx(GetQueryString('bsm_slsq')); | ||
61 | }) | 48 | }) |
49 | $('.submitButton button').click(function(){ | ||
50 | skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno')); | ||
51 | }) | ||
52 | // 获取缴费信息 | ||
53 | function _getSfxx(bsm_slsq) { | ||
54 | $.ajax({ | ||
55 | type: "get", //提交方式 | ||
56 | url: portal.api_url + "/portal/hlwSfxx/getSfxx",//路径 | ||
57 | dataType: "json", | ||
58 | data: { | ||
59 | "bsmSlsq": bsm_slsq, | ||
60 | }, | ||
61 | //数据,这里使用的是Json格式进行传输 | ||
62 | success: function (result) {//返回数据根据结果进行相应的处理 | ||
63 | if (result.code == 200 && result.data != null) { | ||
64 | for (var i = 0; i < result.data.length; i++) { | ||
65 | $('.paymentDetails').append('<h6>'+result.data[i].sfkm+''+result.data[i].ysje+'元 </h6>'); | ||
66 | } | ||
67 | } | ||
68 | } | ||
69 | }); | ||
70 | } | ... | ... |
... | @@ -34,16 +34,33 @@ function _taxVerification(bsm_slsq, businessno) { | ... | @@ -34,16 +34,33 @@ function _taxVerification(bsm_slsq, businessno) { |
34 | li += '<li class="taxItem"><span>税费</span>:<p>'+data.taxList[i].sf+'元</p></li>' | 34 | li += '<li class="taxItem"><span>税费</span>:<p>'+data.taxList[i].sf+'元</p></li>' |
35 | $('.paymentDetails').append(li); | 35 | $('.paymentDetails').append(li); |
36 | } | 36 | } |
37 | for (var i = 0; i < data.sqrList.length; i++) { | 37 | // 买方信息 |
38 | listItem = '<li>' | 38 | let userInfo = []; |
39 | listItem += '<p><span>姓名</span>:'+data.sqrList[i].sqrmc+'</p>' | 39 | userInfo.push(getCookie('myCookie')); |
40 | if (data.sqrList[i].sqrzj == 1) { | 40 | if(data.sqrList && data.sqrList.length>0) { |
41 | listItem += '<p><span>证件类型</span>:身份证</p>' | 41 | for (var i = 0; i < data.sqrList.length; i++) { |
42 | listItem = '<li>' | ||
43 | listItem += '<p><span>姓名</span>:'+data.sqrList[i].sqrmc+'</p>' | ||
44 | if (data.sqrList[i].sqrzj == 1) { | ||
45 | listItem += '<p><span>证件类型</span>:身份证</p>' | ||
46 | } | ||
47 | listItem += '<p><span>证件号码</span>:'+data.sqrList[i].zjhm+'</p>' | ||
48 | listItem += '<p><span>联系电话</span>:'+data.sqrList[i].dhhm+'</p>' | ||
49 | $('#informationList').append(listItem) | ||
50 | } | ||
51 | }else { | ||
52 | for (var i = 0; i < userInfo.length; i++) { | ||
53 | listItem = '<li>' | ||
54 | listItem += '<p><span>姓名</span>:'+userInfo[i].username+'</p>' | ||
55 | if (userInfo[i].zjzl == 1) { | ||
56 | listItem += '<p><span>证件类型</span>:身份证</p>' | ||
57 | } | ||
58 | listItem += '<p><span>证件号码</span>:'+userInfo[i].zjhm+'</p>' | ||
59 | listItem += '<p><span>联系电话</span>:'+userInfo[i].phone+'</p>' | ||
60 | $('#informationList').append(listItem) | ||
42 | } | 61 | } |
43 | listItem += '<p><span>证件号码</span>:'+data.sqrList[i].zjhm+'</p>' | ||
44 | listItem += '<p><span>联系电话</span>:'+data.sqrList[i].dhhm+'</p>' | ||
45 | $('#informationList').append(listItem) | ||
46 | } | 62 | } |
63 | |||
47 | } | 64 | } |
48 | } | 65 | } |
49 | }); | 66 | }); | ... | ... |
... | @@ -99,13 +99,13 @@ function setArticleSteps() { | ... | @@ -99,13 +99,13 @@ function setArticleSteps() { |
99 | case 1: | 99 | case 1: |
100 | ArticleContent.append('<li class="item_proress"><p class="activeing"></p><h5 class="activeingtext">' + item.stepname + '</h5></li>'); | 100 | ArticleContent.append('<li class="item_proress"><p class="activeing"></p><h5 class="activeingtext">' + item.stepname + '</h5></li>'); |
101 | if ((index + 1) < business.stepList.length) { | 101 | if ((index + 1) < business.stepList.length) { |
102 | ArticleContent.append('<li class="layui-progress"><div class="layui-progress-bar" lay-percent="50%"></div></li>'); | 102 | ArticleContent.append('<li class="layui-progress"><div class="layui-progress-bar" style="width: 50%;" lay-percent="50%"></div></li>'); |
103 | } | 103 | } |
104 | break; | 104 | break; |
105 | case 2: | 105 | case 2: |
106 | ArticleContent.append('<li class="item_proress"><p class="active"></p><h5>' + item.stepname + '</h5></li>'); | 106 | ArticleContent.append('<li class="item_proress"><p class="active"></p><h5>' + item.stepname + '</h5></li>'); |
107 | if ((index + 1) < business.stepList.length) { | 107 | if ((index + 1) < business.stepList.length) { |
108 | ArticleContent.append('<li class="layui-progress"><div class="layui-progress-bar" lay-percent="100%"></div></li>'); | 108 | ArticleContent.append('<li class="layui-progress"><div class="layui-progress-bar" style="width:100%" lay-percent="100%"></div></li>'); |
109 | } | 109 | } |
110 | break; | 110 | break; |
111 | } | 111 | } | ... | ... |
... | @@ -33,7 +33,9 @@ $(function () { | ... | @@ -33,7 +33,9 @@ $(function () { |
33 | _initData() | 33 | _initData() |
34 | // 网上申请 | 34 | // 网上申请 |
35 | $(document).on("click", ".handleBus", function (e) { | 35 | $(document).on("click", ".handleBus", function (e) { |
36 | getInitiateFLow($(this).attr("ywid"),$(this).attr("businessNo")); | 36 | if (isLogin()) { |
37 | getInitiateFLow($(this).attr("ywid"),$(this).attr("businessNo")); | ||
38 | } | ||
37 | }) | 39 | }) |
38 | }) | 40 | }) |
39 | 41 | ... | ... |
1 | $(function () { | 1 | $(function () { |
2 | layui.use('element', function () { | 2 | layui.use('element', function () { |
3 | let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 | 3 | let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 |
4 | //监听导航点击 | ||
5 | element.on('nav(demo)', function (elem) { | ||
6 | console.log(elem) | ||
7 | layer.msg(elem.text()); | ||
8 | }); | ||
9 | }); | 4 | }); |
10 | LoadNewsData(); | 5 | LoadNewsData(); |
11 | HotArticle(); | 6 | HotArticle(); |
... | @@ -13,35 +8,35 @@ $(function () { | ... | @@ -13,35 +8,35 @@ $(function () { |
13 | addTabs('#news'); | 8 | addTabs('#news'); |
14 | }); | 9 | }); |
15 | //加载新闻列表数据 | 10 | //加载新闻列表数据 |
16 | function LoadNewsData(currentPage=1) { | 11 | function LoadNewsData(currentPage = 1) { |
17 | $.ajax({ | 12 | $.ajax({ |
18 | type: "get", //提交方式 | 13 | type: "get", //提交方式 |
19 | url: portal.api_url + "/portal/MhNews/getNewsArticleList",//路径 | 14 | url: portal.api_url + "/portal/MhNews/getNewsArticleList",//路径 |
20 | data:{ | 15 | data: { |
21 | "currentPage":currentPage, | 16 | "currentPage": currentPage, |
22 | "pageSize":5 | 17 | "pageSize": 5 |
23 | }, | 18 | }, |
24 | dataType: "json", | ||
25 | async: false, | 19 | async: false, |
20 | dataType: "json", | ||
26 | //数据,这里使用的是Json格式进行传输 | 21 | //数据,这里使用的是Json格式进行传输 |
27 | success: function (result) {//返回数据根据结果进行相应的处理 | 22 | success: function (result) {//返回数据根据结果进行相应的处理 |
28 | data.total = result.data.total | 23 | data.total = result.data.total; |
29 | if (result.code == 200 && result.data != null) { | 24 | if (result.code == 200 && result.data != null) { |
30 | data.list = result.data.records; | 25 | data.list = result.data.records; |
31 | } | 26 | } |
27 | layui.use('laytpl', function () { | ||
28 | laytpl = layui.laytpl; | ||
29 | var getTpl = document.getElementById('demo').innerHTML | ||
30 | , view = document.getElementById('ulNews'); | ||
31 | laytpl(getTpl).render(data, function (html) { | ||
32 | view.innerHTML = html; | ||
33 | }); | ||
34 | }); | ||
32 | } | 35 | } |
33 | }) | 36 | }) |
34 | layui.use('laytpl', function () { | ||
35 | laytpl = layui.laytpl; | ||
36 | var getTpl = document.getElementById('demo').innerHTML | ||
37 | , view = document.getElementById('ulNews'); | ||
38 | laytpl(getTpl).render(data, function (html) { | ||
39 | view.innerHTML = html; | ||
40 | }); | ||
41 | }); | ||
42 | } | 37 | } |
43 | // 获取新闻动态的推荐数据 | 38 | // 获取新闻动态的推荐数据 |
44 | function HotArticle() { | 39 | function HotArticle() { |
45 | var recommend = $("#news_recommendation"); | 40 | var recommend = $("#news_recommendation"); |
46 | recommend.empty(); | 41 | recommend.empty(); |
47 | var li = ''; | 42 | var li = ''; |
... | @@ -49,16 +44,14 @@ function HotArticle() { | ... | @@ -49,16 +44,14 @@ function HotArticle() { |
49 | type: "get", //提交方式 | 44 | type: "get", //提交方式 |
50 | url: portal.api_url + "/portal/MhNews/getNewsHotArticleList",//路径 | 45 | url: portal.api_url + "/portal/MhNews/getNewsHotArticleList",//路径 |
51 | dataType: "json", | 46 | dataType: "json", |
52 | async: false, | ||
53 | //数据,这里使用的是Json格式进行传输 | 47 | //数据,这里使用的是Json格式进行传输 |
54 | success: function (result) {//返回数据根据结果进行相应的处理 | 48 | success: function (result) {//返回数据根据结果进行相应的处理 |
55 | if (result.code == 200 && result.data != null) { | 49 | if (result.code == 200 && result.data != null) { |
56 | console.log(result.data) | ||
57 | for (var i = 0; i < result.data.length; i++) { | 50 | for (var i = 0; i < result.data.length; i++) { |
58 | li = '<li class="tj">'; | 51 | li = '<li class="tj">'; |
59 | li += '<img src="' + result.data[i].cover + '">'; | 52 | li += '<img src="' + result.data[i].cover + '">'; |
60 | li += '<span class="tj-title">'+result.data[i].headline+'</span>'; | 53 | li += '<span class="tj-title">' + result.data[i].headline + '</span>'; |
61 | li += '<span class="tj-date">'+result.data[i].deadtime+'</span>'; | 54 | li += '<span class="tj-date">' + result.data[i].deadtime + '</span>'; |
62 | li += '</li>'; | 55 | li += '</li>'; |
63 | recommend.append(li); | 56 | recommend.append(li); |
64 | } | 57 | } |
... | @@ -67,7 +60,7 @@ function HotArticle() { | ... | @@ -67,7 +60,7 @@ function HotArticle() { |
67 | }) | 60 | }) |
68 | } | 61 | } |
69 | // 政策法规推荐 | 62 | // 政策法规推荐 |
70 | function PolicyHotArticle() { | 63 | function PolicyHotArticle() { |
71 | var regulation = $("#regulation"); | 64 | var regulation = $("#regulation"); |
72 | regulation.empty(); | 65 | regulation.empty(); |
73 | var li = ''; | 66 | var li = ''; |
... | @@ -75,16 +68,14 @@ function PolicyHotArticle() { | ... | @@ -75,16 +68,14 @@ function PolicyHotArticle() { |
75 | type: "get", //提交方式 | 68 | type: "get", //提交方式 |
76 | url: portal.api_url + "/portal/MhPolicy/getPolicyHotArticleList",//路径 | 69 | url: portal.api_url + "/portal/MhPolicy/getPolicyHotArticleList",//路径 |
77 | dataType: "json", | 70 | dataType: "json", |
78 | async: false, | ||
79 | //数据,这里使用的是Json格式进行传输 | 71 | //数据,这里使用的是Json格式进行传输 |
80 | success: function (result) {//返回数据根据结果进行相应的处理 | 72 | success: function (result) {//返回数据根据结果进行相应的处理 |
81 | if (result.code == 200 && result.data != null) { | 73 | if (result.code == 200 && result.data != null) { |
82 | console.log(result.data) | ||
83 | for (var i = 0; i < result.data.length; i++) { | 74 | for (var i = 0; i < result.data.length; i++) { |
84 | li = '<li class="zcfg">' | 75 | li = '<li class="zcfg">' |
85 | li += '<div class="zcfg-top">'+result.data[i].headline+'</div>' | 76 | li += '<div class="zcfg-top">' + result.data[i].headline + '</div>' |
86 | li += '<p class="zcfg-body">'+result.data[i].summary+'</p>' | 77 | li += '<p class="zcfg-body">' + result.data[i].summary + '</p>' |
87 | li += '<div class="zcfg-bottom">'+result.data[i].deadtime+'</div>' | 78 | li += '<div class="zcfg-bottom">' + result.data[i].deadtime + '</div>' |
88 | li += '</li>' | 79 | li += '</li>' |
89 | regulation.append(li); | 80 | regulation.append(li); |
90 | } | 81 | } |
... | @@ -96,7 +87,6 @@ function PolicyHotArticle() { | ... | @@ -96,7 +87,6 @@ function PolicyHotArticle() { |
96 | 87 | ||
97 | layui.use('laypage', function () { | 88 | layui.use('laypage', function () { |
98 | let laypage = layui.laypage; | 89 | let laypage = layui.laypage; |
99 | //执行一个laypage实例 | ||
100 | laypage.render({ | 90 | laypage.render({ |
101 | elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号 | 91 | elem: 'page' //注意,这里的 test1 是 ID,不用加 # 号 |
102 | , count: data.total //数据总数,从服务端得到 | 92 | , count: data.total //数据总数,从服务端得到 |
... | @@ -104,8 +94,10 @@ layui.use('laypage', function () { | ... | @@ -104,8 +94,10 @@ layui.use('laypage', function () { |
104 | , prev: '<' | 94 | , prev: '<' |
105 | , next: '>' | 95 | , next: '>' |
106 | , theme: '#0091FF' | 96 | , theme: '#0091FF' |
107 | , jump: function(obj, first){ | 97 | , jump: function (obj, first) { |
108 | LoadNewsData(obj.curr); | 98 | if (!first) { |
99 | LoadNewsData(obj.curr); | ||
100 | } | ||
109 | } | 101 | } |
110 | }); | 102 | }); |
111 | }) | 103 | }) | ... | ... |
... | @@ -24,7 +24,7 @@ function newsDetail() { | ... | @@ -24,7 +24,7 @@ function newsDetail() { |
24 | if (result.code == 200 && result.data != null) { | 24 | if (result.code == 200 && result.data != null) { |
25 | $('.newsTitle').html(result.data.headline) | 25 | $('.newsTitle').html(result.data.headline) |
26 | $('.releaseTime').html(result.data.addtime) | 26 | $('.releaseTime').html(result.data.addtime) |
27 | $('.source').html(result.data.source) | 27 | $('.source p').html(result.data.source) |
28 | newsDetail.append(result.data.content) | 28 | newsDetail.append(result.data.content) |
29 | } | 29 | } |
30 | } | 30 | } | ... | ... |
... | @@ -14,7 +14,7 @@ | ... | @@ -14,7 +14,7 @@ |
14 | <div class="contentBox"> | 14 | <div class="contentBox"> |
15 | <span class="layui-breadcrumb"> | 15 | <span class="layui-breadcrumb"> |
16 | <a href="../index.html">首页</a> | 16 | <a href="../index.html">首页</a> |
17 | <a href="">公示公告</a> | 17 | <a href="./gsgg.html">公示公告</a> |
18 | <a><cite>公告详情</cite></a> | 18 | <a><cite>公告详情</cite></a> |
19 | </span> | 19 | </span> |
20 | </div> | 20 | </div> |
... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
22 | <div class="mainbody"> | 22 | <div class="mainbody"> |
23 | <div class="title newsTitle"></div> | 23 | <div class="title newsTitle"></div> |
24 | <div class="release"> | 24 | <div class="release"> |
25 | <div>发布单位:国土信息</div> | 25 | <div class="source">发布单位:<p></p></div> |
26 | <div>发布日期:<p class="releaseTime">2020-20-15</p></div> | 26 | <div>发布日期:<p class="releaseTime">2020-20-15</p></div> |
27 | </div> | 27 | </div> |
28 | <div class="DividingLine"></div> | 28 | <div class="DividingLine"></div> | ... | ... |
... | @@ -63,7 +63,6 @@ | ... | @@ -63,7 +63,6 @@ |
63 | 63 | ||
64 | <div class="layui-form-item submitbutton_con"> | 64 | <div class="layui-form-item submitbutton_con"> |
65 | <div class="layui-input-block submitbutton"> | 65 | <div class="layui-input-block submitbutton"> |
66 | <button type="reset" class="layui-btn layui-btn-primary reset">重 置</button> | ||
67 | <button type="submit" class="layui-btn layui-btn-normal submit" lay-submit="" | 66 | <button type="submit" class="layui-btn layui-btn-normal submit" lay-submit="" |
68 | lay-filter="check">查 | 67 | lay-filter="check">查 |
69 | 询</button> | 68 | 询</button> | ... | ... |
... | @@ -57,6 +57,10 @@ | ... | @@ -57,6 +57,10 @@ |
57 | </p> | 57 | </p> |
58 | </li> | 58 | </li> |
59 | </ul> | 59 | </ul> |
60 | <div class="complete"> | ||
61 | <p>如您已经完成办理请点击确定</p> | ||
62 | <button type="button" class="layui-btn layui-btn-radius layui-btn-normal">确定</button> | ||
63 | </div> | ||
60 | </div> | 64 | </div> |
61 | <!-- ------------受理信息-------------- --> | 65 | <!-- ------------受理信息-------------- --> |
62 | <div class="acceptance_information"> | 66 | <div class="acceptance_information"> | ... | ... |
... | @@ -115,14 +115,14 @@ | ... | @@ -115,14 +115,14 @@ |
115 | <div class="layui-inline"> | 115 | <div class="layui-inline"> |
116 | <label class="layui-form-label">收件人</label> | 116 | <label class="layui-form-label">收件人</label> |
117 | <div class="layui-input-block"> | 117 | <div class="layui-input-block"> |
118 | <input type="text" name="consignee" lay-verify="title" autocomplete="off" placeholder="请输入收件人" | 118 | <input type="text" name="consignee" id="consignee" lay-verify="title" autocomplete="off" placeholder="请输入收件人" |
119 | class="layui-input"> | 119 | class="layui-input"> |
120 | </div> | 120 | </div> |
121 | </div> | 121 | </div> |
122 | <div class="layui-inline"> | 122 | <div class="layui-inline"> |
123 | <label class="layui-form-label">手机号码</label> | 123 | <label class="layui-form-label">手机号码</label> |
124 | <div class="layui-input-block"> | 124 | <div class="layui-input-block"> |
125 | <input type="tel" maxlength="11" name="consigneePhone" lay-verify="consigneePhone" autocomplete="off" | 125 | <input type="tel" maxlength="11" id="consigneePhone" name="consigneePhone" lay-verify="consigneePhone" autocomplete="off" |
126 | placeholder="请输入手机号码" class="layui-input"> | 126 | placeholder="请输入手机号码" class="layui-input"> |
127 | </div> | 127 | </div> |
128 | </div> | 128 | </div> |
... | @@ -132,19 +132,19 @@ | ... | @@ -132,19 +132,19 @@ |
132 | <div class="layui-input-block ssq"> | 132 | <div class="layui-input-block ssq"> |
133 | <h2>省</h2> | 133 | <h2>省</h2> |
134 | <div class="layui-inline layui-select-default" style="margin-right: 10px;"> | 134 | <div class="layui-inline layui-select-default" style="margin-right: 10px;"> |
135 | <select name="province" class="Pselected" disabled data-area="陕西省"" lay-filter="province"> | 135 | <select name="province" class="Pselected" id="province" data-area="陕西省"" lay-filter="province"> |
136 | <option value="">选择省</option> | 136 | <option value="">选择省</option> |
137 | </select> | 137 | </select> |
138 | </div> | 138 | </div> |
139 | <h2>市</h2> | 139 | <h2>市</h2> |
140 | <div class="layui-inline selected layui-select-default"> | 140 | <div class="layui-inline selected layui-select-default"> |
141 | <select name="city" class="Cselected" disabled data-area="西安市"> | 141 | <select name="city" class="Cselected" id="city" data-area="西安市"> |
142 | <option value="">选择市</option> | 142 | <option value="">选择市</option> |
143 | </select> | 143 | </select> |
144 | </div> | 144 | </div> |
145 | <h2>区</h2> | 145 | <h2>区</h2> |
146 | <div class="layui-inline selected layui-select-default"> | 146 | <div class="layui-inline selected layui-select-default"> |
147 | <select name="district" class="Cselected" data-area="雁塔区" lay-filter="selectCity"> | 147 | <select name="district" class="Cselected" id="district" data-area="雁塔区" lay-filter="selectCity"> |
148 | <option value="">选择区</option> | 148 | <option value="">选择区</option> |
149 | </select> | 149 | </select> |
150 | </div> | 150 | </div> |
... | @@ -153,7 +153,7 @@ | ... | @@ -153,7 +153,7 @@ |
153 | <div> | 153 | <div> |
154 | <label class="layui-form-label">详细地址</label> | 154 | <label class="layui-form-label">详细地址</label> |
155 | <div class="layui-input-block"> | 155 | <div class="layui-input-block"> |
156 | <textarea name="consigneeAddress" placeholder="请输入内容" class="layui-textarea"></textarea> | 156 | <textarea name="consigneeAddress" id="consigneeAddress" placeholder="请输入内容" class="layui-textarea"></textarea> |
157 | </div> | 157 | </div> |
158 | </div> | 158 | </div> |
159 | <div class="next_button"> | 159 | <div class="next_button"> | ... | ... |
... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
51 | </li> | 51 | </li> |
52 | <li> | 52 | <li> |
53 | <span>受理日期:</span> | 53 | <span>受理日期:</span> |
54 | <p>7979798797</p> | 54 | <p>2020-12-30</p> |
55 | </li> | 55 | </li> |
56 | <li> | 56 | <li> |
57 | <span>收费事项:</span> | 57 | <span>收费事项:</span> |
... | @@ -59,13 +59,10 @@ | ... | @@ -59,13 +59,10 @@ |
59 | </li> | 59 | </li> |
60 | <li> | 60 | <li> |
61 | <span>应缴金额:</span> | 61 | <span>应缴金额:</span> |
62 | <h5>600元</h5> | 62 | <h5>90元</h5> |
63 | </li> | 63 | </li> |
64 | <li> | 64 | <li class="paymentDetails"> |
65 | <span>收费明细:</span> | 65 | <span>收费明细:</span> |
66 | <h6>工本费10元 </h6> | ||
67 | <h6>快递费20元</h6> | ||
68 | <h6>不动产登记费80元</h6> | ||
69 | </li> | 66 | </li> |
70 | </ul> | 67 | </ul> |
71 | </div> | 68 | </div> |
... | @@ -97,6 +94,10 @@ | ... | @@ -97,6 +94,10 @@ |
97 | </div> | 94 | </div> |
98 | </div> | 95 | </div> |
99 | </div> | 96 | </div> |
97 | |||
98 | <div class="submitButton"> | ||
99 | <button type="button" class="layui-btn layui-btn-normal">下一步</button> | ||
100 | </div> | ||
100 | </div> | 101 | </div> |
101 | </div> | 102 | </div> |
102 | <!-- ------------------支付成功----------------- --> | 103 | <!-- ------------------支付成功----------------- --> |
... | @@ -106,39 +107,4 @@ | ... | @@ -106,39 +107,4 @@ |
106 | <script type="text/javascript" src="../../staticJs/down.js"></script> | 107 | <script type="text/javascript" src="../../staticJs/down.js"></script> |
107 | <script type="text/javascript" src="../../staticJs/onlineApply/workFlow.js"></script> | 108 | <script type="text/javascript" src="../../staticJs/onlineApply/workFlow.js"></script> |
108 | <script type="text/javascript" src="../../staticJs/onlineApply/onlinePayment.js"></script> | 109 | <script type="text/javascript" src="../../staticJs/onlineApply/onlinePayment.js"></script> |
109 | <script id="progress" type="text/html"> | ||
110 | {{# layui.each(d.progressList, function(index, item){ }} | ||
111 | {{# if(item.stepState==2){ }} | ||
112 | <li class="item_proress"> | ||
113 | <p class="active"></p> | ||
114 | <h5>{{item.stepName}}</h5> | ||
115 | </li> | ||
116 | <li class="layui-progress"> | ||
117 | <div class="layui-progress-bar" lay-percent="100%"></div> | ||
118 | </li> | ||
119 | {{# } }} | ||
120 | {{# if(item.stepState==1){ }} | ||
121 | <li class="item_proress"> | ||
122 | <p class="activeing"></p> | ||
123 | <h5 class="activeingtext">{{item.stepName}}</h5> | ||
124 | </li> | ||
125 | {{# if(index!=(d.progressList.length-1)){ }} | ||
126 | <li class="layui-progress"> | ||
127 | <div class="layui-progress-bar" lay-percent="50%"></div> | ||
128 | </li> | ||
129 | {{# } }} | ||
130 | {{# } }} | ||
131 | {{# if(item.stepState==0){ }} | ||
132 | <li class="item_proress"> | ||
133 | <p></p> | ||
134 | <h5>{{item.stepName}}</h5> | ||
135 | </li> | ||
136 | {{# if(index!=(d.progressList.length-1)){ }} | ||
137 | <li class="layui-progress"> | ||
138 | <div class="layui-progress-bar" lay-percent="0%"></div> | ||
139 | </li> | ||
140 | {{# } }} | ||
141 | {{# } }} | ||
142 | {{# }); }} | ||
143 | </script> | ||
144 | </html> | 110 | </html> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -62,7 +62,7 @@ | ... | @@ -62,7 +62,7 @@ |
62 | </ul> | 62 | </ul> |
63 | <div class="buyer_information"> | 63 | <div class="buyer_information"> |
64 | <h3>买方信息</h3> | 64 | <h3>买方信息</h3> |
65 | <ul id="informationList"></ul> | 65 | <ul id="informationList" class="informationList"></ul> |
66 | </div> | 66 | </div> |
67 | </div> | 67 | </div> |
68 | <div class="next_button"> | 68 | <div class="next_button"> | ... | ... |
... | @@ -14,7 +14,7 @@ | ... | @@ -14,7 +14,7 @@ |
14 | <div class="contentBox"> | 14 | <div class="contentBox"> |
15 | <span class="layui-breadcrumb"> | 15 | <span class="layui-breadcrumb"> |
16 | <a href="../index.html">首页</a> | 16 | <a href="../index.html">首页</a> |
17 | <a href="">法律法规</a> | 17 | <a href="./xyzc.html">相应政策</a> |
18 | <a><cite>相应政策详情</cite></a> | 18 | <a><cite>相应政策详情</cite></a> |
19 | </span> | 19 | </span> |
20 | </div> | 20 | </div> |
... | @@ -22,7 +22,10 @@ | ... | @@ -22,7 +22,10 @@ |
22 | <div class="mainbody"> | 22 | <div class="mainbody"> |
23 | <div class="title newsTitle"></div> | 23 | <div class="title newsTitle"></div> |
24 | <div class="release"> | 24 | <div class="release"> |
25 | <div class="source"></div> | 25 | <div class="source"> |
26 | 发布单位: | ||
27 | <p></p> | ||
28 | </div> | ||
26 | <div>发布日期:<p class="releaseTime"></p></div> | 29 | <div>发布日期:<p class="releaseTime"></p></div> |
27 | </div> | 30 | </div> |
28 | <div class="DividingLine"></div> | 31 | <div class="DividingLine"></div> | ... | ... |
-
Please register or sign in to post a comment