mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-12-01 19:28:14 +08:00
style: robot modal
This commit is contained in:
parent
5777ed10b2
commit
dcee61475c
@ -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();
|
||||
|
@ -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: `
|
||||
|
Loading…
Reference in New Issue
Block a user