{% load staticfiles %}

<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="format-detection" content="telephone=no,email=no,address=no">
        <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
        <title>我的积分</title>

        <link href="//res.wx.qq.com/open/libs/weui/0.4.3/weui.min.css" rel="stylesheet" type="text/css" />
        <link href="{% static 'page/css/weui.ext.css' %}?v=1" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <div class="container" >
            <div class="weui_cells_title">基本信息</div>
            <div class="weui_cells weui_cells_form">
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label for="" class="weui_label">经销商</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        <label for="" class="weui_textarea">{{ clerk_info.franchiser_name }}</label>
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label for="" class="weui_label">姓名</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        <label for="" class="weui_textarea">{{ clerk_info.clerk_name }}</label>
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label for="" class="weui_label">性别</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        <label for="" class="weui_textarea">{% ifequal clerk_info.clerk_sex 1 %}男{% else %}女{% endifequal %}</label>
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label for="" class="weui_label">手机号</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        <label for="" class="weui_textarea">{{ clerk_info.clerk_phone }}</label>
                    </div>
                </div>
                <div class="weui_cell">
                    <div class="weui_cell_hd"><label for="" class="weui_label">积分</label></div>
                    <div class="weui_cell_bd weui_cell_primary">
                        <label for="" class="weui_textarea">{{ clerk_info.integral }}</label>
                    </div>
                </div>
            </div>
        </div>

        <script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
        <script type="text/javascript" src="{% static 'kodo/js/jswe-0.0.4.js' %}"></script>
        <script>
            V.initWxData({
                imgUrl: 'http://pai.ai/static/kodo/img/paiai_96_96.png',
                link: 'http://pai.ai/w/o?r=http%3A%2F%2Fkodo.xfoto.com.cn%2Fp%2Fclerk%2Finfo',
                desc: '店员授权',
                title: '店员授权',
                timeLine: ''
            }, true);
            V.hideOptionMenu();
        </script>
    </body>
</html>