Browse Source

完善样式问题

star7th 9 years ago
parent
commit
723a4899a5

+ 5 - 1
Application/Home/View/Page/edit.html

@@ -24,6 +24,10 @@
     width: 120px;
     margin-right: 20px;
 }
+.markdown-body table thead tr{
+  background-color:#08c;
+  color:#fff;
+}
 </style>
 <div id="layout">
     <!-- 顶部条 -->
@@ -107,4 +111,4 @@
 <script src="__PUBLIC__/editor.md/plugins/table-dialog/table-dialog.js"></script>
 <script src="__PUBLIC__/editor.md/plugins/reference-link-dialog/reference-link-dialog.js"></script>
 
-<script src="__PUBLIC__/js/page/edit.js"></script>
+<script src="__PUBLIC__/js/page/edit.js?v=1.1"></script>

+ 1 - 0
Public/bootstrap/js/bootstrap.min.js

@@ -9,6 +9,7 @@
 $(function(){
 	
 	$("table tr").eq(0).css({"background-color":"#08c","color":"#fff"});
+	$("table thead tr").css({"background-color":"#08c","color":"#fff"});
 	$("table tr").each(function(){
 		if($(this).find("td").eq(1).html()=="object[]")
 		{

+ 1 - 1
Public/js/page/edit.js

@@ -231,4 +231,4 @@ function Change(data)
 	}
 }
 
-//{"Result":[{"name":"test1","list":{"pros":"prosfsf","ppps":{"images":[{"22":"22"}]}}}]}
+//{"Result":[{"name":"test1","list":{"pros":"prosfsf","ppps":{"images":[{"22":"22"}]}}}]}