Commit 7242ad2a by 王志慧

饼图的功能修改

1 parent f40939c2
......@@ -62,13 +62,14 @@ export default {
handler(newVal) {
this.initData()
this.draw()
}
},
immediate:true
}
},
mounted() {
this.initData()
this.draw()
// this.initData()
// this.draw()
},
methods: {
......@@ -222,7 +223,7 @@ export default {
transform: translate(-50%, -50%);
text-align: center;
&-num {
font-size: 0.24vw;
font-size: 0.8vw;
color: #fff;
--step: 0;
counter-reset: count var(--step);
......@@ -233,7 +234,7 @@ export default {
}
}
&-desc {
font-size: 0.2vw;
font-size: 0.4vw;
color: #606266;
white-space: nowrap;
animation: rotateIn 2s infinite;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!