diff --git a/components/cmd-progress/cmd-progress.vue b/components/cmd-progress/cmd-progress.vue index 5cc9813..8ddba98 100644 --- a/components/cmd-progress/cmd-progress.vue +++ b/components/cmd-progress/cmd-progress.vue @@ -18,20 +18,22 @@ - + {{setFormat}} - + --> + {{setFormat}} - + + {{setFormat}} @@ -64,7 +66,8 @@ - + + {{setFormat}} @@ -311,8 +314,7 @@ // 完成进度 if (this.status == 'success' || this.setProgress >= 100) { currentColor = this.strokeColor || '#52c41a' - svgToBase = - `data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='64 64 896 896' data-icon='check' width='1em' height='1em' fill='${escape(currentColor)}' aria-hidden='true'%3E %3Cpath d='M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z'%3E%3C/path%3E %3C/svg%3E`; + // svgToBase = `data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='64 64 896 896' data-icon='check' width='1em' height='1em' fill='${escape(currentColor)}' aria-hidden='true'%3E %3Cpath d='M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z'%3E%3C/path%3E %3C/svg%3E`; } return `background-image: url("${svgToBase}"); background-size: cover; diff --git a/pages/tabbar/my/my.vue b/pages/tabbar/my/my.vue index d03f410..bac7a82 100644 --- a/pages/tabbar/my/my.vue +++ b/pages/tabbar/my/my.vue @@ -34,7 +34,7 @@ - + {{item.title}} @@ -73,7 +73,7 @@ {imgsrc:'/static/public/icon-my-notEvaluated.png',title:'未评价',num:0}, ], percentageList:[ - {title:'预约及时率',num:89}, + {title:'预约及时率',num:100}, {title:'上门准时率',num:60}, {title:'项目报修率',num:40}, ],