{{ define "member/home.htm" }}
<!doctype html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="">
  <title>会员中心 - 看丽人</title>
  {{ template "_common.htm" .}}
  <script type="text/javascript">
    LoadMemberInfo();
  </script>
</head>

<body>
  {{ template "_header.htm" .}}

  <main role="main">

    <div class="album py-3 bg-light">
      <div class="container">
          <div class="alert alert-dark border-bottom">会员中心</div>
          <div class="py-2">
            <div class="ibox-content text-center">
              <h1 id="_userid">...</h1>
              <div class="col-xs-8 text-center">
                <span> 剩余金币 </span>
                <h2 class="font-bold text-danger" id="_money">...</h2>
              </div>
            </div>
          </div>
          <div class="py-2">
            <ul class="folder-list m-b-md" style="padding: 0">
              <li><a href="/member/pay"> <i class="fa fa-inbox"></i>充值金币<span class="label label-warning float-right">进入充值</span>
                </a></li>
              <li><a href="/member/pay_history"> <i class="fa fa-envelope-o"></i>充值历史</a></li>
              <li><a href="/member/buy_history"> <i class="fa fa-certificate"></i>已购买</a></li>
              <li><a href="/member/invite"> <i class="fa fa-users"></i>我的邀请</a></li>
              <li><a href="/member/settings"> <i class="fa fa-file-text-o"></i>我的资料</a></li>
            </ul>
          </div>
          <div class="py-2">
            <button class="btn btn-danger btn-block" type="button" onclick="Logout()">退出</button>
          </div>
      </div>
    </div>

  </main>
  {{ template "_footer.htm" }}
  {{ template "_analytics.htm" }}
</body>
</html>
{{ end }}