diff --git a/src/assets/img/liquid/form.png b/src/assets/img/liquid/form.png index 00027dc..5da3a2e 100644 Binary files a/src/assets/img/liquid/form.png and b/src/assets/img/liquid/form.png differ diff --git a/src/components/LiquidHandle.vue b/src/components/LiquidHandle.vue index da7ce32..0a970a8 100644 --- a/src/components/LiquidHandle.vue +++ b/src/components/LiquidHandle.vue @@ -62,7 +62,7 @@ class="liquid_column" :style="{ '--height': `${ - ((disinfectantCapacity <= 0 ? 0 : disinfectantCapacity) / 2300) * + ((disinfectantCapacity <= 0 ? 0 : disinfectantCapacity) / 2800) * 472 }px`, }" @@ -202,8 +202,8 @@ onUnmounted(() => { const formatter = value => { - if (parseInt(value) > 2300) { - return '2300' + if (parseInt(value) > 2800) { + return '2800' } if (parseInt(value) <= 0) { return '0' @@ -216,7 +216,7 @@ const formatter = value => { const startAdd = () => { let value = parseInt(addLiquidVal.value); - if ( 0 === value || value > 2300 ) { + if ( 0 === value || value > 2800 ) { console.warn(`加液量不合法 : ${value}`); return; }