浏览代码

页面样式修改

seimin 3 年之前
父节点
当前提交
b19a4d0dac
共有 2 个文件被更改,包括 3 次插入8 次删除
  1. 3 3
      src/app/views/home/home.component.html
  2. 0 5
      src/app/views/home/home.component.ts

+ 3 - 3
src/app/views/home/home.component.html

@@ -160,8 +160,8 @@
160
             </div>
160
             </div>
161
             <div class="tableBox">
161
             <div class="tableBox">
162
               <div class="errorTabl">
162
               <div class="errorTabl">
163
-                <overlay-scrollbars #osComponentRef3  class="box">
164
-                  <nz-table class="errorTable" [nzData]="abOrders" nzSize="small" [nzShowPagination]="false"
163
+                <div class="box">
164
+                  <nz-table class="errorTable" [nzData]="abOrders" nzSize="small" [nzScroll]="{ y: '190px' }" [nzShowPagination]="false"
165
                     [nzLoading]="loading2">
165
                     [nzLoading]="loading2">
166
                     <thead>
166
                     <thead>
167
                       <tr class="thead">
167
                       <tr class="thead">
@@ -182,7 +182,7 @@
182
                       </tr>
182
                       </tr>
183
                     </tbody>
183
                     </tbody>
184
                   </nz-table>
184
                   </nz-table>
185
-                </overlay-scrollbars>
185
+                </div>
186
               </div>
186
               </div>
187
             </div>
187
             </div>
188
           </div>
188
           </div>

+ 0 - 5
src/app/views/home/home.component.ts

@@ -25,11 +25,6 @@ export class HomeComponent implements OnInit {
25
     static: false,
25
     static: false,
26
   })
26
   })
27
   osComponentRef2: OverlayScrollbarsComponent;
27
   osComponentRef2: OverlayScrollbarsComponent;
28
-  @ViewChild("osComponentRef3", {
29
-    read: OverlayScrollbarsComponent,
30
-    static: false,
31
-  })
32
-  osComponentRef3: OverlayScrollbarsComponent;
33
   constructor(
28
   constructor(
34
     private fb: FormBuilder,
29
     private fb: FormBuilder,
35
     private router: Router,
30
     private router: Router,