Commit 143eca54 authored by 杨培's avatar 杨培

Merge remote-tracking branch 'origin/dev' into dev

parents 6e1da601 749a687e
...@@ -179,7 +179,7 @@ class HomeController extends \yii\web\Controller ...@@ -179,7 +179,7 @@ class HomeController extends \yii\web\Controller
public function actionPreview($courseId) public function actionPreview($courseId)
{ {
$coursewareInfo = Courseware::findOne(['course_id' => $courseId, 'status' => Courseware::STATUS_OK]); $coursewareInfo = Courseware::findOne(['course_id' => $courseId]);
$course = Course::findOne(['id' => $courseId]); $course = Course::findOne(['id' => $courseId]);
if ($course === NULL or Yii::$app->user->id != $coursewareInfo->user_id) { if ($course === NULL or Yii::$app->user->id != $coursewareInfo->user_id) {
throw new HttpException(404, '页面不存在'); throw new HttpException(404, '页面不存在');
......
...@@ -72,9 +72,6 @@ class SiteController extends Controller ...@@ -72,9 +72,6 @@ class SiteController extends Controller
public function actions() public function actions()
{ {
return [ return [
'error' => [
'class' => 'yii\web\ErrorAction',
],
'captcha' => [ 'captcha' => [
'class' => 'yii\captcha\CaptchaAction', 'class' => 'yii\captcha\CaptchaAction',
'fixedVerifyCode' => YII_ENV_DEV ? 'testme' : NULL, 'fixedVerifyCode' => YII_ENV_DEV ? 'testme' : NULL,
...@@ -88,6 +85,31 @@ class SiteController extends Controller ...@@ -88,6 +85,31 @@ class SiteController extends Controller
} }
/**
* @return string
*/
public function actionError()
{
$exception = Yii::$app->errorHandler->exception;
$this->layout = FALSE;
if($exception->statusCode == '404' ){
$name = Yii::$app->errorHandler->getExceptionName($exception);
$message = $exception->getMessage();
if ($exception !== null) {
return $this->render('notfound', ['name' => $name,
'message'=>$message]);
}
}else{
$name = Yii::$app->errorHandler->getExceptionName($exception);
$message = $exception->getMessage();
if ($exception !== null) {
return $this->render('error', ['name' => $name,
'message'=>$message]);
}
}
}
/** /**
* Logs in a user. * Logs in a user.
* *
......
...@@ -67,7 +67,7 @@ $this->registerCss('[v-cloak] {display:none;}'); ...@@ -67,7 +67,7 @@ $this->registerCss('[v-cloak] {display:none;}');
<div class="foot navbar-fixed-bottom"> <div class="foot navbar-fixed-bottom">
<p><a href="javascript:;">隐私权政策</a> - <a href="javascript:;">服务条款</a> - <a href="javascript:;">地图条款</a></p> <p><a href="javascript:;">隐私权政策</a> - <a href="javascript:;">服务条款</a> - <a href="javascript:;">地图条款</a></p>
<p>©2016 Zuiketang.com</p> <p>©2016 c.pp.cc</p>
</div> </div>
<?php $this->endBody(); ?> <?php $this->endBody(); ?>
......
...@@ -8,29 +8,34 @@ $this->beginBody(); ...@@ -8,29 +8,34 @@ $this->beginBody();
$this->beginContent('@app/views/layouts/center.php'); $this->beginContent('@app/views/layouts/center.php');
?> ?>
<div class="tp-sidebar"> <div class="tp-sidebar">
<div class="logo"> <div class="logo">
<?php if (!empty(Yii::$app->controller->classStatus)) { ?> <?php if (!empty(Yii::$app->controller->classStatus)) { ?>
<a href="<?=\yii\helpers\Url::to(['home/index', 'classId'=>Yii::$app->controller->classStatus['id']])?>" target="_blank"> <a href="<?= \yii\helpers\Url::to(['home/index', 'classId' => Yii::$app->controller->classStatus['id']]) ?>"
<?=Yii::$app->controller->classStatus['name']?> target="_blank">
<?= Yii::$app->controller->classStatus['name'] ?>
<i class="icon-home"></i> <i class="icon-home"></i>
</a> </a>
<?php } ?> <?php } ?>
</div> </div>
<div class="side-menu"> <div class="side-menu">
<!-- Contenedor --> <!-- Contenedor -->
<ul id="accordion" class="accordion" data-route="<?=Yii::$app->controller->id?>_<?=Yii::$app->requestedAction->id?>"> <ul id="accordion" class="accordion"
data-route="<?= Yii::$app->controller->id ?>_<?= Yii::$app->requestedAction->id ?>">
<li> <li>
<div class="link">我的课堂<!--<i class="icon-navigate_next"></i>--></div> <div class="link">我的课堂<!--<i class="icon-navigate_next"></i>--></div>
<ul class="submenu"> <ul class="submenu">
<li class="RT_classes-info_index"><a href="/classes-info"><i class="icon-school"></i>课堂概况</a></li> <li class="RT_classes-info_index"><a href="/classes-info"><i class="icon-school"></i>课堂概况</a>
<li class="RT_teacher-manager_index RT_teacher-manager_edit RT_teacher-manager_add"><a href="/teacher-manager"><i class="icon-folder_shared"></i>讲师管理</a></li> </li>
<li class="RT_teacher-manager_index RT_teacher-manager_edit RT_teacher-manager_add"><a
href="/teacher-manager"><i class="icon-folder_shared"></i>讲师管理</a></li>
</ul> </ul>
</li> </li>
<li> <li>
<div class="link">我的课程</div> <div class="link">我的课程</div>
<ul class="submenu"> <ul class="submenu">
<li class="RT_my-course_publish RT_my-course_edit"><a href="/my-course/publish"><i class="icon-create_new_folder"></i>发布课程</a></li> <li class="RT_my-course_publish RT_my-course_edit"><a href="/my-course/publish"><i
class="icon-create_new_folder"></i>发布课程</a></li>
<li class="RT_my-course_index"><a href="/my-course"><i class="icon-assignment"></i>课程列表</a></li> <li class="RT_my-course_index"><a href="/my-course"><i class="icon-assignment"></i>课程列表</a></li>
</ul> </ul>
</li> </li>
...@@ -50,21 +55,29 @@ $this->beginContent('@app/views/layouts/center.php'); ...@@ -50,21 +55,29 @@ $this->beginContent('@app/views/layouts/center.php');
<script> <script>
var accordion = $("#accordion"); var accordion = $("#accordion");
var currentRoute = accordion.data("route"); var currentRoute = accordion.data("route");
accordion.find("li.RT_"+currentRoute).addClass("active"); accordion.find("li.RT_" + currentRoute).addClass("active");
</script> </script>
<a class="loginout" href="<?=\yii\helpers\Url::base() .'/site/logout'?>"><i class="icon-power_settings_new"></i>退出登录</a> <a class="loginout" href="<?= \yii\helpers\Url::base() . '/site/logout' ?>"><i
class="icon-power_settings_new"></i>退出登录</a>
</div>
</div> </div>
</div>
<script type='text/javascript'> <script type='text/javascript'>
$(function () { $(function () {
$('.menu-btn').click(function () { $('.menu-btn').click(function () {
$('.tp-sidebar').animate({left:"0"}); $('.menu-mask').css('display', 'block');
$('.tp-sidebar').animate({left: "0"});
});
$('.menu-mask').click(function () {
$(this).css('display', 'none');
$('.tp-sidebar').animate({left: "-225px"});
}); });
}) })
</script> </script>
<div class="auto-main"> <div class="menu-mask"></div>
<div class="auto-main">
<?= $this->render('centerHeader') ?> <?= $this->render('centerHeader') ?>
<div class="tp-main"> <div class="tp-main">
...@@ -72,7 +85,7 @@ $this->beginContent('@app/views/layouts/center.php'); ...@@ -72,7 +85,7 @@ $this->beginContent('@app/views/layouts/center.php');
<?= $content ?> <?= $content ?>
</div> </div>
</div> </div>
</div> </div>
<?php <?php
$this->endContent(); $this->endContent();
$this->endBody(); $this->endBody();
......
...@@ -51,6 +51,9 @@ $this->beginContent('@app/views/layouts/center.php'); ...@@ -51,6 +51,9 @@ $this->beginContent('@app/views/layouts/center.php');
</div> </div>
</div> </div>
<div class="menu-mask"></div>
<div class="auto-main"> <div class="auto-main">
<?= $this->render('centerHeader') ?> <?= $this->render('centerHeader') ?>
<div class="tp-main"> <div class="tp-main">
...@@ -63,8 +66,13 @@ $this->beginContent('@app/views/layouts/center.php'); ...@@ -63,8 +66,13 @@ $this->beginContent('@app/views/layouts/center.php');
<script type='text/javascript'> <script type='text/javascript'>
$(function () { $(function () {
$('.menu-btn').click(function () { $('.menu-btn').click(function () {
$('.menu-mask').css('display','block');
$('.tp-sidebar').animate({left: "0"}); $('.tp-sidebar').animate({left: "0"});
}); });
$('.menu-mask').click(function () {
$(this).css('display','none');
$('.tp-sidebar').animate({left: "-225px"});
});
}) })
</script> </script>
<?php <?php
......
...@@ -9,13 +9,98 @@ use yii\helpers\Html; ...@@ -9,13 +9,98 @@ use yii\helpers\Html;
$this->title = $name; $this->title = $name;
?> ?>
<div class="container">
<div class="site-error">
<h1><?= Html::encode($this->title) ?></h1> <!DOCTYPE html>
<html>
<head lang="zh-CN">
<title><?= Html::encode($this->title) ?></title>
<meta charset="UTF-8">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="shortcut icon" href="<?=\frontend\assets\AppAsset::getStaticUrl('img/favicon.ico')?>">
<style>
*{
margin: 0;
padding: 0;
}
html,body{
height: 100%;
width: 100%;
background-color: #f4f7f7;
font-family: "Microsoft YaHei", "Helvitica Neue", Helvitica, Arial, "Hiragino Sans GB", "Arial Regular", "Microsoft JhengHei", sans-serif;
}
.vertical-obj {
display: table;
width: 100%;
height: 100%;
min-height: 100%;
text-align: center;
}
.vertical-obj .vertical-obj-cont {
display: table-cell;
vertical-align: middle;
}
.main-box {
min-width: 690px;
min-height: 440px;
position: relative;
display: inline-block;
background-color: #fff;
box-shadow: 0 0 80px rgba(0,0,0,.05);
}
.main-box img {
width: 150px;
margin-top: 80px;
}
.main-box p {
position: absolute;
display: block;
width: 100%;
text-align: center;
top:50%;
left: 0;
}
.main-box p span {
display: block;
color: #999;
font-size: 12px;
padding-top: 40px;
}
.main-box p a {
display: inline-block;
padding: 0 30px;
height: 30px;
background-color: #f7cf89;
color: #fff;
text-align: center;
line-height: 30px;
text-decoration: none;
font-size: 12px;
margin-top: 30px;
}
.main-box p a:hover {
background-color: #f6c269;
color: #fff;
}
</style>
</head>
<body>
<div class="vertical-obj">
<div class="vertical-obj-cont">
<div class="main-box">
<img src="<?=\frontend\assets\AppAsset::getStaticUrl('img/error.jpg')?>">
<p>
<span><?= nl2br(Html::encode($message)) ?></span>
<a href="<?=\yii\helpers\Url::base().'/'?>">回首页</a>
</p>
<div class="alert alert-danger">
<?= nl2br(Html::encode($message)) ?>
</div> </div>
</div> </div>
</div> </div>
</body>
</html>
<?php
/* @var $this yii\web\View */
/* @var $name string */
/* @var $message string */
/* @var $exception Exception */
use yii\helpers\Html;
$this->title = $name;
?>
<!DOCTYPE html>
<html>
<head lang="zh-CN">
<title><?= Html::encode($this->title) ?></title>
<meta charset="UTF-8">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="shortcut icon" href="<?=\frontend\assets\AppAsset::getStaticUrl('img/favicon.ico')?>">
<style>
*{
margin: 0;
padding: 0;
}
html,body{
height: 100%;
width: 100%;
background-color: #f4f7f7;
font-family: "Microsoft YaHei", "Helvitica Neue", Helvitica, Arial, "Hiragino Sans GB", "Arial Regular", "Microsoft JhengHei", sans-serif;
}
.vertical-obj {
display: table;
width: 100%;
height: 100%;
min-height: 100%;
text-align: center;
}
.vertical-obj .vertical-obj-cont {
display: table-cell;
vertical-align: middle;
}
.main-box {
position: relative;
display: inline-block;
background-color: #f4f7f7;
box-shadow: 0 0 80px rgba(0,0,0,.05);
}
.main-box p {
position: absolute;
display: block;
width: 100%;
text-align: center;
top:50%;
left: 0;
}
.main-box p span {
display: block;
color: #999;
font-size: 12px;
padding-top: 40px;
}
.main-box p a {
display: inline-block;
padding: 0 30px;
height: 30px;
background-color: #f7cf89;
color: #fff;
text-align: center;
line-height: 30px;
text-decoration: none;
font-size: 12px;
margin-top: 30px;
}
.main-box p a:hover {
background-color: #f6c269;
color: #fff;
}
.main-box img {
max-width: 690px;
}
</style>
</head>
<body>
<div class="vertical-obj">
<div class="vertical-obj-cont">
<div class="main-box">
<img src="<?=\frontend\assets\AppAsset::getStaticUrl('img/404.jpg')?>">
<p>
<span><?= nl2br(Html::encode($message)) ?></span>
<a href="<?=\yii\helpers\Url::base().'/'?>">回首页</a>
</p>
</div>
</div>
</div>
</body>
</html>
...@@ -57,7 +57,7 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js'); ...@@ -57,7 +57,7 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js');
'captchaAction' => 'site/captcha', 'captchaAction' => 'site/captcha',
])->error(FALSE); ?> ])->error(FALSE); ?>
<input id="verifyCode" name="verifyCode" type="text" placeholder="输入验证码" required=""> <input id="verifyCode" name="verifyCode" type="text" placeholder="输入验证码" required="">
<span id="verifyCode" class="tips"><?= $model->getFirstError('verifyCode') ?></span> <span id="verifyCode" class="tips tip-vcode"><?= $model->getFirstError('verifyCode') ?></span>
</div> </div>
</div> </div>
......
...@@ -167,7 +167,7 @@ a,a:hover,a:link { ...@@ -167,7 +167,7 @@ a,a:hover,a:link {
} }
.input-wrapper span.tip-vcode { .input-wrapper span.tip-vcode {
right: 85px; right: 100px;
} }
.btn-get-vcode { .btn-get-vcode {
......
...@@ -2,11 +2,13 @@ ...@@ -2,11 +2,13 @@
body, body,
html { html {
background-color: #f3f3f3; background-color: #f3f3f3;
font-family: "Helvitica Neue",Helvitica,Arial,"Hiragino Sans GB","Microsoft YaHei","Arial Regular","Microsoft JhengHei",sans-serif; font-family: "Helvitica Neue", Helvitica, Arial, "Hiragino Sans GB", "Microsoft YaHei", "Arial Regular", "Microsoft JhengHei", sans-serif;
} }
a:link,a:active,a:visited {
text-decoration: none!important; a:link, a:active, a:visited {
text-decoration: none !important;
} }
.auto-main { .auto-main {
padding-left: 225px; padding-left: 225px;
height: 100px; height: 100px;
...@@ -20,20 +22,23 @@ a:link,a:active,a:visited { ...@@ -20,20 +22,23 @@ a:link,a:active,a:visited {
.m-t-20 { .m-t-20 {
margin-top: 20px; margin-top: 20px;
} }
.m-b-20 { .m-b-20 {
margin-bottom: 20px; margin-bottom: 20px;
} }
.d-i-b { .d-i-b {
display: inline-block; display: inline-block;
} }
.tit { .tit {
font-size: 16px; font-size: 16px;
} }
.btn { .btn {
outline: none; outline: none;
} }
/*side bar*/ /*side bar*/
.tp-sidebar { .tp-sidebar {
position: fixed; position: fixed;
...@@ -42,15 +47,17 @@ a:link,a:active,a:visited { ...@@ -42,15 +47,17 @@ a:link,a:active,a:visited {
width: 225px; width: 225px;
background-color: #36404e; background-color: #36404e;
height: 100%; height: 100%;
z-index: 4; z-index: 5;
} }
.logo { .logo {
height: 60px; height: 60px;
text-align: center; text-align: center;
background-color: #3b4654; background-color: #3b4654;
border-bottom: 1px solid #3b4654; border-bottom: 1px solid #3b4654;
box-shadow: 0 0 5px rgba(0,0,0,.12); box-shadow: 0 0 5px rgba(0, 0, 0, .12);
} }
.logo a { .logo a {
display: block; display: block;
font-size: 14px; font-size: 14px;
...@@ -64,6 +71,7 @@ a:link,a:active,a:visited { ...@@ -64,6 +71,7 @@ a:link,a:active,a:visited {
-o-transition: all 0.4s ease; -o-transition: all 0.4s ease;
transition: all 0.4s ease; transition: all 0.4s ease;
} }
.logo a i { .logo a i {
display: none; display: none;
width: 20px; width: 20px;
...@@ -73,18 +81,20 @@ a:link,a:active,a:visited { ...@@ -73,18 +81,20 @@ a:link,a:active,a:visited {
font-size: 14px; font-size: 14px;
color: #fff; color: #fff;
} }
.logo a:hover i { .logo a:hover i {
display: inline-block; display: inline-block;
} }
.logo a img { .logo a img {
padding: 21px 0; padding: 21px 0;
} }
.accordion, .accordion,
.accordion li { .accordion li {
width: 100%; width: 100%;
} }
.accordion .link { .accordion .link {
display: block; display: block;
padding: 15px 15px 5px 10px; padding: 15px 15px 5px 10px;
...@@ -116,6 +126,7 @@ a:link,a:active,a:visited { ...@@ -116,6 +126,7 @@ a:link,a:active,a:visited {
.accordion li.open i { .accordion li.open i {
color: #fff; color: #fff;
} }
.accordion li.open i.icon-navigate_next { .accordion li.open i.icon-navigate_next {
-webkit-transform: rotate(90deg); -webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg); -ms-transform: rotate(90deg);
...@@ -136,9 +147,11 @@ a:link,a:active,a:visited { ...@@ -136,9 +147,11 @@ a:link,a:active,a:visited {
position: relative; position: relative;
width: 100%; width: 100%;
} }
.submenu li a { .submenu li a {
border-left: 2px solid transparent; border-left: 2px solid transparent;
} }
.submenu li i { .submenu li i {
position: absolute; position: absolute;
top: 14px; top: 14px;
...@@ -149,6 +162,7 @@ a:link,a:active,a:visited { ...@@ -149,6 +162,7 @@ a:link,a:active,a:visited {
-o-transition: all 0.4s ease; -o-transition: all 0.4s ease;
transition: all 0.4s ease; transition: all 0.4s ease;
} }
.submenu li.active a { .submenu li.active a {
background-color: #313a46; background-color: #313a46;
border-left: 2px solid #607ca1; border-left: 2px solid #607ca1;
...@@ -170,21 +184,21 @@ a:link,a:active,a:visited { ...@@ -170,21 +184,21 @@ a:link,a:active,a:visited {
color: #FFF; color: #FFF;
} }
/*head*/ /*head*/
.tp-head { .tp-head {
width: 100%; width: 100%;
height: 60px; height: 60px;
background-color: #fff; background-color: #fff;
border-bottom: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
box-shadow: 0 0 5px rgba(0,0,0,.12); box-shadow: 0 0 5px rgba(0, 0, 0, .12);
z-index: 3; z-index: 3;
} }
.avatar { .avatar {
padding-right: 30px; padding-right: 30px;
height: 60px; height: 60px;
} }
.avatar > a { .avatar > a {
display: block; display: block;
margin-top: 15px; margin-top: 15px;
...@@ -192,17 +206,20 @@ a:link,a:active,a:visited { ...@@ -192,17 +206,20 @@ a:link,a:active,a:visited {
-o-transition: all 0.4s ease; -o-transition: all 0.4s ease;
transition: all 0.4s ease; transition: all 0.4s ease;
} }
.avatar > a:hover { .avatar > a:hover {
-webkit-transform: rotate(360deg); -webkit-transform: rotate(360deg);
-ms-transform: rotate(360deg); -ms-transform: rotate(360deg);
-o-transform: rotate(360deg); -o-transform: rotate(360deg);
transform: rotate(360deg); transform: rotate(360deg);
} }
.avatar > a > img { .avatar > a > img {
height: 30px; height: 30px;
width: 30px; width: 30px;
border-radius: 100%; border-radius: 100%;
} }
.menu-btn { .menu-btn {
padding-left: 255px; padding-left: 255px;
height: 60px; height: 60px;
...@@ -211,17 +228,19 @@ a:link,a:active,a:visited { ...@@ -211,17 +228,19 @@ a:link,a:active,a:visited {
color: #999; color: #999;
text-align: center; text-align: center;
} }
.updownmenu { .updownmenu {
display: none; display: none;
width: 120px; width: 120px;
position: absolute; position: absolute;
top:59px; top: 59px;
right: 0; right: 0;
background-color: #fff; background-color: #fff;
border: 1px solid #e7e7e7; border: 1px solid #e7e7e7;
text-align: center; text-align: center;
box-shadow: 1px 1px 20px rgba(0,0,0,.1); box-shadow: 1px 1px 20px rgba(0, 0, 0, .1);
} }
.updownmenu li a { .updownmenu li a {
display: block; display: block;
padding: 0 20px; padding: 0 20px;
...@@ -230,14 +249,15 @@ a:link,a:active,a:visited { ...@@ -230,14 +249,15 @@ a:link,a:active,a:visited {
color: #333; color: #333;
border-bottom: 1px solid #f3f3f3; border-bottom: 1px solid #f3f3f3;
} }
.updownmenu li a:hover { .updownmenu li a:hover {
background-color: #f3f3f3; background-color: #f3f3f3;
} }
.avatar:hover .updownmenu { .avatar:hover .updownmenu {
display: block; display: block;
} }
/*main*/ /*main*/
.tp-main { .tp-main {
width: 100%; width: 100%;
...@@ -255,12 +275,14 @@ a:link,a:active,a:visited { ...@@ -255,12 +275,14 @@ a:link,a:active,a:visited {
font-size: 18px; font-size: 18px;
color: #fff; color: #fff;
} }
.class-name .edit { .class-name .edit {
display: none; display: none;
position: absolute; position: absolute;
right: 10px; right: 10px;
top: 10px; top: 10px;
} }
.class-name .edit a { .class-name .edit a {
display: block; display: block;
width: 30px; width: 30px;
...@@ -268,41 +290,48 @@ a:link,a:active,a:visited { ...@@ -268,41 +290,48 @@ a:link,a:active,a:visited {
text-align: center; text-align: center;
line-height: 33px; line-height: 33px;
font-size: 16px; font-size: 16px;
background-color: rgba(0,0,0,.3); background-color: rgba(0, 0, 0, .3);
color: #fff; color: #fff;
border-radius: 100%; border-radius: 100%;
} }
.class-name .edit a:hover { .class-name .edit a:hover {
background-color: #3f7de4; background-color: #3f7de4;
color: #fff; color: #fff;
} }
.class-name:hover .edit { .class-name:hover .edit {
display: block; display: block;
} }
.edit-class-name input{ .edit-class-name input {
display: inline-block; display: inline-block;
width: 100px; width: 100px;
text-align: center; text-align: center;
background-color: transparent; background-color: transparent;
color: #fff; color: #fff;
} }
.edit-class-name input:focus { .edit-class-name input:focus {
border-bottom: 1px solid #fff; border-bottom: 1px solid #fff;
} }
.edit-class-name button { .edit-class-name button {
background-color: transparent; background-color: transparent;
border: none; border: none;
color: #fff; color: #fff;
} }
.nomal-class-name a { .nomal-class-name a {
color: #fff; color: #fff;
} }
.class-intro { .class-intro {
height: 400px; height: 400px;
border-radius: 3px; border-radius: 3px;
margin-top: 30px; margin-top: 30px;
} }
.class-intro .col-md-4 { .class-intro .col-md-4 {
position: relative; position: relative;
height: 360px; height: 360px;
...@@ -313,13 +342,16 @@ a:link,a:active,a:visited { ...@@ -313,13 +342,16 @@ a:link,a:active,a:visited {
-o-transition: all 0.25s ease; -o-transition: all 0.25s ease;
transition: all 0.25s ease; transition: all 0.25s ease;
} }
.class-intro .col-md-4:first-child { .class-intro .col-md-4:first-child {
border-radius: 3px 0 0 3px; border-radius: 3px 0 0 3px;
} }
.class-intro .col-md-4:last-child { .class-intro .col-md-4:last-child {
border-radius: 0 3px 3px 0; border-radius: 0 3px 3px 0;
border-right: 1px solid transparent; border-right: 1px solid transparent;
} }
.class-intro .col-md-4:hover { .class-intro .col-md-4:hover {
background-color: #6e59c0; background-color: #6e59c0;
} }
...@@ -331,17 +363,20 @@ a:link,a:active,a:visited { ...@@ -331,17 +363,20 @@ a:link,a:active,a:visited {
font-weight: normal; font-weight: normal;
padding: 20px 0 20px 30px; padding: 20px 0 20px 30px;
} }
.class-intro .col-md-4 p { .class-intro .col-md-4 p {
margin-top: 10px; margin-top: 10px;
font-size: 40px; font-size: 40px;
color: #505458; color: #505458;
padding-left: 30px; padding-left: 30px;
} }
.class-intro .col-md-4 p small { .class-intro .col-md-4 p small {
font-size: 14px; font-size: 14px;
padding-left: 10px; padding-left: 10px;
color: #4bd4ae; color: #4bd4ae;
} }
.class-intro .col-md-4 a { .class-intro .col-md-4 a {
margin-left: 30px; margin-left: 30px;
margin-top: 30px; margin-top: 30px;
...@@ -355,6 +390,7 @@ a:link,a:active,a:visited { ...@@ -355,6 +390,7 @@ a:link,a:active,a:visited {
border-radius: 3px; border-radius: 3px;
color: #999; color: #999;
} }
.class-intro .col-md-4 i { .class-intro .col-md-4 i {
position: absolute; position: absolute;
right: -40px; right: -40px;
...@@ -365,13 +401,16 @@ a:link,a:active,a:visited { ...@@ -365,13 +401,16 @@ a:link,a:active,a:visited {
-o-transition: all 0.25s ease; -o-transition: all 0.25s ease;
transition: all 0.25s ease; transition: all 0.25s ease;
} }
.class-intro .col-md-4:hover h3, .class-intro .col-md-4:hover h3,
.class-intro .col-md-4:hover p { .class-intro .col-md-4:hover p {
color: #fff; color: #fff;
} }
.class-intro .col-md-4:hover a { .class-intro .col-md-4:hover a {
color: #fff; color: #fff;
} }
.class-intro .col-md-4 a:hover { .class-intro .col-md-4 a:hover {
background-color: #fff; background-color: #fff;
color: #2a6496; color: #2a6496;
...@@ -382,7 +421,6 @@ a:link,a:active,a:visited { ...@@ -382,7 +421,6 @@ a:link,a:active,a:visited {
color: #9688c9; color: #9688c9;
} }
/*foot*/ /*foot*/
.foot { .foot {
padding: 10px 0 0; padding: 10px 0 0;
...@@ -391,18 +429,17 @@ a:link,a:active,a:visited { ...@@ -391,18 +429,17 @@ a:link,a:active,a:visited {
color: #999; color: #999;
border-top: 1px solid #e7e7e7; border-top: 1px solid #e7e7e7;
} }
.foot p { .foot p {
margin-top: 10px; margin-top: 10px;
padding-left: 285px; padding-left: 285px;
font-size: 12px; font-size: 12px;
} }
.foot p a { .foot p a {
color: #999; color: #999;
} }
/*teacher list*/ /*teacher list*/
.teacher-box { .teacher-box {
position: relative; position: relative;
...@@ -413,6 +450,7 @@ a:link,a:active,a:visited { ...@@ -413,6 +450,7 @@ a:link,a:active,a:visited {
text-align: center; text-align: center;
overflow: hidden; overflow: hidden;
} }
.teacher-box > img { .teacher-box > img {
margin-top: 100px; margin-top: 100px;
border-radius: 100%; border-radius: 100%;
...@@ -422,10 +460,12 @@ a:link,a:active,a:visited { ...@@ -422,10 +460,12 @@ a:link,a:active,a:visited {
-o-transition: all 0.4s ease; -o-transition: all 0.4s ease;
transition: all 0.4s ease; transition: all 0.4s ease;
} }
.teacher-box > h3 { .teacher-box > h3 {
font-size: 14px; font-size: 14px;
font-weight: normal; font-weight: normal;
} }
.teacher-box > a { .teacher-box > a {
position: absolute; position: absolute;
opacity: 0; opacity: 0;
...@@ -435,15 +475,16 @@ a:link,a:active,a:visited { ...@@ -435,15 +475,16 @@ a:link,a:active,a:visited {
text-align: center; text-align: center;
line-height: 34px; line-height: 34px;
font-size: 16px; font-size: 16px;
background-color: rgba(0,0,0,.3); background-color: rgba(0, 0, 0, .3);
color: #ffffff; color: #ffffff;
text-decoration: none; text-decoration: none;
-webkit-transition: all 0.4s ease; -webkit-transition: all 0.4s ease;
-o-transition: all 0.4s ease; -o-transition: all 0.4s ease;
transition: all 0.4s ease; transition: all 0.4s ease;
} }
.teacher-box > a:hover { .teacher-box > a:hover {
background-color:#2a6496; background-color: #2a6496;
} }
.teacher-box > a.edit { .teacher-box > a.edit {
...@@ -464,13 +505,14 @@ a:link,a:active,a:visited { ...@@ -464,13 +505,14 @@ a:link,a:active,a:visited {
line-height: 1.8; line-height: 1.8;
text-indent: 2em; text-indent: 2em;
opacity: 0; opacity: 0;
height: 120px; height: 115px;
overflow: hidden; overflow: hidden;
-webkit-transition: all 0.4s ease; -webkit-transition: all 0.4s ease;
-o-transition: all 0.4s ease; -o-transition: all 0.4s ease;
transition: all 0.4s ease; transition: all 0.4s ease;
word-break:break-all; word-break: break-all;
} }
.teacher-box:hover > img { .teacher-box:hover > img {
margin-top: 50px; margin-top: 50px;
} }
...@@ -478,33 +520,37 @@ a:link,a:active,a:visited { ...@@ -478,33 +520,37 @@ a:link,a:active,a:visited {
.teacher-box:hover > p { .teacher-box:hover > p {
opacity: 1; opacity: 1;
} }
.teacher-box:hover > a { .teacher-box:hover > a {
opacity: 1; opacity: 1;
} }
.teacher-box .add-teacher a { .teacher-box .add-teacher a {
display: block; display: block;
height: 300px; height: 300px;
color: #999; color: #999;
border-radius: 3px; border-radius: 3px;
} }
.teacher-box .add-teacher a:hover { .teacher-box .add-teacher a:hover {
text-decoration: none; text-decoration: none;
background-color: #2a6496; background-color: #2a6496;
color: #fff; color: #fff;
} }
.teacher-box .add-teacher a i{
.teacher-box .add-teacher a i {
text-align: center; text-align: center;
display: block; display: block;
font-size: 24px; font-size: 24px;
line-height: 90px; line-height: 90px;
padding-top: 80px; padding-top: 80px;
} }
.teacher-box .add-teacher a b { .teacher-box .add-teacher a b {
font-size: 12px; font-size: 12px;
font-weight: normal; font-weight: normal;
} }
/*添加讲师*/ /*添加讲师*/
.add-box { .add-box {
width: 50%; width: 50%;
...@@ -512,15 +558,18 @@ a:link,a:active,a:visited { ...@@ -512,15 +558,18 @@ a:link,a:active,a:visited {
border-radius: 3px; border-radius: 3px;
background-color: #fff; background-color: #fff;
} }
.add-box-main { .add-box-main {
position: relative; position: relative;
padding: 20px 40px; padding: 20px 40px;
text-align: center; text-align: center;
} }
.add-box-main .tit { .add-box-main .tit {
text-align: left; text-align: left;
font-size: 16px; font-size: 16px;
} }
.upload-avatar { .upload-avatar {
position: relative; position: relative;
height: 100px; height: 100px;
...@@ -530,17 +579,20 @@ a:link,a:active,a:visited { ...@@ -530,17 +579,20 @@ a:link,a:active,a:visited {
text-align: center; text-align: center;
margin: 20px auto; margin: 20px auto;
} }
.upload-avatar i { .upload-avatar i {
display: inline-block; display: inline-block;
font-size: 24px; font-size: 24px;
color: #999; color: #999;
margin-top: 25px; margin-top: 25px;
} }
.upload-avatar p { .upload-avatar p {
font-size: 12px; font-size: 12px;
color: #999; color: #999;
padding-top: 10px; padding-top: 10px;
} }
.upload-avatar input { .upload-avatar input {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
...@@ -553,6 +605,7 @@ a:link,a:active,a:visited { ...@@ -553,6 +605,7 @@ a:link,a:active,a:visited {
background-color: #000; background-color: #000;
cursor: pointer; cursor: pointer;
} }
.upload-avatar img { .upload-avatar img {
position: absolute; position: absolute;
left: 0; left: 0;
...@@ -562,6 +615,7 @@ a:link,a:active,a:visited { ...@@ -562,6 +615,7 @@ a:link,a:active,a:visited {
border-radius: 100%; border-radius: 100%;
z-index: 2; z-index: 2;
} }
.upload-avatar span.loading-tip { .upload-avatar span.loading-tip {
position: absolute; position: absolute;
display: inline-block; display: inline-block;
...@@ -573,12 +627,14 @@ a:link,a:active,a:visited { ...@@ -573,12 +627,14 @@ a:link,a:active,a:visited {
top: 0; top: 0;
left: 0; left: 0;
border-radius: 100%; border-radius: 100%;
background-color: rgba(0,0,0,.5); background-color: rgba(0, 0, 0, .5);
z-index: 3; z-index: 3;
} }
.upload-avatar:hover .upload-avatar-mask { .upload-avatar:hover .upload-avatar-mask {
display:block; display: block;
} }
.upload-avatar-mask { .upload-avatar-mask {
height: 100px; height: 100px;
display: none; display: none;
...@@ -592,6 +648,7 @@ a:link,a:active,a:visited { ...@@ -592,6 +648,7 @@ a:link,a:active,a:visited {
border-radius: 100%; border-radius: 100%;
line-height: 100px; line-height: 100px;
} }
.edit-info { .edit-info {
position: absolute; position: absolute;
display: inline-block; display: inline-block;
...@@ -606,11 +663,13 @@ a:link,a:active,a:visited { ...@@ -606,11 +663,13 @@ a:link,a:active,a:visited {
top: 20px; top: 20px;
background-color: #f3f3f3; background-color: #f3f3f3;
} }
.edit-info:hover { .edit-info:hover {
background-color: #3f7de4; background-color: #3f7de4;
color: #fff; color: #fff;
text-decoration: none; text-decoration: none;
} }
.type-name { .type-name {
font-size: 14px; font-size: 14px;
line-height: 24px; line-height: 24px;
...@@ -622,6 +681,7 @@ a:link,a:active,a:visited { ...@@ -622,6 +681,7 @@ a:link,a:active,a:visited {
transition: height 200ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; transition: height 200ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
background-color: transparent; background-color: transparent;
} }
.type-name input { .type-name input {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
position: relative; position: relative;
...@@ -638,22 +698,27 @@ a:link,a:active,a:visited { ...@@ -638,22 +698,27 @@ a:link,a:active,a:visited {
-o-transition: all 0.4s ease; -o-transition: all 0.4s ease;
transition: all 0.4s ease; transition: all 0.4s ease;
} }
.type-name input:focus { .type-name input:focus {
border-bottom: 1px solid #3498db; border-bottom: 1px solid #3498db;
} }
.teacher-info { .teacher-info {
position: relative; position: relative;
margin: 20px 0; margin: 20px 0;
} }
.teacher-info textarea { .teacher-info textarea {
width: 100%; width: 100%;
height: 100%; height: 100%;
outline: none; outline: none;
border: none; border: none;
} }
.teacher-info textarea:focus { .teacher-info textarea:focus {
border-bottom: 1px solid #3498db; border-bottom: 1px solid #3498db;
} }
.text-number { .text-number {
position: absolute; position: absolute;
height: 20px; height: 20px;
...@@ -670,6 +735,7 @@ a:link,a:active,a:visited { ...@@ -670,6 +735,7 @@ a:link,a:active,a:visited {
background-color: #fff; background-color: #fff;
border-radius: 3px; border-radius: 3px;
} }
.btn-nobg:hover, .btn-nobg:hover,
.btn-nobg:focus, .btn-nobg:focus,
.btn-nobg.focus, .btn-nobg.focus,
...@@ -700,13 +766,12 @@ a:link,a:active,a:visited { ...@@ -700,13 +766,12 @@ a:link,a:active,a:visited {
padding-top: 20px; padding-top: 20px;
} }
/*发布课程*/ /*发布课程*/
.send-class { .send-class {
padding: 20px 40px; padding: 20px 40px;
background-color: #fff; background-color: #fff;
} }
.input-r-control { .input-r-control {
display: block; display: block;
width: 100%; width: 100%;
...@@ -722,20 +787,25 @@ a:link,a:active,a:visited { ...@@ -722,20 +787,25 @@ a:link,a:active,a:visited {
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
} }
.input-r-control:focus { .input-r-control:focus {
border-bottom: 1px solid #3498db; border-bottom: 1px solid #3498db;
outline: 0; outline: 0;
} }
.input-r-control::-moz-placeholder { .input-r-control::-moz-placeholder {
color: #999; color: #999;
opacity: 1; opacity: 1;
} }
.input-r-control:-ms-input-placeholder { .input-r-control:-ms-input-placeholder {
color: #999; color: #999;
} }
.input-r-control::-webkit-input-placeholder { .input-r-control::-webkit-input-placeholder {
color: #999; color: #999;
} }
.input-r-control[disabled], .input-r-control[disabled],
.input-r-control[readonly], .input-r-control[readonly],
fieldset[disabled] .input-r-control { fieldset[disabled] .input-r-control {
...@@ -743,14 +813,17 @@ fieldset[disabled] .input-r-control { ...@@ -743,14 +813,17 @@ fieldset[disabled] .input-r-control {
background-color: #eee; background-color: #eee;
opacity: 1; opacity: 1;
} }
.reset-input { .reset-input {
width: 100px; width: 100px;
display: inline-block; display: inline-block;
margin-left: 20px; margin-left: 20px;
} }
textarea.input-r-control { textarea.input-r-control {
height: auto; height: auto;
} }
.cls-part { .cls-part {
position: relative; position: relative;
margin-top: 30px; margin-top: 30px;
...@@ -763,6 +836,7 @@ textarea.input-r-control { ...@@ -763,6 +836,7 @@ textarea.input-r-control {
color: #777; color: #777;
font-weight: normal; font-weight: normal;
} }
.help-block { .help-block {
position: absolute; position: absolute;
right: 0; right: 0;
...@@ -772,27 +846,33 @@ textarea.input-r-control { ...@@ -772,27 +846,33 @@ textarea.input-r-control {
color: #737373; color: #737373;
font-size: 12px; font-size: 12px;
} }
.cls-part .tit small { .cls-part .tit small {
font-size: 12px; font-size: 12px;
color: #999; color: #999;
margin-left: 5px; margin-left: 5px;
} }
.cls-part .tit span.remind { .cls-part .tit span.remind {
padding-left: 10px; padding-left: 10px;
color: red; color: red;
} }
.cls-part span.required { .cls-part span.required {
color: red; color: red;
padding-left: 5px; padding-left: 5px;
} }
.cls-part .checkbox label { .cls-part .checkbox label {
position: relative; position: relative;
} }
.rules-set label span { .rules-set label span {
display: inline-block; display: inline-block;
float: left; float: left;
padding: 0 5px; padding: 0 5px;
} }
.rules-set label input[type="text"] { .rules-set label input[type="text"] {
float: left; float: left;
height: 24px; height: 24px;
...@@ -801,14 +881,14 @@ textarea.input-r-control { ...@@ -801,14 +881,14 @@ textarea.input-r-control {
} }
/*bootcss reset*/ /*bootcss reset*/
.radio+.radio, .checkbox+.checkbox { .radio + .radio, .checkbox + .checkbox {
margin-top: 10px; margin-top: 10px;
} }
.radio, .checkbox { .radio, .checkbox {
margin-bottom: 0; margin-bottom: 0;
} }
/*.checkbox-part { /*.checkbox-part {
margin: 20px auto; margin: 20px auto;
} }
...@@ -842,7 +922,6 @@ textarea.input-r-control { ...@@ -842,7 +922,6 @@ textarea.input-r-control {
transform: rotate(-45deg); transform: rotate(-45deg);
}*/ }*/
.upload-video-btn { .upload-video-btn {
position: relative; position: relative;
height: 90px; height: 90px;
...@@ -852,6 +931,7 @@ textarea.input-r-control { ...@@ -852,6 +931,7 @@ textarea.input-r-control {
text-align: center; text-align: center;
margin-top: 10px; margin-top: 10px;
} }
.upload-video-btn input { .upload-video-btn input {
position: absolute; position: absolute;
left: 0; left: 0;
...@@ -863,21 +943,25 @@ textarea.input-r-control { ...@@ -863,21 +943,25 @@ textarea.input-r-control {
background-color: #000; background-color: #000;
opacity: 0; opacity: 0;
} }
.upload-video-btn i { .upload-video-btn i {
margin-top: 20px; margin-top: 20px;
display: block; display: block;
font-size: 24px; font-size: 24px;
color: #999; color: #999;
} }
.upload-video-btn b { .upload-video-btn b {
font-size: 12px; font-size: 12px;
color: #999; color: #999;
font-weight: normal; font-weight: normal;
margin-top: 10px; margin-top: 10px;
} }
.upload-video-btn:hover { .upload-video-btn:hover {
border: 1px solid #4285f4; border: 1px solid #4285f4;
} }
.upload-video-btn:hover i, .upload-video-btn:hover i,
.upload-video-btn:hover b { .upload-video-btn:hover b {
color: #4285f4; color: #4285f4;
...@@ -891,21 +975,25 @@ textarea.input-r-control { ...@@ -891,21 +975,25 @@ textarea.input-r-control {
padding: 10px; padding: 10px;
margin-top: 10px; margin-top: 10px;
} }
.upload-ready h3 { .upload-ready h3 {
font-size: 14px; font-size: 14px;
color: #333; color: #333;
font-weight: normal; font-weight: normal;
margin: 0; margin: 0;
} }
.upload-ready .video-detail { .upload-ready .video-detail {
color: #999; color: #999;
font-size: 12px; font-size: 12px;
margin-top: 5px; margin-top: 5px;
} }
.upload-ready .video-loading-text { .upload-ready .video-loading-text {
font-size: 12px; font-size: 12px;
padding-top: 8px; padding-top: 8px;
} }
.upload-ready > i { .upload-ready > i {
position: absolute; position: absolute;
left: 0; left: 0;
...@@ -916,6 +1004,7 @@ textarea.input-r-control { ...@@ -916,6 +1004,7 @@ textarea.input-r-control {
border-radius: 0 0 0 3px; border-radius: 0 0 0 3px;
background-color: #4285f4; background-color: #4285f4;
} }
.upload-ready a.delete { .upload-ready a.delete {
position: absolute; position: absolute;
right: 5px; right: 5px;
...@@ -928,18 +1017,21 @@ textarea.input-r-control { ...@@ -928,18 +1017,21 @@ textarea.input-r-control {
text-align: center; text-align: center;
line-height: 20px; line-height: 20px;
} }
.upload-ready a.delete i { .upload-ready a.delete i {
color: #999; color: #999;
font-size: 12px; font-size: 12px;
} }
.upload-ready a.delete:hover i { .upload-ready a.delete:hover i {
color: #333; color: #333;
} }
.upload-ready .tip-upload-rdy { .upload-ready .tip-upload-rdy {
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
background-color: rgba(255,133,0,.8); background-color: rgba(255, 133, 0, .8);
color: #fff; color: #fff;
display: inline-block; display: inline-block;
width: 300px; width: 300px;
...@@ -948,15 +1040,18 @@ textarea.input-r-control { ...@@ -948,15 +1040,18 @@ textarea.input-r-control {
border-radius: 3px; border-radius: 3px;
text-align: center; text-align: center;
} }
.upload-ready .tip-upload-rdy i { .upload-ready .tip-upload-rdy i {
font-size: 18px; font-size: 18px;
display: block; display: block;
padding: 20px 0 10px 5px; padding: 20px 0 10px 5px;
} }
.cls-intro-textarea { .cls-intro-textarea {
margin-top: 10px; margin-top: 10px;
} }
.cls-intro-textarea textarea{
.cls-intro-textarea textarea {
width: 100%; width: 100%;
height: 100px; height: 100px;
} }
...@@ -972,9 +1067,11 @@ textarea.input-r-control { ...@@ -972,9 +1067,11 @@ textarea.input-r-control {
color: #999; color: #999;
border: 1px solid #f3f3f3; border: 1px solid #f3f3f3;
} }
.upload-video-screen i { .upload-video-screen i {
padding-right: 5px; padding-right: 5px;
} }
.upload-video-screen input { .upload-video-screen input {
position: absolute; position: absolute;
left: 0; left: 0;
...@@ -986,6 +1083,7 @@ textarea.input-r-control { ...@@ -986,6 +1083,7 @@ textarea.input-r-control {
cursor: pointer; cursor: pointer;
z-index: 4; z-index: 4;
} }
.upload-video-screen span { .upload-video-screen span {
position: absolute; position: absolute;
left: 0; left: 0;
...@@ -997,6 +1095,7 @@ textarea.input-r-control { ...@@ -997,6 +1095,7 @@ textarea.input-r-control {
border-radius: 3px; border-radius: 3px;
z-index: 3; z-index: 3;
} }
.upload-video-screen img { .upload-video-screen img {
height: 166px; height: 166px;
width: 300px; width: 300px;
...@@ -1005,29 +1104,32 @@ textarea.input-r-control { ...@@ -1005,29 +1104,32 @@ textarea.input-r-control {
top: 0; top: 0;
border-radius: 3px; border-radius: 3px;
} }
.upload-video-screen:hover span { .upload-video-screen:hover span {
background-color: rgba(0,0,0,.6); background-color: rgba(0, 0, 0, .6);
color: #fff; color: #fff;
} }
/*课程列表*/ /*课程列表*/
.cls-list-box .col-md-4 { .cls-list-box .col-md-4 {
} }
.cls-box-main { .cls-box-main {
margin: 0 10px 40px 10px; margin: 0 10px 40px 10px;
background-color: #fff; background-color: #fff;
} }
.video-img-box { .video-img-box {
position: relative; position: relative;
height: 100%; height: 100%;
} }
.video-img-box img { .video-img-box img {
width: 100%; width: 100%;
} }
.video-img-box:hover { .video-img-box:hover {
box-shadow: 0 0 20px rgba(0,0,0,.12); box-shadow: 0 0 20px rgba(0, 0, 0, .12);
} }
.video-list-cnt { .video-list-cnt {
...@@ -1043,14 +1145,17 @@ textarea.input-r-control { ...@@ -1043,14 +1145,17 @@ textarea.input-r-control {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.video-list-cnt .tit a { .video-list-cnt .tit a {
color: #333; color: #333;
text-decoration: none; text-decoration: none;
} }
.video-list-cnt .tit a i { .video-list-cnt .tit a i {
color: red; color: red;
padding-right: 5px; padding-right: 5px;
} }
.video-list-cnt .description { .video-list-cnt .description {
font-size: 12px; font-size: 12px;
line-height: 1.6; line-height: 1.6;
...@@ -1059,6 +1164,7 @@ textarea.input-r-control { ...@@ -1059,6 +1164,7 @@ textarea.input-r-control {
height: 40px; height: 40px;
overflow: hidden; overflow: hidden;
} }
.video-list-cnt .teacher { .video-list-cnt .teacher {
font-size: 12px; font-size: 12px;
margin-top: 5px; margin-top: 5px;
...@@ -1066,10 +1172,12 @@ textarea.input-r-control { ...@@ -1066,10 +1172,12 @@ textarea.input-r-control {
height: 22px; height: 22px;
line-height: 22px; line-height: 22px;
} }
.video-list-cnt .teacher b{
.video-list-cnt .teacher b {
color: #f7b940; color: #f7b940;
font-weight: normal; font-weight: normal;
} }
.video-img-box .outline { .video-img-box .outline {
position: absolute; position: absolute;
bottom: 10px; bottom: 10px;
...@@ -1079,45 +1187,51 @@ textarea.input-r-control { ...@@ -1079,45 +1187,51 @@ textarea.input-r-control {
font-size: 12px; font-size: 12px;
color: #999; color: #999;
} }
.video-img-box .outline span { .video-img-box .outline span {
padding-right: 5px; padding-right: 5px;
} }
.video-img-box .avatar { .video-img-box .avatar {
position: absolute; position: absolute;
left: 10px; left: 10px;
top: 10px; top: 10px;
} }
.video-img-box .avatar img { .video-img-box .avatar img {
width: 30px; width: 30px;
height: 30px; height: 30px;
border-radius: 100%; border-radius: 100%;
} }
.video-img-box .edit { .video-img-box .edit {
display: none; display: none;
position: absolute; position: absolute;
right: 10px; right: 10px;
top: 10px; top: 10px;
} }
.video-img-box .edit a { .video-img-box .edit a {
display: inline-block; display: inline-block;
height: 30px; height: 30px;
width: 30px; width: 30px;
border-radius: 100%; border-radius: 100%;
background-color: rgba(0,0,0,.4); background-color: rgba(0, 0, 0, .4);
color: #fff; color: #fff;
text-align: center; text-align: center;
line-height: 30px; line-height: 30px;
text-decoration: none; text-decoration: none;
} }
.video-img-box .edit a:hover { .video-img-box .edit a:hover {
background-color: #4285f4; background-color: #4285f4;
color: #fff; color: #fff;
} }
.video-img-box:hover .edit { .video-img-box:hover .edit {
display: inline-block; display: inline-block;
} }
.video-examine-icon { .video-examine-icon {
display: block; display: block;
position: absolute; position: absolute;
...@@ -1128,15 +1242,15 @@ textarea.input-r-control { ...@@ -1128,15 +1242,15 @@ textarea.input-r-control {
top: 10px; top: 10px;
left: 10px; left: 10px;
font-size: 14px; font-size: 14px;
background-color: rgba(0,0,0,.5); background-color: rgba(0, 0, 0, .5);
color: #fff; color: #fff;
border-radius: 100%; border-radius: 100%;
} }
.video-img-box:hover .video-examine-icon { .video-img-box:hover .video-examine-icon {
background-color: red; background-color: red;
} }
/*课程列表 状态样式*/ /*课程列表 状态样式*/
.mask-big { .mask-big {
position: absolute; position: absolute;
...@@ -1145,12 +1259,13 @@ textarea.input-r-control { ...@@ -1145,12 +1259,13 @@ textarea.input-r-control {
top: 0; top: 0;
left: 0; left: 0;
text-align: center; text-align: center;
background-color: rgba(0,0,0,.7); background-color: rgba(0, 0, 0, .7);
color: #fff; color: #fff;
} }
.mask-big span { .mask-big span {
position: absolute; position: absolute;
top:50%; top: 50%;
margin-top: -20px; margin-top: -20px;
display: block; display: block;
width: 100%; width: 100%;
...@@ -1159,6 +1274,7 @@ textarea.input-r-control { ...@@ -1159,6 +1274,7 @@ textarea.input-r-control {
text-align: center; text-align: center;
font-size: 14px; font-size: 14px;
} }
.mask-big span i { .mask-big span i {
padding-right: 5px; padding-right: 5px;
} }
...@@ -1166,6 +1282,7 @@ textarea.input-r-control { ...@@ -1166,6 +1282,7 @@ textarea.input-r-control {
.examine-box { .examine-box {
margin-top: 100px; margin-top: 100px;
} }
.examine-box .ico { .examine-box .ico {
display: inline-block; display: inline-block;
width: 200px; width: 200px;
...@@ -1173,22 +1290,26 @@ textarea.input-r-control { ...@@ -1173,22 +1290,26 @@ textarea.input-r-control {
border-radius: 100%; border-radius: 100%;
background-color: #f9f9f9; background-color: #f9f9f9;
} }
.examine-box .ico i { .examine-box .ico i {
display: block; display: block;
font-size: 60px; font-size: 60px;
margin-top: 60px; margin-top: 60px;
color: #ccc; color: #ccc;
} }
.examine-box .ico span { .examine-box .ico span {
display: block; display: block;
padding-top: 20px; padding-top: 20px;
color: #999; color: #999;
} }
.examine-box > b { .examine-box > b {
display: block; display: block;
font-weight: normal; font-weight: normal;
padding-top: 40px; padding-top: 40px;
} }
.examine-box > p { .examine-box > p {
font-size: 12px; font-size: 12px;
color: #999; color: #999;
...@@ -1206,9 +1327,11 @@ textarea.input-r-control { ...@@ -1206,9 +1327,11 @@ textarea.input-r-control {
color: #ffffff; color: #ffffff;
text-align: center; text-align: center;
} }
.money-vip-box { .money-vip-box {
background-color: #c44640; background-color: #c44640;
} }
.reg-vip-box b, .reg-vip-box b,
.money-vip-box b { .money-vip-box b {
display: block; display: block;
...@@ -1217,6 +1340,7 @@ textarea.input-r-control { ...@@ -1217,6 +1340,7 @@ textarea.input-r-control {
padding-top: 40px; padding-top: 40px;
line-height: 50px; line-height: 50px;
} }
.reg-vip-box i, .reg-vip-box i,
.money-vip-box i { .money-vip-box i {
position: absolute; position: absolute;
...@@ -1226,20 +1350,23 @@ textarea.input-r-control { ...@@ -1226,20 +1350,23 @@ textarea.input-r-control {
left: 50%; left: 50%;
margin-left: -100px; margin-left: -100px;
z-index: 1; z-index: 1;
color: rgba(255,255,255,.1); color: rgba(255, 255, 255, .1);
} }
.table-box { .table-box {
background-color: #fff; background-color: #fff;
border-radius: 3px; border-radius: 3px;
margin: 30px 15px; margin: 30px 15px;
padding: 10px; padding: 10px;
} }
.table>thead>tr>th {
.table > thead > tr > th {
vertical-align: bottom; vertical-align: bottom;
border-bottom: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7;
font-weight: normal; font-weight: normal;
} }
.table>tbody>tr>td {
.table > tbody > tr > td {
border-top: 1px solid #f3f3f3; border-top: 1px solid #f3f3f3;
} }
...@@ -1249,31 +1376,37 @@ textarea.input-r-control { ...@@ -1249,31 +1376,37 @@ textarea.input-r-control {
margin: 0 15px; margin: 0 15px;
border-radius: 3px; border-radius: 3px;
} }
.buy-recode-top .col-md-4 { .buy-recode-top .col-md-4 {
margin: 10px 0; margin: 10px 0;
border-right: 1px solid #f3f3f3; border-right: 1px solid #f3f3f3;
height: 130px; height: 130px;
padding-left: 30px; padding-left: 30px;
} }
.buy-recode-top .col-md-4:last-child { .buy-recode-top .col-md-4:last-child {
border-right: none; border-right: none;
} }
.buy-recode-top .col-md-4 h3 { .buy-recode-top .col-md-4 h3 {
font-size: 14px; font-size: 14px;
font-weight: normal; font-weight: normal;
color: #666; color: #666;
margin-top: 35px; margin-top: 35px;
} }
.buy-recode-top .col-md-4 p { .buy-recode-top .col-md-4 p {
font-size: 30px; font-size: 30px;
color: #259e2b; color: #259e2b;
} }
.buy-recode-top .col-md-4 .band-wx-info { .buy-recode-top .col-md-4 .band-wx-info {
display: inline-block; display: inline-block;
margin-right: 10px; margin-right: 10px;
height: 34px; height: 34px;
line-height: 34px; line-height: 34px;
} }
.buy-recode-top .col-md-4 .band-wx-info span { .buy-recode-top .col-md-4 .band-wx-info span {
display: inline-block; display: inline-block;
height: 34px; height: 34px;
...@@ -1281,6 +1414,7 @@ textarea.input-r-control { ...@@ -1281,6 +1414,7 @@ textarea.input-r-control {
max-width: 100px; max-width: 100px;
overflow: hidden; overflow: hidden;
} }
.buy-recode-top .col-md-4 img { .buy-recode-top .col-md-4 img {
display: inline-block; display: inline-block;
float: left; float: left;
...@@ -1289,14 +1423,17 @@ textarea.input-r-control { ...@@ -1289,14 +1423,17 @@ textarea.input-r-control {
border-radius: 100%; border-radius: 100%;
margin-right: 10px; margin-right: 10px;
} }
.v-code-box { .v-code-box {
position: relative; position: relative;
} }
.v-code-box button { .v-code-box button {
position: absolute; position: absolute;
right: 0; right: 0;
bottom: 5px; bottom: 5px;
} }
.v-code-box .tip-vcode { .v-code-box .tip-vcode {
position: absolute; position: absolute;
right: 120px; right: 120px;
...@@ -1304,20 +1441,22 @@ textarea.input-r-control { ...@@ -1304,20 +1441,22 @@ textarea.input-r-control {
font-size: 12px; font-size: 12px;
color: red; color: red;
} }
.v-code-foot { .v-code-foot {
text-align: center; text-align: center;
padding: 20px 0 0; padding: 20px 0 0;
} }
.v-code-foot button { .v-code-foot button {
width: 100%; width: 100%;
} }
/*user center side menu*/ /*user center side menu*/
.simple-menu li { .simple-menu li {
width: 100%; width: 100%;
} }
.simple-menu li a { .simple-menu li a {
position: relative; position: relative;
display: block; display: block;
...@@ -1328,6 +1467,7 @@ textarea.input-r-control { ...@@ -1328,6 +1467,7 @@ textarea.input-r-control {
line-height: 50px; line-height: 50px;
text-decoration: none; text-decoration: none;
} }
.simple-menu li a i { .simple-menu li a i {
position: absolute; position: absolute;
left: 10px; left: 10px;
...@@ -1340,27 +1480,31 @@ textarea.input-r-control { ...@@ -1340,27 +1480,31 @@ textarea.input-r-control {
padding-right: 12px; padding-right: 12px;
font-size: 18px; font-size: 18px;
} }
.simple-menu li.active a { .simple-menu li.active a {
background-color: #313a46; background-color: #313a46;
border-left: 2px solid #607ca1; border-left: 2px solid #607ca1;
color: #fff; color: #fff;
} }
.apply-class button { .apply-class button {
width: 200px; width: 200px;
margin-left: 10px; margin-left: 10px;
} }
.sm-box .price { .sm-box .price {
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
color: #666; color: #666;
} }
.play-mask { .play-mask {
position: absolute; position: absolute;
display: inline-block; display: inline-block;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
background-color: rgba(0,0,0,.2); background-color: rgba(0, 0, 0, .2);
text-align: center; text-align: center;
z-index: 2; z-index: 2;
opacity: 0; opacity: 0;
...@@ -1368,13 +1512,16 @@ textarea.input-r-control { ...@@ -1368,13 +1512,16 @@ textarea.input-r-control {
-o-transition: all 0.4s ease; -o-transition: all 0.4s ease;
transition: all 0.4s ease; transition: all 0.4s ease;
} }
.play-mask a { .play-mask a {
display: block; display: block;
} }
.play-mask i { .play-mask i {
color: #fff; color: #fff;
font-size: 38px; font-size: 38px;
} }
.sm-box:hover .play-mask { .sm-box:hover .play-mask {
opacity: 1; opacity: 1;
} }
...@@ -1396,22 +1543,27 @@ textarea.input-r-control { ...@@ -1396,22 +1543,27 @@ textarea.input-r-control {
background: url("../img/empty.png") center top no-repeat; background: url("../img/empty.png") center top no-repeat;
color: #999; color: #999;
} }
/*模态框重置*/ /*模态框重置*/
.modal-content { .modal-content {
box-shadow: none; box-shadow: none;
border: none; border: none;
border-radius: 3px; border-radius: 3px;
} }
.modal-title { .modal-title {
font-size: 14px; font-size: 14px;
} }
.qrcode-img { .qrcode-img {
text-align: center; text-align: center;
} }
.qrcode-img > img { .qrcode-img > img {
height: 150px; height: 150px;
margin-top: 5px; margin-top: 5px;
} }
.qrcode-img > p { .qrcode-img > p {
margin-top: 5px; margin-top: 5px;
color: #999; color: #999;
...@@ -1429,9 +1581,11 @@ textarea.input-r-control { ...@@ -1429,9 +1581,11 @@ textarea.input-r-control {
background-color: #313a46; background-color: #313a46;
color: #999; color: #999;
} }
.loginout:hover { .loginout:hover {
color: #fff; color: #fff;
} }
.loginout i { .loginout i {
font-size: 14px; font-size: 14px;
padding-right: 10px; padding-right: 10px;
...@@ -1439,10 +1593,11 @@ textarea.input-r-control { ...@@ -1439,10 +1593,11 @@ textarea.input-r-control {
/*编辑器边框颜色*/ /*编辑器边框颜色*/
.simditor { .simditor {
border: 1px solid #f3f3f3!important; border: 1px solid #f3f3f3 !important;
} }
.simditor-body { .simditor-body {
text-align: left!important; text-align: left !important;
} }
/*选项卡*/ /*选项卡*/
...@@ -1457,16 +1612,20 @@ textarea.input-r-control { ...@@ -1457,16 +1612,20 @@ textarea.input-r-control {
text-align: center; text-align: center;
z-index: 2; z-index: 2;
} }
.tab-headbox li { .tab-headbox li {
display: inline-block; display: inline-block;
margin: 0 10px; margin: 0 10px;
} }
.tab-headbox li:first-child{
.tab-headbox li:first-child {
margin-left: 225px; margin-left: 225px;
} }
.tab-headbox li.active a { .tab-headbox li.active a {
border-bottom: 2px solid #3f7de4; border-bottom: 2px solid #3f7de4;
} }
.tab-headbox li a { .tab-headbox li a {
display: block; display: block;
height: 49px; height: 49px;
...@@ -1479,24 +1638,40 @@ textarea.input-r-control { ...@@ -1479,24 +1638,40 @@ textarea.input-r-control {
margin-top: 50px; margin-top: 50px;
} }
@media (max-width: 767px) { @media (max-width: 767px) {
.tp-sidebar { .tp-sidebar {
left: -225px; left: -225px;
} }
.auto-main { .auto-main {
padding-left: 0; padding-left: 0;
} }
.menu-btn { .menu-btn {
padding-left: 30px; padding-left: 30px;
} }
.foot p { .foot p {
padding-left: 30px; padding-left: 30px;
} }
.add-box { .add-box {
width: auto; width: auto;
} }
.tab-headbox li:first-child{
.tab-headbox li:first-child {
margin-left: 20px; margin-left: 20px;
} }
} }
.menu-mask {
display: none;
position: fixed;
left: 0;
top: 0;
height: 100%;
width: 100%;
background-color: rgb(0, 0, 0);
opacity: 0.5;
z-index: 4;
}
\ No newline at end of file
...@@ -23,8 +23,7 @@ ...@@ -23,8 +23,7 @@
<div class="v-foot"> <div class="v-foot">
<div class="v-price"> <div class="v-price">
<small>¥</small> 售价:<small>¥</small>{{item.price}}
{{item.price}}
</div> </div>
<div class="v-detail"> <div class="v-detail">
<span><i class="icon-comment-full"></i> {{item.comment_count}}</span> <span><i class="icon-comment-full"></i> {{item.comment_count}}</span>
......
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
}, },
methods: { methods: {
payClick(){ payClick(){
if(this.coursewareInfo.isShop){ if(!this.coursewareInfo.isGuest){
if(this.isMobile == false && this.isWeixin == false){ if(this.isMobile == false && this.isWeixin == false){
$('#web-pay').trigger('click'); $('#web-pay').trigger('click');
}else if(this.isMobile == true && this.isWeixin == false){ }else if(this.isMobile == true && this.isWeixin == false){
......
<!DOCTYPE html>
<html>
<head lang="zh-CN">
<title>404</title>
<meta charset="UTF-8">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="shortcut icon" href="/favicon.ico">
<style>
*{
margin: 0;
padding: 0;
}
html,body{
height: 100%;
width: 100%;
background-color: #f4f7f7;
font-family: "Microsoft YaHei", "Helvitica Neue", Helvitica, Arial, "Hiragino Sans GB", "Arial Regular", "Microsoft JhengHei", sans-serif;
}
.vertical-obj {
display: table;
width: 100%;
height: 100%;
min-height: 100%;
text-align: center;
}
.vertical-obj .vertical-obj-cont {
display: table-cell;
vertical-align: middle;
}
.main-box {
position: relative;
display: inline-block;
background-color: #f4f7f7;
box-shadow: 0 0 80px rgba(0,0,0,.05);
}
.main-box p {
position: absolute;
display: block;
width: 100%;
text-align: center;
top:50%;
left: 0;
}
.main-box p span {
display: block;
color: #999;
font-size: 12px;
padding-top: 40px;
}
.main-box p a {
display: inline-block;
padding: 0 30px;
height: 30px;
background-color: #f7cf89;
color: #fff;
text-align: center;
line-height: 30px;
text-decoration: none;
font-size: 12px;
margin-top: 30px;
}
.main-box p a:hover {
background-color: #f6c269;
color: #fff;
}
.main-box img {
max-width: 690px;
}
</style>
</head>
<body>
<div class="vertical-obj">
<div class="vertical-obj-cont">
<div class="main-box">
<img src="img/404.jpg">
<p>
<span>页面没找到</span>
<a href="#">回首页</a>
</p>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
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