2025年uniapp 添加table不显示

uniapp 添加table不显示在 apge js 中配置了 table 但是运行后导航栏不显示 解决方法 page 中的第一条 path 和 table 的第一条 path 要相同 pages path pages index index 这个和下面的 table path 相同 style

大家好,我是讯享网,很高兴认识大家。


讯享网

{ 
    "pages": [{ 
    "path": "pages/index/index",//这个和下面的table path相同 "style": { 
    "navigationBarTitleText": "雪碧" } }], "condition": { 
    //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [{ 
    "name": "test", //模式名称 "path": "pages/component/view/index" //启动页面,必选 }] }, "globalStyle": { 
    "navigationBarTextStyle": "white", //导航栏标题颜色及状态栏前景颜色,仅支持 black/white "navigationBarTitleText": "雪碧", //导航栏标题文字内容 "navigationBarBackgroundColor": "#41a863", //导航栏背景颜色(同状态栏背景色) "backgroundColor": "#000", // // "usingComponents": { 
    // "collapse-tree-item": "/components/collapse-tree-item" // }, "renderingMode": "seperated", // 仅微信小程序,webrtc 无法正常时尝试强制关闭同层渲染 "pageOrientation": "portrait", //横屏配置,全局屏幕旋转设置(仅 APP/微信/小程序),支持 auto / portrait / landscape "rpxCalcMaxDeviceWidth": 960, "rpxCalcBaseDeviceWidth": 375, "rpxCalcIncludeWidth": 750 }, "tabBar": { 
    "color": "#7A7E83", "selectedColor": "#3cc51f", "borderStyle": "black", "backgroundColor": "#ffffff", "height": "50px", "fontSize": "10px", "iconWidth": "24px", "spacing": "3px", "list": [{ 
    "pagePath": "pages/index/index", "iconPath": "static/image/home.png", "selectedIconPath": "static/image/home.png", "text": "组件" }, { 
    "pagePath": "pages/profile/profile", "iconPath": "static/image/home.png", "selectedIconPath": "static/image/home.png", "text": "接口" }], "midButton": { 
    "width": "80px", "height": "50px", "text": "文字", "iconPath": "static/image/home.png", "iconWidth": "24px", "backgroundImage": "static/image/home.png" } } } 

讯享网
小讯
上一篇 2025-02-21 10:13
下一篇 2025-01-14 23:08

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/57492.html