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
ce246175
Commit
ce246175
authored
Oct 19, 2016
by
xiabin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
4be5dfae
85bf4547
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
232 additions
and
26 deletions
+232
-26
index.php
src/frontend/views/home/index.php
+1
-0
video.php
src/frontend/views/home/video.php
+2
-0
main.css
src/frontend/web/css/main.css
+215
-16
style.css
src/frontend/web/css/style.css
+3
-1
course-lists.vue
src/frontend/web/js/home/components/course-lists.vue
+3
-3
recommend.vue
src/frontend/web/js/home/components/recommend.vue
+8
-6
No files found.
src/frontend/views/home/index.php
View file @
ce246175
...
@@ -11,4 +11,5 @@
...
@@ -11,4 +11,5 @@
<course-lists
:class-id=
"classId"
></course-lists>
<course-lists
:class-id=
"classId"
></course-lists>
</div>
</div>
<div
class=
"copyright m-t-20"
>
© 2016 c.pp.cc 皖ICP备13046642号
</div>
src/frontend/views/home/video.php
View file @
ce246175
...
@@ -34,3 +34,5 @@ $this->registerJs($js);
...
@@ -34,3 +34,5 @@ $this->registerJs($js);
<video-intro
:courseware-info=
"coursewareInfo"
></video-intro>
<video-intro
:courseware-info=
"coursewareInfo"
></video-intro>
</div>
</div>
<div
class=
"copyright"
>
© 2016 c.pp.cc 皖ICP备13046642号
</div>
src/frontend/web/css/main.css
View file @
ce246175
...
@@ -7,14 +7,14 @@ a,a:hover,a:link {
...
@@ -7,14 +7,14 @@ a,a:hover,a:link {
text-decoration
:
none
;
text-decoration
:
none
;
}
}
/*
font
*/
/*
icomoon
*/
@font-face
{
@font-face
{
font-family
:
'icomoon'
;
font-family
:
'icomoon'
;
src
:
url('../fonts/icomoon.eot?
uyryw3
')
;
src
:
url('../fonts/icomoon.eot?
lylu0j
')
;
src
:
url('../fonts/icomoon.eot?
uyryw3
#iefix')
format
(
'embedded-opentype'
),
src
:
url('../fonts/icomoon.eot?
lylu0j
#iefix')
format
(
'embedded-opentype'
),
url('../fonts/icomoon.ttf?
uyryw3
')
format
(
'truetype'
),
url('../fonts/icomoon.ttf?
lylu0j
')
format
(
'truetype'
),
url('../fonts/icomoon.woff?
uyryw3
')
format
(
'woff'
),
url('../fonts/icomoon.woff?
lylu0j
')
format
(
'woff'
),
url('../fonts/icomoon.svg?
uyryw3
#icomoon')
format
(
'svg'
);
url('../fonts/icomoon.svg?
lylu0j
#icomoon')
format
(
'svg'
);
font-weight
:
normal
;
font-weight
:
normal
;
font-style
:
normal
;
font-style
:
normal
;
}
}
...
@@ -34,6 +34,12 @@ a,a:hover,a:link {
...
@@ -34,6 +34,12 @@ a,a:hover,a:link {
-moz-osx-font-smoothing
:
grayscale
;
-moz-osx-font-smoothing
:
grayscale
;
}
}
.icon-jian
:before
{
content
:
"\e906"
;
}
.icon-shen
:before
{
content
:
"\e907"
;
}
.icon-comment-empty
:before
{
.icon-comment-empty
:before
{
content
:
"\e900"
;
content
:
"\e900"
;
}
}
...
@@ -52,6 +58,198 @@ a,a:hover,a:link {
...
@@ -52,6 +58,198 @@ a,a:hover,a:link {
.icon-zan-full
:before
{
.icon-zan-full
:before
{
content
:
"\e905"
;
content
:
"\e905"
;
}
}
.icon-add
:before
{
content
:
"\e145"
;
}
.icon-arrow_drop_down
:before
{
content
:
"\e5c5"
;
}
.icon-arrow_drop_up
:before
{
content
:
"\e5c7"
;
}
.icon-chat
:before
{
content
:
"\e0b7"
;
}
.icon-chat_bubble
:before
{
content
:
"\e0ca"
;
}
.icon-chat_bubble_outline
:before
{
content
:
"\e0cb"
;
}
.icon-navigate_before
:before
{
content
:
"\e408"
;
}
.icon-navigate_next
:before
{
content
:
"\e409"
;
}
.icon-cloud_done
:before
{
content
:
"\e2bf"
;
}
.icon-cloud_download
:before
{
content
:
"\e2c0"
;
}
.icon-palette
:before
{
content
:
"\e40a"
;
}
.icon-mode_edit
:before
{
content
:
"\e254"
;
}
.icon-create_new_folder
:before
{
content
:
"\e2cc"
;
}
.icon-crop_original
:before
{
content
:
"\e3c4"
;
}
.icon-expand_less
:before
{
content
:
"\e5ce"
;
}
.icon-expand_more
:before
{
content
:
"\e5cf"
;
}
.icon-fingerprint
:before
{
content
:
"\e90d"
;
}
.icon-ondemand_video
:before
{
content
:
"\e63a"
;
}
.icon-person_pin
:before
{
content
:
"\e55a"
;
}
.icon-play_circle_outline
:before
{
content
:
"\e039"
;
}
.icon-power_settings_new
:before
{
content
:
"\e8ac"
;
}
.icon-visibility
:before
{
content
:
"\e8f4"
;
}
.icon-school
:before
{
content
:
"\e80c"
;
}
.icon-shop
:before
{
content
:
"\e8c9"
;
}
.icon-slideshow
:before
{
content
:
"\e41b"
;
}
.icon-textsms
:before
{
content
:
"\e0d8"
;
}
.icon-stars
:before
{
content
:
"\e8d0"
;
}
.icon-thumb_up
:before
{
content
:
"\e8dc"
;
}
.icon-verified_user
:before
{
content
:
"\e8e8"
;
}
.icon-eye
:before
{
content
:
"\e000"
;
}
.icon-paper-clip
:before
{
content
:
"\e001"
;
}
.icon-mail
:before
{
content
:
"\e002"
;
}
.icon-link
:before
{
content
:
"\e005"
;
}
.icon-bell
:before
{
content
:
"\e006"
;
}
.icon-lock
:before
{
content
:
"\e007"
;
}
.icon-unlock
:before
{
content
:
"\e008"
;
}
.icon-ribbon
:before
{
content
:
"\e009"
;
}
.icon-image
:before
{
content
:
"\e010"
;
}
.icon-signal
:before
{
content
:
"\e011"
;
}
.icon-clipboard
:before
{
content
:
"\e013"
;
}
.icon-clock
:before
{
content
:
"\e014"
;
}
.icon-camera
:before
{
content
:
"\e017"
;
}
.icon-video
:before
{
content
:
"\e018"
;
}
.icon-cog
:before
{
content
:
"\e023"
;
}
.icon-heart
:before
{
content
:
"\e024"
;
}
.icon-layers
:before
{
content
:
"\e031"
;
}
.icon-stack-2
:before
{
content
:
"\e033"
;
}
.icon-paper
:before
{
content
:
"\e034"
;
}
.icon-microphone
:before
{
content
:
"\e048"
;
}
.icon-play
:before
{
content
:
"\e052"
;
}
.icon-folder
:before
{
content
:
"\e059"
;
}
.icon-cloud-upload
:before
{
content
:
"\e066"
;
}
.icon-cloud-download
:before
{
content
:
"\e067"
;
}
.icon-upload
:before
{
content
:
"\e068"
;
}
.icon-location
:before
{
content
:
"\e070"
;
}
.icon-speech-bubble
:before
{
content
:
"\e076"
;
}
.icon-arrow-left
:before
{
content
:
"\e094"
;
}
.icon-arrow-right
:before
{
content
:
"\e095"
;
}
.icon-arrow-up
:before
{
content
:
"\e096"
;
}
.icon-arrow-down
:before
{
content
:
"\e097"
;
}
.icon-trash
:before
{
content
:
"\e109"
;
}
.icon-check
:before
{
content
:
"\e116"
;
}
.icon-cross
:before
{
content
:
"\e117"
;
}
.icon-menu
:before
{
content
:
"\e120"
;
}
.navbar-main
{
.navbar-main
{
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -276,26 +474,26 @@ a,a:hover,a:link {
...
@@ -276,26 +474,26 @@ a,a:hover,a:link {
top
:
0
;
top
:
0
;
}
}
.post-icons
{
.post-icons
{
width
:
25px
;
width
:
25px
!important
;
height
:
22px
;
height
:
22px
!important
;
float
:
left
;
float
:
left
!important
;
margin-left
:
16px
;
margin-left
:
16px
!important
;
background
:
url(../img/share_tit.png)
no-repeat
;
background
:
url(../img/share_tit.png)
no-repeat
!important
;
}
}
.weibo
{
.weibo
{
background-position
:
-25px
0
;
background-position
:
-25px
0
!important
;
}
}
.qzone
{
.qzone
{
background-position
:
-50px
0
;
background-position
:
-50px
0
!important
;
}
}
.weibo
:hover
{
.weibo
:hover
{
background-position
:
-25px
-22px
;
background-position
:
-25px
-22px
!important
;
}
}
.qzone
:hover
{
.qzone
:hover
{
background-position
:
-50px
-22px
;
background-position
:
-50px
-22px
!important
;
}
}
.wechat
:hover
{
.wechat
:hover
{
background-position
:
0
-22px
;
background-position
:
0
-22px
!important
;
}
}
.video-detail-info
{
.video-detail-info
{
...
@@ -398,6 +596,7 @@ a,a:hover,a:link {
...
@@ -398,6 +596,7 @@ a,a:hover,a:link {
text-align
:
center
;
text-align
:
center
;
line-height
:
100px
;
line-height
:
100px
;
border
:
1px
solid
#e5e6e8
;
border
:
1px
solid
#e5e6e8
;
margin-bottom
:
20px
;
}
}
.comment-box
{
.comment-box
{
position
:
relative
;
position
:
relative
;
...
...
src/frontend/web/css/style.css
View file @
ce246175
...
@@ -111,7 +111,7 @@ html {
...
@@ -111,7 +111,7 @@ html {
-----------------------------*/
-----------------------------*/
.submenu
{
.submenu
{
width
:
100%
;
width
:
100%
;
display
:
none
;
/*display: none;*/
font-size
:
14px
;
font-size
:
14px
;
}
}
...
@@ -300,6 +300,7 @@ html {
...
@@ -300,6 +300,7 @@ html {
height
:
300px
;
height
:
300px
;
margin
:
0
10px
40px
10px
;
margin
:
0
10px
40px
10px
;
text-align
:
center
;
text-align
:
center
;
overflow
:
hidden
;
}
}
.teacher-box
>
img
{
.teacher-box
>
img
{
margin-top
:
100px
;
margin-top
:
100px
;
...
@@ -346,6 +347,7 @@ html {
...
@@ -346,6 +347,7 @@ html {
-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
;
}
}
.teacher-box
:hover
>
img
{
.teacher-box
:hover
>
img
{
margin-top
:
50px
;
margin-top
:
50px
;
...
...
src/frontend/web/js/home/components/course-lists.vue
View file @
ce246175
<
template
>
<
template
>
<div
class=
"container v-list"
v-show=
"lists.length > 0"
>
<div
class=
"container v-list"
v-show=
"lists.length > 0"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
v-for=
"(index,item) in lists"
class=
"col-md-
3
"
>
<div
v-for=
"(index,item) in lists"
class=
"col-md-
4
"
>
<div
class=
"v-main-box"
>
<div
class=
"v-main-box"
>
<div
class=
"v-screen"
>
<div
class=
"v-screen"
>
<a
@
click=
"itemClick(item.id)"
href=
"javascript:;"
>
<a
@
click=
"itemClick(item.id)"
href=
"javascript:;"
>
<img
:src=
"getFullPreViewPic(item.preview_pic)"
>
<img
:src=
"getFullPreViewPic(item.preview_pic)"
>
<span
class=
"play-mask"
><i
class=
"
glyphicon glyphicon-play-circle
"
></i></span>
<span
class=
"play-mask"
><i
class=
"
icon-play
"
></i></span>
</a>
</a>
<!--头像-->
</div>
</div>
<div
class=
"v-tit"
><a
@
click=
"itemClick(item.id)"
href=
"javascript:;"
>
{{
item
.
name
}}
</a></div>
<div
class=
"v-tit"
><a
@
click=
"itemClick(item.id)"
href=
"javascript:;"
>
{{
item
.
name
}}
</a></div>
...
...
src/frontend/web/js/home/components/recommend.vue
View file @
ce246175
<
template
>
<
template
>
<div
class=
"container m-t-20"
>
<div
class=
"swiper-container"
v-if=
"lists.length !== 0"
>
<div
class=
"swiper-container"
v-if=
"lists.length !== 0"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-wrapper"
>
<div
v-for=
"item in lists"
@
click=
"itemClick(item.id)"
class=
"swiper-slide"
<div
v-for=
"item in lists"
@
click=
"itemClick(item.id)"
class=
"swiper-slide"
...
@@ -8,6 +9,7 @@
...
@@ -8,6 +9,7 @@
</div>
</div>
<div
class=
"swiper-pagination"
></div>
<div
class=
"swiper-pagination"
></div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
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