vip.hbs 4.3 KB
<div class="vip-me-page me-page yoho-page clearfix">
        {{> path}}
        {{> navigation}}

        <div class="me-main">
            <div class="my-vip block">
              <h2 class="title"></h2>
              {{#unless commonVip}}
                <div class="vip-level">
                     <span class="level">您的会员级别:</span>
                     <div class="vipimg{{level}}"></div>
                </div>

                <div class="vip-level">
                    <span class="level">当前可享优惠:</span>
                    <div class="favimg">
                       {{#each list}}
                        <div class="list">
                            <img src="{{image2 imgType}}" class="imgsrc"/>
                            <div class="fav-font">{{favTxt}}</div>
                        </div>
                        {{/each}}
                    </div>
                </div>
              {{/unless}}


                <div class="vip-level">
                    <span class="level">年度累计金额:</span>
                    <div class="year-amount">
                        <div class="amount">{{yearCost}}</div>
                        <span class="ps">VIP金额累计需要订单成功签收且无退换货</span>
                        {{#if  platinum}}
                        <div class="plalevel"></div>
                        {{else}}
                         <div class="amount-length">
                            <div class="img-length">
                                <div class="amount-left">
                                    <div class="img-left" style="width:{{proportion}}"></div>
                                    <div class="img-right"></div>
                                </div>
                                <div class="letter">
                                    {{yearCost}}/<span class="sum">{{nextCost}}</span>
                                </div>
                            </div>
                        </div>
                        <div class="change-img{{level}}"></div>
                        <div class="balance">
                            <p>还差¥<span class="balan">{{balan}}</span>元就可以升级为{{vipLevel}}</p>
                            <a href="{{morePreferences}}">更多优惠</a>
                        </div>
                        {{/if}}
                    </div>
                </div>

                <div class="history">
                    <div class="level">历史消费总额:
                        <span class="hisamout">{{totalCost}}</span>
                    </div>
                </div>

                 <div class="line"></div>
                {{#unless commonVip}}
                <div class="valid">
                    <div class="level">当前有效期:</div>
                    <div class="valid-time">
                        <div class="time-line"></div>
                        <div class="time1">
                            <div class="time1-img"></div>
                        </div>
                        <div class="time2">
                            <div class="time-top">
                                <span>{{reach}}</span><br>条件达成日期
                            </div>
                            <div class="time2-img"></div>
                        </div>
                        <div class="time3">
                            <div class="time-left">
                                <span>{{valid}}</span><br>生效日期
                            </div>
                            <div class="time-right">
                                <span>{{end}}</span><br>优惠截止日期
                            </div>
                            <div class="time3-img">VIP有效期{{remainDays}}天(数字年)</div>
                        </div>
                        <div class="time4">
                            <div class="time-top">
                                <a href="{{morePreferences}}">延长有效期></a>
                            </div>
                            <div class="time4-img"></div>
                        </div>
                    </div>
                </div>
                <div class="line"></div>
                {{/unless}}

                <div class="doubt">

                </div>
            </div>
            {{> help-us}}
        </div>
</div>