b4d41bec by 任超

style:电子证书

1 parent 75abc20f
...@@ -71,8 +71,11 @@ ...@@ -71,8 +71,11 @@
71 .acceptance_information ul li p { 71 .acceptance_information ul li p {
72 display: inline-block; 72 display: inline-block;
73 } 73 }
74 .informationList li {
75 width: 100%!important;
76 }
74 .informationList p { 77 .informationList p {
75 display: block!important; 78 width: 25%!important;
76 } 79 }
77 .informationList p span { 80 .informationList p span {
78 width: 80px!important; 81 width: 80px!important;
......
...@@ -6,8 +6,6 @@ $(function () { ...@@ -6,8 +6,6 @@ $(function () {
6 }); 6 });
7 addTabs('#wssq') 7 addTabs('#wssq')
8 setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno')); 8 setAcceptFlow(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
9
10
11 list = getApplyRecord(GetQueryString('bsm_slsq'),GetQueryString('businessno')); 9 list = getApplyRecord(GetQueryString('bsm_slsq'),GetQueryString('businessno'));
12 // 房屋信息 10 // 房屋信息
13 houseInfo = getFDCQ2(GetQueryString('bsm_slsq')); 11 houseInfo = getFDCQ2(GetQueryString('bsm_slsq'));
...@@ -22,14 +20,31 @@ $(function () { ...@@ -22,14 +20,31 @@ $(function () {
22 $('#area p').text(houseInfo.jzmj); 20 $('#area p').text(houseInfo.jzmj);
23 // 买方信息 21 // 买方信息
24 var listItem; 22 var listItem;
25 for (var i = 0; i < list.sqrList.length; i++) { 23 let userInfo = [];
26 listItem = '<li>' 24 userInfo.push(getCookie('myCookie'));
27 listItem += '<p><span>姓名</span>:'+list.sqrList[i].sqrmc+'</p>' 25
28 if (list.sqrList[i].sqrzj == 1) { 26 console.log(userInfo)
29 listItem += '<p><span>证件类型</span>:身份证</p>' 27 if(list.sqrList && list.sqrList.length>0) {
28 for (var i = 0; i < list.sqrList.length; i++) {
29 listItem = '<li>'
30 listItem += '<p><span>姓名</span>:'+list.sqrList[i].sqrmc+'</p>'
31 if (list.sqrList[i].sqrzj == 1) {
32 listItem += '<p><span>证件类型</span>:身份证</p>'
33 }
34 listItem += '<p><span>证件号码</span>:'+list.sqrList[i].zjhm+'</p>'
35 listItem += '<p><span>联系电话</span>:'+list.sqrList[i].dhhm+'</p>'
36 $('#informationList').append(listItem)
37 }
38 }else {
39 for (var i = 0; i < userInfo.length; i++) {
40 listItem = '<li>'
41 listItem += '<p><span>姓名</span>:'+userInfo[i].username+'</p>'
42 if (userInfo[i].zjzl == 1) {
43 listItem += '<p><span>证件类型</span>:身份证</p>'
44 }
45 listItem += '<p><span>证件号码</span>:'+userInfo[i].zjhm+'</p>'
46 listItem += '<p><span>联系电话</span>:'+userInfo[i].phone+'</p>'
47 $('#informationList').append(listItem)
30 } 48 }
31 listItem += '<p><span>证件号码</span>:'+list.sqrList[i].zjhm+'</p>'
32 listItem += '<p><span>联系电话</span>:'+list.sqrList[i].dhhm+'</p>'
33 $('#informationList').append(listItem)
34 } 49 }
35 }) 50 })
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
86 </div> 86 </div>
87 <!-- ------------房屋信息-------------- --> 87 <!-- ------------房屋信息-------------- -->
88 <div class="acceptance_information"> 88 <div class="acceptance_information">
89 <h3>屋信息</h3> 89 <h3>屋信息</h3>
90 <ul> 90 <ul>
91 <li id="unitNumber"> 91 <li id="unitNumber">
92 <span>不动产单元号:</span> 92 <span>不动产单元号:</span>
......