a8e1bd1d by 任超

style:样式

1 parent ee5d5f8c
......@@ -158,3 +158,6 @@ div.navigation {
.releaseTime {
display: inline-block;
}
.source p {
display: inline-block;
}
\ No newline at end of file
......
......@@ -23,6 +23,7 @@ function newsDetail() {
success: function (result) {//返回数据根据结果进行相应的处理
if (result.code == 200 && result.data != null) {
$('.newsTitle').html(result.data.title)
$('.source p').html(result.data.issuer)
$('.releaseTime').html(result.data.addtime)
newsDetail.append(result.data.content)
}
......
......@@ -24,7 +24,7 @@ function newsDetail() {
if (result.code == 200 && result.data != null) {
$('.newsTitle').html(result.data.headline)
$('.releaseTime').html(result.data.addtime)
$('.source').html(result.data.source)
$('.source p').html(result.data.source)
newsDetail.append(result.data.content)
}
}
......
......@@ -14,7 +14,7 @@
<div class="contentBox">
<span class="layui-breadcrumb">
<a href="../index.html">首页</a>
<a href="">公示公告</a>
<a href="./gsgg.html">公示公告</a>
<a><cite>公告详情</cite></a>
</span>
</div>
......@@ -22,7 +22,7 @@
<div class="mainbody">
<div class="title newsTitle"></div>
<div class="release">
<div>发布单位:国土信息</div>
<div class="source">发布单位:<p></p></div>
<div>发布日期:<p class="releaseTime">2020-20-15</p></div>
</div>
<div class="DividingLine"></div>
......
......@@ -14,7 +14,7 @@
<div class="contentBox">
<span class="layui-breadcrumb">
<a href="../index.html">首页</a>
<a href="">法律法规</a>
<a href="./xyzc.html">相应政策</a>
<a><cite>相应政策详情</cite></a>
</span>
</div>
......@@ -22,7 +22,10 @@
<div class="mainbody">
<div class="title newsTitle"></div>
<div class="release">
<div class="source"></div>
<div class="source">
发布单位:
<p></p>
</div>
<div>发布日期:<p class="releaseTime"></p></div>
</div>
<div class="DividingLine"></div>
......