|
发表于 2021-8-2 19:11:53
|
显示全部楼层
经典门户首页去掉div为footer后底部空白去掉
(1)修改 /UI/portal/system/css/screen.css
.clearfix:after, .container:after {content:".";display:block;height:0;clear:both;visibility:hidden;max-height:0;}
改为
.clearfix:after, .container:after {content:" ";display:block;height:0;clear:both;visibility:hidden;max-height:0;}
(2)修改 /UI/portal/index.w
在<head>中<script>标签前插入
<style>
#content {
padding-bottom: 0;
}
</style>
(3)修改 /UI/portal/index.w
<div id="footer">
改为
<div id="footer" style="display: none;">
(4)修改 /UI/portal/x5/js/ext.js
var h = $(window).height() - (120 + parseInt($("#header").css("top").match(/-?\d+/)));
改为
var h = $(window).height() - (85 + parseInt($("#header").css("top").match(/-?\d+/)));
$(".funcIFrame", ".funcOwner").height(Math.max($("#functree_owner").height(),$(window).height(),200)-(121+parseInt($("#header").css("top").match(/-?\d+/))));
改为
$(".funcIFrame", ".funcOwner").height(Math.max($("#functree_owner").height(),$(window).height(),200)-(91+parseInt($("#header").css("top").match(/-?\d+/))));
(5)修改 /UI/portal/system/js/portal.js
$(".funcIFrame",target).height(Math.max($("#functree_owner").height(),$(window).height(),200)-(121+parseInt($("#header").css("top").match(/-?\d+/))));
改为
$(".funcIFrame",target).height(Math.max($("#functree_owner").height(),$(window).height(),200)-(91+parseInt($("#header").css("top").match(/-?\d+/))));
|
|