Merge branch 'master' of http://yun.pashanhoo.com:9090/renchao/portalStaticPage
Showing
13 changed files
with
113 additions
and
69 deletions
... | @@ -418,6 +418,16 @@ input[type='file'] { | ... | @@ -418,6 +418,16 @@ input[type='file'] { |
418 | line-height: 23px; | 418 | line-height: 23px; |
419 | } | 419 | } |
420 | 420 | ||
421 | .acceptance li{ | ||
422 | width: 33%!important; | ||
423 | } | ||
424 | #titleCertificate { | ||
425 | width: 50%!important; | ||
426 | } | ||
427 | #titleCertificate span { | ||
428 | width: 112px!important; | ||
429 | } | ||
430 | |||
421 | .pic { | 431 | .pic { |
422 | width: 240px; | 432 | width: 240px; |
423 | height: 240px; | 433 | height: 240px; | ... | ... |
... | @@ -74,7 +74,7 @@ $(function () { | ... | @@ -74,7 +74,7 @@ $(function () { |
74 | }) | 74 | }) |
75 | // 点击注册的时候 | 75 | // 点击注册的时候 |
76 | $(document).on('click', '#registerButton', function () { | 76 | $(document).on('click', '#registerButton', function () { |
77 | window.open(`${localhostPaht}/staticViews/register.html`, '_self') | 77 | window.open(''+localhostPaht+'/staticViews/register.html', '_self') |
78 | }); | 78 | }); |
79 | function clicklogin(data) { | 79 | function clicklogin(data) { |
80 | $.ajax({ | 80 | $.ajax({ | ... | ... |
1 | var list; | 1 | var list; |
2 | var houseInfo; | 2 | var houseInfo; |
3 | $(function () { | 3 | layui.use('element', function () { |
4 | layui.use('element', function () { | ||
5 | let element = layui.element; | 4 | let element = layui.element; |
6 | }); | 5 | }); |
6 | $(function () { | ||
7 | addTabs('#wssq') | 7 | addTabs('#wssq') |
8 | setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno')); | 8 | setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno')); |
9 | list = getApplyRecord(GetQueryString('bsm_slsq'),GetQueryString('businessno')); | 9 | list = getApplyRecord(GetQueryString('bsm_slsq'),GetQueryString('businessno')); |
10 | // 房屋信息 | 10 | // 房屋信息 |
11 | houseInfo = getFDCQ2(GetQueryString('bsm_slsq')); | 11 | houseInfo = getFDCQ2(GetQueryString('bsm_slsq')); |
12 | console.log(list , houseInfo); | 12 | console.log(list); |
13 | $('#typesPower p').text(list.qllxmc); | 13 | $('#typesPower p').text(list.qllxmc); |
14 | $('#businessType p').text(list.shortname); | 14 | $('#businessType p').text(list.shortname); |
15 | $('#acceptanceNumber p').text(list.wwsqbh); | 15 | $('#acceptanceNumber p').text(list.wwsqbh); |
... | @@ -45,9 +45,15 @@ $(function () { | ... | @@ -45,9 +45,15 @@ $(function () { |
45 | $('#informationList').append(listItem) | 45 | $('#informationList').append(listItem) |
46 | } | 46 | } |
47 | } | 47 | } |
48 | // 确定按钮 | ||
49 | if(list.ajzt!=6) { | ||
50 | $('#complete').append('<p>如您已经完成办理请点击确定</p>'+ | ||
51 | '<button type="button" class="layui-btn completeAudit layui-btn-radius layui-btn-normal">确定</button>') | ||
52 | } | ||
48 | }) | 53 | }) |
49 | $('.completeAudit').click(function(){ | 54 | |
50 | _completeBusiness() | 55 | $(document).on("click", ".completeAudit", function (e) { |
56 | _completeBusiness(); | ||
51 | }) | 57 | }) |
52 | 58 | ||
53 | // 完成办理 | 59 | // 完成办理 |
... | @@ -64,8 +70,39 @@ function _completeBusiness() { | ... | @@ -64,8 +70,39 @@ function _completeBusiness() { |
64 | if (result.code == 200 ) { | 70 | if (result.code == 200 ) { |
65 | layui.use('layer', function () { | 71 | layui.use('layer', function () { |
66 | layer.msg(result.message); | 72 | layer.msg(result.message); |
67 | }) | 73 | }); |
68 | skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno')); | 74 | _completePage(GetQueryString('bsm_slsq'),GetQueryString('businessno')); |
75 | $('#complete').empty(); | ||
76 | } | ||
77 | } | ||
78 | }); | ||
79 | } | ||
80 | |||
81 | function _completePage(bsm_slsq, businessno) { | ||
82 | var nextStepIndex; | ||
83 | $.each(business.stepList, function (index, item) { | ||
84 | if (item.stepState == 1) { | ||
85 | nextStepIndex = index; | ||
86 | return; | ||
87 | } | ||
88 | }); | ||
89 | var datajson = { | ||
90 | "bsmSlsq": bsm_slsq, | ||
91 | "businessNo": businessno, | ||
92 | "stepNo": business.stepList[nextStepIndex].stepno | ||
93 | }; | ||
94 | //更新当前流程所处环节 | ||
95 | $.ajax({ | ||
96 | type: "post", //提交方式 | ||
97 | contentType: 'application/json', | ||
98 | url: portal.api_url + "/portal/FillInformation/updateStepNo",//路径 | ||
99 | dataType: "json", | ||
100 | async: false, | ||
101 | data: JSON.stringify(datajson), | ||
102 | //数据,这里使用的是Json格式进行传输 | ||
103 | success: function (result) {//返回数据根据结果进行相应的处理 | ||
104 | if (result.code == 200) { | ||
105 | setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno')); | ||
69 | } | 106 | } |
70 | } | 107 | } |
71 | }); | 108 | }); | ... | ... |
1 | $(function () { | 1 | layui.use('element', function () { |
2 | layui.use('element', function () { | ||
3 | let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 | 2 | let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块 |
4 | }); | 3 | }); |
4 | $(function () { | ||
5 | addTabs('#wssq'); | 5 | addTabs('#wssq'); |
6 | setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno')); | 6 | setAcceptFlow(GetQueryString('bsm_slsq'), GetQueryString('businessno')); |
7 | // | 7 | _getSfxx(GetQueryString('bsm_slsq')); |
8 | $('.payment_channel_con li').click(function () { | 8 | list = getApplyRecord(GetQueryString('bsm_slsq'),GetQueryString('businessno')); |
9 | if(list.ajzt !='4' || list.ajzt !='5') { | ||
10 | $('#submitButton').append('<button type="button" class="layui-btn layui-btn-normal">下一步</button>') | ||
11 | } | ||
12 | }) | ||
13 | // layui.use('layer', function () { | ||
14 | // layer.open({ | ||
15 | // type: 1, | ||
16 | // title: false, | ||
17 | // closeBtn: 0, | ||
18 | // shade:0, | ||
19 | // shadeClose: true, | ||
20 | // skin: 'paymentSuccess', | ||
21 | // btn: ['下一步'], | ||
22 | // yes : function() { | ||
23 | // skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno')); | ||
24 | // }, | ||
25 | // content: '<ul>' | ||
26 | // + '<li><img src="../../staticImages/xuanzhong.png"></li>' | ||
27 | // + '<li>支付成功</li>' | ||
28 | // + '<li class="info"><span>支付流水号:</span><p>9898989989</p></li>' | ||
29 | // + '<li class="info"><span>支付时间:</span><p>2023255-102-13</p></li>' | ||
30 | // + '<li class="info"><span>支付金额:</span><p>600元</p></li>' | ||
31 | // + '</ul>' | ||
32 | // }); | ||
33 | // }) | ||
34 | $('.payment_channel_con li').click(function () { | ||
35 | $('.payment_channel_con li').removeClass() | ||
36 | $(this).addClass('payActive') | ||
37 | }) | ||
38 | $('.payment_channel_con li').click(function () { | ||
9 | $('.payment_channel_con li').removeClass('payActive'); | 39 | $('.payment_channel_con li').removeClass('payActive'); |
10 | $(this).addClass('payActive'); | 40 | $(this).addClass('payActive'); |
11 | let index = $(this).index() | 41 | let index = $(this).index() |
12 | $('.codeShowImg').show() | 42 | $('.codeShowImg').show() |
13 | if (index ==0) { | 43 | if (index == 0) { |
14 | $('.codeShowImg').attr('src','../staticImages/weixinShow.png') | 44 | $('.codeShowImg').attr('src', '../../staticImages/weixinShow.png') |
15 | $('.paymentText').text('打开手机微信') | 45 | $('.paymentText').text('打开手机微信') |
16 | }else { | 46 | } else { |
17 | $('.codeShowImg').attr('src','../staticImages/alipayShow.png') | 47 | $('.codeShowImg').attr('src', '../../staticImages/alipayShow.png') |
18 | $('.paymentText').text('打开手机支付宝') | 48 | $('.paymentText').text('打开手机支付宝') |
19 | } | 49 | } |
20 | }) | ||
21 | // layui.use('layer', function () { | ||
22 | // layer.open({ | ||
23 | // type: 1, | ||
24 | // title: false, | ||
25 | // closeBtn: 0, | ||
26 | // shade:0, | ||
27 | // shadeClose: true, | ||
28 | // skin: 'paymentSuccess', | ||
29 | // btn: ['下一步'], | ||
30 | // yes : function() { | ||
31 | // skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno')); | ||
32 | // }, | ||
33 | // content: '<ul>' | ||
34 | // + '<li><img src="../../staticImages/xuanzhong.png"></li>' | ||
35 | // + '<li>支付成功</li>' | ||
36 | // + '<li class="info"><span>支付流水号:</span><p>9898989989</p></li>' | ||
37 | // + '<li class="info"><span>支付时间:</span><p>2023255-102-13</p></li>' | ||
38 | // + '<li class="info"><span>支付金额:</span><p>600元</p></li>' | ||
39 | // + '</ul>' | ||
40 | // }); | ||
41 | // }) | ||
42 | |||
43 | $('.payment_channel_con li').click(function () { | ||
44 | $('.payment_channel_con li').removeClass() | ||
45 | $(this).addClass('payActive') | ||
46 | }) | ||
47 | _getSfxx(GetQueryString('bsm_slsq')); | ||
48 | }) | 50 | }) |
49 | $('.submitButton button').click(function(){ | 51 | $(document).on("click", ".submitButton button", function (e) { |
50 | skipNextPage(GetQueryString('bsm_slsq'),GetQueryString('businessno')); | 52 | skipNextPage(GetQueryString('bsm_slsq'), GetQueryString('businessno')); |
51 | }) | 53 | }) |
52 | // 获取缴费信息 | 54 | // 获取缴费信息 |
53 | function _getSfxx(bsm_slsq) { | 55 | function _getSfxx(bsm_slsq) { |
... | @@ -62,7 +64,7 @@ function _getSfxx(bsm_slsq) { | ... | @@ -62,7 +64,7 @@ function _getSfxx(bsm_slsq) { |
62 | success: function (result) {//返回数据根据结果进行相应的处理 | 64 | success: function (result) {//返回数据根据结果进行相应的处理 |
63 | if (result.code == 200 && result.data != null) { | 65 | if (result.code == 200 && result.data != null) { |
64 | for (var i = 0; i < result.data.length; i++) { | 66 | for (var i = 0; i < result.data.length; i++) { |
65 | $('.paymentDetails').append('<h6>'+result.data[i].sfkm+''+result.data[i].ysje+'元 </h6>'); | 67 | $('.paymentDetails').append('<h6>' + result.data[i].sfkm + '' + result.data[i].ysje + '元 </h6>'); |
66 | } | 68 | } |
67 | } | 69 | } |
68 | } | 70 | } | ... | ... |
... | @@ -105,10 +105,10 @@ function NoticeData() { | ... | @@ -105,10 +105,10 @@ function NoticeData() { |
105 | li = '<li class="item_notice"><a href="./staticViews/ggxq.html?id='+result.data[i].id+'" title="' + result.data[i].title + '" target="_blank">'; | 105 | li = '<li class="item_notice"><a href="./staticViews/ggxq.html?id='+result.data[i].id+'" title="' + result.data[i].title + '" target="_blank">'; |
106 | li += '<p>' + result.data[i].title + '</P>'; | 106 | li += '<p>' + result.data[i].title + '</P>'; |
107 | if (result.data[i].noticeType == 1) { | 107 | if (result.data[i].noticeType == 1) { |
108 | li += '<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongonggao1"></use> </svg>'; | 108 | li += '<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongongshi"></use> </svg>'; |
109 | } | 109 | } |
110 | else { | 110 | else { |
111 | li += '<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongongshi"></use> </svg>'; | 111 | li += '<svg class="icon svg-icon" aria-hidden="true"> <use xlink:href="#icongonggao1"></use> </svg>'; |
112 | } | 112 | } |
113 | li += '</a></li>'; | 113 | li += '</a></li>'; |
114 | ulTag.append(li); | 114 | ulTag.append(li); | ... | ... |
... | @@ -8,7 +8,8 @@ $(function () { | ... | @@ -8,7 +8,8 @@ $(function () { |
8 | addTabs('#news'); | 8 | addTabs('#news'); |
9 | }); | 9 | }); |
10 | //加载新闻列表数据 | 10 | //加载新闻列表数据 |
11 | function LoadNewsData(currentPage = 1) { | 11 | function LoadNewsData(currentPage) { |
12 | var currentPage = currentPage || 1; | ||
12 | $.ajax({ | 13 | $.ajax({ |
13 | type: "get", //提交方式 | 14 | type: "get", //提交方式 |
14 | url: portal.api_url + "/portal/MhNews/getNewsArticleList",//路径 | 15 | url: portal.api_url + "/portal/MhNews/getNewsArticleList",//路径 |
... | @@ -19,7 +20,7 @@ function LoadNewsData(currentPage = 1) { | ... | @@ -19,7 +20,7 @@ function LoadNewsData(currentPage = 1) { |
19 | async: false, | 20 | async: false, |
20 | dataType: "json", | 21 | dataType: "json", |
21 | //数据,这里使用的是Json格式进行传输 | 22 | //数据,这里使用的是Json格式进行传输 |
22 | success: function (result) {//返回数据根据结果进行相应的处理 | 23 | success: function (result) { |
23 | data.total = result.data.total; | 24 | data.total = result.data.total; |
24 | if (result.code == 200 && result.data != null) { | 25 | if (result.code == 200 && result.data != null) { |
25 | data.list = result.data.records; | 26 | data.list = result.data.records; |
... | @@ -30,8 +31,8 @@ function LoadNewsData(currentPage = 1) { | ... | @@ -30,8 +31,8 @@ function LoadNewsData(currentPage = 1) { |
30 | , view = document.getElementById('ulNews'); | 31 | , view = document.getElementById('ulNews'); |
31 | laytpl(getTpl).render(data, function (html) { | 32 | laytpl(getTpl).render(data, function (html) { |
32 | view.innerHTML = html; | 33 | view.innerHTML = html; |
33 | }); | 34 | }) |
34 | }); | 35 | }) |
35 | } | 36 | } |
36 | }) | 37 | }) |
37 | } | 38 | } | ... | ... |
staticLib/jquery/DEVONtech_storage
deleted
100644 → 0
No preview for this file type
staticLib/jquery/jquery.slim.min.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
... | @@ -57,9 +57,7 @@ | ... | @@ -57,9 +57,7 @@ |
57 | </p> | 57 | </p> |
58 | </li> | 58 | </li> |
59 | </ul> | 59 | </ul> |
60 | <div class="complete"> | 60 | <div class="complete" id="complete"> |
61 | <p>如您已经完成办理请点击确定</p> | ||
62 | <button type="button" class="layui-btn completeAudit layui-btn-radius layui-btn-normal">确定</button> | ||
63 | </div> | 61 | </div> |
64 | </div> | 62 | </div> |
65 | <!-- ------------受理信息-------------- --> | 63 | <!-- ------------受理信息-------------- --> | ... | ... |
... | @@ -35,7 +35,7 @@ | ... | @@ -35,7 +35,7 @@ |
35 | <!-- 受理情况 --> | 35 | <!-- 受理情况 --> |
36 | <div class="acceptance_information"> | 36 | <div class="acceptance_information"> |
37 | <h3>受理情况</h3> | 37 | <h3>受理情况</h3> |
38 | <ul> | 38 | <ul class="acceptance"> |
39 | 39 | ||
40 | <li id="11"> | 40 | <li id="11"> |
41 | <span>登记业务名称:</span> | 41 | <span>登记业务名称:</span> |
... | @@ -146,7 +146,7 @@ | ... | @@ -146,7 +146,7 @@ |
146 | <!-- 受理情况 --> | 146 | <!-- 受理情况 --> |
147 | <div class="acceptance_information"> | 147 | <div class="acceptance_information"> |
148 | <h3>网签合同情况</h3> | 148 | <h3>网签合同情况</h3> |
149 | <ul> | 149 | <ul class="acceptance"> |
150 | <li id="recordNo"> | 150 | <li id="recordNo"> |
151 | <span>合同备案号:</span> | 151 | <span>合同备案号:</span> |
152 | <p>YS000000000001</p> | 152 | <p>YS000000000001</p> | ... | ... |
... | @@ -95,9 +95,7 @@ | ... | @@ -95,9 +95,7 @@ |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | 97 | ||
98 | <div class="submitButton"> | 98 | <div class="submitButton" id="submitButton"></div> |
99 | <button type="button" class="layui-btn layui-btn-normal">下一步</button> | ||
100 | </div> | ||
101 | </div> | 99 | </div> |
102 | </div> | 100 | </div> |
103 | <!-- ------------------支付成功----------------- --> | 101 | <!-- ------------------支付成功----------------- --> | ... | ... |
... | @@ -50,12 +50,9 @@ | ... | @@ -50,12 +50,9 @@ |
50 | <a class="left-top" title=" {{ item.headline }}" href='./xwxq.html?id={{item.id}}' target="_blank"> | 50 | <a class="left-top" title=" {{ item.headline }}" href='./xwxq.html?id={{item.id}}' target="_blank"> |
51 | {{ item.headline }} | 51 | {{ item.headline }} |
52 | </a> | 52 | </a> |
53 | <a class="xw" href='./xwxq.html?id="{{item.id}}"' target="_blank"> | 53 | <a class="xw" href='./xwxq.html?id={{item.id}}' target="_blank"> |
54 | <div class="xw-left"> | 54 | <div class="xw-left"> |
55 | {{# if(item.cover == null){ }} | 55 | {{# if(item.cover != null ){ }} |
56 | <img src="../staticImages/news_demo.jpg"> | ||
57 | {{# } }} | ||
58 | {{# if(item.cover != null){ }} | ||
59 | <img src="{{ item.cover }}"> | 56 | <img src="{{ item.cover }}"> |
60 | {{# } }} | 57 | {{# } }} |
61 | </div> | 58 | </div> | ... | ... |
-
Please register or sign in to post a comment