Kaynağa Gözat

页面样式修改

seimin 3 yıl önce
ebeveyn
işleme
b19a4d0dac

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

@@ -160,8 +160,8 @@
160 160
             </div>
161 161
             <div class="tableBox">
162 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 165
                     [nzLoading]="loading2">
166 166
                     <thead>
167 167
                       <tr class="thead">
@@ -182,7 +182,7 @@
182 182
                       </tr>
183 183
                     </tbody>
184 184
                   </nz-table>
185
-                </overlay-scrollbars>
185
+                </div>
186 186
               </div>
187 187
             </div>
188 188
           </div>

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

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