样式优化

This commit is contained in:
xiongxiaoyang 2019-12-17 18:55:07 +08:00
parent 8fa0639efb
commit ca8d69874c
3 changed files with 11 additions and 6 deletions

View File

@ -361,7 +361,7 @@
position: fixed;
width: 100%;
left: 0px;
bottom: 50px;
bottom: 100px;
text-align: center;
}
@ -369,6 +369,7 @@
</style>
</head>
<body id="read">
<div id="content">
<input type="hidden" id="bookIdHidden" th:value="${bookContent.bookId}"/>
@ -445,7 +446,7 @@
</div>
</div>
<div th:replace="common/footer :: footer">
@ -482,7 +483,7 @@
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
$("#chaptercontent").css("min-height",($(window).height()-260)+"px");
$("#content").css("min-height",($(window).height()-60)+"px");
})();

View File

@ -114,6 +114,7 @@
</style>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
@ -140,6 +141,7 @@
</head>
<body>
<div id="content">
<ul class="tag-list clearfix" id="tagLi">
@ -179,7 +181,6 @@
</div>
</div>
</div>
@ -218,6 +219,7 @@
<!--
<div style="position: fixed;top:0px;left:0px;z-index:-100;opacity: 0" th:utext="${attacDivForSearch}"></div>
-->
</div>
<div th:replace="common/footer :: footer">
</div>
@ -228,6 +230,7 @@
<div th:replace="common/js :: js">
</div>
<script>
$("#content").css("min-height",($(window).height()-60)+"px");
function downloadFile() {
var fileUrl = '/book/download?bookId='+$("#bookIdHidden").val()+'&bookName='+$("#bookNamedHidden").val();

View File

@ -64,7 +64,7 @@
</head>
<body>
<div id="content">
<input type="hidden" id="bookIdHidden" th:value="${bookId}"/>
<div style="height: 50px;line-height: 50px;text-align: center" class="layui-header header header-doc layui-bg-cyan">
@ -95,7 +95,7 @@
</div>
</div>
<div th:replace="common/footer :: footer">
</div>
@ -104,6 +104,7 @@
<div th:replace="common/js :: js">
</div>
<script>
$("#content").css("min-height",($(window).height()-60)+"px");
$.get("/book/addVisit",{"bookId":$("#bookIdHidden").val()},function(){});
function toMyCollect(){
var token = localStorage.getItem("token");