Merge branch 'master' of http://git.umayle.com:2023/liulonglong/shuinichang_
This commit is contained in:
commit
befac37a11
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -744,7 +744,9 @@ export default {
|
|||
text-align: center;
|
||||
line-height: 140px;
|
||||
color: #fff;
|
||||
font-size: 30px;
|
||||
font-size: 50px;
|
||||
font-weight: bold;
|
||||
font-family: "FZZCHJW-1";
|
||||
background-image: url("../../assets/nyjc/图层 11.png");
|
||||
margin: 37px;
|
||||
cursor: pointer;
|
||||
|
|
@ -767,8 +769,10 @@ export default {
|
|||
text-align: center;
|
||||
line-height: 140px;
|
||||
color: #fff;
|
||||
font-size: 30px;
|
||||
font-size: 50px;
|
||||
font-weight: bold;
|
||||
background-image: url("../../assets/nyjc/组 277.png");
|
||||
font-family: "FZZCHJW-1";
|
||||
margin: 37px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -840,9 +840,8 @@ export default {
|
|||
init() {
|
||||
//构建3d饼状图
|
||||
let myChart = this.$echarts.init(document.getElementById("fhzb"));
|
||||
|
||||
// 传入数据生成 option ; getPie3D(数据,透明的空心占比(调节中间空心范围的0就是普通饼1就很镂空))
|
||||
this.option = this.getPie3D(this.optionData, 0.5);
|
||||
this.option = this.getPie3D(this.optionData, 0.8);
|
||||
//将配置项设置进去
|
||||
myChart.setOption(this.option);
|
||||
//鼠标移动上去特效效果
|
||||
|
|
@ -932,7 +931,7 @@ export default {
|
|||
}
|
||||
|
||||
//(第二个参数可以设置你这个环形的高低程度)
|
||||
let boxHeight = this.getHeight3D(series, 20); //通过传参设定3d饼/环的高度
|
||||
let boxHeight = this.getHeight3D(series, 15); //通过传参设定3d饼/环的高度
|
||||
// 准备待返回的配置项,把准备好的 legendData、series 传入。
|
||||
let option = {
|
||||
//移动上去提示的文本内容(我没来得及改 你们可以根据需求改)
|
||||
|
|
|
|||
Loading…
Reference in New Issue