Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-scene
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 43b57b37
authored
Jan 26, 2024
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
上传
1 parent
15cb1c1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
src/views/lifeSceneDataPage/components/StatisticBox.vue
src/views/lifeSceneDataPage/components/StatisticBox.vue
View file @
43b57b3
...
@@ -3,7 +3,10 @@
...
@@ -3,7 +3,10 @@
<div
class=
"statistics-item"
v-for=
"(item, index) in list"
:key=
"index"
:style=
"
{ width: 100 / list.length + '%' }">
<div
class=
"statistics-item"
v-for=
"(item, index) in list"
:key=
"index"
:style=
"
{ width: 100 / list.length + '%' }">
<div
class=
"statistics-top"
>
<div
class=
"statistics-top"
>
<div
class=
"statistics-name"
>
{{
item
.
name
}}
</div>
<div
class=
"statistics-name"
>
{{
item
.
name
}}
</div>
<div
class=
"statistics-text"
>
{{
numAddSymbol
(
item
.
value
)
}}{{
item
.
unit
}}
</div>
<div
class=
"statistics-text"
>
{{
numAddSymbol
(
item
.
value
)
}}
<span
class=
"statistics-unit"
>
{{
item
.
unit
}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -58,6 +61,10 @@ export default {
...
@@ -58,6 +61,10 @@ export default {
-webkit-background-clip
:
text
;
/* Safari/Chrome支持该属性 */
-webkit-background-clip
:
text
;
/* Safari/Chrome支持该属性 */
color
:
transparent
;
/* 将文本颜色设置为透明 */
color
:
transparent
;
/* 将文本颜色设置为透明 */
margin-top
:
1.1vh
;
margin-top
:
1.1vh
;
.statistics-unit
{
font-size
:
12px
;
margin-left
:
0.52vw
;
}
}
}
}
}
</
style
>
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment