index.hbs
2.95 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<div class="yoho-family-page yoho-page">
{{# familyIndexData}}
<div class="family-heade">
<div class="header-top">
<span class="back" onclick="javascript:history.go(-1);"></span>
<span class="headings"></span>
</div>
<div class="person-detail">
<a href='http://m.yohobuy.com/home/family/userInfo?openby:yohobuy={"action":"go.h5","params":{"url":"http://m.yohobuy.com/home/family/userInfo"}}' class="user-avatar" data-avatar="{{image head_ico 80 80}}"></a>
<div class="basic-info">
<span class="user-name">{{nickname}}</span>
<span class="gender {{#isEqualOr gender 1}}boy{{/isEqualOr}}{{#isEqualOr gender 2}}girl{{/isEqualOr}}"></span>
</div>
<div class="info">
<span class="city">{{province}}{{city}}</span>
<span class="birthday">{{birthday}}</span>
</div>
<div class="invition">
<span class="code trend-code">
{{#if trendWord}}
#
<span class="word-outer">
<span class="trend-word">{{trendWord}}</span>
</span>
#
{{else}}
{{inviteCode}}
{{/if}}
</span>
<span class="code-set"></span>
{{#unless trendWord}}
<span class="code-tip"></span>
{{/unless}}
</div>
<div class="inviton-set hide">
<textarea maxlength="15" placeholder="请输入你的潮流口令"></textarea>
</div>
</div>
</div>
<div class="vip-grade">
<div class="title">会员等级及权益</div>
<div class="grade-content">
{{# appList}}
<div class="content-item" data-login="{{login}}" data-name="{{nickname}}" data-code="{{code}}">
<img class="item-tag {{#unless login}}gray{{/unless}}" src="{{image iconUrl 140 140}}">
<span class="name">{{sourceName}}</span>
<span class="level">{{name}}</span>
</div>
{{/ appList}}
</div>
</div>
<div class="integral">
<div class="title">积分乐园</div>
<div class="integral-content">
<div class="charts" id="charts" style="width: 8.6rem; height: 8.6rem;"></div>
</div>
</div>
{{! 资源位}}
<div class="rec">
<div class="resource-content">
{{# ownContent}}
<div data-id="{{template_id}}" class="resource-own">
{{> family-res}}
</div>
{{/ ownContent}}
{{# townContent}}
<div data-id="{{template_id}}">
{{> family-res}}
</div>
{{/ townContent}}
</div>
</div>
<div class="dia-c popover"></div>
{{/ familyIndexData}}
</div>