a4186664 by 任超

style:信息校验样式

1 parent badcf0dc
...@@ -38,42 +38,92 @@ ...@@ -38,42 +38,92 @@
38 text-align: center; 38 text-align: center;
39 line-height: 36px; 39 line-height: 36px;
40 } 40 }
41 .data_list { 41 /* ----------------预约列表-------------------- */
42 margin-bottom: 20px; 42 .appointment_list {
43 margin-top: 20px;
44 font-size: 0;
45 margin-left: -10px;
46 margin-right: -10px;
47 overflow: hidden;
43 } 48 }
44 .data_list li { 49 .appointment_list li {
45 width: 31%; 50 width: 33.333%;
46 border: 1px solid #d2d2d2;
47 display: inline-block; 51 display: inline-block;
48 color: #4a4a4a; 52 padding: 0 10px;
49 border-radius: 3px;
50 box-sizing: border-box; 53 box-sizing: border-box;
51 margin-right: 20px; 54 float: left;
52 } 55 }
53 .data_list li:last-child { 56 .appointment_list li .item_content {
54 margin-right: 0; 57 border: 1px solid #CBCBCB;
58 border-radius: 4px;
59 border: 1px solid #CBCBCB;
60 font-size: 16px;
61 height: 368px;
55 } 62 }
56 .data_list li h3 { 63 .item_title {
57 background-color: #5FB878; 64 height: 48px;
58 text-align: center; 65 line-height: 48px;
59 line-height: 36px; 66 color: #FFFFFF;
60 padding: 0 10px; 67 padding: 0 20px;
61 color: #fff; 68 box-sizing: border-box;
62 } 69 }
63 .data_list li p { 70 .item_title h3 {
64 line-height: 40px; 71 display: inline-block;
65 padding: 0 10px; 72 float: left;
66 } 73 }
67 .data_list li p span { 74 .item_title p {
68 width: 85px;
69 text-align-last: justify;
70 display: inline-block; 75 display: inline-block;
71 margin-right: 10px; 76 float: right;
72 } 77 }
73 .next_button { 78 .success {
79 background-color: #44D7B6;
80 }
81 .overdue {
82 background-color: #F26363;
83 }
84 .cancel {
85 background-color: #F26363;
86 opacity: 0.5;
87 }
88 .item_info {
89 padding: 30px;
90 height: 180px;
91 }
92 .item_info li{
93 width: 100%;
94 line-height: 38px;
95 box-sizing: border-box;
96 }
97 .item_info li span {
98 display: inline-block;
99 width: 108px;
100 text-align: right;
101 color: #9B9B9B;
102 white-space: nowrap;
103 }
104 .item_info li p{
105 display: inline-block;
106 color: #303030;
107 }
108 .item_info li a{
109 display: inline-block;
110 color: #0091FF;
111 margin-left: 20px;
112 }
113 .cancel_reservation {
114 display: block;
115 width: 100px;
116 height: 40px;
117 background: #FFFFFF;
118 border-radius: 3px;
119 border: 1px solid #E6E6E6;
120 font-size: 16px;
121 color: #9B9B9B;
122 line-height: 40px;
74 text-align: center; 123 text-align: center;
75 margin-bottom: 20px; 124 margin: 0 auto;
76 } 125 }
77 .next_button a { 126 .next_button {
78 color: #fff; 127 text-align: center;
128 margin: 50px 0 100px 0;
79 } 129 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
19 flex: 2.1; 19 flex: 2.1;
20 position: relative; 20 position: relative;
21 top: 10px; 21 top: 10px;
22 margin-left: -3%; 22 margin-left: -3.8%;
23 margin-right: -3%; 23 margin-right: -3.8%;
24 } 24 }
25 .item_proress { 25 .item_proress {
26 position: relative; 26 position: relative;
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
36 } 36 }
37 .app_progress li h5 { 37 .app_progress li h5 {
38 white-space: nowrap; 38 white-space: nowrap;
39 margin-top: 5px;
39 } 40 }
40 .active { 41 .active {
41 background-color: #47E1BF!important; 42 background-color: #47E1BF!important;
......
...@@ -71,4 +71,52 @@ $(function () { ...@@ -71,4 +71,52 @@ $(function () {
71 return false; 71 return false;
72 }); 72 });
73 }); 73 });
74 // 进度条
75 var data = {
76 'progressList': [
77 {
78 stepName: "信息效验",
79 stepState: 1 //0:未办理 1:正在办理 2:已办理
80 },
81 {
82 stepName: "填报信息",
83 stepState: 0
84 },
85 {
86 stepName: "完税核税",
87 stepState: 0
88 },
89 {
90 stepName: "身份认证",
91 stepState: 0
92 },
93 {
94 stepName: "资料审核",
95 stepState: 0
96 },
97 // {
98 // stepName: "线上缴费",
99 // stepState: 0
100 // },
101 // {
102 // stepName: "生成电子证书",
103 // stepState: 0
104 // }
105 ],
106 }
107
108 layui.use('laytpl', function () {
109 laytpl = layui.laytpl;
110 var getTpl = document.getElementById('progress').innerHTML
111 , view = document.getElementById('app_progress');
112 laytpl(getTpl).render(data, function (html) {
113 view.innerHTML = html;
114 });
115
116 layui.use(['element'], function () {
117 var element = layui.element;
118 //初始化动态元素,一些动态生成的元素如果不设置初始化,将不会有默认的动态效果
119 element.init();
120 });
121 });
74 }) 122 })
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
100 <p>预售商品房抵押登记</p> 100 <p>预售商品房抵押登记</p>
101 <div class="button"> 101 <div class="button">
102 <button type="button" class="layui-btn layui-btn-normal layui-btn-sm"> 102 <button type="button" class="layui-btn layui-btn-normal layui-btn-sm">
103 <a href='./bljy.html?title=预告类&bus=预售商品房抵押登记'>立即办理</a> 103 <a href='./xxjy.html?title=预告类&bus=预售商品房抵押登记'>立即办理</a>
104 </button> 104 </button>
105 <button type="button" class="layui-btn layui-btn-primary layui-btn-sm">网上申请</button> 105 <button type="button" class="layui-btn layui-btn-primary layui-btn-sm">网上申请</button>
106 </div> 106 </div>
......