vip-detail.hbs 2.93 KB
<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}}>
                        <div class="level-pic {{#if showLevel}}vip-{{level}}{{/if}}"></div>
                    </div>
                    <div class="intro">
                        <div class="name"><span></span>您好!</div>
                        <div class="level">
                            <span class="now">我的成长值:<span class="val">{{growthValue}}</span></span>
                            {{#if valueToNextLevel}}
                            <span class="next">下次升级还需:<span class="val">{{valueToNextLevel}}</span></span>
                            {{/if}}
                        </div>
                    </div>
                </div>
                <div class="level-process clearfix">
                    <div class="line-c">
                        <div class="line" style="width:{{percent}}%"></div>
                        <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>
                    当前可享受特权
                    <a class="more" href='{{link}}'>更多</a>
                </div>
                {{# privilegeList}}
                <a class="privilege-item">
                    <img class="icon" {{#if pic}}src="{{pic}}"{{/if}} {{#if icon}}src="{{icon}}{{/if}}">
                    <p>
                        {{#if title}}{{title}}{{/if}}
                        {{#if name}}{{name}}{{/if}}
                        <span>{{#if description}}{{description}}{{/if}}{{#if desc}}{{desc}}{{/if}}</span>
                    </p>
                </a>
                {{/ privilegeList}}
                <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}}
                </div>
            </div>
        </div>
    </div>
</div>