微信小程序—半圆(弧形)进度条
效果图:
<canvas class="canvas" style="width:{{canvasWidth}}px;height:{{canvasHeight}}px;" canvas-id="circleBar"></canvas>
data: {
canvasWidth: 213, // 画布宽度
canvasHeight: 187, // 画布高度
value:60 , // 当前得分
total:100, // 总分值
},
原创
2022-05-06 17:37:28 ·
2849 阅读 ·
1 评论