<ion-view hide-nav-bar="true">
    <ion-content class="app-content app-user-content">
        <div class="user-box">
            <a  class="user-photo">
              <img ng-src="{{host}}{{user.avatar | avator}}"  />
            </a>
            <div class="user-info" ng-click="toProfile()">
                <a >  <p><span>{{user.nick_name}}</span></p>  </a>
            </div>
            <div class="msg-user">
                <a class="msg-item"><b style="color:red">￥{{user.money_balance}}</b><span>我的余额</span></a>
                <a class="msg-item"><b>{{user.trucks_count}}辆</b><span>我的车辆</span></a>
                <a class="msg-item"><b>{{user.messages_count}}条</b><span>我的发布</span></a>
                <a class="msg-item"><b>{{user.orders_count}}笔</b><span>我的订单</span></a>
            </div>
        </div>
        <div class="list list-user-set list-set-arrow">
            <a class="item item-icon-left" ui-sref="wl.my_profile">
                <i class="i-user-info"></i><em class="fl">基本信息</em>
            </a>
            <a class="item item-icon-left" ui-sref="wl.my_truck">
                <i class="i-user-car"></i><em class="fl">车辆管理</em>
            </a>
            <a class="item item-icon-left" ui-sref="wl.my_message">
                <i class="i-user-message"></i><em class="fl">我的发布</em>
            </a>
            <a class="item item-icon-left" ui-sref="wl.my_order">
                <i class="i-user-order"></i><em class="fl">我的订单</em>
            </a>
            <a class="item item-icon-left" ui-sref="wl.my_setpassword">
                <i class="i-user-passsword"></i><em class="fl">修改密码</em>
            </a>
            <a class="item item-icon-left" ui-sref="wl.my_setting">
                <i class="i-user-set"></i><em class="fl"> 设置</em>
            </a>            
        </div>
    </ion-content> 
</ion-view> 
