{literal}
<script id="user" type="text/html">
<div class="row margin-0">
    <div class="col-md-12">
        <h3 class="text-center">{{user.nickname}}</h3>
    </div>
</div>
<hr/>
<div class="row margin-0">
    <div class="col-md-4 col-md-offset-4 text-center">
        <a href="{{user.large_avatar}}" target="_blank" data-fancybox="images">
            <img src="{{user.avatar}}" width='64px' height='64px' onerror="this.src='/static/img/default_avatar.png'" />
        </a>
    </div>
</div>
<hr/>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>性别: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">{{ user.sex_text }}</span>
        </p>
    </div>
</div>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>手机号: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">{{ user.phone }}</span>
        </p>
    </div>
</div>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>积分: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">{{ user.credit }}</span>
        </p>
    </div>
</div>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>会员等级: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">{{ user.card_level_text }}</span>
        </p>
    </div>
</div>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>地区: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">{{ user.city }} {{ user.area }}</span>
        </p>
    </div>
</div>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>openId: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">{{ user.openid }}</span>
        </p>
    </div>
</div>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>IP: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">{{ user.ipaddr }}</span>
        </p>
    </div>
</div>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>注册日期: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">{{user.created_at}}</span>
        </p>
    </div>
</div>
<div class="row margin-horizontal-0">
    <div class="col-md-3 padding-right-0 text-right">
        <span>最后更新: </span>
    </div>
    <div class="col-md-9 padding-left-xs">
        <p class="text-left">
            <span class="text-primary">{{user.updated_at}}</span>
        </p>
    </div>
</div>
</script>
{/literal}