basic-info.hbs 2.87 KB
{{#if vip3}}
    <p>
        <span class="user-name">{{{htmlEncode name}}}</span>
        <span class="vip-icon vip-3"></span>
    </p>
    <p class="grade-desc">
        您已升级至最高的等级啦!
    </p>
    <p class="sum-cost">
        年度累计金额<span> &yen;{{costOfThisYear}}</span>
    </p>
    <div class="progresser">
        <div class="outer"></div>
        <div class="inner" style="width: {{percent}}%;"></div>
        <span class="beacon beacon-min">
            白金卡会员
        </span>
    </div>
{{/if}}

{{#if vip2}}
    <p>
        <span class="user-name">{{{htmlEncode name}}}</span>
        <span class="vip-icon vip-2"></span>
    </p>
    <p class="grade-desc">
        还差<span class="cost-gap">&yen;{{costGap}}</span>就可以升级为白金会员!
        <span class="sub-desc">(VIP金额累计需订单成功签收满15天并无退换货)</span>
    </p>
    <p class="sum-cost">
        年度累计金额<span> &yen;{{costOfThisYear}}</span>
    </p>
    <div class="progresser">
        <div class="outer"></div>
        <div class="inner" style="width: {{percent}}%;"></div>
        <span class="beacon beacon-min">
            金卡会员
        </span>
        <span class="beacon beacon-max">白金卡会员</span>
        <span class="cost-limit">&yen;5000.00</span>
    </div>
{{/if}}

{{#if vip1}}
    <p>
        <span class="user-name">{{{htmlEncode name}}}</span>
        <span class="vip-icon vip-1"></span>
    </p>
    <p class="grade-desc">
        还差<span class="cost-gap">&yen;{{costGap}}</span>就可以升级为金卡会员!
        <span class="sub-desc">(VIP金额累计需订单成功签收满15天并无退换货)</span>
    </p>
    <p class="sum-cost">
        年度累计金额<span> &yen;{{costOfThisYear}}</span>
    </p>
    <div class="progresser">
        <div class="outer"></div>
        <div class="inner" style="width: {{percent}}%;"></div>
        <span class="beacon beacon-min">
            银卡会员
        </span>
        <span class="beacon beacon-max">金卡会员</span>
        <span class="cost-limit">&yen;2000.00</span>
    </div>
{{/if}}

{{#if vip0}}
    <p>
        <span class="user-name">{{{htmlEncode name}}}</span>
        <span>普通会员</span>
    </p>
    <p class="grade-desc">
        还差<span class="cost-gap">&yen;{{costGap}}</span>就可以升级为银卡会员!
        <span class="sub-desc">(VIP金额累计需订单成功签收满15天并无退换货)</span>
    </p>
    <p class="sum-cost">
        年度累计金额<span> &yen;{{costOfThisYear}}</span>
    </p>
    <div class="progresser">
        <div class="outer"></div>
        <div class="inner" style="width: {{percent}}%;"></div>
        <span class="beacon beacon-min">
            普通
        </span>
        <span class="beacon beacon-max">银卡会员</span>
        <span class="cost-limit">&yen;600.00</span>
    </div>
{{/if}}