|
@@ -14,7 +14,7 @@
|
|
<ion-card-header>
|
|
<ion-card-header>
|
|
<ion-card-title>
|
|
<ion-card-title>
|
|
<ion-avatar style="width: 80px; height: 80px; margin-left: 39%;">
|
|
<ion-avatar style="width: 80px; height: 80px; margin-left: 39%;">
|
|
- <img src="/assets/img/man.jpg" alt="头像">
|
|
|
|
|
|
+ <img src="{{ linkman?.get('user')?.get('avatar') }}" alt="头像">
|
|
</ion-avatar>
|
|
</ion-avatar>
|
|
</ion-card-title>
|
|
</ion-card-title>
|
|
</ion-card-header>
|
|
</ion-card-header>
|
|
@@ -24,16 +24,16 @@
|
|
<ion-list style="margin: 15px;">
|
|
<ion-list style="margin: 15px;">
|
|
<ion-item button (click)="editProfile('name')">
|
|
<ion-item button (click)="editProfile('name')">
|
|
<ion-label>姓名</ion-label>
|
|
<ion-label>姓名</ion-label>
|
|
- <ion-note slot="end">{{ profile.name }}</ion-note>
|
|
|
|
|
|
+ <ion-note slot="end">{{ linkman?.get('user')?.get('username') }}</ion-note>
|
|
</ion-item>
|
|
</ion-item>
|
|
<ion-item button (click)="editProfile('birthday')">
|
|
<ion-item button (click)="editProfile('birthday')">
|
|
<ion-label>生日</ion-label>
|
|
<ion-label>生日</ion-label>
|
|
- <ion-note slot="end">{{ profile.birthday | date }}</ion-note>
|
|
|
|
|
|
+ <ion-note slot="end">{{ linkman?.get('user')?.get('birthday')|date:'yyyy-MM-dd' }}</ion-note>
|
|
</ion-item>
|
|
</ion-item>
|
|
|
|
|
|
<ion-item button (click)="editProfile('relationship')">
|
|
<ion-item button (click)="editProfile('relationship')">
|
|
<ion-label>与TA的关系</ion-label>
|
|
<ion-label>与TA的关系</ion-label>
|
|
- <ion-note slot="end">{{ profile.relationship }}</ion-note>
|
|
|
|
|
|
+ <ion-note slot="end">{{ profile?.relationship }}</ion-note>
|
|
</ion-item>
|
|
</ion-item>
|
|
<ion-item>
|
|
<ion-item>
|
|
<ion-label>性别</ion-label>
|
|
<ion-label>性别</ion-label>
|
|
@@ -45,7 +45,7 @@
|
|
</ion-item>
|
|
</ion-item>
|
|
<ion-item button (click)="editProfile('contact')">
|
|
<ion-item button (click)="editProfile('contact')">
|
|
<ion-label>联系方式</ion-label>
|
|
<ion-label>联系方式</ion-label>
|
|
- <ion-note slot="end">{{ profile.contact }}</ion-note>
|
|
|
|
|
|
+ <ion-note slot="end">{{ linkman?.get('user')?.get('mobile') }}</ion-note>
|
|
</ion-item>
|
|
</ion-item>
|
|
</ion-list>
|
|
</ion-list>
|
|
</ion-card>
|
|
</ion-card>
|
|
@@ -54,19 +54,19 @@
|
|
<ion-list>
|
|
<ion-list>
|
|
<ion-item button (click)="editProfile('hobbies')">
|
|
<ion-item button (click)="editProfile('hobbies')">
|
|
<ion-label>爱好</ion-label>
|
|
<ion-label>爱好</ion-label>
|
|
- <ion-note slot="end">{{ profile.hobbies }}</ion-note>
|
|
|
|
|
|
+ <ion-note slot="end">{{ linkman?.get('hobby') }}</ion-note>
|
|
</ion-item>
|
|
</ion-item>
|
|
<ion-item button (click)="editProfile('taste')">
|
|
<ion-item button (click)="editProfile('taste')">
|
|
<ion-label>口味</ion-label>
|
|
<ion-label>口味</ion-label>
|
|
- <ion-note slot="end">{{ profile.taste }}</ion-note>
|
|
|
|
|
|
+ <ion-note slot="end">{{ linkman?.get('taste') }}</ion-note>
|
|
</ion-item>
|
|
</ion-item>
|
|
<ion-item button (click)="editProfile('habits')">
|
|
<ion-item button (click)="editProfile('habits')">
|
|
<ion-label>习惯</ion-label>
|
|
<ion-label>习惯</ion-label>
|
|
- <ion-note slot="end">{{ profile.habits }}</ion-note>
|
|
|
|
|
|
+ <ion-note slot="end">{{ linkman?.get('habit') }}</ion-note>
|
|
</ion-item>
|
|
</ion-item>
|
|
<ion-item button (click)="editProfile('dislikes')">
|
|
<ion-item button (click)="editProfile('dislikes')">
|
|
<ion-label>讨厌</ion-label>
|
|
<ion-label>讨厌</ion-label>
|
|
- <ion-note slot="end">{{ profile.dislikes }}</ion-note>
|
|
|
|
|
|
+ <ion-note slot="end">{{ linkman?.get('disgusting') }}</ion-note>
|
|
</ion-item>
|
|
</ion-item>
|
|
</ion-list>
|
|
</ion-list>
|
|
</ion-card>
|
|
</ion-card>
|