Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
broadcast_cloud
/
web-live
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
2
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9c80ef29
authored
Apr 21, 2020
by
xiaolanchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图文直播 播放器样式问题
parent
4eabec06
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
17 deletions
+8
-17
Dockerfile
+1
-1
components/modules/menus/menuClass/report/reportType/reportVideo.vue
+4
-13
package.json
+3
-3
No files found.
Dockerfile
View file @
9c80ef29
...
@@ -9,6 +9,6 @@ WORKDIR "/var/www/web_live"
...
@@ -9,6 +9,6 @@ WORKDIR "/var/www/web_live"
RUN
chmod +x start.sh
&&
\
RUN
chmod +x start.sh
&&
\
yarn install
&&
\
yarn install
&&
\
yarn
run
build
yarn
cross-env
run_server
=
production nuxt
build
ENTRYPOINT
["./start.sh"]
ENTRYPOINT
["./start.sh"]
components/modules/menus/menuClass/report/reportType/reportVideo.vue
View file @
9c80ef29
...
@@ -26,12 +26,12 @@ export default {
...
@@ -26,12 +26,12 @@ export default {
computed
:
{
computed
:
{
videoUrl
()
{
videoUrl
()
{
if
(
!
this
.
video
)
{
if
(
!
this
.
video
)
{
return
""
;
return
''
;
}
}
if
(
window
.
location
.
protocol
===
"http:"
)
{
if
(
window
.
location
.
protocol
===
'http:'
)
{
return
this
.
video
.
replace
(
"https://"
,
"http://"
);
return
this
.
video
.
replace
(
'https://'
,
'http://'
);
}
else
{
}
else
{
return
this
.
video
.
replace
(
"http://"
,
"https://"
);
return
this
.
video
.
replace
(
'http://'
,
'https://'
);
}
}
}
}
},
},
...
@@ -58,13 +58,4 @@ video {
...
@@ -58,13 +58,4 @@ video {
position
:
relative
;
position
:
relative
;
width
:
100%
;
width
:
100%
;
}
}
video
::-webkit-media-controls-panel
{
position
:
absolute
;
bottom
:
0
;
left
:
0
;
width
:
100%
;
}
video
::-webkit-media-controls-enclosure
{
display
:
block
!important
;
}
</
style
>
</
style
>
package.json
View file @
9c80ef29
...
@@ -8,9 +8,9 @@
...
@@ -8,9 +8,9 @@
"dev"
:
"nuxt"
,
"dev"
:
"nuxt"
,
"dev-pre"
:
"cross-env X_CA_STAGE=PRE nuxt"
,
"dev-pre"
:
"cross-env X_CA_STAGE=PRE nuxt"
,
"dev-test"
:
"cross-env X_CA_STAGE=TEST nuxt"
,
"dev-test"
:
"cross-env X_CA_STAGE=TEST nuxt"
,
"build"
:
"cross-env
run_server=production
nuxt build"
,
"build"
:
"cross-env nuxt build"
,
"build-pre"
:
"cross-env X_CA_STAGE=PRE
run_server=preview
nuxt build"
,
"build-pre"
:
"cross-env X_CA_STAGE=PRE nuxt build"
,
"build-test"
:
"cross-env X_CA_STAGE=TEST
run_server=development
nuxt build"
,
"build-test"
:
"cross-env X_CA_STAGE=TEST nuxt build"
,
"start"
:
"nuxt start"
,
"start"
:
"nuxt start"
,
"start-pre"
:
"cross-env X_CA_STAGE=PRE nuxt start"
,
"start-pre"
:
"cross-env X_CA_STAGE=PRE nuxt start"
,
"start-test"
:
"cross-env X_CA_STAGE=TEST nuxt start"
,
"start-test"
:
"cross-env X_CA_STAGE=TEST nuxt start"
,
...
...
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