index.hbs 3.06 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='/home/mydetails'>
            <span class="user-avatar"  {{#if head_ico}} style="background-image: url('{{head_ico}}');" {{/if}}></span>
            <br><span class="username">{{nickname}}</span>
        </a>
    </div>
    <div class="my-order">
        <a class="order-title"  href="/home/orders?type=1">
            我的订单
            <span class="read-order">
                查看全部订单 <span class="icon icon-right"></span>
            </span>
        </a>
        <div class="order-type clearfix">
            <a class="type-item" href="/home/orders?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="/home/orders?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="/home/orders?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="/home/refund/orders">
                <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="/home/favorite">
            收藏的商品
            <span class="num">{{product_favorite_total}}  <span class="icon icon-right"></span></span>
        </a>
        <a class="list-item" href="/home/favorite?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="/home/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="/home/help">
            帮助中心
            <span class="num"><span class="icon icon-right"></span></span>
        </a>
        <a class="list-item" href="/home/service">
            在线客服
            <span class="num"><span class="icon icon-right"></span></span>
        </a>
    </div>
</div>