Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
digital-construction
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
张牧越
digital-construction
Commits
721385ad
Commit
721385ad
authored
Jun 02, 2023
by
张牧越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
c7303944
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
17 deletions
+13
-17
dist.zip
dist.zip
+0
-0
Index.vue
src/components/Index.vue
+11
-15
Index.vue
src/components/earlywarning/Index.vue
+1
-1
Index.vue
src/components/realname/Index.vue
+1
-1
No files found.
dist.zip
View file @
721385ad
No preview for this file type
src/components/Index.vue
View file @
721385ad
...
...
@@ -159,6 +159,11 @@ export default {
this
.
weekDay
=
str
;
},
bodyScale
()
{
// window.innerHeight 窗口内高度 //document.getElementsByTagName("html")[0].offsetHeight
// var windowHeight = window.innerHeight;
// var documentHeight =
// document.getElementsByTagName("html")[0].offsetHeight;
// console.log(windowHeight - documentHeight);
var
deviceHeight
=
window
.
screen
.
height
;
var
scale
=
deviceHeight
/
1220
;
document
.
body
.
style
.
zoom
=
scale
;
...
...
@@ -191,21 +196,12 @@ export default {
getBaseInfo
().
then
((
res
)
=>
{
this
.
screenDetail
=
res
.
data
;
document
.
title
=
res
.
data
.
project_name
;
if
(
window
.
screen
.
width
<
1800
)
{
if
(
res
.
data
.
menu
.
length
>=
3
)
{
this
.
leftNav
=
res
.
data
.
menu
.
slice
(
0
,
3
);
this
.
rightNav
=
res
.
data
.
menu
.
slice
(
3
,
res
.
data
.
menu
.
length
);
}
else
{
this
.
leftNav
=
[...
res
.
data
.
menu
];
}
}
else
{
if
(
res
.
data
.
menu
.
length
>=
4
)
{
this
.
leftNav
=
res
.
data
.
menu
.
slice
(
0
,
4
);
this
.
rightNav
=
res
.
data
.
menu
.
slice
(
4
,
res
.
data
.
menu
.
length
);
}
else
{
this
.
leftNav
=
[...
res
.
data
.
menu
];
}
}
});
this
.
bodyScale
();
...
...
@@ -276,7 +272,7 @@ a,
text-align: center;
display: inline-block;
text-decoration: none;
margin-right:
8
px;
margin-right:
30
px;
color: #80a1c6;
padding: 9px 12px;
border: 1px solid #0f5da6;
...
...
@@ -351,7 +347,7 @@ a,
}
}
.el-dropdown {
margin-right:
8
px;
margin-right:
30
px;
}
.el-dropdown-menu {
padding: 0;
...
...
src/components/earlywarning/Index.vue
View file @
721385ad
...
...
@@ -646,7 +646,7 @@ export default {
}
.no-data {
text-align: center;
font-size:
2
4px;
font-size:
1
4px;
color: #1abcec;
img {
width: 300px;
...
...
src/components/realname/Index.vue
View file @
721385ad
...
...
@@ -800,7 +800,7 @@ export default {
}
.no-data {
text-align: center;
font-size:
2
4px;
font-size:
1
4px;
color: #1abcec;
img {
width: 200px;
...
...
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