样式优化

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; position: fixed;
width: 100%; width: 100%;
left: 0px; left: 0px;
bottom: 50px; bottom: 100px;
text-align: center; text-align: center;
} }
@ -369,6 +369,7 @@
</style> </style>
</head> </head>
<body id="read"> <body id="read">
<div id="content">
<input type="hidden" id="bookIdHidden" th:value="${bookContent.bookId}"/> <input type="hidden" id="bookIdHidden" th:value="${bookContent.bookId}"/>
@ -445,7 +446,7 @@
</div> </div>
</div>
<div th:replace="common/footer :: footer"> <div th:replace="common/footer :: footer">
@ -482,7 +483,7 @@
var s = document.getElementsByTagName("script")[0]; var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s); 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> </style>
<script> <script>
var _hmt = _hmt || []; var _hmt = _hmt || [];
(function() { (function() {
var hm = document.createElement("script"); var hm = document.createElement("script");
@ -140,6 +141,7 @@
</head> </head>
<body> <body>
<div id="content">
<ul class="tag-list clearfix" id="tagLi"> <ul class="tag-list clearfix" id="tagLi">
@ -179,7 +181,6 @@
</div> </div>
</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 style="position: fixed;top:0px;left:0px;z-index:-100;opacity: 0" th:utext="${attacDivForSearch}"></div>
--> -->
</div>
<div th:replace="common/footer :: footer"> <div th:replace="common/footer :: footer">
</div> </div>
@ -228,6 +230,7 @@
<div th:replace="common/js :: js"> <div th:replace="common/js :: js">
</div> </div>
<script> <script>
$("#content").css("min-height",($(window).height()-60)+"px");
function downloadFile() { function downloadFile() {
var fileUrl = '/book/download?bookId='+$("#bookIdHidden").val()+'&bookName='+$("#bookNamedHidden").val(); var fileUrl = '/book/download?bookId='+$("#bookIdHidden").val()+'&bookName='+$("#bookNamedHidden").val();

View File

@ -64,7 +64,7 @@
</head> </head>
<body> <body>
<div id="content">
<input type="hidden" id="bookIdHidden" th:value="${bookId}"/> <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"> <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>
<div th:replace="common/footer :: footer"> <div th:replace="common/footer :: footer">
</div> </div>
@ -104,6 +104,7 @@
<div th:replace="common/js :: js"> <div th:replace="common/js :: js">
</div> </div>
<script> <script>
$("#content").css("min-height",($(window).height()-60)+"px");
$.get("/book/addVisit",{"bookId":$("#bookIdHidden").val()},function(){}); $.get("/book/addVisit",{"bookId":$("#bookIdHidden").val()},function(){});
function toMyCollect(){ function toMyCollect(){
var token = localStorage.getItem("token"); var token = localStorage.getItem("token");