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
06f63028
authored
2023-03-10 11:54:13 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整
1 parent
c3afa824
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
37 additions
and
28 deletions
src/components/Echart/Columnar/Chart.vue
src/components/Echart/Columnarsmat/Chart.vue
src/components/Echart/Rose/Chart.vue
src/image/font/Alibaba_PuHuiTi_2.0_55_Regular_85_Bold.ttf
src/styles/index.scss
src/views/home/dataView/rightcard.vue
src/components/Echart/Columnar/Chart.vue
View file @
06f6302
...
...
@@ -4,14 +4,13 @@
:options=
"options"
id=
"bottomLeftChart"
height=
"100%"
width=
"100%"
></Echart>
width=
"100%"
></Echart>
</
template
>
<
script
>
import
Echart
from
"@/common/echart"
;
export
default
{
data
()
{
import
Echart
from
"@/common/echart"
;
export
default
{
data
()
{
return
{
options
:
{},
};
...
...
@@ -27,7 +26,7 @@ export default {
},
watch
:
{
cdata
:
{
handler
(
newData
)
{
handler
(
newData
)
{
this
.
options
=
{
tooltip
:
{
trigger
:
"axis"
,
...
...
@@ -124,5 +123,5 @@ export default {
deep
:
true
,
},
},
};
};
</
script
>
...
...
src/components/Echart/Columnarsmat/Chart.vue
View file @
06f6302
<
template
>
<!--登记类型总量柱状图 -->
<Echart
:options=
"options"
id=
"bottomLeftChart"
height=
"100%"
width=
"100%"
class=
""
></Echart>
<Echart
:options=
"options"
id=
"bottomLeftChart"
height=
"100%"
width=
"100%"
class=
""
></Echart>
</
template
>
<
script
>
import
Echart
from
"@/common/echart"
;
export
default
{
import
Echart
from
"@/common/echart"
;
export
default
{
data
()
{
return
{
options
:
{},
...
...
@@ -27,7 +27,7 @@ export default {
grid
:
{
// 让图表占满容器
top
:
"20%"
,
left
:
"10
%"
,
left
:
"12
%"
,
right
:
"5%"
,
bottom
:
"16%"
,
},
...
...
@@ -127,5 +127,5 @@ export default {
deep
:
true
,
},
},
};
};
</
script
>
...
...
src/components/Echart/Rose/Chart.vue
View file @
06f6302
...
...
@@ -4,16 +4,15 @@
id=
"centreLeft1Chart"
:key=
"key"
height=
"1.0417rem"
width=
"80%"
></Echart>
width=
"80%"
></Echart>
</
template
>
<
script
>
import
Echart
from
"@/common/echart"
;
export
default
{
import
Echart
from
"@/common/echart"
;
export
default
{
components
:
{
Echart
,
},
data
()
{
data
()
{
return
{
key
:
0
,
};
...
...
@@ -26,7 +25,7 @@ export default {
},
watch
:
{
cdata
:
{
handler
(
newData
)
{
handler
(
newData
)
{
this
.
options
=
{
color
:
[
...
...
@@ -49,8 +48,11 @@ export default {
label
:
{
formatter
:
(
params
)
=>
{
// console.log(params)
return
`
${
params
.
name
}
(
${
params
.
value
}
`
;
return
`
${
params
.
name
}
\n(
${
params
.
value
}
)
`
;
},
position
:
"outer"
,
alignTo
:
"edge"
,
margin
:
5
},
labelLine
:
{
lineStyle
:
{
...
...
@@ -67,12 +69,12 @@ export default {
deep
:
true
,
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
#centreLeft1Chart
{
#centreLeft1Chart
{
margin-bottom
:
0.0521rem
;
margin-left
:
.3125rem
;
}
margin-left
:
0
.3125rem
;
}
</
style
>
...
...
src/image/font/Alibaba_PuHuiTi_2.0_55_Regular_85_Bold.ttf
0 → 100644
View file @
06f6302
No preview for this file type
src/styles/index.scss
View file @
06f6302
...
...
@@ -409,3 +409,10 @@ aside {
background
:
#FF7962
;
color
:
#FF7962
;
}
// 引入字体
@font-face
{
font-family
:
AliBold
;
src
:url
(
'../image/font/Alibaba_PuHuiTi_2.0_55_Regular_85_Bold.ttf'
)
}
...
...
src/views/home/dataView/rightcard.vue
View file @
06f6302
<
template
>
<div
class=
"rightcard"
>
<div
class=
"card2 cardCon mt-10"
>
<div
class=
"cardhead"
>
登记业务量
</div>
<Rose
/>
</div>
<div
class=
"card1 cardCon d-center"
>
<div
class=
"cardhead"
>
新建国有房屋信息
</div>
<div
class=
"cardcontent"
style=
"margin-top: .3646rem"
>
<dv-scroll-board
v-if=
"config.data.length > 0"
:config=
"config"
class=
"board"
/>
<div
v-else
=
"config.data.length==0"
class=
"nodata"
>
暂无数据
</div>
<div
v-else
class=
"nodata"
>
暂无数据
</div>
</div>
</div>
<div
class=
"card2 cardCon mt-10"
>
<div
class=
"cardhead"
>
登记业务量
</div>
<Rose
/>
</div>
<div
class=
"card3 cardCon mt-10"
>
<div
class=
"cardhead"
>
登记类型总量
</div>
<columnarsmat
/>
...
...
Please
register
or
sign in
to post a comment