diff --git a/poem/css/index.css b/poem/css/index.css index 56348e0..abbaf7e 100644 --- a/poem/css/index.css +++ b/poem/css/index.css @@ -120,26 +120,22 @@ font-size: 55px; /* letter-spacing: .15vw; */ } - /* 这是横线图 */ + /* 这是横线图 各朝代诗人数量 */ .main_top_left_top_con_aa { width: 92%; height: 71%; margin: auto; margin-top: 16%; color: white; - margin-left: -80px; - /* text-indent: .5vw; */ + margin-left: -70px; font-size: 55px; - /* letter-spacing: .15vw; */ } /* 这是饼状图的样式 */ .main_top_left_top_con_mas{ width: 80%; height: 71%; - margin-right: 100px; + margin-right: 50px; margin-top: 25%; - /* margin-left: px; */ - font-size: .7vw; } .main_top_left_top_con span { display: inline-block; @@ -582,7 +578,7 @@ width: 90%; height: 75%; margin: auto; - margin-top: 8%; + margin-top: 3%; } .main_bottom_b_con2 { height: 70%; diff --git a/poem/index.html b/poem/index.html index db816c7..c7559bd 100644 --- a/poem/index.html +++ b/poem/index.html @@ -503,20 +503,20 @@ itemWidth: 50,// 标志图形的长度 itemHeight: 50,// 标志图形的宽度 orient: 'vertical', - // left: 'right', - top: '15%', - x: '90%', + left: 'right', + top: '0%', + x: '100%', data: datas, textStyle: { //图例文字的样式 color: '#fff', - fontSize: 50, + fontSize: 35, }, }, series: [ { name: '问题反馈', type: 'pie', - radius: '75%', + radius: '55%', center: ['50%', '40%'], animationDuration: 2500, data: datas,