Browse Source

推荐教材加载等待效果

cehn 1 month ago
parent
commit
66a256cc73

+ 2 - 0
projects/textbook/src/modules/nav-province-contact/submitted/export-list/export-list.component.scss

@@ -16,6 +16,8 @@
   align-items: center;
   justify-content: space-between;
   padding: 0 10px;
+  z-index: 9;
+  background: white;
   .tips{
     font-family: PingFang SC;
     font-size: 16px;

+ 2 - 0
projects/textbook/src/modules/nav-province-contact/submitted/export-list/export-list.component.ts

@@ -49,8 +49,10 @@ export class ExportListComponent implements OnInit {
   }
   async onChange(type: string) {
     if (type == 'next') {
+      this.textbook.showLoading = true;
       if(!await this.submitted()) return
       this.change.emit('next');
+      this.textbook.showLoading = false;
     } else {
       this.change.emit('pre');
     }