Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sup-server
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
Administrator
sup-server
Commits
872daafc
Commit
872daafc
authored
Oct 09, 2022
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
login背景
parent
075028ec
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
69 additions
and
17 deletions
+69
-17
App.vue
dsk-srm-server/src/App.vue
+2
-2
public.scss
dsk-srm-server/src/assets/styles/public.scss
+11
-0
login.vue
dsk-srm-server/src/login.vue
+33
-15
AboutView.vue
dsk-srm-server/src/views/AboutView.vue
+5
-0
HomeView.vue
dsk-srm-server/src/views/HomeView.vue
+18
-0
No files found.
dsk-srm-server/src/App.vue
View file @
872daafc
<
template
>
<div
id=
"app"
>
<router-view/>
<router-view
/>
</div>
</
template
>
<
style
lang=
"scss"
>
@import
url("~@/assets/styles/public.scss")
;
</
style
>
dsk-srm-server/src/assets/styles/public.scss
0 → 100644
View file @
872daafc
html
,
body
{
margin
:
0
;
padding
:
0
;
width
:
100%
;
height
:
100%
;
}
#app
{
width
:
100%
;
height
:
100%
;
}
dsk-srm-server/src/login.vue
View file @
872daafc
<
template
>
<div
class=
"main"
>
<div
class=
"video"
>
<video
autoplay
loop
>
<video
autoplay
loop
class=
"login-video"
>
<source
src=
"@/assets/background.mp4"
type=
"video/mp4"
>
</video>
</div>
...
...
@@ -9,16 +9,34 @@
</
template
>
<
script
>
export
default
{
export
default
{
data
()
{
return
{}
return
{};
},
computed
:
{},
mounted
()
{
},
mounted
()
{
},
methods
:
{}
}
}
</
script
>
<
style
scoped
>
<
style
scoped
lang=
"scss"
>
.main
{
position
:
relative
;
height
:
100%
;
width
:
100%
;
.login-video
{
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
object-fit
:
fill
;
source
{
width
:
100%
;
height
:
100%
;
}
}
}
</
style
>
dsk-srm-server/src/views/AboutView.vue
0 → 100644
View file @
872daafc
<
template
>
<div
class=
"about"
>
<h1>
This is an about page
</h1>
</div>
</
template
>
dsk-srm-server/src/views/HomeView.vue
0 → 100644
View file @
872daafc
<
template
>
<div
class=
"home"
>
<img
alt=
"Vue logo"
src=
"../assets/logo.png"
>
<HelloWorld
msg=
"Welcome to Your Vue.js App"
/>
</div>
</
template
>
<
script
>
// @ is an alias to /src
import
HelloWorld
from
'@/components/HelloWorld.vue'
export
default
{
name
:
'HomeView'
,
components
:
{
HelloWorld
}
}
</
script
>
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