index.hbs 2.86 KB
<div class="my-page yoho-page">
    <div class="my-header">
        <a class="user-info" href={{userinfourl}}>
            <span class="user-avatar" data-avatar="{{head_ico}}"></span>
            <br><span class="username">{{profile_name}}</span>
        </a>
    </div>
    <div class="my-order">
        <a class="order-title"  href="/home/orders">
            我的订单
            <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>&#xe634;</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>&#xe63b;</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>&#xe633;</span>
                <br>待收货
                {{#if send_cargo_num}}
                <span class="num">{{send_cargo_num}}</span>
                {{/if}}
            </a>
            <a class="type-item" href="/home/orders?type=5">
                <span>&#xe633;</span>
                <br>退换货
                {{#if send_cargo_num}}
                <span class="num">{{send_cargo_num}}</span>
                {{/if}}
            </a>
        </div>
    </div>
    <div class="group-list">
        <a class="list-item" href="/home/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/onlineService">
            在线客服
            <span class="num"><span class="icon icon-right"></span></span>
        </a>
    </div>
</div>