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
cbe76028
Commit
cbe76028
authored
Sep 29, 2016
by
xiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编写假数据接口
parent
cfdd70bd
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
25885 additions
and
28 deletions
+25885
-28
index.php
src/frontend/views/home/index.php
+3
-0
index.js
src/frontend/web/js/home/index.js
+8
-0
index.js
src/frontend/web/js/index.js
+0
-26
VideoJS.eot
src/frontend/web/js/libs/videojs/font/VideoJS.eot
+0
-0
VideoJS.svg
src/frontend/web/js/libs/videojs/font/VideoJS.svg
+102
-0
VideoJS.ttf
src/frontend/web/js/libs/videojs/font/VideoJS.ttf
+0
-0
VideoJS.woff
src/frontend/web/js/libs/videojs/font/VideoJS.woff
+0
-0
video-js.css
src/frontend/web/js/libs/videojs/video-js.css
+1302
-0
video-js.swf
src/frontend/web/js/libs/videojs/video-js.swf
+0
-0
video.js
src/frontend/web/js/libs/videojs/video.js
+24468
-0
webpack.config.js
src/frontend/web/webpack.config.js
+2
-2
No files found.
src/frontend/views/home/index.php
View file @
cbe76028
<?php
/* @var $this yii\web\View */
\frontend\assets\AppAsset
::
addScript
(
$this
,
'@web/assets/home_index.js'
);
\frontend\assets\AppAsset
::
addCss
(
$this
,
'@web/assets/css/home_index.css'
);
?>
<h1>
home/index
</h1>
...
...
src/frontend/web/js/home/index.js
0 → 100644
View file @
cbe76028
/**
* Created by xiabin on 2016/9/29.
*/
require
(
'expose?videojs!../libs/videojs/video.js'
);
require
(
'../libs/videojs/video-js.css'
);
// console.log(videojs);
// layer.msg('home/index');
videojs
.
options
.
flash
.
swf
=
''
;
\ No newline at end of file
src/frontend/web/js/index.js
deleted
100644 → 0
View file @
cfdd70bd
$
(
function
()
{
var
Accordion
=
function
(
el
,
multiple
)
{
this
.
el
=
el
||
{};
this
.
multiple
=
multiple
||
false
;
// Variables privadas
var
links
=
this
.
el
.
find
(
'.link'
);
// Evento
links
.
on
(
'click'
,
{
el
:
this
.
el
,
multiple
:
this
.
multiple
},
this
.
dropdown
)
}
Accordion
.
prototype
.
dropdown
=
function
(
e
)
{
var
$el
=
e
.
data
.
el
;
$this
=
$
(
this
),
$next
=
$this
.
next
();
$next
.
slideToggle
();
$this
.
parent
().
toggleClass
(
'open'
);
if
(
!
e
.
data
.
multiple
)
{
$el
.
find
(
'.submenu'
).
not
(
$next
).
slideUp
().
parent
().
removeClass
(
'open'
);
};
}
var
accordion
=
new
Accordion
(
$
(
'#accordion'
),
false
);
});
\ No newline at end of file
src/frontend/web/js/libs/videojs/font/VideoJS.eot
0 → 100644
View file @
cbe76028
File added
src/frontend/web/js/libs/videojs/font/VideoJS.svg
0 → 100644
View file @
cbe76028
This diff is collapsed.
Click to expand it.
src/frontend/web/js/libs/videojs/font/VideoJS.ttf
0 → 100644
View file @
cbe76028
File added
src/frontend/web/js/libs/videojs/font/VideoJS.woff
0 → 100644
View file @
cbe76028
File added
src/frontend/web/js/libs/videojs/video-js.css
0 → 100644
View file @
cbe76028
This diff is collapsed.
Click to expand it.
src/frontend/web/js/libs/videojs/video-js.swf
0 → 100644
View file @
cbe76028
File added
src/frontend/web/js/libs/videojs/video.js
0 → 100644
View file @
cbe76028
This diff is collapsed.
Click to expand it.
src/frontend/web/webpack.config.js
View file @
cbe76028
...
...
@@ -19,7 +19,7 @@ var entry = {
user_favorite
:
[
js_dir
+
'/user-center/favorite.js'
],
user_center_browse_record
:
[
js_dir
+
'/user-center/browse_record.js'
],
user_center_purchased_course
:
[
js_dir
+
'/user-center/purchased_course.js'
],
home_index
:
[
js_dir
+
'/home
_
index.js'
],
home_index
:
[
js_dir
+
'/home
/
index.js'
],
course_publish
:
[
js_dir
+
'/my-course/publish.js'
]
};
...
...
@@ -69,7 +69,7 @@ var config = {
// {from: __dirname + '/resource', to: 'resource'},
{
from
:
lib_dir
+
'/layer'
,
to
:
'layer'
},
{
from
:
img_dir
,
to
:
'img'
},
{
from
:
__dirname
+
'/lib
'
,
to
:
'lib
'
},
{
from
:
__dirname
+
'/lib
s'
,
to
:
'libs
'
},
// {from: manage_dir + '/dist', to: 'manage/dist'},
// {from: manage_dir + '/plugins', to: 'manage/plugins'},
// {from: manage_dir + '/bootstrap', to: 'manage/bootstrap'}
...
...
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