index.hbs 3.02 KB
<div class="my-page">
    <div class="my-header">
        <span class="setting icon icon-setting" id="setting"></span>
        <a class="user-info" id="user-info" href='/me/mydetails'>
            <span class="user-avatar"  {{#if head_ico}} style="background-image: url('{{head_ico}}');" {{/if}}></span>
            <span class="username">{{nickname}}</span>
        </a>
    </div>
    <div class="my-order">
        <a class="order-title"  href="/me/order?type=1">
            我的订单
            <span class="read-order">
                查看全部订单 <span class="icon icon-right"></span>
            </span>
        </a>
        <div class="order-type clearfix">
            <a class="type-item" href="/me/order?type=2">
                <span class="icon icon-wait-pay"></span>
                <br>待付款
                {{#if wait_pay_num}}
                <span class="num">{{wait_pay_num}}</span>
                {{/if}}
            </a>
            <a class="type-item" href="/me/order?type=3">
                <span class="icon icon-wait-cargo"></span>
                <br>待发货
                {{#if wait_cargo_num}}
                <span class="num">{{wait_cargo_num}}</span>
                {{/if}}
            </a>
            <a class="type-item" href="/me/order?type=4">
                <span class="icon icon-send-cargo"></span>
                <br>待收货
                {{#if send_cargo_num}}
                <span class="num">{{send_cargo_num}}</span>
                {{/if}}
            </a>
            <a class="type-item" href="/me/return">
                <span class="icon icon-refund-exchange"></span>
                <br>退换货
                {{#if refund_exchange_num}}
                <span class="num">{{refund_exchange_num}}</span>
                {{/if}}
            </a>
        </div>
    </div>
    <div class="group-list">
        <a class="list-item" id="address">
            地址管理
            <span class="num">{{address_num}}  <span class="icon icon-right"></span></span>
        </a>
    </div>
     <div class="group-list">
         <a class="list-item" href="/me/collection">
            收藏的商品
            <span class="num">{{product_favorite_total}}  <span class="icon icon-right"></span></span>
        </a>
        <a class="list-item" href="/me/collection?tab=brand">
            收藏的品牌
             <span class="num">{{brand_favorite_total}}  <span class="icon icon-right"></span></span>
        </a>
    </div>
    <div class="group-list">
        <a class="list-item" href="/me/mycurrency">
            YOHO 币
            <span class="num">{{yoho_coin_num}}  <span class="icon icon-right"></span></span>
        </a>
    </div>
    <div class="group-list">
         <a class="list-item" href="/help">
            帮助中心
            <span class="num"><span class="icon icon-right"></span></span>
        </a>
        <a class="list-item" href="/me/service">
            在线客服
            <span class="num"><span class="icon icon-right"></span></span>
        </a>
    </div>
</div>