diff --git a/pages/template/navbar-lite/navbar-lite.uvue b/pages/template/navbar-lite/navbar-lite.uvue
index add066a334eaac19f7909ce115e4c0b9ed1b3383..03afcbdcba6f9260087b381a32bff9ff9700d63d 100644
--- a/pages/template/navbar-lite/navbar-lite.uvue
+++ b/pages/template/navbar-lite/navbar-lite.uvue
@@ -36,8 +36,8 @@
-
-
+
+
@@ -51,7 +51,8 @@
title: 'Hello uni-app',
isLeft: false,
navigationBarTextColor: '#000',
- indexView: 0
+ indexView: 0,
+ inputBottom: '0px'
}
},
methods: {
@@ -98,6 +99,12 @@
},
ChangeView(e:UniRadioGroupChangeEvent){
this.indexView = parseInt(e.detail.value)
+ },
+ onInputFocus(e:UniInputFocusEvent ) {
+ this.inputBottom = `${e.detail.height}px`;
+ },
+ onInputBlur(e:UniInputBlurEvent) {
+ this.inputBottom = '0px';
},
// 自动化测试
getLifeCycleNum() : number {