diff --git a/pages.json b/pages.json index e8f070e..293f2e1 100644 --- a/pages.json +++ b/pages.json @@ -16,6 +16,20 @@ "navigationBarTextStyle": "white" } }, + { + "path" : "pages/post/postInfo/postInfo", + "style" : + { + "navigationBarTitleText" : "话题详情" + } + }, + { + "path" : "pages/post/postPublish/postPublish", + "style" : + { + "navigationBarTitleText" : "发布话题" + } + }, { "path": "pages/signln/harvestaddress", "style": { @@ -37,14 +51,6 @@ "navigationStyle": "custom" } }, - { - "path": "pages/index", - "style": { - "navigationBarTitleText": "若依移动端框架", - "navigationStyle": "custom", - "navigationBarTextStyle": "white" - } - }, { "path": "pages/signln/signid", "style": { diff --git a/pages/post/postInfo/postInfo.vue b/pages/post/postInfo/postInfo.vue index 651a5d4..ae39fef 100644 --- a/pages/post/postInfo/postInfo.vue +++ b/pages/post/postInfo/postInfo.vue @@ -118,6 +118,10 @@ // 监听键盘高度变化 uni.onKeyboardHeightChange(res => { + if(res.height == 0) { + bottomVal.value = 0; + return; + } bottomVal.value = res.height - 20; console.log(bottomVal.value) });