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
1ba03ac0
Commit
1ba03ac0
authored
Nov 01, 2016
by
汪波
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
# Conflicts: # src/frontend/views/layouts/main.php
parents
1323b164
0a512b2a
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
74 additions
and
4 deletions
+74
-4
TestController.php
src/frontend/controllers/TestController.php
+21
-0
classCenter.php
src/frontend/views/layouts/classCenter.php
+1
-1
classCenterHeader.php
src/frontend/views/layouts/classCenterHeader.php
+0
-0
userCenter.php
src/frontend/views/layouts/userCenter.php
+1
-1
userCenterHeader.php
src/frontend/views/layouts/userCenterHeader.php
+22
-0
index.php
src/frontend/views/test/index.php
+29
-2
No files found.
src/frontend/controllers/TestController.php
0 → 100644
View file @
1ba03ac0
<?php
/**
* Created by PhpStorm.
* User: xiabin
* Date: 2016/11/1
* Time: 下午2:07
*/
namespace
frontend\controllers
;
use
yii\web\Controller
;
class
TestController
extends
Controller
{
public
$layout
=
FALSE
;
public
function
actionIndex
(){
return
$this
->
render
(
'index'
);
}
}
\ No newline at end of file
src/frontend/views/layouts/classCenter.php
View file @
1ba03ac0
...
@@ -62,7 +62,7 @@ $this->beginContent('@app/views/layouts/center.php');
...
@@ -62,7 +62,7 @@ $this->beginContent('@app/views/layouts/center.php');
<div
class=
"menu-mask"
></div>
<div
class=
"menu-mask"
></div>
<div
class=
"auto-main"
>
<div
class=
"auto-main"
>
<?=
$this
->
render
(
'centerHeader'
)
?>
<?=
$this
->
render
(
'c
lassC
enterHeader'
)
?>
<div
class=
"tp-main"
>
<div
class=
"tp-main"
>
<div
class=
"container"
>
<div
class=
"container"
>
...
...
src/frontend/views/layouts/centerHeader.php
→
src/frontend/views/layouts/c
lassC
enterHeader.php
View file @
1ba03ac0
File moved
src/frontend/views/layouts/userCenter.php
View file @
1ba03ac0
...
@@ -65,7 +65,7 @@ $this->beginContent('@app/views/layouts/center.php');
...
@@ -65,7 +65,7 @@ $this->beginContent('@app/views/layouts/center.php');
<input
id=
"biaoJi"
type=
"text"
value=
"0"
style=
"display: none"
>
<input
id=
"biaoJi"
type=
"text"
value=
"0"
style=
"display: none"
>
<div
class=
"auto-main"
>
<div
class=
"auto-main"
>
<?=
$this
->
render
(
'
c
enterHeader'
)
?>
<?=
$this
->
render
(
'
userC
enterHeader'
)
?>
<div
class=
"tp-main"
>
<div
class=
"tp-main"
>
<div
class=
"container"
>
<div
class=
"container"
>
<?=
$content
?>
<?=
$content
?>
...
...
src/frontend/views/layouts/userCenterHeader.php
0 → 100644
View file @
1ba03ac0
<?php
/**
* Created by PhpStorm.
* User: xiabin
* Date: 2016/10/10
* Time: 下午1:47
*/
?>
<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=
"avatar fr"
>
<a
href=
"
<?=
\yii\helpers\Url
::
base
()
.
'/user-center/'
?>
"
class=
"u-center"
><img
src=
"
<?=
\common\models\User
::
getAvatarUrl
(
Yii
::
$app
->
user
->
identity
->
avatar
)
?>
"
></a>
<!--
<ul class="updownmenu">
<li><a href="#">课堂中心</a></li>
<li><a href="#">个人中心</a></li>
<li><a href="#">退出登录</a></li>
</ul>
-->
</div>
</div>
src/frontend/views/test/index.php
View file @
1ba03ac0
...
@@ -5,7 +5,34 @@
...
@@ -5,7 +5,34 @@
* Date: 2016/10/13
* Date: 2016/10/13
* Time: 下午5:32
* Time: 下午5:32
*/
*/
use
yii\helpers\Url
;
?>
?>
<img
src=
"
<?=
Url
::
to
([
'home/weixin-pay-qrcode'
])
?>
"
/>
<!DOCTYPE html>
<html>
<head>
<head>
<title>
Video.js | HTML5 Video Player
</title>
<link
href=
"http://vjs.zencdn.net/5.0.2/video-js.css"
rel=
"stylesheet"
>
<script
src=
"http://vjs.zencdn.net/ie8/1.1.0/videojs-ie8.min.js"
></script>
<script
src=
"http://vjs.zencdn.net/5.0.2/video.js"
></script>
</head>
</head>
<body>
<video
id=
"example_video_1"
class=
"video-js vjs-default-skin"
controls
preload=
"none"
width=
"640"
height=
"264"
poster=
"http://img.c.pp.cc/preview/53/5c/de/YeTMnlVXEeeX2500.jpg-l.preview"
data-setup=
"{}"
>
<source
src=
"http://vdn.c.pp.cc/free/21/c9/e1/71O8rEzYiOUxp2N3p8k9.mp4?e=1477984337&token=Tm34_10r5kYLrUProU3Rx82HXCOnYuF8MhirB_YR:c2sU88scg6ePLF8l2UEXdglXCtU="
type=
"video/mp4"
>
<track
kind=
"captions"
src=
"../shared/example-captions.vtt"
srclang=
"en"
label=
"English"
></track>
<!-- Tracks need an ending tag thanks to IE9 -->
<track
kind=
"subtitles"
src=
"../shared/example-captions.vtt"
srclang=
"en"
label=
"English"
></track>
<!-- Tracks need an ending tag thanks to IE9 -->
<p
class=
"vjs-no-js"
>
To view this video please enable JavaScript, and consider upgrading to a web browser that
<a
href=
"http://videojs.com/html5-video-support/"
target=
"_blank"
>
supports HTML5 video
</a></p>
</video>
</body>
</html>
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