Skip to content

Commit

Permalink
style: robot modal
Browse files Browse the repository at this point in the history
  • Loading branch information
scarqin committed Mar 11, 2023
1 parent 5777ed1 commit dcee614
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class NpsMaskComponent implements OnInit {
*
* In development mode,it will show immediately
*/
duration = APP_CONFIG.production ? 30 : 0;
duration = APP_CONFIG.production ? 60 : 0;
constructor(private store: StoreService) {}
ngOnInit(): void {
this.bindUserID();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ type messageItem = {
imports: [StarMotivationComponent, CommonModule, EoNgButtonModule, ChatRobotModule],
animations: [
trigger('slideInOut', [
transition(':enter', [style({ transform: 'translateX(100%)' }), animate('300ms ease-in', style({ transform: 'translateX(0)' }))]),
transition(':leave', [animate('300ms ease-in', style({ transform: 'translateX(100%)' }))])
transition(':enter', [
style({ transform: 'translateY(100%) translateX(100%)' }),
animate('300ms ease-in', style({ transform: 'translatY(0) translateX(0)' }))
]),
transition(':leave', [animate('300ms ease-in', style({ transform: 'translateX(100%) translateY(100%)' }))])
])
],
template: `
Expand Down

0 comments on commit dcee614

Please sign in to comment.