|
@@ -139,8 +139,9 @@ export class HomeComponent implements OnInit {
|
|
|
query.equalTo('company', this.aiServ.company);
|
|
|
query.descending('index');
|
|
|
query.equalTo('isEnabled', true);
|
|
|
- query.equalTo('type', 'home');
|
|
|
+ // query.equalTo('type', 'home');
|
|
|
query.notEqualTo('isDeleted', true);
|
|
|
+ query.containedIn('type', ['home', 'userNotice']);
|
|
|
let banner = await query.find();
|
|
|
this.banner = banner;
|
|
|
}
|
|
@@ -327,7 +328,7 @@ export class HomeComponent implements OnInit {
|
|
|
this.router.navigate(['live/search']);
|
|
|
}
|
|
|
toUrl(url: string) {
|
|
|
- url && this.router.navigate([url]);
|
|
|
+ url && this.router.navigateByUrl(url);
|
|
|
}
|
|
|
|
|
|
changeCityCancel(type: string) {
|