Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
vue3-dashboard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chuanq
vue3-dashboard
Commits
d35f8d51
Commit
d35f8d51
authored
1 year ago
by
wang ff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commits
parent
17880e6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
16 deletions
+15
-16
src/views/index/right-center.vue
src/views/index/right-center.vue
+1
-1
src/views/index/right-top.vue
src/views/index/right-top.vue
+14
-15
No files found.
src/views/index/right-center.vue
View file @
d35f8d51
...
...
@@ -23,7 +23,7 @@ const option = ref({
yAxis
:
{
type
:
"
value
"
,
axisLabel
:
{
formatter
:
"
{value}吨
"
,
formatter
:
"
{value}
万
吨
"
,
},
axisPointer
:
{
snap
:
true
,
...
...
This diff is collapsed.
Click to expand it.
src/views/index/right-top.vue
View file @
d35f8d51
...
...
@@ -13,23 +13,22 @@ import { defineComponent, reactive } from "vue";
export
default
defineComponent
({
setup
()
{
const
config
=
reactive
({
header
:
[
"
类别
"
,
"
数量
"
,
"
装机容量/MW
"
,
"
占比
"
,
"
发电量/度
"
,
"
占比
"
],
header
:
[
"
类别
"
,
"
数量
"
,
"
装机容量/MW
"
,
"
占比
"
,
"
发电量/
亿
度
"
,
"
占比
"
],
data
:
[
[
"
火力
"
,
59
,
13161
,
"
8.11%
"
,
"
44亿
"
,
"
92.53
%
"
],
[
"
光伏
"
,
"
"
,
147899
,
"
91.09%
"
,
"
19666万
"
,
"
4.13
%
"
],
[
"
火力
"
,
10
,
13161
,
"
77.27%
"
,
"
43.7
"
,
"
50.69
%
"
],
[
"
光伏
"
,
43
,
2738
,
"
16.08%
"
,
"
21.24
"
,
"
24.64
%
"
],
[
"
分布式光伏
"
,
25809
,
147148
,
"
90.6
2%
"
,
"
1
0644万
"
,
"
2
.23
%
"
,
"
分布式光伏
"
,
38
,
2456
,
"
14.4
2%
"
,
"
1
8.12
"
,
"
2
1.02
%
"
,
],
[
"
集中式光伏
"
,
43
,
743
,
"
0.46%
"
,
"
9040万
"
,
"
1.90%
"
],
[
"
"
,
1
,
8
,
"
0%
"
,
"
2万
"
,
"
0%
"
],
[
"
风电
"
,
16
,
1088
,
"
0.67%
"
,
"
12345万
"
,
"
0.54%
"
],
[
"
垃圾焚烧
"
,
5
,
156
,
"
0.10%
"
,
"
2579万
"
,
"
0.54%
"
],
[
"
生物质
"
,
3
,
67
,
"
0.04%
"
,
"
1024
"
,
"
0.21%
"
],
[
"
集中式光伏
"
,
5
,
282
,
"
1.66%
"
,
"
3.12
"
,
"
3.62%
"
],
[
"
风电
"
,
16
,
1112
,
"
6.53%
"
,
"
17.43
"
,
"
20.22%
"
],
[
"
垃圾焚烧
"
,
5
,
15
,
"
0.09%
"
,
"
0.26
"
,
"
0.30%
"
],
[
"
生物质
"
,
3
,
6
,
"
0.04%
"
,
"
3.56
"
,
"
4.13%
"
],
],
rowNum
:
4
,
//表格行数
headerHeight
:
30
,
...
...
@@ -50,7 +49,7 @@ export default defineComponent({
align-items
:
left
;
}
::v-deep
.header-item
{
font-size
:
1
0
px
!important
;
font-size
:
1
3
px
!important
;
height
:
auto
!important
;
padding
:
0
;
line-height
:
15px
!important
;
...
...
This diff is collapsed.
Click to expand it.
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