@@ -39,6 +39,9 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
$("#newTime").html('发布时间:'+content.newsTime); | $("#newTime").html('发布时间:'+content.newsTime); | ||||
$("#newCome").html('来源:'+content.createBy); | $("#newCome").html('来源:'+content.createBy); | ||||
$("#newContent").html(content.content); | $("#newContent").html(content.content); | ||||
if (document.body.scrollHeight > document.body.offsetHeight){ | |||||
document.getElementById('bottomInformation').style.position = 'relative'; | |||||
} | |||||
} | } | ||||
} | } | ||||
@@ -17,6 +17,11 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
module.init = function (page) { | module.init = function (page) { | ||||
tools.doGet(getTopDeptId, {}, module.getInformation , true); | tools.doGet(getTopDeptId, {}, module.getInformation , true); | ||||
if (document.body.scrollHeight <= document.body.offsetHeight){ | |||||
document.getElementById('bottomInformation').style.position = 'fixed'; | |||||
document.getElementById('bottomInformation').style.bottom = '0'; | |||||
} | |||||
}; | }; | ||||
module.getInformation = function (data) { | module.getInformation = function (data) { | ||||
@@ -18,7 +18,8 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
module.init = function (page) { | module.init = function (page) { | ||||
//新闻管理列表 | //新闻管理列表 | ||||
tools.doGet(dictType + '/communicate_type', {}, module.dictType , true); | tools.doGet(dictType + '/communicate_type', {}, module.dictType , true); | ||||
tools.doGet(communicateDetail + '/' + getQueryVariable('id'), {}, module.newList , true); | |||||
}; | }; | ||||
//获取地址栏参数 | //获取地址栏参数 | ||||
@@ -34,6 +35,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
module.dictType = function (data) { | module.dictType = function (data) { | ||||
module.data.communicateOptions = data.data; | module.data.communicateOptions = data.data; | ||||
tools.doGet(communicateDetail + '/' + getQueryVariable('id'), {}, module.newList , true); | |||||
} | } | ||||
//新闻列表 | //新闻列表 | ||||
@@ -45,6 +47,9 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
module.data.newList = content; | module.data.newList = content; | ||||
var newData = template('newData', module.data); | var newData = template('newData', module.data); | ||||
$("#newContent").html(newData); | $("#newContent").html(newData); | ||||
if (document.body.scrollHeight > document.body.offsetHeight){ | |||||
document.getElementById('bottomInformation').style.position = 'relative'; | |||||
} | |||||
} | } | ||||
} | } | ||||
@@ -39,6 +39,9 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
$("#newTime").html('发布时间:'+content.newsTime); | $("#newTime").html('发布时间:'+content.newsTime); | ||||
$("#newCome").html('来源:'+content.createBy); | $("#newCome").html('来源:'+content.createBy); | ||||
$("#newContent").html(content.content); | $("#newContent").html(content.content); | ||||
if (document.body.scrollHeight > document.body.offsetHeight){ | |||||
document.getElementById('bottomInformation').style.position = 'relative'; | |||||
} | |||||
} | } | ||||
} | } | ||||
@@ -38,6 +38,9 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
module.data.newList = content; | module.data.newList = content; | ||||
var newData = template('newData', module.data); | var newData = template('newData', module.data); | ||||
$("#newContent").html(newData); | $("#newContent").html(newData); | ||||
if (document.body.scrollHeight > document.body.offsetHeight){ | |||||
document.getElementById('bottomInformation').style.position = 'relative'; | |||||
} | |||||
} | } | ||||
} | } | ||||
@@ -39,6 +39,9 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
$("#newTime").html('发布时间:'+content.newsTime); | $("#newTime").html('发布时间:'+content.newsTime); | ||||
$("#newCome").html('来源:'+content.createBy); | $("#newCome").html('来源:'+content.createBy); | ||||
$("#newContent").html(content.content); | $("#newContent").html(content.content); | ||||
if (document.body.scrollHeight > document.body.offsetHeight){ | |||||
document.getElementById('bottomInformation').style.position = 'relative'; | |||||
} | |||||
} | } | ||||
} | } | ||||
@@ -15,11 +15,19 @@ | |||||
.ql-align-center{ | .ql-align-center{ | ||||
text-align: center; | text-align: center; | ||||
} | } | ||||
body{ | |||||
overflow: auto; | |||||
background: #f4f4f4; | |||||
} | |||||
.bottomInformation{ | |||||
position: fixed; | |||||
bottom: 0; | |||||
} | |||||
</style> | </style> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<div class="main bg-f4" id="page"> | |||||
<div class="bg-f4" id="page"> | |||||
<div class="topBox"> | <div class="topBox"> | ||||
<div class="w-1200 boxMain"> | <div class="w-1200 boxMain"> | ||||
<div class="logoBox fl"> | <div class="logoBox fl"> | ||||
@@ -37,7 +45,7 @@ | |||||
<div class="topTab"> | <div class="topTab"> | ||||
<ul class="w-1200"> | <ul class="w-1200"> | ||||
<li><a href="../../index.html"><i></i>首页</a></li> | <li><a href="../../index.html"><i></i>首页</a></li> | ||||
<li><a href="workList.html">工作动态</a></li> | |||||
<li><a href="../workDynamics/workList.html">工作动态</a></li> | |||||
<li><a href="../noticeAnnouncement/noticeList.html">通知公告</a></li> | <li><a href="../noticeAnnouncement/noticeList.html">通知公告</a></li> | ||||
<li><a href="../schemeDisclosure/schemeList.html">方案公开</a></li> | <li><a href="../schemeDisclosure/schemeList.html">方案公开</a></li> | ||||
<li class="active"><a href="basisList.html">执法依据</a></li> | <li class="active"><a href="basisList.html">执法依据</a></li> | ||||
@@ -66,7 +74,7 @@ | |||||
<div style="height: 100px;"></div> | <div style="height: 100px;"></div> | ||||
<div class="bottomInformation"> | |||||
<div class="bottomInformation" id="bottomInformation"> | |||||
<div class="w-1200"> | <div class="w-1200"> | ||||
<p>技术支持:北京农燊高科信息技术有限公司<i></i>400-879-1505</p> | <p>技术支持:北京农燊高科信息技术有限公司<i></i>400-879-1505</p> | ||||
</div> | </div> | ||||
@@ -33,7 +33,7 @@ | |||||
<div class="topTab"> | <div class="topTab"> | ||||
<ul class="w-1200"> | <ul class="w-1200"> | ||||
<li><a href="../../index.html"><i></i>首页</a></li> | <li><a href="../../index.html"><i></i>首页</a></li> | ||||
<li><a href="javascript:void(0);">工作动态</a></li> | |||||
<li><a href="../workDynamics/workList.html">工作动态</a></li> | |||||
<li><a href="../noticeAnnouncement/noticeList.html">通知公告</a></li> | <li><a href="../noticeAnnouncement/noticeList.html">通知公告</a></li> | ||||
<li><a href="../schemeDisclosure/schemeList.html">方案公开</a></li> | <li><a href="../schemeDisclosure/schemeList.html">方案公开</a></li> | ||||
<li class="active"><a href="javascript:void(0);">执法依据</a></li> | <li class="active"><a href="javascript:void(0);">执法依据</a></li> | ||||
@@ -39,11 +39,15 @@ | |||||
font-size: 16px; | font-size: 16px; | ||||
margin: 0 auto; | margin: 0 auto; | ||||
} | } | ||||
body{ | |||||
overflow: auto; | |||||
background: #f4f4f4; | |||||
} | |||||
</style> | </style> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<div class="main bg-f4" id="page"> | |||||
<div class="bg-f4" id="page"> | |||||
<div class="topBox"> | <div class="topBox"> | ||||
<div class="w-1200 boxMain"> | <div class="w-1200 boxMain"> | ||||
<div class="logoBox fl"> | <div class="logoBox fl"> | ||||
@@ -133,11 +137,7 @@ | |||||
<div class="clear"></div> | <div class="clear"></div> | ||||
</div> | </div> | ||||
<div style="height: 100px;"></div> | |||||
<div class="bottomInformation"> | |||||
<div class="bottomInformation" id="bottomInformation"> | |||||
<div class="w-1200"> | <div class="w-1200"> | ||||
<p>技术支持:北京农燊高科信息技术有限公司<i></i>400-879-1505</p> | <p>技术支持:北京农燊高科信息技术有限公司<i></i>400-879-1505</p> | ||||
</div> | </div> | ||||
@@ -19,11 +19,19 @@ | |||||
padding: 15px 0; | padding: 15px 0; | ||||
width: 50%; | width: 50%; | ||||
} | } | ||||
body{ | |||||
overflow: auto; | |||||
background: #f4f4f4; | |||||
} | |||||
.bottomInformation{ | |||||
position: fixed; | |||||
bottom: 0; | |||||
} | |||||
</style> | </style> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<div class="main bg-f4" id="page"> | |||||
<div class="bg-f4" id="page"> | |||||
<div class="topBox"> | <div class="topBox"> | ||||
<div class="w-1200 boxMain"> | <div class="w-1200 boxMain"> | ||||
<div class="logoBox fl"> | <div class="logoBox fl"> | ||||
@@ -97,11 +105,7 @@ | |||||
<div id="newContent"></div> | <div id="newContent"></div> | ||||
</div> | </div> | ||||
<div style="height: 100px;"></div> | |||||
<div class="bottomInformation"> | |||||
<div class="bottomInformation" id="bottomInformation"> | |||||
<div class="w-1200"> | <div class="w-1200"> | ||||
<p>技术支持:北京农燊高科信息技术有限公司<i></i>400-879-1505</p> | <p>技术支持:北京农燊高科信息技术有限公司<i></i>400-879-1505</p> | ||||
</div> | </div> | ||||
@@ -15,11 +15,19 @@ | |||||
.ql-align-center{ | .ql-align-center{ | ||||
text-align: center; | text-align: center; | ||||
} | } | ||||
body{ | |||||
overflow: auto; | |||||
background: #f4f4f4; | |||||
} | |||||
.bottomInformation{ | |||||
position: fixed; | |||||
bottom: 0; | |||||
} | |||||
</style> | </style> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<div class="main bg-f4" id="page"> | |||||
<div class="bg-f4" id="page"> | |||||
<div class="topBox"> | <div class="topBox"> | ||||
<div class="w-1200 boxMain"> | <div class="w-1200 boxMain"> | ||||
<div class="logoBox fl"> | <div class="logoBox fl"> | ||||
@@ -66,7 +74,7 @@ | |||||
<div style="height: 100px;"></div> | <div style="height: 100px;"></div> | ||||
<div class="bottomInformation"> | |||||
<div class="bottomInformation" id="bottomInformation"> | |||||
<div class="w-1200"> | <div class="w-1200"> | ||||
<p>技术支持:北京农燊高科信息技术有限公司<i></i>400-879-1505</p> | <p>技术支持:北京农燊高科信息技术有限公司<i></i>400-879-1505</p> | ||||
</div> | </div> | ||||
@@ -46,11 +46,19 @@ | |||||
padding: 0px 10px; | padding: 0px 10px; | ||||
margin-bottom: 5px; | margin-bottom: 5px; | ||||
} | } | ||||
body{ | |||||
overflow: auto; | |||||
background: #f4f4f4; | |||||
} | |||||
.bottomInformation{ | |||||
position: fixed; | |||||
bottom: 0; | |||||
} | |||||
</style> | </style> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<div class="main bg-f4" id="page"> | |||||
<div class="bg-f4" id="page"> | |||||
<div class="topBox"> | <div class="topBox"> | ||||
<div class="w-1200 boxMain"> | <div class="w-1200 boxMain"> | ||||
<div class="logoBox fl"> | <div class="logoBox fl"> | ||||
@@ -175,7 +183,7 @@ | |||||
<div style="height: 100px;"></div> | <div style="height: 100px;"></div> | ||||
<div class="bottomInformation"> | |||||
<div class="bottomInformation" id="bottomInformation"> | |||||
<div class="w-1200"> | <div class="w-1200"> | ||||
<p>技术支持:北京农燊高科信息技术有限公司<i></i>400-879-1505</p> | <p>技术支持:北京农燊高科信息技术有限公司<i></i>400-879-1505</p> | ||||
</div> | </div> | ||||
@@ -15,11 +15,19 @@ | |||||
.ql-align-center{ | .ql-align-center{ | ||||
text-align: center; | text-align: center; | ||||
} | } | ||||
body{ | |||||
overflow: auto; | |||||
background: #f4f4f4; | |||||
} | |||||
.bottomInformation{ | |||||
position: fixed; | |||||
bottom: 0; | |||||
} | |||||
</style> | </style> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<div class="main bg-f4" id="page"> | |||||
<div class="bg-f4" id="page"> | |||||
<div class="topBox"> | <div class="topBox"> | ||||
<div class="w-1200 boxMain"> | <div class="w-1200 boxMain"> | ||||
<div class="logoBox fl"> | <div class="logoBox fl"> | ||||
@@ -64,7 +72,7 @@ | |||||
<div style="height: 100px;"></div> | <div style="height: 100px;"></div> | ||||
<div class="bottomInformation"> | |||||
<div class="bottomInformation" id="bottomInformation"> | |||||
<div class="w-1200"> | <div class="w-1200"> | ||||
<p>技术支持:北京农燊高科信息技术有限公司<i></i>400-879-1505</p> | <p>技术支持:北京农燊高科信息技术有限公司<i></i>400-879-1505</p> | ||||
</div> | </div> | ||||