0f3893ee by 任超

style:政务公开

1 parent 273c8980
......@@ -111,6 +111,11 @@ layui.use('laypage', function () {
}
}
});
if (data.total == 0) {
$('#page').hide();
}else {
$('#page').show();
}
});
var data = { //数据
"list": [],
......
......@@ -125,6 +125,11 @@ layui.use('laypage', function () {
}
}
});
if(data.total ==0 ) {
$('#test1').hide();
}else {
$('#test1').show();
}
});
var data = { //数据
......
......@@ -209,6 +209,8 @@ function paged(pageCount, curr) {
})
if (pageCount == 0) {
$('#page').hide();
}else {
$('#page').show();
}
}
......
......@@ -107,6 +107,8 @@ layui.use('laypage', function () {
});
if(data.total ==0) {
$('#page').hide();
}else {
$('#page').show();
}
})
var data = { //数据
......
......@@ -25,7 +25,7 @@ function getLawsArticleList() {
//数据,这里使用的是Json格式进行传输
success: function (result) {//返回数据根据结果进行相应的处理
if (result.code == 200 && result.data != null) {
data.total = result.data.total
data.total = result.data.total;
for (var i = 0; i < result.data.records.length; i++) {
li = '<li>';
li += '<a href="./xyzcxq.html?id='+result.data.records[i].id+'" title="' + result.data.records[i].headline + '" target="_blank">'
......@@ -35,6 +35,8 @@ function getLawsArticleList() {
li += '</li>';
flfgList.append(li);
}
}else {
data.total = 0;
}
}
......@@ -111,10 +113,15 @@ layui.use('laypage', function () {
}
}
});
if (data.total ==0 ) {
$('#page').hide();
}else {
$('#page').show();
}
});
var data = { //数据
"list": [],
total: undefined,
total: 0,
currentPage: 1,
pageSize: 5
};
\ No newline at end of file
......
......@@ -17,8 +17,7 @@
<div class="contentBox">
<span class="layui-breadcrumb">
<a href="../index.html" title="首页">首页</a>
<a href="#" title="办事指南">办事指南</a>
<a title="业务指南"><cite>业务指南</cite></a>
<a title="办事指南"><cite>办事指南</cite></a>
</span>
</div>
</div>
......
......@@ -16,6 +16,7 @@
<div class="contentBox">
<span class="layui-breadcrumb">
<a href="../index.html">首页</a>
<a>政务公开</a>
<a><cite>法律法规</cite></a>
</span>
</div>
......
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
</style>
......@@ -9,11 +10,13 @@
<script type="text/javascript" src="../staticJs/head.js"></script>
<link rel="stylesheet" type="text/css" href="../staticCss/gsgg.css">
</head>
<body>
<div class="navigation_crumbs">
<div class="contentBox">
<span class="layui-breadcrumb">
<a href="../index.html">首页</a>
<a>政务公开</a>
<a><cite>公示公告</cite></a>
</span>
</div>
......@@ -90,4 +93,5 @@
</li>
{{# }); }}
</script>
</html>
\ No newline at end of file
......
......@@ -16,6 +16,7 @@
<div class="contentBox">
<span class="layui-breadcrumb">
<a href="../index.html">首页</a>
<a>政务公开</a>
<a><cite>相应政策</cite></a>
</span>
</div>
......