<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta name="format-detection" content="telephone=no"/>
    <title>精准导购系统企业号应用</title>
    <link rel="stylesheet" href="/static/css/wechat/weui.min.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/wechat/iconfont/iconfont.css"/>
    <link rel="stylesheet" href="/static/css/wechat/style.css">
</head>

<body ontouchstart>
<header>
    <div class="header">
        <a href="" class="btn-a-back"><i class="iconfont">&#xe61f;</i></a>
        <h2>个人中心</h2>
    </div>
</header>
<div class="weui-cells__title">基本信息</div>
<a class="weui-cells weui-cells_form">
    <div class="weui-cell">
        <div class="weui-cell__hd"><label class="weui-label">用户名</label></div>
        <div class="weui-cell__bd" th:text="${user.name}">
            <!--<input class="weui-input" type="text" value="" th:value="${user.name}" readonly="readonly" />-->
        </div>
    </div>
    <a class="weui-cell weui-cell_access" href=""
       th:href="'javascript:goToUrl(\'' + @{/customer/editUserInfo(id=${user.id},text=${user.realName},prop='realName')} + '\')'">
        <div class="weui-cell__hd"><label class="weui-label">姓名</label></div>
        <div class="weui-cell__bd">
            <input class="weui-input" type="text" value="" th:value="${user.realName}" readonly="readonly"/>
        </div>
        <div class="weui-cell__ft">
        </div>
    </a>
    <a class="weui-cell weui-cell_access" href=""
       th:href="'javascript:goToUrl(\'' + @{/customer/editUserInfo(id=${user.id},text=${user.mobile},prop='mobile')} + '\')'">
        <div class="weui-cell__hd"><label class="weui-label">手机号</label></div>
        <div class="weui-cell__bd">
            <input class="weui-input" type="tel" value="" th:value="${user.mobile}" readonly="readonly"/>
        </div>
        <div class="weui-cell__ft">
        </div>
    </a>
    <div class="weui-cell">
        <div class="weui-cell__hd"><label class="weui-label">归属部门</label></div>
        <div class="weui-cell__bd" th:text="${user.weiXinId}">
            <!--<input class="weui-input" type="text" value="" th:value="${user.weiXinId}" readonly="readonly" />-->
        </div>
    </div>
    <div class="weui-cell">
        <div class="weui-cell__hd"><label class="weui-label">权限组</label></div>
        <div class="weui-cell__bd" th:text="${user.email}">
            <!--<input class="weui-input" type="text" value="" th:value="${user.email}" readonly="readonly" />-->
        </div>
    </div>
    <a class="weui-cell weui-cell_access" href=""
       th:href="'javascript:goToUrl(\'' + @{/customer/editUserInfo(id=${user.id},text=${user.position},prop='position')} + '\')'">
        <div class="weui-cell__hd">
            <label for="" class="weui-label">职位</label>
        </div>
        <div class="weui-cell__bd">
            <input class="weui-input" type="text" value="" th:value="${user.position}" readonly="readonly"/>
        </div>
        <div class="weui-cell__ft">
        </div>
    </a>
    <div class="weui-cell">
        <div class="weui-cell__hd"><label class="weui-label">创建时间</label></div>
        <div class="weui-cell__bd" th:text="${user.createIp}">

        </div>
    </div>
</a>
</body>
<script type="text/javascript" src="/static/js/wechat/zepto.min.js"></script>
<script type="text/javascript" src="/static/js/statistics.js"></script>
<script type="text/javascript" src="/static/js/history.js"></script>
</html>
