yxw 2023-11-23 13:11:17 +08:00
parent d38ad84a3e
commit 1a3ec6e088
1 changed files with 1 additions and 0 deletions

View File

@ -1390,6 +1390,7 @@
let barHeight = `calc(${pct}% + ${$thumb[0].clientHeight / 2}px)`; let barHeight = `calc(${pct}% + ${$thumb[0].clientHeight / 2}px)`;
$bar.attr('style', `height:${barHeight}`) $bar.attr('style', `height:${barHeight}`)
console.log('slider',input.val())
let number = ((input.val() * (84 / 100)) - 72).toFixed(1) let number = ((input.val() * (84 / 100)) - 72).toFixed(1)
$value.val(`${number}`); $value.val(`${number}`);
//调用接口提交数据 //调用接口提交数据