8***@qq.com
8***@qq.com
  • 发布:2022-08-17 17:06
  • 更新:2022-08-17 17:06
  • 阅读:526

titleNView中设置了searchInput,titleText和navigationBarTitleText就不会显示了,怎么办?

分类:uni-app
{  
                    "path": "nav-search-input/nav-search-input",  
                    "style": {  
                        "navigationBarTitleText": "导航栏带搜索框",  
                        "app-plus": {  
                            "titleNView": {  
                                "titleText": "事项受理",  
                                "type": "transparent",  
                                "titleColor": "#fff",  
                                "backgroundColor": "#007AFF",  
                                "buttons": [{  
                                    "fontSrc": "/static/uni.ttf",  
                                    "text": "\ue537",  
                                    "width": "40px",  
                                    "fontSize": "28px",  
                                    "color": "#fff",  
                                    "background": "rgba(0,0,0,0)"  
                                }],  
                                "searchInput": {  
                                    "backgroundColor": "#fff",  
                                    "borderRadius": "6px",  
                                    "placeholder": "请输入地址 如:大钟寺",  
                                    "disabled": true  
                                }  
                            }  
                        }  
                    }  
                },

标题栏文字不会显示了,怎么回事呢?不同同时设置吗?

2022-08-17 17:06 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复