diff --git a/src/components/AddPreSetting.vue b/src/components/AddPreSetting.vue index db56ca5..e5ef66d 100644 --- a/src/components/AddPreSetting.vue +++ b/src/components/AddPreSetting.vue @@ -3,99 +3,71 @@

注射蠕动泵速率(g/min)

- + @done="setSprayLiquidVal" + >

消毒停止过氧化氢浓度(ppm)

- + @done="setStopedGsVal" + >

消毒继续过氧化氢浓度(ppm)

- + @done="setcontinuedGsVal" + >

消毒停止相对湿度(%RH)

- + @done="setstoped_humiVal" + >

消毒继续相对湿度(%RH)

- + @done="setcontinued_humiVal" + >

消毒停止过氧化氢相对饱和度(%RS)

- + @done="setstopedSaturVal" + >

消毒继续过氧化氢相对饱和度(%RS)

- + @done="setContinuedSaturVal" + >

@@ -813,7 +785,7 @@ onMounted(() => { align-items: center; justify-content: center; } - .field_font { + :deep(.field_font) { font-size: 26px; width: 180px; } diff --git a/src/components/LiquidHandle.vue b/src/components/LiquidHandle.vue index 23d3624..e1af4b9 100644 --- a/src/components/LiquidHandle.vue +++ b/src/components/LiquidHandle.vue @@ -76,14 +76,10 @@
- + >

@@ -355,7 +351,7 @@ const handleClickInput = () => { background-size: 100% 100%; margin-bottom: 41px; background: url(../assets/img/liquid/form.png); - .add_liquid_input { + :deep(.add_liquid_input) { position: absolute; left: -9px; bottom: 8px; diff --git a/src/components/MyInput.vue b/src/components/MyInput.vue new file mode 100644 index 0000000..c018056 --- /dev/null +++ b/src/components/MyInput.vue @@ -0,0 +1,89 @@ + + \ No newline at end of file diff --git a/src/components/Setting/components/Device.vue b/src/components/Setting/components/Device.vue index 9f5f59f..bd09eaf 100644 --- a/src/components/Setting/components/Device.vue +++ b/src/components/Setting/components/Device.vue @@ -10,126 +10,90 @@

注射蠕动泵速率(g/min)

-

消毒停止过氧化氢浓度(ppm)

-

消毒继续过氧化氢浓度(ppm)

-

消毒停止相对湿度(%RH)

-

消毒继续相对湿度(%RH)

-

消毒停止过氧化氢相对饱和度(%RS)

-

消毒继续过氧化氢相对饱和度(%RS)

-

允许消毒最大湿度(%RH)

-

预热时间(s)

-

@@ -812,7 +776,7 @@ const setSprayLiquidVal = () => { color: #000000; display: flex; align-items: center; - .field_font { + :deep(.field_font) { font-size: 26px; width: 180px; } diff --git a/src/components/Test.vue b/src/components/Test.vue index 2f07d8f..2df2036 100644 --- a/src/components/Test.vue +++ b/src/components/Test.vue @@ -62,14 +62,10 @@

注射蠕动泵

-

g/min

@@ -555,7 +551,7 @@ const changeDraughtStatus = flag => { display: flex; align-items: center; margin-right: 4px; - .add_liquid_input { + :deep(.add_liquid_input) { width: 40px; margin-right: 2px; text-align: right; diff --git a/src/components/UpdatePreSetting.vue b/src/components/UpdatePreSetting.vue index 1671870..c99f8fa 100644 --- a/src/components/UpdatePreSetting.vue +++ b/src/components/UpdatePreSetting.vue @@ -3,99 +3,71 @@

消毒停止过氧化氢浓度(ppm)

-

消毒继续过氧化氢浓度(ppm)

- + @done="setcontinuedGsVal" + >

消毒停止相对湿度(%RH)

- + @done="setstoped_humiVal" + >

消毒继续相对湿度(%RH)

- + @done="setcontinued_humiVal" + >

消毒停止过氧化氢相对饱和度(%RS)

- + @done="setstopedSaturVal" + >

消毒继续过氧化氢相对饱和度(%RS)

- + @done="setContinuedSaturVal" + >

注射蠕动泵速率(g/min)

- + @done="setSprayLiquidVal" + >

@@ -874,7 +846,7 @@ onMounted(() => { align-items: center; justify-content: center; } - .field_font { + :deep(.field_font) { font-size: 26px; width: 180px; } diff --git a/src/main.js b/src/main.js index 80c1db2..a7d2205 100644 --- a/src/main.js +++ b/src/main.js @@ -22,6 +22,7 @@ import '@vant/touch-emulator' import 'vant/lib/index.css' import '@/assets/css/reset.css' import './style.scss' +import MyInput from 'cpns/MyInput.vue' createApp(App) .use(router) @@ -39,4 +40,5 @@ createApp(App) .use(ElementPlus) .use(Toast) .use(store) + .component('my-input', MyInput) .mount('#app')