Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
video-monitoring
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘怀志
video-monitoring
Commits
2b706f4b
Commit
2b706f4b
authored
Jul 26, 2024
by
刘怀志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init-4
parent
1da4624e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
7 deletions
+20
-7
App.vue
src/App.vue
+1
-0
Navbar.vue
src/layout/components/Navbar.vue
+4
-2
index.vue
src/layout/index.vue
+3
-1
settings.js
src/settings.js
+1
-1
index.vue
src/views/video/index.vue
+11
-3
No files found.
src/App.vue
View file @
2b706f4b
...
@@ -25,4 +25,5 @@ export default {
...
@@ -25,4 +25,5 @@ export default {
#app
.theme-picker
{
#app
.theme-picker
{
display
:
none
;
display
:
none
;
}
}
</
style
>
</
style
>
src/layout/components/Navbar.vue
View file @
2b706f4b
...
@@ -112,11 +112,13 @@ export default {
...
@@ -112,11 +112,13 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.navbar
{
.navbar
{
display
:
flex
;
height
:
50px
;
height
:
50px
;
overflow
:
hidden
;
overflow
:
hidden
;
position
:
relative
;
position
:
relative
;
background
:
#fff
;
background
:
#fff
;
box-shadow
:
0
1px
4px
rgba
(
0
,
21
,
41
,.
08
);
box-shadow
:
0
1px
4px
rgba
(
0
,
21
,
41
,.
08
);
justify-content
:
space-between
;
.hamburger-container
{
.hamburger-container
{
line-height
:
46px
;
line-height
:
46px
;
...
@@ -136,8 +138,8 @@ export default {
...
@@ -136,8 +138,8 @@ export default {
}
}
.topmenu-container
{
.topmenu-container
{
position
:
absolute
;
//
position: absolute;
left
:
50px
;
//
left: 50px;
}
}
.errLog-container
{
.errLog-container
{
...
...
src/layout/index.vue
View file @
2b706f4b
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
<div
:class=
"
{hasTagsView:needTagsView,sidebarHide:sidebar.hide}" class="main-container">
<div
:class=
"
{hasTagsView:needTagsView,sidebarHide:sidebar.hide}" class="main-container">
<div
:class=
"
{'fixed-header':fixedHeader}">
<div
:class=
"
{'fixed-header':fixedHeader}">
<navbar/>
<navbar/>
<tags-view
v-if=
"needTagsView"
/>
</div>
</div>
<app-main/>
<app-main/>
<right-panel>
<right-panel>
...
@@ -108,4 +107,7 @@ export default {
...
@@ -108,4 +107,7 @@ export default {
.mobile
.fixed-header
{
.mobile
.fixed-header
{
width
:
100%
;
width
:
100%
;
}
}
.app-wrapper
{
background
:
gray
;
}
</
style
>
</
style
>
src/settings.js
View file @
2b706f4b
...
@@ -12,7 +12,7 @@ module.exports = {
...
@@ -12,7 +12,7 @@ module.exports = {
/**
/**
* 是否显示顶部导航
* 是否显示顶部导航
*/
*/
topNav
:
fals
e
,
topNav
:
tru
e
,
/**
/**
* 是否显示 tagsView
* 是否显示 tagsView
...
...
src/views/video/index.vue
View file @
2b706f4b
<
template
>
<
template
>
<div>
<div
class=
"video-now"
>
<!-- 创建一个用于显示视频的容器 -->
<!-- 创建一个用于显示视频的容器 -->
<div
ref=
"playWnd"
class=
"video-watch"
id=
"playWnd"
></div>
<div
ref=
"playWnd"
class=
"video-watch"
id=
"playWnd"
></div>
</div>
</div>
...
@@ -195,7 +195,15 @@ export default {
...
@@ -195,7 +195,15 @@ export default {
<
style
scoped
>
<
style
scoped
>
.video-watch
{
.video-watch
{
min-height
:
calc
(
100vh
-
84px
);
min-height
:
calc
(
80vh
-
84px
);
width
:
100%
;
width
:
90%
;
}
.video-now
{
width
:
95vw
;
height
:
90vh
;
background
:
#fff
;
margin
:
0
auto
;
display
:
flex
;
justify-content
:
center
;
}
}
</
style
>
</
style
>
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