Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
db38f994
Commit
db38f994
authored
Mar 29, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
视频显示优化
parent
80822611
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
video_check_list.html
application/index/view/video_check/video_check_list.html
+2
-1
videoCheckList.js
public/resource/js/videoCheckList.js
+5
-2
No files found.
application/index/view/video_check/video_check_list.html
View file @
db38f994
...
...
@@ -191,7 +191,8 @@
<div
class=
"modal-body modal-body-one"
>
<div
style=
"overflow: hidden;"
>
<div
style=
"float: left; text-align: center;"
>
<video
src=
"/resource/image/liu.mp4"
controls=
"controls"
type=
"video/mp4"
id=
"video-check"
preload=
"none"
></video>
<span
class=
"video-span"
></span>
<!--<video src="/resource/image/liu.mp4" controls="controls" type="video/mp4" id="video-check" preload="none"></video>-->
<br
/>
<span
class=
"text-danger delVideo"
style=
"cursor: pointer;"
>
删除
</span>
</div>
...
...
public/resource/js/videoCheckList.js
View file @
db38f994
...
...
@@ -103,8 +103,11 @@ define(['doT', 'text!temp/video_check_list_template_tpl.html', 'css!style/home.c
house
.
videoId
=
$
(
this
).
attr
(
"data-id"
);
$
(
'.shop-name'
).
html
(
house
.
videoName
);
$
(
'.shop-time'
).
html
(
house
.
videoTime
);
document
.
getElementById
(
"video-check"
).
src
=
ServerHostImageLiu
+
'/resource/lib/Attachments/video/'
+
house
.
videoPath
;
document
.
getElementById
(
"video-check"
).
poster
=
ServerHostImageLiu
+
'/resource/lib/Attachments/video/'
+
house
.
video_image
;
var
tag
=
'<video src="'
+
ServerHostImageLiu
+
'/resource/lib/Attachments/video/'
+
house
.
videoPath
+
'" controls="controls" type="video/mp4" id="video-check" preload="none" poster="'
+
ServerHostImageLiu
+
'/resource/lib/Attachments/video/'
+
house
.
video_image
+
'"></video>'
$
(
".video-span"
).
html
(
tag
);
// <video src="/resource/image/liu.mp4" controls="controls" type="video/mp4" id="video-check" preload="none"></video>
// document.getElementById("video-check").src = ServerHostImageLiu + '/resource/lib/Attachments/video/' + house.videoPath;
// document.getElementById("video-check").poster = ServerHostImageLiu + '/resource/lib/Attachments/video/' + house.video_image;
if
(
$
(
this
).
attr
(
"data-check_id"
)
>
0
){
//审核过
$
(
'.shop-name-check'
).
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