Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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
耿迪迪
gassafety-progress
Commits
9d3ad6ed
Commit
9d3ad6ed
authored
Aug 24, 2022
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bigwindow页面的样式调整完毕
parent
de0e9e68
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1083 additions
and
33 deletions
+1083
-33
rightBarZ.vue
gassafetyprogress-web/src/components/bigWindow/rightBarZ.vue
+1004
-0
index.vue
gassafetyprogress-web/src/views/bigWindow/index.vue
+79
-33
No files found.
gassafetyprogress-web/src/components/bigWindow/rightBarZ.vue
0 → 100644
View file @
9d3ad6ed
This diff is collapsed.
Click to expand it.
gassafetyprogress-web/src/views/bigWindow/index.vue
View file @
9d3ad6ed
<!--
* @Author: your name
* @Date: 2022-01-11 13:44:17
* @LastEditTime: 2022-08-2
3 17:04:59
* @LastEditTime: 2022-08-2
4 11:23:42
* @LastEditors: 纪泽龙 jizelong@qq.com
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/views/Home.vue
...
...
@@ -54,7 +54,12 @@
</div>
<!-- 设备按钮 -->
<div
class=
"typelist-div"
>
<div
:class=
"
{
'typelist-div': windowInnerWidth > 1100,
'typelist-divZ': windowInnerWidth
<
1100
,
}"
>
<div
class=
"list"
v-for=
"(item, index) in arr"
...
...
@@ -79,20 +84,26 @@
</div>
<!-- 头部 -->
<div
class=
"banner-test"
>
<div
class=
"banner-test"
:style=
"
{height:windowInnerWidth>1100?'85px':'70px'}"
>
<!--
<dv-decoration-5
style=
"width:100%;height:100%;"
/>
-->
<img
src=
"@/assets/mapinages/tb.png"
alt=
""
/>
</div>
<!-- 左边 -->
<div
class=
"leftbar"
:style=
"
{width:windowInnerWidth>1024?'470px':'300px'}">
<leftBar
v-if=
"windowInnerWidth>1024"
ref=
"mychild2"
></leftBar>
<div
class=
"leftbar"
:style=
"
{ width: windowInnerWidth > 1024 ? '470px' : '300px' }"
>
<leftBar
v-if=
"windowInnerWidth > 1024"
ref=
"mychild2"
></leftBar>
<leftBarZ
v-else
ref=
"mychild2"
></leftBarZ>
</div>
<!-- 右边 -->
<div
class=
"rightbar"
>
<rightBar
ref=
"mychild"
></rightBar>
<div
class=
"rightbar"
:style=
"
{ width: windowInnerWidth > 1024 ? '470px' : '300px' }"
>
<rightBar
v-if=
"windowInnerWidth > 1024"
ref=
"mychild"
></rightBar>
<rightBarZ
v-else
ref=
"mychild"
></rightBarZ>
</div>
<!-- 左上角天气 -->
...
...
@@ -183,12 +194,14 @@ import PipeColor from "@/components/bigWindow/PipeColor.vue";
import
leftBar
from
"@/components/bigWindow/leftBar.vue"
;
import
leftBarZ
from
"@/components/bigWindow/leftBarZ.vue"
;
import
rightBar
from
"@/components/bigWindow/rightBar.vue"
;
import
rightBarZ
from
"@/components/bigWindow/rightBarZ.vue"
;
export
default
{
name
:
"Home"
,
components
:
{
leftBar
,
leftBarZ
,
rightBar
,
rightBarZ
,
// Center,
UserCenter
,
OtherCenter
,
...
...
@@ -272,7 +285,7 @@ export default {
// 报警轮询timer
alarmTimer
:
null
,
windowInnerWidth
:
0
,
windowInnerWidth
:
0
,
};
},
...
...
@@ -598,15 +611,17 @@ export default {
overflow
:
hidden
;
height
:
calc
(
100vh
-
85px
);
position
:
fixed
;
top
:
10%
;
top
:
85px
;
left
:
0
;
background
:
#112238
;
}
.rightbar
{
width
:
470px
;
height
:
90%
;
height
:
calc
(
100vh
-
85px
);
position
:
fixed
;
top
:
10%
;
top
:
85px
;
right
:
0
;
background
:
#112238
;
}
...
...
@@ -698,28 +713,59 @@ export default {
top
:
0
;
margin-top
:
120px
;
right
:
470px
;
.list
{
z-index
:
9999
;
float
:
left
;
margin-left
:
15px
;
color
:
#fff
;
line-height
:
auto
;
text-align
:
center
;
background
:
linear-gradient
(
86deg
,
#112238
0%
,
#086187
62%
,
#112238
100%
);
box-shadow
:
inset
0px
1px
2px
1px
#125c9b
;
font-size
:
15px
;
padding
:
5px
7px
;
cursor
:
pointer
;
line-height
:
26px
;
}
.list.active
{
background
:
linear-gradient
(
86deg
,
#112238
0%
,
#32a3d3
62%
,
#112238
100%
);
box-shadow
:
inset
0px
1px
2px
1px
#125c9b
;
font-size
:
14px
;
}
.list
img
{
width
:
22px
;
}
}
.list
{
.typelist-divZ
{
width
:
400px
;
// height: 30px;
z-index
:
9999
;
float
:
left
;
margin-left
:
15px
;
color
:
#fff
;
line-height
:
auto
;
text-align
:
center
;
background
:
linear-gradient
(
86deg
,
#112238
0%
,
#086187
62%
,
#112238
100%
);
box-shadow
:
inset
0px
1px
2px
1px
#125c9b
;
font-size
:
15px
;
padding
:
5px
7px
;
cursor
:
pointer
;
line-height
:
26px
;
}
.list.active
{
background
:
linear-gradient
(
86deg
,
#112238
0%
,
#32a3d3
62%
,
#112238
100%
);
box-shadow
:
inset
0px
1px
2px
1px
#125c9b
;
font-size
:
14px
;
}
.list
img
{
width
:
22px
;
position
:
fixed
;
top
:
85px
;
left
:
50%
;
margin-left
:
-200px
;
.list
{
z-index
:
9999
;
float
:
left
;
margin-left
:
15px
;
color
:
#fff
;
line-height
:
auto
;
text-align
:
center
;
background
:
linear-gradient
(
86deg
,
#112238
0%
,
#086187
62%
,
#112238
100%
);
box-shadow
:
inset
0px
1px
2px
1px
#125c9b
;
font-size
:
10px
;
padding
:
5px
7px
;
cursor
:
pointer
;
margin-bottom
:
5px
;
// line-height: 30px;
}
.list.active
{
background
:
linear-gradient
(
86deg
,
#112238
0%
,
#32a3d3
62%
,
#112238
100%
);
box-shadow
:
inset
0px
1px
2px
1px
#125c9b
;
font-size
:
10px
;
}
.list
img
{
width
:
15px
;
}
}
</
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