微信小程序---------------使用canvas实现实时的圆环进度条百分比
<view class="progress_box">
<canvas class="progress_bg" canvas-id="canvasProgressbg"></canvas>
<canvas class="progress_canvas" canvas-id="canvasProgress"></canvas>
</view>
countInterval: function (val) {
let count = 0;
// 设置倒计时 定时器 每100毫秒执行一次,计数器count+1 ,耗时10秒绘一圈
let countTimer = setInterval(() =