help data
This commit is contained in:
@@ -13,6 +13,7 @@ import { TrackingComponent } from "../../components/tracking/tracking.component"
|
||||
import { FastrewardComponent } from "../../components/fastreward/fastreward.component";
|
||||
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||||
import {LatestMarketComponent} from "../../components/latest-market/latest-market.component";
|
||||
import {HelpListingComponent} from "../../components/help-listing/help-listing.component";
|
||||
|
||||
// @NgModule({
|
||||
// schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
@@ -25,7 +26,7 @@ import {LatestMarketComponent} from "../../components/latest-market/latest-marke
|
||||
IonicModule,
|
||||
HomePageRoutingModule
|
||||
],
|
||||
declarations: [HomePage,SuggestedlistComponent,FamilypendingComponent,TrackingComponent,FastrewardComponent,LatestMarketComponent],
|
||||
declarations: [HomePage,SuggestedlistComponent,FamilypendingComponent,TrackingComponent,FastrewardComponent,LatestMarketComponent,HelpListingComponent],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||
})
|
||||
export class HomePageModule { }
|
||||
|
||||
@@ -176,34 +176,7 @@
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
<ion-content class="ion-padding">
|
||||
|
||||
<ion-accordion-group>
|
||||
<ion-accordion value="first">
|
||||
<ion-item class="arcord_head" slot="header" color="light">
|
||||
<ion-label>What is an Offer</ion-label>
|
||||
</ion-item>
|
||||
<div class="ion-padding" slot="content">
|
||||
<!--
|
||||
<iframe width="100%" height="auto" src="https://www.youtube.com/embed/xZ4o180KFNk?si=zGuIgpfTb-Tc0o3H" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
|
||||
gg-->
|
||||
</div>
|
||||
</ion-accordion>
|
||||
<ion-accordion value="second">
|
||||
<ion-item class="arcord_head" slot="header" color="light">
|
||||
<ion-label>Family Account</ion-label>
|
||||
</ion-item>
|
||||
<div class="ion-padding" slot="content">Second Content</div>
|
||||
</ion-accordion>
|
||||
<ion-accordion value="third">
|
||||
<ion-item class="arcord_head" slot="header" color="light">
|
||||
<ion-label>Post a Job</ion-label>
|
||||
</ion-item>
|
||||
<div class="ion-padding" slot="content">Third Content</div>
|
||||
</ion-accordion>
|
||||
</ion-accordion-group>
|
||||
|
||||
|
||||
|
||||
<app-help-listing></app-help-listing>
|
||||
</ion-content>
|
||||
<ion-footer>
|
||||
<ion-grid style="background-color: lightgray;">
|
||||
|
||||
@@ -8,6 +8,7 @@ import { UserWalletService } from 'src/app/store/user-wallet.service';
|
||||
import { LocTrcService } from "../../services/loc-trc.service";
|
||||
import {MarketDataService} from "../../store/market-data.service";
|
||||
import {BannersDataService} from "../../store/banners-data.service";
|
||||
import {HelpDataService} from "../../store/help-data.service";
|
||||
|
||||
//import * as stream from "stream";
|
||||
|
||||
@@ -38,7 +39,8 @@ export class HomePage implements OnInit {
|
||||
public userWalletService: UserWalletService,
|
||||
private locTrcService:LocTrcService,
|
||||
public marketDataService:MarketDataService,
|
||||
public bannersDataService:BannersDataService
|
||||
public bannersDataService:BannersDataService,
|
||||
public helpDataService:HelpDataService
|
||||
) {
|
||||
this.accountType = sessionDataProviderService.account_type;
|
||||
this.firstname = this.sessionDataProviderService.firstname;
|
||||
@@ -277,6 +279,8 @@ allBlog(){
|
||||
|
||||
isModalOpen:boolean=false;
|
||||
onHelp() {
|
||||
this.helpDataService.getHelpData();
|
||||
|
||||
this.isModalOpen = true;
|
||||
}
|
||||
|
||||
@@ -299,6 +303,4 @@ allBlog(){
|
||||
onSearch() {
|
||||
this.router.navigate(['search']);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -76,6 +76,8 @@ ionic generate page jobmessage
|
||||
|
||||
|
||||
ionic generate component latest-market
|
||||
ionic generate component help-listing
|
||||
|
||||
ionic generate service tasks-data
|
||||
ionic generate service banners-data
|
||||
ionic generate service usersoffers-data
|
||||
|
||||
@@ -23,8 +23,6 @@ export class HelpDataService {
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
this.wrenchService.helpData(reqData).subscribe(
|
||||
helpDataTotalResult => {
|
||||
this.helpDataTotalResult = helpDataTotalResult;
|
||||
|
||||
Reference in New Issue
Block a user