修正 pages.json 问题 - 首页配置重复、合并误删话题 path

main
Connor 2024-06-06 19:48:43 +08:00
parent d6c74865b3
commit 7fa69e92ff
2 changed files with 18 additions and 8 deletions

View File

@ -16,6 +16,20 @@
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }
}, },
{
"path" : "pages/post/postInfo/postInfo",
"style" :
{
"navigationBarTitleText" : "话题详情"
}
},
{
"path" : "pages/post/postPublish/postPublish",
"style" :
{
"navigationBarTitleText" : "发布话题"
}
},
{ {
"path": "pages/signln/harvestaddress", "path": "pages/signln/harvestaddress",
"style": { "style": {
@ -37,14 +51,6 @@
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{
"path": "pages/index",
"style": {
"navigationBarTitleText": "若依移动端框架",
"navigationStyle": "custom",
"navigationBarTextStyle": "white"
}
},
{ {
"path": "pages/signln/signid", "path": "pages/signln/signid",
"style": { "style": {

View File

@ -118,6 +118,10 @@
// //
uni.onKeyboardHeightChange(res => { uni.onKeyboardHeightChange(res => {
if(res.height == 0) {
bottomVal.value = 0;
return;
}
bottomVal.value = res.height - 20; bottomVal.value = res.height - 20;
console.log(bottomVal.value) console.log(bottomVal.value)
}); });