<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>灵犀</title>
    <meta name="keywords" content="热云数据 灵犀" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <!-- build:css styles/login.css -->
    <link rel="stylesheet" type="text/css" href="styles/login.css">
    <!-- endbuild -->
    <!-- build:js scripts/change.js -->
    <script src="js/app/page.js"></script>
    <!-- endbuild -->
    <!-- build:js scripts/regcom6.js -->
    <script src="js/common/angular.min.js"></script>
    <script src="js/common/echarts.min.js"></script>
    <script src="js/common/jquery.min.js"></script>
    <script src="js/common/jquery.cookie.min.js"></script>
    <script src="js/common/reyunh5-io.min.js"></script>
    <!-- endbuild -->
    <!-- build:js scripts/register.js -->
    <script src="/js/common/judge.js"></script>
    <script src="/js/login/module.js"></script>
    <script src="/js/app/HttpService.js"></script>
    <script src="/js/app/UtilService.js"></script>
    <script src="/js/login/register.js"></script>
    <!-- endbuild -->

    <script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?7899fb5e9a59c7f4cdcbb69d51396b0b";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
    </script>
</head>

 <body ng-app="app" ng-controller="registerCtrl">
    <div class="loginWrap register">
        <div class="infoWrap" ng-show="!hasReged"  ng-keyup="keyEvt($event)">
            <a class="logo" href="login.html"></a>
            <div class="registerTitle">注册</div>
            <div class="infoItem">
                <input type="text" class="iptform" ng-model="email" placeholder="邮箱(建议使用工作邮箱)">
                <div class="error" ng-if="tip.email.status">{{tip.email.txt}}</div>
            </div>
            <div class="infoItem">
                <input type="password" class="iptform" ng-model="password" placeholder="*6-18位至少包含数字、大小写字母中的两种">
                <div class="error" ng-if="tip.password.status">{{tip.password.txt}}</div>
            </div>
            <div class="infoItem">
                <input type="password" class="iptform" ng-model="crmpwd" placeholder="重新输入密码">
                <div class="error" ng-if="tip.crmpwd.status">{{tip.crmpwd.txt}}</div>
            </div>
            <div class="infoItem">
                <input type="text" class="iptform" ng-model="company" placeholder="您的团队或者公司名称">
                <div class="error" ng-if="tip.company.status">{{tip.company.txt}}</div>
            </div>
            <div class="infoItem">
                <input type="text" class="iptform" ng-model="username" placeholder="您的姓名">
                <div class="error" ng-if="tip.username.status">{{tip.username.txt}}</div>
            </div>
            <div class="infoItem">
                <input type="text" class="iptform" ng-model="phone" placeholder="联系电话">
                <div class="error" ng-if="tip.phone.status">{{tip.phone.txt}}</div>
            </div>
            <div class="infoItem">
                <input type="text" class="iptform" ng-model="wechat" placeholder="微信">
                <div class="error" ng-if="tip.wechat.status">{{tip.wechat.txt}}</div>
            </div>
            <div class="infoItem">
                <input type="text" class="iptform" ng-model="qq" placeholder="QQ">
                <div class="error" ng-if="tip.qq.status">{{tip.qq.txt}}</div>
            </div>
            <!-- <div style="width:300px;">
                <span class="ml10 hand" ng-click="isrember=!isrember">
                    <span class="checkbox" ng-class="{'active':isrember}"></span>我已阅读并同意服务协议
                </span>
                <span class="right hand" ng-click="ischannel=!ischannel">
                    <span class="checkbox" ng-class="{'active':ischannel}"></span>渠道账号
                </span>
            </div> -->
            <div class="errorWrap"><div class="error">{{errorMessage}}</div></div>
            <div class="loginBtn" ng-click="save()">完成注册</div>

            <div class="forgetWrap">
                <span class="ml10">已经有账号？<a href="/login.html"><span class="under">登录</span></a></span>
            </div>
        </div>
        <div class="activationWrap"  ng-show="hasReged">
            <a class="logo"></a>
            <div class="registerActivation">注册激活</div>
            <div class="activationEmail">激活邮件已发送至您的邮箱：{{registerEmail}}</div>
            <div class="activationText">请点击邮箱的链接完成账号注册！</div>
            <div class="activationButton" ng-click="loginEmail()">立即登录邮箱</div>
            <div class="sendChange">
                <li>没有收到邮件？<a ng-show="sendtype==1" href ng-click="sendAgain()">重新发一封</a><a ng-show="sendtype==2" href>{{time/1000}}秒后可重新发送</a></li>
                <li>邮箱填错了？<a href ng-click="changeEmail()">更改邮箱</a></li>
            </div>
        </div>

        <div class="openBgDiv" ng-show="channelText" ng-cloak></div>
        <div class="openTipWin" ng-show="channelText" ng-cloak>
            <div class="closeGray" ng-click="closeWin()"></div>
            <p class="titleChannel">根据您填写信息，您可能是渠道/媒体人员，如需查看广告主在您的渠道投放数据，请联系对应广告主在热云后台为您开通渠道账号。开通后直接登录即可，不需要重新注册账号。</p>
            <button class="titleChannelButton" ng-click="closeWin()">确定</button>
            <p class="titleChannel1">如果您是广告主，请点击此处<a href ng-click="postSave()">完成注册。</a></p>
        </div>
    </div>
    <div class="openTipWin" ng-show="winFlag==1">
        <div class="closeGray" ng-click="closeWin()"></div>
        <p class="title">更改邮箱</p>
        <div class="tipCont">
            <div class="formDetailItem">
                <div class="iptlabel must">注册邮箱:</div>
                <input type="text" class="iptform" ng-model="oldemail" placeholder="请输入注册邮箱">
                <div class="em">
                    <em class="error" ng-if="tip.oldemail.status">{{tip.oldemail.txt}}</em>
                </div>
            </div>
            <div class="formDetailItem">
                <div class="iptlabel must">新邮箱:</div>
                <input type="text" class="iptform" ng-model="newemail" placeholder="请输入新邮箱">
                <div class="em">
                    <em class="error" ng-if="tip.newemail.status">{{tip.newemail.txt}}</em>
                </div>
            </div>
        </div>
        <div class="openBtnGroup clearfix">
            <div class="btn" ng-click="saveNewEmail()">发送验证邮箱</div>
        </div>
    </div>
    <div class="copyright regt" ng-class="{'static':!hasReged}">
        2018 TrackingIO.com  All Rights Reserved  <a href="http://www.miitbeian.gov.cn/" target="_blank">京ICP备14021832号</a>
    </div>
    <div class="alphaDiv" id="sysLoad" style="display: none;z-index: 99;">
        <div class="spinner">
          <div class="rect1"></div>
          <div class="rect2"></div>
          <div class="rect3"></div>
          <div class="rect4"></div>
          <div class="rect5"></div>
        </div>
    </div>
 </body>
</html>
