Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
58b66491
authored
2023-01-10 18:07:07 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化样式
1 parent
539f1163
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
7 deletions
src/components/echart/Brokenline/chart.vue
src/components/echart/Rose/chart.vue
src/views/dataView/index.vue
src/views/dataView/leftcard.vue
src/views/dataView/rightcard.vue
src/components/echart/Brokenline/chart.vue
View file @
58b6649
...
...
@@ -71,7 +71,6 @@ this.yAxisData3 = newData.echartData.map(v => v.value3);
formatter
:
function
(
params
)
{
let
html
=
''
;
params
.
forEach
(
v
=>
{
console
.
log
(
v
)
html
+=
`<div style="color: #000;font-size: 14px;line-height: 24px background-color: #000000">
<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:
${
newData
.
color
[
v
.
componentIndex
]}
;"></span>
${
v
.
seriesName
}
.
${
v
.
name
}
...
...
src/components/echart/Rose/chart.vue
View file @
58b6649
...
...
@@ -33,8 +33,8 @@ export default {
grid
:
{
// 让图表占满容器
top
:
"0%"
,
left
:
"1%"
,
right
:
"
3
0%"
,
left
:
"1
0
%"
,
right
:
"
4
0%"
,
bottom
:
"0%"
,
},
color
:
[
...
...
@@ -60,7 +60,7 @@ export default {
{
name
:
"业务量"
,
type
:
"pie"
,
radius
:
[
3
0
,
80
],
radius
:
[
0
,
80
],
roseType
:
"area"
,
data
:
newData
.
seriesData
}
...
...
src/views/dataView/index.vue
View file @
58b6649
...
...
@@ -40,6 +40,7 @@ export default {
mixins
:
[
drawMixin
],
data
()
{
return
{
loading
:
true
,
decorationColor
:
[
"#568aea"
,
"#568aea"
],
};
},
...
...
src/views/dataView/leftcard.vue
View file @
58b6649
...
...
@@ -74,13 +74,16 @@ export default {
width
:
33%
;
height
:
100%
;
p
{
height
:
70px
;
line-height
:
70px
;
margin
:
15px
;
height
:
50px
;
line-height
:
50px
;
font-size
:
40px
;
text-align
:
center
;
color
:
rgb
(
246
,
246
,
229
);
background
:
linear-gradient
(
143deg
,
#29C6F2
0%
,
#4370EF
100%
);
}
p
:nth-child
(
2
)
{
background
:
none
;
color
:
rgb
(
223
,
213
,
81
);
}
}
...
...
src/views/dataView/rightcard.vue
View file @
58b6649
...
...
@@ -79,7 +79,7 @@ export default {
},
components
:
{
columnarsmat
,
Rose
},
mounted
()
{
scroll
(
tableref
.
value
.
$refs
.
bodyWrapper
);
//设置滚动
},
beforeDestroy
()
{},
methods
:
{
...
...
Please
register
or
sign in
to post a comment