const minwidth = (this.$refs.progress.clientWidth / barwidth + this.percentum) * this.percentmax // 10 - 90
const maxwidth = this.$refs.progress.clientWidth / barwidth * this.percentmax // 0 - 80
minwidth 滑动取到的是10-90,maxwidth 滑动取到的是0-80 ,怎么取10-80
const minwidth = (this.$refs.progress.clientWidth / barwidth + this.percentum) * this.percentmax // 10 - 90
const maxwidth = this.$refs.progress.clientWidth / barwidth * this.percentmax // 0 - 80
minwidth 滑动取到的是10-90,maxwidth 滑动取到的是0-80 ,怎么取10-80
13 回答12.8k 阅读
7 回答1.9k 阅读
3 回答1.1k 阅读✓ 已解决
2 回答1.2k 阅读✓ 已解决
6 回答879 阅读✓ 已解决
6 回答1k 阅读
2 回答1.3k 阅读✓ 已解决
可以拿已知的这个范围通过计算换算成目标范围啊