a8e1bd1d by 任超

style:样式

1 parent ee5d5f8c
...@@ -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
......
...@@ -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 }
......
...@@ -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>
......
...@@ -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>
......