Jelajahi Sumber

统一添加按钮格式

zhuojiaxuan 3 minggu lalu
induk
melakukan
3d998e67b3
1 mengubah file dengan 3 tambahan dan 6 penghapusan
  1. 3 6
      web/avss_index.html

+ 3 - 6
web/avss_index.html

@@ -139,16 +139,13 @@
         <section class="tab-item-1" style="height: 100%;width: 100%;display: block">
             <div class="container-fluid">
                 <div class="row">
-                    <div id="searchCheckBox" class="col-md-6"></div>
-                    <div class="col-md-6" style="text-align: right;">
+                    <div id="searchCheckBox" class="col-md-8"></div>
+                    <div class="col-md-4">
                         <input type="text" class="form-group form-control" id="searchInput"
                                style="width: 300px;display: inline"/>
                         <button class="btn btn-danger form-inline" style="margin-bottom: 5px"
                                 onclick="searchKeyAction()">搜索
                         </button>
-                        <button class="btn btn-success form-inline" style="margin-bottom: 5px; margin-left: 10px;"
-                                onclick="addRow()">添加
-                        </button>
                     </div>
                 </div>
             </div>
@@ -383,7 +380,7 @@
         // body部详细语言
         let body_data = data['lw_dict'];
         lw_data = body_data
-        let head_html = '<tr><th width="180px"><a href="javascript:void(0);" onclick=""></a></th><th>key</th>';
+        let head_html = '<tr><th width="180px"><a href="javascript:void(0);" onclick="addRow()">add</a></th><th>key</th>';
         let search_tab = '<label><input type="radio" name="optionsRadios" value="key" checked>key</label>'
 
         //头部标签添加