Просмотр исходного кода

搜索窗体优化及工具栏边线

Chente 8 лет назад
Родитель
Сommit
7d15fed378
3 измененных файлов с 6 добавлено и 8 удалено
  1. 3 5
      css/main.css
  2. 1 1
      js/global.js
  3. 2 2
      zaojiashu.html

+ 3 - 5
css/main.css

@@ -71,6 +71,9 @@ body {
     margin-left: 29px;
     background: #fff
 }
+.toolsbar {
+  border-bottom: 1px solid #ccc
+}
 .tools-btn {
     height: 30px;
     line-height: 30px;
@@ -79,7 +82,6 @@ body {
     background: #f7f7f9;
 }
 .main-side {
-    border-top: 1px solid #ccc;
     border-left: 1px solid #ccc;
     overflow-y: hidden;
 }
@@ -279,7 +281,3 @@ body {
   background:#fff;
   border-bottom:1px solid #ddd
 }
-.side-search-box .result-box{
-  height:300px;
-  overflow: auto;
-}

+ 1 - 1
js/global.js

@@ -8,7 +8,7 @@ function autoFlashHeight(){
     $(".main-data-side-s").height($(window).height()-headerHeight-toolsbarHeight-sidebarToolsBarHeight-202);
     $(".main-data-top").height($(window).height()-headerHeight-toolsbarHeight-bottomContentHeight-1);
     $(".main-data-full").height($(window).height()-headerHeight-toolsbarHeight-1);
-    $(".main-data-side-search").height($(window).height()-headerHeight-toolsbarHeight-80);
+    $(".main-data-side-search").height($(window).height()-headerHeight-toolsbarHeight-64);
     $(".side-content").height($(window).height()-headerHeight );
     $(".poj-list").height($(window).height()-headerHeight-toolsbarHeight);
     $(".form-list").height($(window).height()-headerHeight-50 );

+ 2 - 2
zaojiashu.html

@@ -2343,11 +2343,11 @@
                                     </span>
                                   </div>
                                   <!--搜索结果窗体-->
-                                  <div class="side-search-box col-12 p-2">
+                                  <div class="side-search-box col-12 p-0">
                                     <div class="d-flex justify-content-between">
                                       <span>搜索结果:5</span><a title="关闭搜索" class="btn btn-link btn-sm" href="#"><i class="fa fa-remove" aria-hidden="true"></i></a>
                                     </div>
-                                    <div class="result-box w-100 main-data-side-search">
+                                    <div class="w-100 main-data-side-search">
                                       <table class="table">
                                         <thead><tr><th></th><th>编号</th><th>名称</th><th>单位</th><th>基价</th></tr></thead>
                                         <tbody>