Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zuiketang
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
zuiketang
Commits
b7e733af
Commit
b7e733af
authored
Oct 25, 2016
by
汪波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改样式
parent
da50ffa2
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
118 additions
and
72 deletions
+118
-72
index.php
src/frontend/views/classes-info/index.php
+5
-1
blank.php
src/frontend/views/layouts/blank.php
+1
-1
center.php
src/frontend/views/layouts/center.php
+3
-3
centerHeader.php
src/frontend/views/layouts/centerHeader.php
+10
-1
main.php
src/frontend/views/layouts/main.php
+2
-2
userCenter.php
src/frontend/views/layouts/userCenter.php
+7
-1
index.php
src/frontend/views/my-course/index.php
+15
-6
publish.php
src/frontend/views/my-course/publish.php
+5
-5
login.php
src/frontend/views/site/login.php
+0
-3
signup.php
src/frontend/views/site/signup.php
+1
-2
browseRecord.php
src/frontend/views/user-center/browseRecord.php
+19
-26
style.css
src/frontend/web/css/style.css
+49
-10
avatar-upload.vue
src/frontend/web/js/components/uploader/avatar-upload.vue
+0
-4
style.css
ui/html/css/style.css
+1
-7
No files found.
src/frontend/views/classes-info/index.php
View file @
b7e733af
...
@@ -10,7 +10,11 @@ use yii\helpers\Url;
...
@@ -10,7 +10,11 @@ use yii\helpers\Url;
$this
->
title
=
'我的课堂'
;
$this
->
title
=
'我的课堂'
;
?>
?>
<div
class=
"class-name"
>
<?=
$model
->
name
?>
</div>
<div
class=
"class-name"
>
<span
style=
"display: none"
>
<?=
$model
->
name
?>
<a
href=
"#"
><i
class=
"icon-mode_edit"
></i></a></span>
<span
class=
"edit-class-name"
><input
type=
"text"
class=
"input-r-control"
>
<button
class=
"btn btn-default"
>
保存
</button>
<button
class=
"btn btn-default"
>
取消
</button></span>
</div>
<div
class=
"class-intro"
>
<div
class=
"class-intro"
>
<div
class=
"col-md-4"
>
<div
class=
"col-md-4"
>
<h3>
课程总数
</h3>
<h3>
课程总数
</h3>
...
...
src/frontend/views/layouts/blank.php
View file @
b7e733af
...
@@ -12,7 +12,7 @@ $this->beginPage() ?>
...
@@ -12,7 +12,7 @@ $this->beginPage() ?>
<meta
charset=
"
<?=
\Yii
::
$app
->
charset
?>
"
>
<meta
charset=
"
<?=
\Yii
::
$app
->
charset
?>
"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<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"
>
<title>
<?=
(
$this
->
title
?
Html
::
encode
(
$this
->
title
)
.
'-'
:
''
)
?>
最课堂
</title>
<title>
<?=
(
$this
->
title
?
Html
::
encode
(
$this
->
title
)
.
'-'
:
''
)
?>
云涯
</title>
<?php
$this
->
head
()
?>
<?php
$this
->
head
()
?>
</head>
</head>
<body>
<body>
...
...
src/frontend/views/layouts/center.php
View file @
b7e733af
...
@@ -19,7 +19,7 @@ AppAsset::addCss($this, '@web/assets/css/style.css');
...
@@ -19,7 +19,7 @@ AppAsset::addCss($this, '@web/assets/css/style.css');
//
//
//$this->registerJs($js, View::POS_HEAD);
//$this->registerJs($js, View::POS_HEAD);
$js
=
<<<JS
/*
$js = <<<JS
$(function() {
$(function() {
var Accordion = function(el, multiple) {
var Accordion = function(el, multiple) {
this.el = el || {};
this.el = el || {};
...
@@ -46,7 +46,7 @@ $(function() {
...
@@ -46,7 +46,7 @@ $(function() {
});
});
JS;
JS;
$this
->
registerJs
(
$js
,
View
::
POS_END
);
$this->registerJs($js, View::POS_END);
*/
$this
->
registerCss
(
'[v-cloak] {display:none;}'
);
$this
->
registerCss
(
'[v-cloak] {display:none;}'
);
?>
?>
<?php
$this
->
beginPage
()
?>
<?php
$this
->
beginPage
()
?>
...
@@ -56,7 +56,7 @@ $this->registerCss('[v-cloak] {display:none;}');
...
@@ -56,7 +56,7 @@ $this->registerCss('[v-cloak] {display:none;}');
<meta
charset=
"
<?=
Yii
::
$app
->
charset
?>
"
>
<meta
charset=
"
<?=
Yii
::
$app
->
charset
?>
"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<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"
>
<title>
<?=
$this
->
title
?
Html
::
encode
(
$this
->
title
)
.
'-'
:
''
?>
最课堂
</title>
<title>
<?=
$this
->
title
?
Html
::
encode
(
$this
->
title
)
.
'-'
:
''
?>
云涯
</title>
<?=
Html
::
csrfMetaTags
()
?>
<?=
Html
::
csrfMetaTags
()
?>
<?php
$this
->
head
()
?>
<?php
$this
->
head
()
?>
</head>
</head>
...
...
src/frontend/views/layouts/centerHeader.php
View file @
b7e733af
...
@@ -8,5 +8,14 @@
...
@@ -8,5 +8,14 @@
?>
?>
<div
class=
"tp-head navbar-fixed-top clearfix"
>
<div
class=
"tp-head navbar-fixed-top clearfix"
>
<div
class=
"menu-btn fl"
><a
href=
"javascript:;"
><i
class=
"icon-menu"
></i></a></div>
<div
class=
"menu-btn fl"
><a
href=
"javascript:;"
><i
class=
"icon-menu"
></i></a></div>
<div
class=
"avatar fr"
><a
href=
"
<?=
\yii\helpers\Url
::
base
()
.
'user-center/'
?>
"
><img
src=
"
<?=
\common\models\User
::
getAvatarUrl
(
Yii
::
$app
->
user
->
identity
->
avatar
)
?>
"
></a></div>
<div
class=
"avatar fr"
style=
"position: relative"
>
<a
href=
"
<?=
\yii\helpers\Url
::
base
()
.
'user-center/'
?>
"
><img
src=
"
<?=
\common\models\User
::
getAvatarUrl
(
Yii
::
$app
->
user
->
identity
->
avatar
)
?>
"
></a>
<!--<ul class="dropdown-menu" style="display: block; right: 100px;">
<li><a href="#">个人中信</a></li>
<li><a href="#">我的课堂</a></li>
<li class="divider"></li>
<li><a href="#">退出</a></li>
</ul>-->
</div>
</div>
</div>
src/frontend/views/layouts/main.php
View file @
b7e733af
...
@@ -30,7 +30,7 @@ $baseUrl = \yii\helpers\Url::base();
...
@@ -30,7 +30,7 @@ $baseUrl = \yii\helpers\Url::base();
<?php
if
(
Yii
::
$app
->
user
->
isGuest
)
:
?>
<?php
if
(
Yii
::
$app
->
user
->
isGuest
)
:
?>
<div
class=
"navbar-main navbar-static-top clearfix"
>
<div
class=
"navbar-main navbar-static-top clearfix"
>
<div
id=
"main-logo"
class=
"logo pull-left"
><a
href=
"
<?=
$baseUrl
.
"/user-center"
?>
"
>
云
崖
</a></div>
<div
id=
"main-logo"
class=
"logo pull-left"
><a
href=
"
<?=
$baseUrl
.
"/user-center"
?>
"
>
云
涯
</a></div>
<!--
<!--
<ul class="c-menu-item pull-left">
<ul class="c-menu-item pull-left">
<li class="active"><a href="#">首页</a></li>
<li class="active"><a href="#">首页</a></li>
...
@@ -47,7 +47,7 @@ $baseUrl = \yii\helpers\Url::base();
...
@@ -47,7 +47,7 @@ $baseUrl = \yii\helpers\Url::base();
<?php
else
:
?>
<?php
else
:
?>
<div
class=
"navbar-main navbar-static-top clearfix"
>
<div
class=
"navbar-main navbar-static-top clearfix"
>
<div
id=
"main-logo"
class=
"logo pull-left"
><a
href=
"
<?=
$baseUrl
.
"/user-center/"
?>
"
>
云
崖
</a></div>
<div
id=
"main-logo"
class=
"logo pull-left"
><a
href=
"
<?=
$baseUrl
.
"/user-center/"
?>
"
>
云
涯
</a></div>
<div
class=
"avatar pull-right"
><a
href=
"
<?=
\yii\helpers\Url
::
base
()
.
'/user-center/'
?>
"
><img
src=
"
<?=
\common\models\User
::
getAvatarUrl
(
Yii
::
$app
->
user
->
identity
->
avatar
)
?>
"
></a></div>
<div
class=
"avatar pull-right"
><a
href=
"
<?=
\yii\helpers\Url
::
base
()
.
'/user-center/'
?>
"
><img
src=
"
<?=
\common\models\User
::
getAvatarUrl
(
Yii
::
$app
->
user
->
identity
->
avatar
)
?>
"
></a></div>
</div>
</div>
<?php
endif
;
?>
<?php
endif
;
?>
...
...
src/frontend/views/layouts/userCenter.php
View file @
b7e733af
...
@@ -19,7 +19,7 @@ $this->beginContent('@app/views/layouts/center.php');
...
@@ -19,7 +19,7 @@ $this->beginContent('@app/views/layouts/center.php');
<ul
class=
"simple-menu"
>
<ul
class=
"simple-menu"
>
<li
<?=
(
Yii
::
$app
->
controller
->
id
===
'user-center'
and
Yii
::
$app
->
controller
->
action
->
id
===
'info'
)
?
'class = "active"'
:
''
?>
>
<li
<?=
(
Yii
::
$app
->
controller
->
id
===
'user-center'
and
Yii
::
$app
->
controller
->
action
->
id
===
'info'
)
?
'class = "active"'
:
''
?>
>
<a
href=
"
<?=
$baseUrl
.
'/user-center/'
?>
"
><i
class=
"icon-person_pin"
></i>
基本
信息
</a>
<a
href=
"
<?=
$baseUrl
.
'/user-center/'
?>
"
><i
class=
"icon-person_pin"
></i>
个人
信息
</a>
</li>
</li>
<li
<?=
(
Yii
::
$app
->
controller
->
id
===
'user-center'
and
Yii
::
$app
->
controller
->
action
->
id
===
'purchased-course'
)
?
'class = "active"'
:
''
?>
>
<li
<?=
(
Yii
::
$app
->
controller
->
id
===
'user-center'
and
Yii
::
$app
->
controller
->
action
->
id
===
'purchased-course'
)
?
'class = "active"'
:
''
?>
>
<a
href=
"
<?=
$baseUrl
.
'/user-center/purchased-course'
?>
"
><i
<a
href=
"
<?=
$baseUrl
.
'/user-center/purchased-course'
?>
"
><i
...
@@ -32,12 +32,18 @@ $this->beginContent('@app/views/layouts/center.php');
...
@@ -32,12 +32,18 @@ $this->beginContent('@app/views/layouts/center.php');
</li>
</li>
<li><a
href=
"
<?=
$baseUrl
.
'/my-course'
?>
"
><i
class=
"icon-school"
></i>
我的课堂
</a></li>
<li><a
href=
"
<?=
$baseUrl
.
'/my-course'
?>
"
><i
class=
"icon-school"
></i>
我的课堂
</a></li>
<li><a
href=
"
<?=
$baseUrl
.
'/site/logout'
?>
"
><i
class=
"icon-power_settings_new"
></i>
退出登录
</a></li>
<li><a
href=
"
<?=
$baseUrl
.
'/site/logout'
?>
"
><i
class=
"icon-power_settings_new"
></i>
退出登录
</a></li>
<!--
<li><a href="
<?
/*=$baseUrl .'/my-course'*/
?>
"><i class="icon-school"></i>我的课堂</a></li>
<li><a href="
<?
/*=$baseUrl .'/site/logout'*/
?>
"><i class="icon-power_settings_new"></i>退出登录</a></li>
-->
</ul>
</ul>
<div
class=
"apply-class"
>
<div
class=
"apply-class"
>
<button
class=
"btn btn-danger"
onclick=
"location.href='/classes-info/apply';"
>
申请课堂
</button>
<button
class=
"btn btn-danger"
onclick=
"location.href='/classes-info/apply';"
>
申请课堂
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"auto-main"
>
<div
class=
"auto-main"
>
...
...
src/frontend/views/my-course/index.php
View file @
b7e733af
...
@@ -23,14 +23,15 @@ $qiniu = \Yii::$app->qiniu;
...
@@ -23,14 +23,15 @@ $qiniu = \Yii::$app->qiniu;
<a
href=
"
<?=
Course
::
url
(
$course
[
'id'
])
?>
"
target=
"_blank"
><img
src=
"
<?=
$qiniu
->
getUrl
(
'public'
,
$course
[
'preview_pic'
])
?>
-m.preview"
></a>
<a
href=
"
<?=
Course
::
url
(
$course
[
'id'
])
?>
"
target=
"_blank"
><img
src=
"
<?=
$qiniu
->
getUrl
(
'public'
,
$course
[
'preview_pic'
])
?>
-m.preview"
></a>
<div
class=
"video-list-cnt"
>
<div
class=
"video-list-cnt"
>
<div
class=
"tit"
><a
href=
"
<?=
Course
::
url
(
$course
[
'id'
])
?>
"
target=
"_blank"
>
<?=
$course
[
'name'
]
?>
</a></div>
<div
class=
"tit"
><a
href=
"
<?=
Course
::
url
(
$course
[
'id'
])
?>
"
target=
"_blank"
>
<?=
$course
[
'name'
]
?>
</a></div>
<?php
if
(
$course
[
'teachers'
])
{
?>
<div
class=
"teacher"
>
讲师:
<?=
join
(
', '
,
array_column
(
$course
[
'teachers'
],
'name'
))
?>
</div>
<div
class=
"teacher"
>
<?php
}
?>
<?php
if
(
$course
[
'teachers'
])
{
?>
讲师:
<?=
join
(
', '
,
array_column
(
$course
[
'teachers'
],
'name'
))
?><?php
}
?>
</div>
<div
class=
"description"
>
<?=
mb_substr
(
strip_tags
(
$course
[
'intro'
]),
0
,
250
)
?>
</div>
<div
class=
"description"
>
<?=
mb_substr
(
strip_tags
(
$course
[
'intro'
]),
0
,
250
)
?>
</div>
<div
class=
"teacher"
><span>
<?=
$course
[
'play_count'
]
?>
次播放
</span>
·
<span>
<?=
$course
[
'comment_count'
]
?>
次评论
</span>
·
<span>
<?=
$course
[
'favorite_count'
]
?>
收藏
</span></div>
</div>
</div>
<div
class=
"outline"
>
<span>
<?=
$course
[
'play_count'
]
?>
次播放
</span>
·
<span>
<?=
$course
[
'comment_count'
]
?>
次评论
</span>
·
<span>
<?=
$course
[
'favorite_count'
]
?>
收藏
</span>
</div>
<div
class=
"edit"
><a
href=
"
<?=
Url
::
to
([
'my-course/edit'
,
'id'
=>
$course
[
'id'
]])
?>
"
title=
"编辑课程信息"
><i
class=
"icon-mode_edit"
></i></a></div>
<div
class=
"edit"
><a
href=
"
<?=
Url
::
to
([
'my-course/edit'
,
'id'
=>
$course
[
'id'
]])
?>
"
title=
"编辑课程信息"
><i
class=
"icon-mode_edit"
></i></a></div>
</div>
</div>
</div>
</div>
...
@@ -41,3 +42,11 @@ $qiniu = \Yii::$app->qiniu;
...
@@ -41,3 +42,11 @@ $qiniu = \Yii::$app->qiniu;
<div
class=
"text-center"
>
<div
class=
"text-center"
>
<?=
LinkPager
::
widget
([
'pagination'
=>
$pagination
])
?>
<?=
LinkPager
::
widget
([
'pagination'
=>
$pagination
])
?>
</div>
</div>
<script
type=
'text/javascript'
>
$
(
function
()
{
turmbw
=
$
(
'.video-img-box img'
).
width
();
turmbh
=
turmbw
*
5
/
9
;
$
(
'.video-img-box img'
).
css
(
'height'
,
turmbh
);
})
</script>
src/frontend/views/my-course/publish.php
View file @
b7e733af
...
@@ -18,7 +18,7 @@ AppAsset::addCss($this, '@web/assets/css/course_publish.css');
...
@@ -18,7 +18,7 @@ AppAsset::addCss($this, '@web/assets/css/course_publish.css');
<form
method=
"post"
name=
"coursePublish"
>
<form
method=
"post"
name=
"coursePublish"
>
<div
class=
"cls-part"
>
<div
class=
"cls-part"
>
<div
class=
"tit"
>
标题
</div>
<div
class=
"tit"
>
标题
<
span
class=
"required"
>
*
</span><
/div>
<input
type=
"text"
name=
"name"
class=
"input-r-control"
placeholder=
"请输入课程标题,20 个汉字以内..."
>
<input
type=
"text"
name=
"name"
class=
"input-r-control"
placeholder=
"请输入课程标题,20 个汉字以内..."
>
</div>
</div>
...
@@ -28,7 +28,7 @@ AppAsset::addCss($this, '@web/assets/css/course_publish.css');
...
@@ -28,7 +28,7 @@ AppAsset::addCss($this, '@web/assets/css/course_publish.css');
</div>
</div>
<div
class=
"cls-part"
>
<div
class=
"cls-part"
>
<div
class=
"tit"
>
上传视频
</div>
<div
class=
"tit"
>
上传视频
<
span
class=
"required"
>
*
</span><
/div>
<video-upload
uptoken=
"
<?=
$videoToken
?>
"
></video-upload>
<video-upload
uptoken=
"
<?=
$videoToken
?>
"
></video-upload>
</div>
</div>
...
@@ -51,14 +51,14 @@ AppAsset::addCss($this, '@web/assets/css/course_publish.css');
...
@@ -51,14 +51,14 @@ AppAsset::addCss($this, '@web/assets/css/course_publish.css');
</div>
</div>
<div
class=
"cls-part"
>
<div
class=
"cls-part"
>
<div
class=
"tit"
>
课程介绍
</div>
<div
class=
"tit"
>
课程介绍
<
span
class=
"required"
>
*
</span><
/div>
<div
class=
"cls-intro-textarea"
>
<div
class=
"cls-intro-textarea"
>
<textarea
name=
"intro"
class=
"input-r-control"
placeholder=
"请输入课程介绍..."
id=
"introEditor"
></textarea>
<textarea
name=
"intro"
class=
"input-r-control"
placeholder=
"请输入课程介绍..."
id=
"introEditor"
></textarea>
</div>
</div>
</div>
</div>
<div
class=
"cls-part"
>
<div
class=
"cls-part"
>
<div
class=
"tit"
>
缩略图
<span
class=
"required"
>
*
</span>
<small>
建议尺寸:900像素 * 500像素
</small></div>
<div
class=
"tit"
>
缩略图
<small>
建议尺寸:900像素 * 500像素
</small></div>
<thumb-upload
uptoken=
"
<?=
$thumbToken
?>
"
></thumb-upload>
<thumb-upload
uptoken=
"
<?=
$thumbToken
?>
"
></thumb-upload>
</div>
</div>
...
...
src/frontend/views/site/login.php
View file @
b7e733af
...
@@ -9,9 +9,6 @@ $baseUrl = \yii\helpers\Url::base();
...
@@ -9,9 +9,6 @@ $baseUrl = \yii\helpers\Url::base();
?>
?>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"z-m-center"
>
<div
class=
"z-m-center"
>
<h3>
云涯
</h3>
<p>
欢迎来到最课堂,专注在线直播
</p>
<div
id=
"myTab"
class=
"tab-a"
>
<div
id=
"myTab"
class=
"tab-a"
>
<ul>
<ul>
...
...
src/frontend/views/site/signup.php
View file @
b7e733af
...
@@ -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>
<p>
欢迎来到云涯,专注在线直播
</p>
<div
id=
"myTab"
class=
"tab-a"
>
<div
id=
"myTab"
class=
"tab-a"
>
<ul>
<ul>
<li><a
href=
"
<?=
$baseUrl
.
"/site/login"
?>
"
>
登录
</a></li>
<li><a
href=
"
<?=
$baseUrl
.
"/site/login"
?>
"
>
登录
</a></li>
...
...
src/frontend/views/user-center/browseRecord.php
View file @
b7e733af
...
@@ -25,9 +25,9 @@ $this->title = '浏览记录';
...
@@ -25,9 +25,9 @@ $this->title = '浏览记录';
<img
src=
"
<?=
Yii
::
$app
->
qiniu
->
getUrl
(
'public'
,
$value
[
'course'
][
'preview_pic'
])
?>
"
>
<img
src=
"
<?=
Yii
::
$app
->
qiniu
->
getUrl
(
'public'
,
$value
[
'course'
][
'preview_pic'
])
?>
"
>
<div
class=
"video-list-cnt"
>
<div
class=
"video-list-cnt"
>
<div
class=
"tit"
><a
href=
"
<?php
echo
$baseUrl
.
'/home/video?courseId='
.
$value
[
'course'
][
'id'
];
?>
"
>
<?=
$value
[
'course'
][
'name'
]
?>
</a></div>
<div
class=
"tit"
><a
href=
"
<?php
echo
$baseUrl
.
'/home/video?courseId='
.
$value
[
'course'
][
'id'
];
?>
"
>
<?=
$value
[
'course'
][
'name'
]
?>
</a></div>
<div
class=
"price"
>
<?=
$value
[
'course'
][
'price'
]
?>
</div>
<div
class=
"teacher"
>
<div
class=
"teacher"
>
讲师
:
<?php
foreach
(
$value
[
'course'
][
'teachers'
]
as
$teaKey
=>
$teaValue
)
:
?>
讲师
:
<?php
foreach
(
$value
[
'course'
][
'teachers'
]
as
$teaKey
=>
$teaValue
)
:
?>
<?php
if
(
$teaKey
>
0
)
:
?>
<?php
if
(
$teaKey
>
0
)
:
?>
,
<?=
$teaValue
[
'name'
]
?>
,
<?=
$teaValue
[
'name'
]
?>
<?php
else
:
?>
<?php
else
:
?>
...
@@ -35,10 +35,16 @@ $this->title = '浏览记录';
...
@@ -35,10 +35,16 @@ $this->title = '浏览记录';
<?php
endif
?>
<?php
endif
?>
<?php
endforeach
;
?>
<?php
endforeach
;
?>
</div>
</div>
<div
class=
"teacher"
><b>
售价:¥
<?=
$value
[
'course'
][
'price'
]
?>
</b></div>
<div
class=
"teacher"
>
购买日期:
<?=
date
(
"Y-m-d H:i:s"
,
$value
[
'time'
])
?>
</div>
</div>
</div>
<div
class=
"outline"
>
<
!--<
div class="outline">
<span>
<?
=
date
(
"Y-m-d H:i:s"
,
$value
[
'time'
])
?>
</span>
<span>
<?
/*=date("Y-m-d H:i:s",$value['time'])*/
?>
</span>
</div>
</div>
-->
<div
class=
"play-mask"
>
<div
class=
"play-mask"
>
...
@@ -62,27 +68,14 @@ $this->title = '浏览记录';
...
@@ -62,27 +68,14 @@ $this->title = '浏览记录';
</div>
</div>
<?php
endif
;
?>
<?php
endif
;
?>
<div
class=
"cls-list-box hide"
>
<div
class=
"col-md-4"
>
<div
class=
"cls-box-main sm-box"
>
<div
class=
"video-img-box"
>
<img
src=
"
<?=
AppAsset
::
getStaticUrl
(
'img/videoimg.jpg'
)
?>
"
>
<div
class=
"video-list-cnt"
>
<div
class=
"tit"
><a
href=
"#"
>
英国为什么比中国先进入工业时代?
</a></div>
<div
class=
"price"
>
¥182.97
</div>
</div>
<div
class=
"outline"
>
<span>
购买日期:2016年9月12日 16:02
</span>
</div>
<div
class=
"avatar"
><img
src=
"
<?=
AppAsset
::
getStaticUrl
(
'img/avatar2.jpg'
)
?>
"
></div>
<div
class=
"play-mask"
>
<a
href=
"#"
><i
class=
"glyphicon glyphicon-play"
></i></a>
</div>
</div>
<script
type=
'text/javascript'
>
</div>
$
(
function
()
{
</div>
turmbw
=
$
(
'.video-img-box img'
).
width
();
</div>
turmbh
=
turmbw
*
5
/
9
;
$
(
'.video-img-box img,.play-mask'
).
css
(
'height'
,
turmbh
);
$
(
'.play-mask'
).
css
(
'padding-top'
,
turmbh
/
2
-
20
);
})
</script>
src/frontend/web/css/style.css
View file @
b7e733af
...
@@ -187,6 +187,20 @@ html {
...
@@ -187,6 +187,20 @@ html {
font-size
:
18px
;
font-size
:
18px
;
color
:
#fff
;
color
:
#fff
;
}
}
.edit-class-name
input
{
display
:
inline-block
;
width
:
100px
;
text-align
:
center
;
background-color
:
transparent
;
}
.edit-class-name
input
:focus
{
border-bottom
:
1px
solid
#fff
;
}
.edit-class-name
button
{
background-color
:
transparent
;
border
:
none
;
color
:
#fff
;
}
.class-intro
{
.class-intro
{
height
:
400px
;
height
:
400px
;
border-radius
:
3px
;
border-radius
:
3px
;
...
@@ -218,7 +232,7 @@ html {
...
@@ -218,7 +232,7 @@ html {
color
:
#797979
;
color
:
#797979
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
normal
;
font-weight
:
normal
;
padding
-left
:
30px
;
padding
:
20px
0
20px
30px
;
}
}
.class-intro
.col-md-4
p
{
.class-intro
.col-md-4
p
{
margin-top
:
10px
;
margin-top
:
10px
;
...
@@ -344,6 +358,8 @@ html {
...
@@ -344,6 +358,8 @@ html {
line-height
:
1.8
;
line-height
:
1.8
;
text-indent
:
2em
;
text-indent
:
2em
;
opacity
:
0
;
opacity
:
0
;
height
:
120px
;
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
;
...
@@ -461,6 +477,22 @@ html {
...
@@ -461,6 +477,22 @@ html {
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
{
display
:
block
;
}
.upload-avatar-mask
{
height
:
100px
;
display
:
none
;
color
:
#fff
;
background-color
:
rgba
(
0
,
0
,
0
,
0.3
);
position
:
absolute
;
z-index
:
3
;
top
:
0
;
left
:
0
;
width
:
100px
;
border-radius
:
100%
;
line-height
:
100px
;
}
.edit-info
{
.edit-info
{
position
:
absolute
;
position
:
absolute
;
display
:
inline-block
;
display
:
inline-block
;
...
@@ -626,6 +658,7 @@ textarea.input-r-control {
...
@@ -626,6 +658,7 @@ textarea.input-r-control {
position
:
relative
;
position
:
relative
;
margin-top
:
30px
;
margin-top
:
30px
;
}
}
.cls-part
.tit
{
.cls-part
.tit
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#777
;
color
:
#777
;
...
@@ -633,13 +666,17 @@ textarea.input-r-control {
...
@@ -633,13 +666,17 @@ textarea.input-r-control {
}
}
.cls-part
.tit
small
{
.cls-part
.tit
small
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#
ccc
;
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
{
color
:
red
;
padding-left
:
5px
;
}
.rules-set
label
span
{
.rules-set
label
span
{
display
:
inline-block
;
display
:
inline-block
;
float
:
left
;
float
:
left
;
...
@@ -756,7 +793,7 @@ textarea.input-r-control {
...
@@ -756,7 +793,7 @@ textarea.input-r-control {
}
}
.upload-ready
.video-loading-text
{
.upload-ready
.video-loading-text
{
font-size
:
12px
;
font-size
:
12px
;
padding-top
:
15
px
;
padding-top
:
8
px
;
}
}
.upload-ready
i
{
.upload-ready
i
{
position
:
absolute
;
position
:
absolute
;
...
@@ -833,7 +870,6 @@ textarea.input-r-control {
...
@@ -833,7 +870,6 @@ textarea.input-r-control {
.cls-box-main
{
.cls-box-main
{
margin
:
0
10px
40px
10px
;
margin
:
0
10px
40px
10px
;
background-color
:
#fff
;
background-color
:
#fff
;
height
:
370px
;
}
}
.video-img-box
{
.video-img-box
{
position
:
relative
;
position
:
relative
;
...
@@ -867,11 +903,18 @@ textarea.input-r-control {
...
@@ -867,11 +903,18 @@ textarea.input-r-control {
line-height
:
1.6
;
line-height
:
1.6
;
color
:
#999
;
color
:
#999
;
margin-top
:
5px
;
margin-top
:
5px
;
height
:
40px
;
overflow
:
hidden
;
}
}
.video-list-cnt
.teacher
{
.video-list-cnt
.teacher
{
font-size
:
12px
;
font-size
:
12px
;
margin-top
:
5px
;
margin-top
:
5px
;
color
:
#666
;
color
:
#666
;
height
:
22px
;
line-height
:
22px
;
}
.video-list-cnt
.teacher
b
{
color
:
red
;
}
}
.video-img-box
.outline
{
.video-img-box
.outline
{
position
:
absolute
;
position
:
absolute
;
...
@@ -972,6 +1015,7 @@ textarea.input-r-control {
...
@@ -972,6 +1015,7 @@ textarea.input-r-control {
font-size
:
36px
;
font-size
:
36px
;
font-weight
:
normal
;
font-weight
:
normal
;
padding-top
:
40px
;
padding-top
:
40px
;
line-height
:
50px
;
}
}
.reg-vip-box
i
,
.reg-vip-box
i
,
.money-vip-box
i
{
.money-vip-box
i
{
...
@@ -1105,9 +1149,6 @@ textarea.input-r-control {
...
@@ -1105,9 +1149,6 @@ textarea.input-r-control {
width
:
200px
;
width
:
200px
;
margin-left
:
10px
;
margin-left
:
10px
;
}
}
.sm-box
{
height
:
400px
;
}
.sm-box
.price
{
.sm-box
.price
{
height
:
40px
;
height
:
40px
;
line-height
:
40px
;
line-height
:
40px
;
...
@@ -1120,10 +1161,8 @@ textarea.input-r-control {
...
@@ -1120,10 +1161,8 @@ textarea.input-r-control {
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
.2
);
background-color
:
rgba
(
0
,
0
,
0
,
.2
);
height
:
220px
;
line-height
:
240px
;
text-align
:
center
;
text-align
:
center
;
z-index
:
8
;
z-index
:
2
;
opacity
:
0
;
opacity
:
0
;
-webkit-transition
:
all
0.4s
ease
;
-webkit-transition
:
all
0.4s
ease
;
-o-transition
:
all
0.4s
ease
;
-o-transition
:
all
0.4s
ease
;
...
...
src/frontend/web/js/components/uploader/avatar-upload.vue
View file @
b7e733af
...
@@ -10,10 +10,6 @@
...
@@ -10,10 +10,6 @@
</
template
>
</
template
>
</div>
</div>
</template>
</template>
<
style
>
.upload-avatar
:hover
.upload-avatar-mask
{
display
:
block
;}
.upload-avatar-mask
{
height
:
30px
;
display
:
none
;
line-height
:
30px
;
color
:
#CCC
;
background-color
:
rgba
(
0
,
0
,
0
,
0.3
);
position
:
absolute
;
z-index
:
3
;
top
:
35px
;
width
:
100%
;}
</
style
>
<
script
>
<
script
>
import
layer
from
"layer-js"
;
import
layer
from
"layer-js"
;
import
str
from
"../../utils/string"
;
import
str
from
"../../utils/string"
;
...
...
ui/html/css/style.css
View file @
b7e733af
...
@@ -833,7 +833,6 @@ textarea.input-r-control {
...
@@ -833,7 +833,6 @@ textarea.input-r-control {
.cls-box-main
{
.cls-box-main
{
margin
:
0
10px
40px
10px
;
margin
:
0
10px
40px
10px
;
background-color
:
#fff
;
background-color
:
#fff
;
height
:
370px
;
}
}
.video-img-box
{
.video-img-box
{
position
:
relative
;
position
:
relative
;
...
@@ -1105,9 +1104,6 @@ textarea.input-r-control {
...
@@ -1105,9 +1104,6 @@ textarea.input-r-control {
width
:
200px
;
width
:
200px
;
margin-left
:
10px
;
margin-left
:
10px
;
}
}
.sm-box
{
height
:
400px
;
}
.sm-box
.price
{
.sm-box
.price
{
height
:
40px
;
height
:
40px
;
line-height
:
40px
;
line-height
:
40px
;
...
@@ -1120,10 +1116,8 @@ textarea.input-r-control {
...
@@ -1120,10 +1116,8 @@ textarea.input-r-control {
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
.2
);
background-color
:
rgba
(
0
,
0
,
0
,
.2
);
height
:
220px
;
line-height
:
240px
;
text-align
:
center
;
text-align
:
center
;
z-index
:
8
;
z-index
:
2
;
opacity
:
0
;
opacity
:
0
;
-webkit-transition
:
all
0.4s
ease
;
-webkit-transition
:
all
0.4s
ease
;
-o-transition
:
all
0.4s
ease
;
-o-transition
:
all
0.4s
ease
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment