Commit ce22a085 authored by prumde's avatar prumde

Updated ecm-search-result.component.html and ecm-search-result.component.ts


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174515 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3d5c801c
......@@ -20,7 +20,7 @@
<md-card class="product-detail-card row">
<div class="ecm-error-info row">
<div class="small-12 medium-6 large-6 columns no-result-found-icon">
<img class="no-result-img" src="/ecm/assets/images/svg/No search found.svg">
<img class="no-result-img" src="{{hostUrl}}/ecm/assets/images/svg/No search found.svg">
</div>
<div class="small-12 medium-6 large-6 columns no-result-details">
......
......@@ -7,6 +7,8 @@ import { Item } from '../../ecm-model/product-model';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/catch';
import { Observable } from 'rxjs/Observable';
import { HostUrlService } from '../../host-url.service';
@Component({
selector: 'ecm-search-result',
......@@ -33,12 +35,15 @@ export class EcmSearchResultComponent implements OnInit {
color = 'primary';
mode = 'indeterminate';
spinnerValue = 50;
hostUrl;
@ViewChild('page') page;
constructor(private search_service: SearchService, private http:Http, private route:ActivatedRoute) {}
constructor(public hostUrlService : HostUrlService,private search_service: SearchService, private http:Http, private route:ActivatedRoute) {
this.hostUrl=this.hostUrlService.hostUrl;
}
ngOnInit() {
console.log( 'ECMSearch onInit hostUrl' , this.hostUrl);
this.myCity = localStorage.getItem('mycity');
if(this.myCity == null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment