Blame view

public/hbs/home/vip-detail.hbs 3.7 KB
zhangxiaoru authored
1 2 3 4 5 6 7 8 9 10
<div class="vip-detail">
    <div class="close"></div>
    <div class="back"></div>
    <div class="detail-content">
        <div class="banner">
        </div>
        <div class="main">
            <div class="user-info clearfix{{#if noUid}} hide{{/if}}">
                <div class="base clearfix">
                    <div class="pic"{{#if headIco}} style="background-image:url({{image headIco 125 125}})"{{/if}}>
zhangxiaoru authored
11
                        <div class="level-pic {{#if showLevel}}vip-{{level}}{{/if}}"></div>
zhangxiaoru authored
12 13 14 15
                    </div>
                    <div class="intro">
                        <div class="name"><span></span>您好!</div>
                        <div class="level">
李靖 authored
16 17 18 19
                            {{#if galleryTag}}
                                <span class="now">我的累计消费金额:<span class="val">{{growthValue}}</span></span>
                            {{else}}
                                <span class="now">我的成长值:<span class="val">{{growthValue}}</span></span>
李靖 authored
20 21
                            {{/if}}
                            {{#if valueToNextLevel}}
李靖 authored
22
                                <span class="next">下次升级还需:<span class="val">{{valueToNextLevel}}</span></span>
zhangxiaoru authored
23 24 25 26
                            {{/if}}
                        </div>
                    </div>
                </div>
27
                <div class="level-process clearfix">
zhangxiaoru authored
28
                    <div class="line-c">
zhangxiaoru authored
29
                        <div class="line" style="width:{{percent}}%"></div>
zhangxiaoru authored
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
                        <div class="point">
                            {{# vipLevelLis}}
                            <div class="point-item">
                                <div class="level-text">
                                    <p>{{name}}</p>
                                    <p>{{growthValue}}</p>
                                </div>
                            </div>
                            {{/ vipLevelLis}}
                        </div>
                    </div>
                </div>
            </div>

            <div class="privilege-list">
                <div class="privilege-title">
                    <b></b>
李靖 authored
47 48 49
                    {{#if galleryTag}}
                    等级特权
                    {{else}}
zhangxiaoru authored
50
                    当前可享受特权
李靖 authored
51
                    {{/if}}
张孝茹 authored
52
                    <!-- <a class="more" href='{{link}}'>更多</a> -->
zhangxiaoru authored
53
                </div>
54
                {{# privilegeList}}
zhangxiaoru authored
55
                <a class="privilege-item">
zhangxiaoru authored
56
                    <img class="icon" {{#if pic}}src="{{pic}}"{{/if}} {{#if icon}}src="{{icon}}{{/if}}">
zhangxiaoru authored
57
                    <p>
zhangxiaoru authored
58 59 60
                        {{#if title}}{{title}}{{/if}}
                        {{#if name}}{{name}}{{/if}}
                        <span>{{#if description}}{{description}}{{/if}}{{#if desc}}{{desc}}{{/if}}</span>
zhangxiaoru authored
61 62
                    </p>
                </a>
63
                {{/ privilegeList}}
zhangxiaoru authored
64 65 66 67 68 69 70 71
                <div class="transverse">
                    {{# privileges}}
                    <div class="level-item">
                        <img class="item-ico" src="{{image icon 125 125}}">
                        <span class="le-name">{{name}}</span>
                        <span class="state">{{status}}</span>
                    </div>
                    {{/ privileges}}
zhangxiaoru authored
72
                </div>
李靖 authored
73 74 75 76 77 78 79
                {{#unless privilegeList}}
                {{#unless privileges}}
                <div class="no-privilege">
                    暂无特权
                </div>
                {{/unless}}
                {{/unless}}
zhangxiaoru authored
80
            </div>
张孝茹 authored
81 82 83 84
            
            {{#if birthShow}}
            <a href="" class="birthday"><b></b>生日礼,会员当月专享生日礼</a>
            {{/if}}
zhangxiaoru authored
85 86 87
        </div>
    </div>
</div>