Browse Source

标题遮挡修改;规章制度表格样式调整;其他一些优化

duxh 2 years ago
parent
commit
1b0bd735ed
4 changed files with 144 additions and 142 deletions
  1. 2 2
      bookdetail.html
  2. 4 2
      css/main.css
  3. 137 137
      data/data47.json
  4. 1 1
      js/bookdetail.js

+ 2 - 2
bookdetail.html

@@ -45,9 +45,9 @@
 		</div>
 		<!-- 主体内容 -->
 		<header id="header" class="top_mulu_box colorStyle bgStyle">
-			<div class="top_left" style="cursor: pointer;">
+			<div class="top_left" style="cursor: pointer;"  id="topMulu">
 				<div class="top_left_icon" id="topLeftIcon"></div>
-				<div class="top_left_text" id="topMulu">目录</div>
+				<div class="top_left_text">目录</div>
 			</div>
 			<div class="top_center">
 				<div class="top_center_text" id="ChapterTitle"></div>

+ 4 - 2
css/main.css

@@ -337,7 +337,7 @@ p {
 	position: fixed;
 	top: 0px;
 	width: 100%;
-	height: 4em;
+	height: 3.5rem;
 	z-index: 100;
 }
 
@@ -377,7 +377,7 @@ p {
 	right: 0;
 	left: 0;
 	width: 100%;
-	height: 4em;
+	height: 3.5rem;
 	padding: 0 0.625rem;
 	border-bottom: 0;
 	display: flex;
@@ -407,6 +407,7 @@ p {
 .top_center {
 	justify-content: center;
 	width: calc(100% - 4.5rem * 2);
+	height: 3.5rem;
 }
 
 .top_left_icon {
@@ -426,6 +427,7 @@ p {
 	white-space: nowrap;
 	overflow: hidden;
 	text-overflow: ellipsis;
+	line-height: 3.5rem;
 }
 
 /*-----------顶部--目录 end-----------*/

File diff suppressed because it is too large
+ 137 - 137
data/data47.json


+ 1 - 1
js/bookdetail.js

@@ -432,7 +432,7 @@ function EventHandler() { //业务事件处理层
 		muluShow("top")
 	});
 	//点击目录事件--底部导航
-	$("#icon_mulu").click(function() {
+	$(".btn-mulu").click(function() {
 		muluShow()
 	});
 	var muluShow = function(type) {

Some files were not shown because too many files changed in this diff