Commit 998e8657 authored by 汪波's avatar 汪波

修改注册登录样式

parent bd054262
...@@ -19,7 +19,7 @@ $baseUrl = \yii\helpers\Url::base(); ...@@ -19,7 +19,7 @@ $baseUrl = \yii\helpers\Url::base();
<meta charset="<?= Yii::$app->charset ?>"> <meta charset="<?= Yii::$app->charset ?>">
<meta name="description" content=""> <meta name="description" content="">
<meta name="keywords" content=""> <meta name="keywords" content="">
<!-- Use latest IE randering angine and switch on chrome Frame if available --> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="shortcut icon" href="<?= AppAsset::getStaticUrl('img/favicon.ico') ?>"> <link rel="shortcut icon" href="<?= AppAsset::getStaticUrl('img/favicon.ico') ?>">
<?= Html::csrfMetaTags() ?> <?= Html::csrfMetaTags() ?>
......
...@@ -12,6 +12,7 @@ $baseUrl = \yii\helpers\Url::base(); ...@@ -12,6 +12,7 @@ $baseUrl = \yii\helpers\Url::base();
<h3>云涯</h3> <h3>云涯</h3>
<p>欢迎来到最课堂,专注在线直播</p> <p>欢迎来到最课堂,专注在线直播</p>
<div id="myTab" class="tab-a"> <div id="myTab" class="tab-a">
<ul> <ul>
<li class="active"><a href="<?= $baseUrl . "/site/login" ?>" data-toggle="tab">登录</a></li> <li class="active"><a href="<?= $baseUrl . "/site/login" ?>" data-toggle="tab">登录</a></li>
...@@ -19,6 +20,7 @@ $baseUrl = \yii\helpers\Url::base(); ...@@ -19,6 +20,7 @@ $baseUrl = \yii\helpers\Url::base();
</ul> </ul>
</div> </div>
<div class="tab-content" id="myTabContent"> <div class="tab-content" id="myTabContent">
<div class="tab-pane fade in active" id="login"> <div class="tab-pane fade in active" id="login">
...@@ -36,7 +38,6 @@ $baseUrl = \yii\helpers\Url::base(); ...@@ -36,7 +38,6 @@ $baseUrl = \yii\helpers\Url::base();
<div class=" input-wrapper last-wrapper"> <div class=" input-wrapper last-wrapper">
<input name="password" type="password" class="" placeholder="密码"> <input name="password" type="password" class="" placeholder="密码">
<span class="tips tip-vcode"><?=$model->getFirstError('password')?></span> <span class="tips tip-vcode"><?=$model->getFirstError('password')?></span>
</div> </div>
</div> </div>
......
...@@ -36,11 +36,13 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js'); ...@@ -36,11 +36,13 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js');
<input name="telephone" type="text" class="" placeholder="请输入注册的手机号码" required="" autofocus=""> <input name="telephone" type="text" class="" placeholder="请输入注册的手机号码" required="" autofocus="">
<!--<span class="tips">手机号或者密码错误</span>--> <!--<span class="tips">手机号或者密码错误</span>-->
</div> </div>
<div style="margin-top: 20px;margin-bottom: 20px">
<div id="embed-captcha"></div> </div>
<p id="wait" class="show">正在加载验证码......</p>
<p id="notice" class="hide">请先拖动验证码到相应位置</p> <div class="v-geetest">
</div> <div id="embed-captcha"></div>
<p id="wait" class="show">正在加载验证码......</p>
<p id="notice" class="hide">请先拖动验证码到相应位置</p>
</div> </div>
<div class="foot-reg-btn"> <div class="foot-reg-btn">
......
...@@ -13,8 +13,7 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js'); ...@@ -13,8 +13,7 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js');
<div class="container"> <div class="container">
<div class="z-m-center"> <div class="z-m-center">
<h3>云涯</h3> <h3>云涯</h3>
<p>欢迎来到最课堂,专注在线直播</p> <p>欢迎来到云涯,专注在线直播</p>
<div id="myTab" class="tab-a"> <div id="myTab" class="tab-a">
<ul> <ul>
<li><a href="<?= $baseUrl . "/site/login" ?>" data-toggle="tab">登录</a></li> <li><a href="<?= $baseUrl . "/site/login" ?>" data-toggle="tab">登录</a></li>
...@@ -24,7 +23,6 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js'); ...@@ -24,7 +23,6 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js');
<div class="tab-content" id="myTabContent"> <div class="tab-content" id="myTabContent">
<div class="tab-pane fade in active" id="register"> <div class="tab-pane fade in active" id="register">
<?php $form = ActiveForm::begin(['id' => 'form-signup']); ?> <?php $form = ActiveForm::begin(['id' => 'form-signup']); ?>
...@@ -52,20 +50,21 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js'); ...@@ -52,20 +50,21 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js');
<span class="tips tip-vcode"><?= $model->getFirstError('rePassword') ?></span> <span class="tips tip-vcode"><?= $model->getFirstError('rePassword') ?></span>
<span id="repassword_tips" class="tips"><?= $model->getFirstError('rePassword') ?></span> <span id="repassword_tips" class="tips"><?= $model->getFirstError('rePassword') ?></span>
</div> </div>
<div style="margin-top: 20px;margin-bottom: 20px">
<div id="embed-captcha"></div>
<p id="wait" class="show">正在加载验证码......</p>
<p id="notice" class="hide">请先拖动验证码到相应位置</p>
</div>
</div> </div>
<div class="v-geetest">
<div id="embed-captcha"></div>
<p id="wait" class="show">正在加载验证码......</p>
<p id="notice" class="hide">请先拖动验证码到相应位置</p>
</div>
<div id="submit" class="foot-reg-btn"> <div id="submit" class="foot-reg-btn">
<button class="btn btn-reg" type="submit">注册</button> <button class="btn btn-reg" type="submit">注册</button>
</div> </div>
<?php ActiveForm::end(); ?> <?php ActiveForm::end(); ?>
</div> </div>
......
...@@ -12,26 +12,41 @@ a,a:hover,a:link { ...@@ -12,26 +12,41 @@ a,a:hover,a:link {
box-shadow: 0 0 30px rgba(0,0,0,.05); box-shadow: 0 0 30px rgba(0,0,0,.05);
} }
.logo { .logo {
line-height: 50px; line-height: 60px;
margin-left: 30px; margin-left: 30px;
} }
.logo a {
color: #333;
}
.yun-login-btn { .yun-login-btn {
margin-right: 30px; margin-right: 30px;
margin-bottom: 0;
}
.yun-login-btn,.yun-login-btn li {
list-style: none;
}
.yun-login-btn li {
display: inline-block;
height: 60px;
line-height: 60px;
padding: 0 10px;
} }
.yun-login-btn li a { .yun-login-btn li a {
color: #333; color: #333;
display: block;
} }
.z-m-center { .z-m-center {
text-align: center; text-align: center;
margin-top: 40px;
} }
.z-m-center > p { .z-m-center > p {
font-size: 12px; font-size: 12px;
padding: 0 0 20px;
color: #999; color: #999;
} }
.v-geetest {
width: 300px;
margin: 20px auto;
}
.tab-a ul,li , .tab-a ul,li ,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment