Browse Source

输入框显示

xiaomei 3 months ago
parent
commit
998ddd7b92
1 changed files with 14 additions and 1 deletions
  1. 14 1
      src/views/mine/teaRights.vue

+ 14 - 1
src/views/mine/teaRights.vue

@@ -333,6 +333,7 @@ export default {
         addressDetail: '',
         areaCode: '',
       },
+      showPosition: false
     };
   },
   mounted() {
@@ -584,6 +585,18 @@ export default {
         }
       });
     },
+    // handleFocus(e) {
+    //   if (localStorage.getItem('website')) {
+    //     this.showPosition = true;
+    //   }
+      
+    // },
+    // handleBlur(e) {
+    //   console.log("输入框失去焦点", e.target.value);
+    //   if (localStorage.getItem('website')) {
+    //     this.showPosition = false;
+    //   }
+    // }
   },
 };
 </script>
@@ -1016,7 +1029,7 @@ export default {
   .area {
     color: #363636;
     font-size: 13px;
-    padding: 20px 30px;
+    padding: 20px 30px 100px;
     width: 100%;
     box-sizing: border-box;
     position: relative;