-
Notifications
You must be signed in to change notification settings - Fork 0
/
personal.html
61 lines (51 loc) · 1.53 KB
/
personal.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!--
Generated template for the PersonalPage page.
See http://ionicframework.com/docs/components/#navigation for more info on
Ionic pages and navigation.
-->
<ion-header>
<ion-navbar>
<ion-title>personal</ion-title>
</ion-navbar>
</ion-header>
<ion-content>
<div class="profile">
<ion-avatar>
<img class='avatar' [src]="!isLogin ? '../../assets/imgs/person.png':user.avatar">
</ion-avatar>
<div class="prop" *ngIf='isLogin'>
<p class='name'>{{user.userName}}</p>
<p class='achieve'>{{user.achievement}}</p>
<p class='userTitle'>{{user.userTitle}}</p>
</div>
<div class="prop" *ngIf='!isLogin' (click)='login()'>
<p class='clickLogin'>{{"personal.clickLogin"|translate}}</p>
</div>
</div>
<ion-list no-lines>
<button ion-item class="setting_menu">
<ion-icon name="cafe" item-start></ion-icon>
我的帖子
</button>
<button ion-item class="setting_menu">
<ion-icon name="medical" item-start></ion-icon>
我的回复
</button>
<button ion-item class="setting_menu">
<ion-icon name="chatboxes" item-start></ion-icon>
我的消息
</button>
<button ion-item class="setting_menu">
<i class="fa fa-pencil fa-lg"></i>
账户设置
</button>
<button ion-item>
<ion-icon name="settings" item-start></ion-icon>
设置
</button>
<button ion-item>
<ion-icon name="planet" item-start></ion-icon>
关于
</button>
</ion-list>
</ion-content>