Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
ZhangJianFrontEnd
Overview
Overview
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
vue-project
ZhangJian
ZhangJianFrontEnd
Commits
e2b51a1c
Commit
e2b51a1c
authored
Jul 15, 2021
by
zsh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新App.vue
parent
1c66aea5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
runner
runner
+1
-1
App.vue
src/App.vue
+8
-10
No files found.
runner
@
d23c1ed3
Subproject commit
71c72f3e1aeff4aea211f74cc3e231a00b11c6c3
Subproject commit
d23c1ed387a5099f276d4b2da2fbed7f4e005715
src/App.vue
View file @
e2b51a1c
...
@@ -18,13 +18,9 @@ export default {
...
@@ -18,13 +18,9 @@ export default {
this
.
initScale
()
this
.
initScale
()
},
},
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
)
},
methods
:
{
methods
:
{
initScale
()
{
initScale
()
{
refreshScale
(
7550
,
1216
,
7550
,
1216
)
refreshScale
()
window
.
addEventListener
(
'resize'
,
refreshScale
)
window
.
addEventListener
(
'resize'
,
refreshScale
)
}
}
...
@@ -32,7 +28,10 @@ export default {
...
@@ -32,7 +28,10 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"less"
>
@designWidth
:
1920px
;
@designHeight
:
1080px
;
body
{
body
{
background-color
:
#011428
;
background-color
:
#011428
;
}
}
...
@@ -42,12 +41,11 @@ body {
...
@@ -42,12 +41,11 @@ body {
left
:
50%
;
left
:
50%
;
right
:
0
;
right
:
0
;
bottom
:
0
;
bottom
:
0
;
width
:
1920px
;
width
:
@
designWidth
;
height
:
1080px
;
height
:
@
designHeight
;
overflow
:
hidden
;
overflow
:
hidden
;
user-select
:
none
;
user-select
:
none
;
background-size
:
1920px
1080px
;
background-size
:
@
designWidth
@
designHeight
;
background-position
:
center
bottom
;
background-position
:
center
bottom
;
background-size
:
cover
;
}
}
</
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