Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
山
山西华远大屏
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lichunliang
山西华远大屏
Commits
4be95e7d
Commit
4be95e7d
authored
Feb 13, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: echarts3d
parent
c409b6b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
6 deletions
+29
-6
BianpoMonitor.vue
src/components/BigScreen/BianpoMonitor.vue
+8
-5
QiaoliangMonitor.vue
src/components/BigScreen/QiaoliangMonitor.vue
+21
-1
No files found.
src/components/BigScreen/BianpoMonitor.vue
View file @
4be95e7d
...
...
@@ -239,7 +239,7 @@ export default {
.count2
{
font-family
:
diget
year
;
font-weight
:
normal
;
font-size
:
0
.
42
rem
;
font-size
:
0
.
34
rem
;
color
:
#ffffff
;
text-shadow
:
0px
0
.04rem
0
.3rem
rgba
(
5
,
54
,
78
,
0
.48
);
background
:
linear-gradient
(
180deg
,
#dff2ff
0%
,
#36acff
100%
);
...
...
@@ -250,13 +250,15 @@ export default {
.unit2
{
font-family
:
PingFang
SC
;
font-weight
:
bold
;
font-size
:
0
.21rem
;
color
:
#1e6bb2
;
font-size
:
0
.18rem
;
color
:
#59EDFF
;
vertical-align
:
0
.03rem
;
}
.count1
{
font-family
:
diget
year
;
font-weight
:
normal
;
font-size
:
0
.
42
rem
;
font-size
:
0
.
34
rem
;
color
:
#ffffff
;
text-shadow
:
0px
0
.04rem
0
.3rem
rgba
(
5
,
54
,
78
,
0
.48
);
background
:
linear-gradient
(
180deg
,
#fffae4
0%
,
#ffe25d
100%
);
...
...
@@ -267,8 +269,9 @@ export default {
.unit1
{
font-family
:
PingFang
SC
;
font-weight
:
bold
;
font-size
:
0
.
21
rem
;
font-size
:
0
.
18
rem
;
color
:
#dfe224
;
vertical-align
:
0
.03rem
;
}
}
}
...
...
src/components/BigScreen/QiaoliangMonitor.vue
View file @
4be95e7d
...
...
@@ -14,7 +14,7 @@
<div
class=
"dt"
>
<span>
监测项
</span>
<span>
最近更新时间
</span>
<span>
监测数据
</span>
</div>
<div
v-if=
"!dataList.length"
style=
"font-size: 0.24rem
"
>
暂无数据
</div>
<div
v-if=
"!dataList.length"
class=
"emptyData
"
>
暂无数据
</div>
<dl
class=
"scrolling1"
>
<div
class=
"list-wrap"
>
<div
class=
"list-content"
>
...
...
@@ -201,6 +201,14 @@ export default {
type
,
}).
then
((
response
)
=>
{
this
.
dataList
=
response
.
data
;
// if(type === '环境监测'){
// for (let index = 0; index
<
5
;
index
++
)
{
// this.dataList.push({
// name: index,
// value: index,
// });
// }
// }
this
.
$nextTick
(()
=>
{
setTimeout
(()
=>
{
this
.
startScrolling
(
...
...
@@ -224,6 +232,13 @@ export default {
console
.
log
(
'
container.clientHeight
'
,
container
.
clientHeight
)
const
content
=
document
.
querySelector
(
contentClass
);
if
(
this
.
dataList
.
length
<
5
){
content
.
style
.
transform
=
`translateY(0px)`
;
clearInterval
(
this
[
"
interval4
"
+
type
]);
return
}
content
.
style
.
transform
=
`translateY(0px)`
;
console
.
log
(
content
.
scrollHeight
,
"
content.scrollHeight
"
);
// return
...
...
@@ -254,6 +269,11 @@ export default {
</
script
>
<
style
scoped
lang=
"scss"
>
.emptyData
{
font-size
:
0
.18rem
;
text-align
:
center
;
padding-top
:
0
.6rem
;
}
.echart-bt
{
width
:
100%
;
height
:
1
.8rem
;
...
...
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