diff --git a/src/components/AddPreSetting.vue b/src/components/AddPreSetting.vue index 2aa0497..b23a12f 100644 --- a/src/components/AddPreSetting.vue +++ b/src/components/AddPreSetting.vue @@ -220,7 +220,7 @@
保存
返回
-
+
@@ -788,10 +788,10 @@ onMounted(() => { } .key_wrap { position: absolute; - left: 0; - right: 0; + right: 97px; bottom: 0; - height: 230px; + height: 245px; + width: 520px; } } diff --git a/src/components/UpdatePreSetting.vue b/src/components/UpdatePreSetting.vue index 245bcc5..0fab9de 100644 --- a/src/components/UpdatePreSetting.vue +++ b/src/components/UpdatePreSetting.vue @@ -220,7 +220,7 @@
返回
-
+
@@ -723,6 +723,7 @@ const setSprayLiquidVal = () => { const showkeyboard = ref(false) const onChange = a => { + console.log(a) formula_id.value = a } const handleShowKeyBoard = () => { @@ -733,6 +734,7 @@ onMounted(() => { document.addEventListener('click', e => { let box = document.getElementById('keyboard_formula') let room = document.getElementById('id_formula') + let fontBox = document.getElementsByClassName('hg-candidate-box') if (!box?.contains(e.target) && e.target != room) { showkeyboard.value = false } @@ -837,10 +839,10 @@ onMounted(() => { } .key_wrap { position: absolute; - left: 0; - right: 0; + right: 97px; bottom: 0; - height: 230px; + height: 245px; + width: 520px; } }