fix
parent
1a3ec6e088
commit
08f9558aa4
|
@ -1364,6 +1364,7 @@
|
|||
let element = $('#lineinput')
|
||||
let input = $("#lineinput .volume-slider input")
|
||||
let value = (parseInt(number) + 72) / (84 / 100)
|
||||
console.log('value', number, value, input.val())
|
||||
input.attr('value', value)
|
||||
console.log(number, value, input.val())
|
||||
updateLineInputSlider(element, false);
|
||||
|
@ -1390,7 +1391,7 @@
|
|||
|
||||
let barHeight = `calc(${pct}% + ${$thumb[0].clientHeight / 2}px)`;
|
||||
$bar.attr('style', `height:${barHeight}`)
|
||||
console.log('slider',input.val())
|
||||
console.log('slider', input.val())
|
||||
let number = ((input.val() * (84 / 100)) - 72).toFixed(1)
|
||||
$value.val(`${number}`);
|
||||
//调用接口提交数据
|
||||
|
|
Loading…
Reference in New Issue