app.json提示Error: pages[0] 字段需为 string是什么问题? 下面附代码
发布于 4 年前 作者 vlin 13634 次浏览 来自 问答

{

"pages": \[{

	"path": "pages/index/index",

	"style": {

		"navigationBarTitleText": "漳州乐居网",

		"h5":{

			"titleNView":{

				"backgroundColor":"\#FFFFFF",

				"titleColor":"\#000000",

				"titleText":"漳州乐居网-漳州房产-漳州新房-漳州楼盘"

			}

		}

	}

}    ,{

            “path” : “pages/detail/detail”,

            “style” : {

			"navigationBarTitleText": "楼盘动态",

			"h5":{

				"titleNView":{

					"backgroundColor":"\#FFFFFF",

					"titleColor":"\#000000",

					"titleText":"楼盘动态"

				}

			}

		}

        }

        ,{

            “path” : “pages/paper/paper”,

            “style” : {

			"navigationBarTitleText": "文章详情",

			"h5":{

				"titleNView":{

					"backgroundColor":"\#FFFFFF",

					"titleColor":"\#000000",

					"titleText":"文章详情"

				}

			}

		}

        }

        ,{

            “path” : “pages/moreImages/moreImages”,

            “style” : {

			"navigationBarTitleText": "更多图片",

			"h5":{

				"titleNView":{

					"backgroundColor":"\#FFFFFF",

					"titleColor":"\#000000",

					"titleText":"更多图片"

				}

			}

		}

        } 

    ],

"globalStyle": {

	"navigationBarTextStyle": "white",

	"backgroundColor": "\#000000",

	"navigationBarBackgroundColor": "\#FFFFFF"

}

}

2 回复

有没有大佬帮忙看看 哪里出了问题额

回到顶部