market message
This commit is contained in:
@@ -65,8 +65,6 @@
|
||||
<div *ngIf="tabs =='about'" class="about">
|
||||
<div style="padding: 13px; width: 100%;">
|
||||
<ion-label class="head_text">{{jobData.offer_code}}</ion-label>
|
||||
|
||||
<!-- <div class="mentor" (click)="onMentor()">-->
|
||||
<div class="mentor">
|
||||
<div class="left">
|
||||
<div class="bg_image men_image" [style.backgroundImage]="'url('+session_image_server+'/'+curr_session+'/job/'+jobData.job_uid+')'"></div>
|
||||
@@ -149,6 +147,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<app-market-messages></app-market-messages>
|
||||
<app-market-messages [jobData]="jobData"></app-market-messages>
|
||||
</ion-content>
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ export class MarketdetailPage implements OnInit {
|
||||
tabs = 'lesson';
|
||||
session_image_server:string='';
|
||||
curr_session:string='';
|
||||
offer_code:string='';
|
||||
|
||||
jobData: any;
|
||||
constructor(
|
||||
@@ -28,12 +29,13 @@ export class MarketdetailPage implements OnInit {
|
||||
) {
|
||||
|
||||
this.jobData = this.router.getCurrentNavigation().extras.state;
|
||||
// console.log("XXXXX 1", this.router.getCurrentNavigation().extras);
|
||||
console.log("XXXXX 1", this.router.getCurrentNavigation().extras);
|
||||
// console.log("XXXXX 2", this.router.getCurrentNavigation().extras.state);
|
||||
//console.log("XXXXX 3", this.router.getCurrentNavigation().extras.state.ID);
|
||||
if (this.jobData==undefined){
|
||||
this.onBack();
|
||||
}
|
||||
this.offer_code = this.jobData.offer_code;
|
||||
}
|
||||
|
||||
interestStatus: boolean= false;
|
||||
@@ -122,6 +124,7 @@ export class MarketdetailPage implements OnInit {
|
||||
this.yourmessage='';
|
||||
setTimeout(()=>{
|
||||
this.interest_msg_status='';
|
||||
dispatchEvent(new Event("app-market-messages-refresh"));
|
||||
},3000);
|
||||
this.waitingInterestService.getInterestList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user