帮助了 AmazingCounters.com 位小伙伴

uni-app 隐藏顶部的返回按钮

 

"autoBackButton":false,
{
            "path" : "pages/search/search",
            "style" : {
                "enablePullDownRefresh":true,
                "app-plus":{
                     "scrollIndicator":"none",//隐藏滚动条
                     "bounce":"none",//关闭反弹效果
                     "titleNView":{
                         "autoBackButton":false,
                         // 搜索框配置
                         "searchInput":{
                             "align":"left",
                             "backgroundColor":"#F7F7F7",
                             "borderRadius":"4px",
                             "placeholder":"搜索糗事",
                             "placeholderColor":"#CCCCCC",
                             "disabled":false
                         },
                         //配置按钮
                         "buttons":[
                             // 右边
                             {
                                 "color":"#000000",                                 
                                 "colorPressed":"#BBBBBB",
                                 "float":"right",
                                 "fontSize":"16px",
                                 "text":"取消"
                             }
                         ]
                     }
                }
            }
        }

 

posted on 2020-10-14 15:20  云的旋律  阅读(6999)  评论(0编辑  收藏  举报

导航

前端攻城狮分享群