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
106a12de
Commit
106a12de
authored
Mar 28, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺视频 优化
parent
18695f9c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
8 deletions
+14
-8
video_check_list.html
application/index/view/video_check/video_check_list.html
+9
-6
videoCheckList.js
public/resource/js/videoCheckList.js
+3
-0
video_check_list_template_tpl.html
public/resource/template/video_check_list_template_tpl.html
+2
-2
No files found.
application/index/view/video_check/video_check_list.html
View file @
106a12de
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
<style>
<style>
video
{
video
{
width
:
296px
;
width
:
296px
;
height
:
200px
;
height
:
396px
;
outline
:
none
;
}
}
.modal-body
{
.modal-body
{
/*height: 600px;*/
/*height: 600px;*/
...
@@ -149,7 +150,7 @@
...
@@ -149,7 +150,7 @@
<!-- #查看-->
<!-- #查看-->
<div
class=
"modal fade modal_followup"
id=
"modal_shop_detail"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade modal_followup"
id=
"modal_shop_detail"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-dialog-one"
>
<div
class=
"modal-dialog modal-dialog-one"
>
<div
class=
"modal-content"
>
<div
class=
"modal-content"
style=
"height: 699px;"
>
<div
class=
"modal-header"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
×
...
@@ -178,7 +179,7 @@
...
@@ -178,7 +179,7 @@
<!--审核-->
<!--审核-->
<div
class=
"modal fade modal_followup"
id=
"modal_shop_check"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade modal_followup"
id=
"modal_shop_check"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-dialog-one"
style=
"width: 800px;"
>
<div
class=
"modal-dialog modal-dialog-one"
style=
"width: 800px;"
>
<div
class=
"modal-content"
style=
"height: 6
00
px;"
>
<div
class=
"modal-content"
style=
"height: 6
99
px;"
>
<div
class=
"modal-header"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
×
...
@@ -190,7 +191,7 @@
...
@@ -190,7 +191,7 @@
<div
class=
"modal-body modal-body-one"
>
<div
class=
"modal-body modal-body-one"
>
<div
style=
"overflow: hidden;"
>
<div
style=
"overflow: hidden;"
>
<div
style=
"float: left; text-align: center;"
>
<div
style=
"float: left; text-align: center;"
>
<video
src=
"/resource/image/liu.mp4"
controls=
"controls"
type=
"video/mp4"
id=
"video-check"
></video>
<video
src=
"/resource/image/liu.mp4"
controls=
"controls"
type=
"video/mp4"
id=
"video-check"
preload=
"none"
></video>
<br
/>
<br
/>
<span
class=
"text-danger delVideo"
style=
"cursor: pointer;"
>
删除
</span>
<span
class=
"text-danger delVideo"
style=
"cursor: pointer;"
>
删除
</span>
</div>
</div>
...
@@ -199,8 +200,10 @@
...
@@ -199,8 +200,10 @@
<span
class=
"text-danger"
>
备注:视频将展示给客户看,请注意不要泄露位置!
</span>
<span
class=
"text-danger"
>
备注:视频将展示给客户看,请注意不要泄露位置!
</span>
</div>
</div>
</div>
</div>
<div>
上传人:
<span
class=
"shop-name"
></span>
上传时间:
<span
class=
"shop-time"
></span></div>
上传人:
<span
class=
"shop-name"
></span>
<br
/>
<div>
审核人:
<span
class=
"shop-name-check"
></span>
审核时间:
<span
class=
"shop-time-check"
></span></div>
上传时间:
<span
class=
"shop-time"
></span>
<br
/>
审核人:
<span
class=
"shop-name-check"
></span>
<br
/>
审核时间:
<span
class=
"shop-time-check"
></span>
</div>
</div>
</div>
</div>
...
...
public/resource/js/videoCheckList.js
View file @
106a12de
...
@@ -96,6 +96,7 @@ define(['doT', 'text!temp/video_check_list_template_tpl.html', 'css!style/home.c
...
@@ -96,6 +96,7 @@ define(['doT', 'text!temp/video_check_list_template_tpl.html', 'css!style/home.c
//点击审核视频 按钮
//点击审核视频 按钮
_doc
.
on
(
'click'
,
'.review-video'
,
function
(){
_doc
.
on
(
'click'
,
'.review-video'
,
function
(){
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
house
.
video_image
=
$
(
this
).
attr
(
"data-img"
);
house
.
videoPath
=
$
(
this
).
attr
(
"data-name"
);
house
.
videoPath
=
$
(
this
).
attr
(
"data-name"
);
house
.
videoName
=
$
(
this
).
attr
(
"data-uploadName"
);
house
.
videoName
=
$
(
this
).
attr
(
"data-uploadName"
);
house
.
videoTime
=
$
(
this
).
attr
(
"data-time"
);
house
.
videoTime
=
$
(
this
).
attr
(
"data-time"
);
...
@@ -103,6 +104,8 @@ define(['doT', 'text!temp/video_check_list_template_tpl.html', 'css!style/home.c
...
@@ -103,6 +104,8 @@ define(['doT', 'text!temp/video_check_list_template_tpl.html', 'css!style/home.c
$
(
'.shop-name'
).
html
(
house
.
videoName
);
$
(
'.shop-name'
).
html
(
house
.
videoName
);
$
(
'.shop-time'
).
html
(
house
.
videoTime
);
$
(
'.shop-time'
).
html
(
house
.
videoTime
);
document
.
getElementById
(
"video-check"
).
src
=
ServerHostImageLiu
+
'/resource/lib/Attachments/video/'
+
house
.
videoPath
;
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
){
//审核过
if
(
$
(
this
).
attr
(
"data-check_id"
)
>
0
){
//审核过
$
(
'.shop-name-check'
).
html
(
''
);
$
(
'.shop-name-check'
).
html
(
''
);
$
(
'.shop-time-check'
).
html
(
''
);
$
(
'.shop-time-check'
).
html
(
''
);
...
...
public/resource/template/video_check_list_template_tpl.html
View file @
106a12de
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<
/td
>
<
/td
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
"check_id"
]
==
0
&&
check_auth
(
'index/checkVideo'
))
{
%
]
[
%
if
(
it
[
item
][
"check_id"
]
==
0
&&
check_auth
(
'index/checkVideo'
))
{
%
]
<
a
class
=
"btn1 btn-success review-video"
href
=
"#modal_shop_check"
data
-
name
=
'[%= it[item]["video_name"] %]'
data
-
toggle
=
"modal"
data
-
uploadName
=
'[%= it[item]["upload_name"] %]'
data
-
time
=
'[%= it[item]["create_time"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
data
-
check_id
=
'[%= it[item]["check_id"] %]'
>
审核
<
/a
>
<
a
class
=
"btn1 btn-success review-video"
href
=
"#modal_shop_check"
data
-
name
=
'[%= it[item]["video_name"] %]'
data
-
toggle
=
"modal"
data
-
uploadName
=
'[%= it[item]["upload_name"] %]'
data
-
time
=
'[%= it[item]["create_time"] %]'
data
-
i
mg
=
'[%= it[item]["video_image"] %]'
data
-
i
d
=
'[%= it[item]["id"] %]'
data
-
check_id
=
'[%= it[item]["check_id"] %]'
>
审核
<
/a
>
[
%
}
%
]
[
%
}
%
]
<
a
class
=
"btn1 btn-success"
href
=
"#modal_shop_detail"
data
-
id
=
'[%= it[item]["house_id"] %]'
data
-
toggle
=
"modal"
>
查看商铺
<
/a
>
<
a
class
=
"btn1 btn-success"
href
=
"#modal_shop_detail"
data
-
id
=
'[%= it[item]["house_id"] %]'
data
-
toggle
=
"modal"
>
查看商铺
<
/a
>
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-left"
style
=
"width: 262px;float: left;"
>
<
tr
class
=
"text-left"
style
=
"width: 262px;float: left;"
>
<
td
style
=
"margin-right: 10px;"
>
<
td
style
=
"margin-right: 10px;"
>
<
video
src
=
"[%= it[item]['video_path'] %]"
controls
=
"controls"
preload
=
"none"
muted
type
=
"video/mp4"
id
=
"video-check"
style
=
"width: 2
30px;height: 246px;margin-right: 10
px;"
poster
=
"[%= it[item]['video_image'] %]"
><
/video
>
<
video
src
=
"[%= it[item]['video_path'] %]"
controls
=
"controls"
preload
=
"none"
muted
type
=
"video/mp4"
id
=
"video-check"
style
=
"width: 2
60px;height: 396px;margin-right: 6
px;"
poster
=
"[%= it[item]['video_image'] %]"
><
/video
>
<
br
/>
<
br
/>
上传人
:[
%=
it
[
item
][
'upload_name'
]
%
]
上传人
:[
%=
it
[
item
][
'upload_name'
]
%
]
<
br
/>
<
br
/>
...
...
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