3***@qq.com
3***@qq.com
  • 发布:2021-09-10 13:25
  • 更新:2022-11-13 10:08
  • 阅读:865

uniapp编译小程序,app.json里面没有page

分类:uni-app
{  
    "easycom": {  
        "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"  
    },  
    "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages  
        {  
            "path": "pages/index/tabbar",  
            "style": {  
                "navigationBarTitleText": "壁纸",  
                "navigationStyle": "custom"  
            }  
        },  
        {  
            "path": "pages/me/salary",  
            "style": {  
                "navigationBarTitleText": "薪资排行",  
                "navigationStyle": "custom"  
            }  
        },  
        {  
            "path": "pages/me/aboutMe",  
            "style": {  
                "navigationBarTitleText": "关于作者",  
                "navigationStyle": "custom"  
            }  
        },  
        {  
            "path": "pages/me/mentalTest/list",  
            "style": {  
                "navigationBarTitleText": "答题测试",  
                "navigationStyle": "custom"  
            }  
        },  
        {  
            "path": "pages/me/mentalTest/index",  
            "style": {  
                "navigationBarTitleText": "答题测试",  
                "navigationStyle": "custom"  
            }  
        },  
        {  
            "path": "pages/me/mentalTest/explain",  
            "style": {  
                "navigationBarTitleText": "答题规则说明"  
            }  
        },  
        {  
            "path": "pages/news/news",  
            "style": {  
                "navigationBarTitleText": "资讯详情"  
            }  
        },  
        {  
            "path": "pages/video",  
            "style": {  
                "navigationBarTitleText": "视频播放",  
                "usingComponents": {  
                    // #ifdef  MP-WEIXIN   
                    "txv-video": "plugin://tencentvideo/video"  
                    // #endif  
                }  
            }  
        },  
        {  
            "path": "pages/project/list",  
            "style": {  
                "navigationBarTitleText": "项目展示",  
                "navigationStyle": "custom"  
            }  
        },  
        {  
            "path": "pages/project/project",  
            "style": {  
                "navigationBarTitleText": "项目展示",  
                "navigationStyle": "custom"  
            }  
        },  
        {  
            "path": "pages/timeline",  
            "style": {  
                "navigationStyle": "custom"  
            }  
        },  
        {  
            "path": "pages/design",  
            "style": {  
                "navigationStyle": "custom"  
            }  
        },  
        {  
            "path" : "pages/login/index",  
            "style" :                                                                                      
            {  
                "navigationBarTitleText": "登录"  
            }  
        }  
    ],  
    "subPackages": [{  
        "root": "tn_components",  
        "pages": [{  
                "path": "pano",  
                "style": {}  
            }, {  
                "path": "bggrad",  
                "style": {  
                    "navigationStyle": "custom"  
                }  
            }, {  
                "path": "bgcolor",  
                "style": {  
                    "navigationStyle": "custom"  
                }  
            }, {  
                "path": "ancube",  
                "style": {  
                    "navigationStyle": "custom"  
                }  
            }, {  
                "path": "anloading",  
                "style": {  
                    "navigationStyle": "custom"  
                }  
            }, {  
                "path": "mimicry",  
                "style": {  
                    "navigationStyle": "custom"  
                }  
            }, {  
                "path": "mapLocus",  
                "style": {  
                    "navigationStyle": "custom"  
                }  
            },  
            {  
                "path": "charts",  
                "style": {  
                    "navigationBarTitleText": "图表展示"  
                }  
            },  
            {  
                "path": "poster",  
                "style": {  
                    "navigationStyle": "custom"  
                }  
            },  
            {  
                "path": "discern",  
                "style": {  
                    "navigationStyle": "custom"  
                }  
            }, {  
                "path": "sign",  
                "style": {  
                    "navigationBarTitleText": "电子签名"  
                }  
            }, {  
                "path": "district",  
                "style": {  
                    "navigationBarTitleText": "行政区图"  
                }  
            },  
            {  
                "path": "search",  
                "style": {  
                    "navigationStyle": "custom",  
                    "navigationBarTitleText": "便捷查询"  
                }  
            },  
            {  
                "path": "salary",  
                "style": {  
                    "navigationBarTitleText": "排行榜",  
                    "navigationStyle": "custom"  
                }  
            },  
            {  
                "path": "course",  
                "style": {  
                    "navigationBarTitleText": "班级课程",  
                    "navigationStyle": "custom"  
                }  
            },  
            {  
                "path": "openDocument",  
                "style": {  
                    "navigationStyle": "custom",  
                    "navigationBarTitleText": "文档预览"  
                }  
            },  
            {  
                "path": "company",  
                "style": {  
                    "navigationBarTitleText": "自定义相机"  
                }  
            },  
            {  
                "path": "timeline",  
                "style": {  
                    "navigationBarTitleText": "时间轴"  
                }  
            },  
            {  
                "path": "guide",  
                "style": {  
                    "navigationStyle": "custom",  
                    "navigationBarTitleText": "引导页面"  
                }  
            },  
            {  
                "path": "request",  
                "style": {  
                    "navigationStyle": "custom",  
                    "navigationBarTitleText": "模拟数据加载"  
                }  
            },  
            {  
                "path": "keyboard",  
                "style": {  
                    "navigationStyle": "custom"  
                }  
            },  
            {  
                "path": "drag_demo/index",  
                "style": {  
                    "navigationBarTitleText": "悬浮球"  
                }  
            },  
            {  
                "path": "timetables",  
                "style": {  
                    "navigationStyle": "custom",  
                    "navigationBarTitleText": "课程表"  
                }  
            }  
            ,{  
                 "path" : "imgInfo/imgInfo",  
                    "style" :                                                                                      
                {  
                    "navigationBarTitleText": ""  
                    // "enablePullDownRefresh": false  
                }  

                }  
            ]  
    }],  
    "globalStyle": {  
        "navigationBarTextStyle": "black",  
        "navigationBarTitleText": "uni-app",  
        "navigationBarBackgroundColor": "#F8F8F8",  
        "backgroundColor": "#F8F8F8"  
    }  
}  

这是我的分包。确实找不到问题所在

2021-09-10 13:25 负责人:无 分享
已邀请:
3***@qq.com

3***@qq.com (作者)

这是编译后的app.json文件

7***@qq.com

7***@qq.com

一模一样的问题请问如何解决?

黄小觉

黄小觉

怎么解决。

8***@qq.com

8***@qq.com - 风急度山来

解决了没,我也遇到这个问题

1***@163.com

1***@163.com

一样啊 ide里边也不报错 真是该死啊

要回复问题请先登录注册