|
|
@@ -506,10 +506,11 @@ export default {
|
|
|
const offset = 251.2 * (1 - this.d2count / this.uploadImgTotal);
|
|
|
document.getElementById('d2ring').style.strokeDashoffset = offset;
|
|
|
document.getElementById('d2sub').textContent = `${this.d2count}/${this.uploadImgTotal}`;
|
|
|
- if (this.d2count >= this.uploadImgTotal * 0.7) {
|
|
|
+ if (this.d2count >= Math.floor(this.uploadImgTotal * 0.7)) {
|
|
|
clearTimeout(this.d2timer);
|
|
|
+ return;
|
|
|
}
|
|
|
- this.runD2();
|
|
|
+ this.runD2(delay);
|
|
|
}, delay);
|
|
|
} else {
|
|
|
document.getElementById(`dot${this.d2count - 1}`).className = 'ring-dot done';
|
|
|
@@ -563,7 +564,7 @@ export default {
|
|
|
.uploadImgDemoMask {
|
|
|
position: fixed;
|
|
|
inset: 0;
|
|
|
- background: rgba(0, 0, 0, 0.3);
|
|
|
+ background: rgba(0, 0, 0, 0.5);
|
|
|
z-index: 9998;
|
|
|
}
|
|
|
.uploadImgDemo {
|