liyongli 1 ano atrás
pai
commit
738a11ec00
1 arquivos alterados com 1 adições e 13 exclusões
  1. 1 13
      src/view/motorVehicle/components/three.vue

+ 1 - 13
src/view/motorVehicle/components/three.vue

@@ -3,7 +3,6 @@
     <van-image
       width="242"
       height="103"
-      v-show="showSub"
       @click="saveChepaiFunc"
       class="saveData"
       :src="saveData"
@@ -53,8 +52,6 @@
       type="number"
       class="input"
       @input="jialingInput"
-      @blur="blur"
-      @focus="focus"
       v-model="labels.jialing"
       id="jialing"
       name="jialing"
@@ -70,21 +67,12 @@ import saveData from '@/assets/img/gethaibao.png';
 import iis from '@/assets/img/iis.png';
 import chepai from '@/assets/img/chepai.png';
 import jialing from '@/assets/img/jialing.png';
-const showSub = ref(true);
 const isNew = ref(false);
 const emit = defineEmits(['changeFinger', 'removeThis']);
 const labels = ref({
   chepai: [],
   jialing: '',
 });
-const blur = () => {
-  // 失去焦点
-  showSub.value = true;
-};
-const focus = () => {
-  // 获得焦点
-  showSub.value = false;
-};
 
 const jialingInput = () => {
   if (labels.value.jialing >= 100) labels.value.jialing = 99;
@@ -128,7 +116,7 @@ defineExpose({
 .page_item {
   width: 100%;
   height: 100%;
-  position: relative;
+  position: fixed;
   background-image: url(../../../assets/img/banner3.jpg);
   background-size: 100% 100%;
   background-repeat: no-repeat;