bank lists
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
<div class="boxed_contents">
|
||||
<div class="flex">
|
||||
<ion-label class="bold_text">Card & Accounts</ion-label>
|
||||
<!-- <ion-label class="bold_text">Card & Accounts</ion-label>-->
|
||||
<!-- <ion-icon slot="end" name="bookmark-outline" color="primary"></ion-icon>-->
|
||||
</div>
|
||||
|
||||
@@ -73,27 +73,23 @@
|
||||
</div>
|
||||
|
||||
<div *ngIf="tabs =='accounts'" class="lesson">
|
||||
<!-- <div class="flex">-->
|
||||
<!-- <ion-label class="bold">Most Popular Courses</ion-label>-->
|
||||
<!-- <ion-label class="color">See all</ion-label>-->
|
||||
<!-- </div>-->
|
||||
|
||||
<div class="sec">
|
||||
<ion-label class="grey">Section 1 - Introduction</ion-label>
|
||||
<ion-label class="color">15 min</ion-label>
|
||||
<!-- <ion-label class="grey">Section 1 - Introduction</ion-label>-->
|
||||
<!-- <ion-label class="color">15 min</ion-label>-->
|
||||
</div>
|
||||
|
||||
<div class="video" *ngFor="let item of [1,2]">
|
||||
<div class="video" *ngFor="let item of myRecipientsData">
|
||||
<div class="left">
|
||||
<div class="bg_image men_image" [style.backgroundImage]="'url(assets/images/line.png)'"></div>
|
||||
<div class="bg_image men_image" [style.backgroundImage]="'url(assets/images/cards/bank.png)'"></div>
|
||||
|
||||
<div class="text">
|
||||
<ion-label class="bold_text">Why Using Figma ?</ion-label>
|
||||
<ion-label class="grey_text">10 mins</ion-label>
|
||||
<ion-label class="bold_text">{{item.recipient}}</ion-label>
|
||||
<ion-label class="grey_text">{{item.added | date}}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<ion-icon name="lock-closed-outline"></ion-icon>
|
||||
<ion-icon name="trash-outline" color="danger"></ion-icon>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ export class PaymentPage implements OnInit {
|
||||
|
||||
ngOnInit() {
|
||||
this.getUsersCardsList();
|
||||
this.getMyRecipientsData();
|
||||
}
|
||||
|
||||
onAddCard() {
|
||||
@@ -59,4 +60,27 @@ export class PaymentPage implements OnInit {
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
myRecipientsTotalData:any;
|
||||
myRecipientsData:any;
|
||||
getMyRecipientsData(){
|
||||
this.usrData = {action:11175,
|
||||
member_id: this.sessionDataProviderService.member_id,
|
||||
uid: this.sessionDataProviderService.member_uid,
|
||||
sessionid: this.sessionDataProviderService.session ,
|
||||
limit:20, page:1,
|
||||
offset: 0}
|
||||
|
||||
this.wrenchService.recipientAccount(this.usrData).subscribe(
|
||||
myRecipientsTotalData => {
|
||||
this.myRecipientsTotalData = myRecipientsTotalData;
|
||||
console.log("myRecipientsTotalData RETURN->", this.myRecipientsTotalData);
|
||||
this.myRecipientsData = this.myRecipientsTotalData.result_list;
|
||||
// debugger;
|
||||
console.log("myRecipientsData RETURN DATA->", this.myRecipientsData);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
|
||||
<ion-item lines="none" (click)="onPayment()">
|
||||
<ion-icon name="wallet-outline" color="dark"></ion-icon>
|
||||
<ion-label>Payment & Accounts</ion-label>
|
||||
<ion-label>Card & Accounts</ion-label>
|
||||
<ion-icon name="chevron-forward-outline" color="medium"></ion-icon>
|
||||
</ion-item>
|
||||
|
||||
|
||||
@@ -111,6 +111,8 @@ export class WrenchService {
|
||||
getusersCardList(usrData){
|
||||
return this.getPostData('paylistcard',usrData);
|
||||
}
|
||||
|
||||
//recipients
|
||||
getHomeBanners(usrData){
|
||||
return this.getPostData('homebanners',usrData);
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 153 KiB |
Reference in New Issue
Block a user