refer points
This commit is contained in:
@@ -18,8 +18,28 @@
|
||||
<ion-button style="background-color: aliceblue; color: black; font-size: 14px; font-weight: bolder;" (click)="setTabMode(200);">From Contacts</ion-button>
|
||||
<ion-button style="background-color: #ebe4ee; color: black; font-size: 14px; font-weight: bolder;" (click)="setTabMode(300);">Links</ion-button>
|
||||
</ion-buttons>
|
||||
|
||||
<ion-buttons slot="end">
|
||||
<ion-button style="background-color: #ebe4ee; color: black; font-size: 14px; font-weight: bolder;" (click)="setTabMode(400);">Points</ion-button>
|
||||
</ion-buttons>
|
||||
</ion-toolbar>
|
||||
|
||||
<div *ngIf="tabMode == 400 " class="lesson">
|
||||
<div class="ion-padding" slot="content" style="background-color: white; padding: 5px; min-height: 150px;">
|
||||
<div style="margin-top: 10px; background-color: #fcf7ee;
|
||||
font-size: 40px;
|
||||
font-weight: bolder;
|
||||
text-align: center;
|
||||
border-radius: 10px;
|
||||
padding: 5px">
|
||||
Points : {{refer_points}}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div *ngIf="tabMode == 100 " class="lesson">
|
||||
<div class="ion-padding" slot="content" style="background-color: white; padding: 5px">
|
||||
<div style="margin-top: 10px; background-color: #fcf7ee; border-radius: 10px; padding: 5px">
|
||||
|
||||
@@ -19,6 +19,7 @@ export class InvitePage implements OnInit {
|
||||
@ViewChild('email') email;
|
||||
tabs = 'refer';
|
||||
refer_link:string = '';
|
||||
refer_points:number = 0;
|
||||
constructor(
|
||||
private navctr: NavController,
|
||||
private router: Router,
|
||||
@@ -29,6 +30,7 @@ export class InvitePage implements OnInit {
|
||||
private loadingCtrl: LoadingController,
|
||||
) {
|
||||
this.refer_link = this.sessionDataProviderService.refer_link;
|
||||
this.refer_points = this.sessionDataProviderService.refer_points;
|
||||
}
|
||||
|
||||
referSendData: {
|
||||
|
||||
@@ -99,6 +99,7 @@ export class SessionDataProviderService {
|
||||
account_pref:string="PREF04";
|
||||
refer_link:string="";
|
||||
generative_types:any=[];
|
||||
refer_points:number=0;
|
||||
|
||||
session_contructed:boolean = false;
|
||||
|
||||
@@ -235,7 +236,7 @@ export class SessionDataProviderService {
|
||||
this.session_contructed = true;
|
||||
this.account_pref = loginResult.account_pref;
|
||||
this.refer_link = loginResult.refer_link;
|
||||
|
||||
this.refer_points = loginResult.refer_points;
|
||||
this.parent_uid = loginResult.parent_uid != undefined ? loginResult.parent_uid: '';
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user