Browse Source

table表头修改跟spreadjs一样颜色

table表头修改跟spreadjs一样颜色
chente 5 years ago
parent
commit
f772276fd8
2 changed files with 7 additions and 4 deletions
  1. 3 0
      css/main.css
  2. 4 4
      project-management.html

+ 3 - 0
css/main.css

@@ -60,6 +60,9 @@ font-size: .875rem;
  padding:0rem .5rem;
  font-size:.875rem;
 }
+.table-sc thead tr{
+  background-color: #f1f1f1
+}
 /*自定义css*/
 .login-body,.login-html{
   height:100%;

+ 4 - 4
project-management.html

@@ -240,7 +240,7 @@
                 <!--建设项目汇总-->
                 <div class="p-3">
                     <legend>船体生产车间 汇总</legend>
-                    <table class="table table-bordered table-hover table-sm">
+                    <table class="table table-bordered table-hover table-sm table-sc">
                         <thead>
                             <tr>
                                 <th rowspan="2"></th>
@@ -308,7 +308,7 @@
                     <div class="row">
                       <div class="col-md-6">
                         <legend>单价文件</legend>
-                        <table class="table table-bordered table-hover table-sm">
+                        <table class="table table-bordered table-hover table-sm table-sc">
                           <thead><th></th><th>名称</th><th width="50">使用</th></thead>
                           <tbody>
                             <tr><td>1</td><td>A单价文件<p><a class="mr-1" href="javacript:void(0);" data-toggle="modal" data-target="#del-wj">删除</a><a href="javacript:void(0);" data-toggle="modal" data-target="#del-wj">重命名</a></p></td><td class="text-center"><a href="" id="pop-use">3</a></td></tr>
@@ -331,7 +331,7 @@
                       </div>
                       <div class="col-md-6">
                         <legend>费率文件</legend>
-                        <table class="table table-bordered table-hover table-sm">
+                        <table class="table table-bordered table-hover table-sm table-sc">
                           <thead><th></th><th>名称</th><th width="50">使用</th></thead>
                           <tbody>
                             <tr><td>1</td><td>A费率文件</td><td class="text-center"><a href="" id="pop-use">1</a></td></tr>
@@ -345,7 +345,7 @@
                 <!--单项工程汇总-->
                 <div class="p-3">
                     <legend>6号生产车间 汇总</legend>
-                    <table class="table table-bordered table-hover table-sm">
+                    <table class="table table-bordered table-hover table-sm table-sc">
                         <thead>
                             <tr>
                                 <th rowspan="2"></th>