Commit fc68f4aa authored by xinzhedeai's avatar xinzhedeai

line fontsize

parent bd246679
...@@ -326,6 +326,9 @@ export default { ...@@ -326,6 +326,9 @@ export default {
showInLegend: true, showInLegend: true,
dataLabels: { dataLabels: {
format: "<b>{point.name}</b>: {point.percentage:.1f} %", format: "<b>{point.name}</b>: {point.percentage:.1f} %",
style: {
fontSize: '0.17rem', // 设置系列文本的字体大小
}
}, },
}, },
}, },
...@@ -614,8 +617,8 @@ export default { ...@@ -614,8 +617,8 @@ export default {
var opts = { var opts = {
chartConfig: { chartConfig: {
chart: { chart: {
marginTop: 20, marginTop: 40,
marginLeft: 40, marginLeft: 70,
marginBottom: 35, marginBottom: 35,
}, },
xAxis: { xAxis: {
...@@ -624,7 +627,11 @@ export default { ...@@ -624,7 +627,11 @@ export default {
labels: { labels: {
rotation: -20, // 设置轴标签旋转角度 rotation: -20, // 设置轴标签旋转角度
align: "center", align: "center",
style: {
fontSize: "0.17rem",
},
}, },
}, },
yAxis: { yAxis: {
title: { title: {
...@@ -638,7 +645,13 @@ export default { ...@@ -638,7 +645,13 @@ export default {
align: "high", align: "high",
y: -10, y: -10,
x: 25, x: 25,
}, },
labels: {
style: {
fontSize: '0.17rem', // 设置 Y 轴文字大小
}
}
}, },
plotOptions: {}, plotOptions: {},
series: [ series: [
...@@ -1675,7 +1688,7 @@ export default { ...@@ -1675,7 +1688,7 @@ export default {
justify-content: center; justify-content: center;
pointer-events: none; pointer-events: none;
h2 { h2 {
font-size: 0.4534rem; font-size: 0.45rem;
line-height: 1; line-height: 1;
margin: 0.23rem 0 0 0rem; margin: 0.23rem 0 0 0rem;
font-weight: bold; font-weight: bold;
...@@ -1696,8 +1709,8 @@ export default { ...@@ -1696,8 +1709,8 @@ export default {
position: absolute; position: absolute;
top: 0.3rem; top: 0.3rem;
left: 0.1rem; left: 0.1rem;
height: 0.4rem; height: 0.54rem;
width: 1.17rem; width: 1.56rem;
background: no-repeat top center background: no-repeat top center
url("~@/assets/images/layout/h_btn_2.png"); url("~@/assets/images/layout/h_btn_2.png");
background-size: 100%; background-size: 100%;
...@@ -1707,7 +1720,7 @@ export default { ...@@ -1707,7 +1720,7 @@ export default {
a { a {
color: #fff; color: #fff;
text-decoration: none; text-decoration: none;
font-size: 0.168rem; font-size: 0.21rem;
} }
} }
...@@ -1860,6 +1873,8 @@ export default { ...@@ -1860,6 +1873,8 @@ export default {
font-size: 0.24rem; font-size: 0.24rem;
letter-spacing: 0.01rem; letter-spacing: 0.01rem;
padding-left: 0.4rem; padding-left: 0.4rem;
font-weight: normal;
font-family: Adobe Heiti Std;
//background-image:linear-gradient(to bottom,#fff,#f3fffc,#e4fff9); //background-image:linear-gradient(to bottom,#fff,#f3fffc,#e4fff9);
//-webkit-background-clip:text;-webkit-text-fill-color:transparent; //-webkit-background-clip:text;-webkit-text-fill-color:transparent;
} }
...@@ -1939,7 +1954,7 @@ export default { ...@@ -1939,7 +1954,7 @@ export default {
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center center; background-position: center center;
background-size: 100% auto; background-size: 100% auto;
top: 0.55rem; top: 0.35rem;
position: absolute; position: absolute;
left: .2rem; left: .2rem;
//background-image:url('~@/assets/images/layout/md31_i1.png'); //background-image:url('~@/assets/images/layout/md31_i1.png');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment