<view class="container">
    <page-loding wx:if="{{showLoding}}"></page-loding>
    <view class="page-top">
        <view class="user-info">
            <view class="avatar">
                <image src="{{user.avatar}}"></image>
            </view>
            <view class="info">
                <view class="left">
                    <view class="username">{{user.nickname}}</view>
                    <view class="tel">{{user.mobile}}</view>
                </view>
                <view class="right">
                    <image class="xunzhang" mode="widthFix" src="http://jm.v0750.com/image/xunzhang.png" wx:if="{{user.groupid==6}}"></image>
                    <image class="zhe" mode="widthFix" src="http://jm.v0750.com/image/zhe.png" wx:if="{{user.isdiscount}}"></image>
                </view>
            </view>
            <view class="my-capital shadow">
                <view class="title">
                    <view class="text">我的资产</view>
                    <view bindtap="toPage" class="btn" data-refresh="1" data-url="voucher/voucher">立即充值 ></view>
                </view>
                <view class="money-box">
                    <view class="item">
                        <view class="num">{{user.money}}</view>
                        <view class="name">合计</view>
                    </view>
                    <view class="item">
                        <view class="num">{{user.principal}}</view>
                        <view class="name">洗车金</view>
                    </view>
                    <view class="item">
                        <view class="num">{{user.givenamount}}</view>
                        <view class="name">赠送</view>
                    </view>
                </view>
            </view>
        </view>
    </view>
    <view class="order-manager shadow">
        <view class="title">
            <view>订单管理</view>
            <navigator class="btn" url="/pages/orderList/orderList?tab=all">全部订单 ></navigator>
        </view>
        <view class="list">
            <navigator class="item" url="/pages/orderList/orderList?tab=0">
                <text class="iconfont icon-31hongbao"></text>
                <view class="name ">待付款</view>
            </navigator>
            <navigator class="item" url="/pages/orderList/orderList?tab=1">
                <text class="iconfont icon-31daifukuan"></text>
                <view class="name ">待使用</view>
            </navigator>
            <navigator class="item" url="/pages/orderList/orderList?tab=4">
                <text class="iconfont icon-31daifahuo"></text>
                <view class="name ">已完成</view>
            </navigator>
        </view>
    </view>
    <view class="url-list shadow">
        <view bindtap="toPage" class="item" data-url="{{item.url}}" wx:for="{{urlList}}" wx:key="index">
            <text class="iconfont icon-{{item.img}}"></text>
            <view class="name">{{item.name}}</view>
        </view>
        <view bindtap="callUs" class="item" openType="contact">
            <text class="iconfont icon-10"></text>
            <view class="name">联系客服</view>
        </view>
    </view>
    <view class="footer-btn">
        <navigator class="btn" hoverClass="hover" url="/pages/index/index">首页</navigator>
        <view class="btn">扫一扫</view>
        <navigator class="btn" hoverClass="hover" url="/pages/voucher/voucher">充值</navigator>
    </view>
</view>
