创建小程序
This commit is contained in:
+180
@@ -0,0 +1,180 @@
|
||||
{
|
||||
"pages": [
|
||||
// pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText": "首页",
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationStyle":"custom",// 去掉微信小程序顶部导航
|
||||
"app-plus":{
|
||||
"titleNView":false //去掉app+h5顶部导航
|
||||
},
|
||||
"mp-alipay": {
|
||||
"transparentTitle": "always",
|
||||
"titlePenetrate": "YES"
|
||||
}
|
||||
}
|
||||
},{
|
||||
"path" : "pages/login/index",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText": "登录",
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationStyle":"custom",// 去掉微信小程序顶部导航
|
||||
"app-plus":{
|
||||
"titleNView":false //去掉app+h5顶部导航
|
||||
},
|
||||
"mp-alipay": {
|
||||
"transparentTitle": "always",
|
||||
"titlePenetrate": "YES"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/mine",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle":"custom"// 去掉微信小程序顶部导航
|
||||
}
|
||||
},
|
||||
{
|
||||
"path":"pages/square/index",
|
||||
"style":{
|
||||
"navigationBarTitleText":"广场",
|
||||
"enablePullDownRefresh":false,
|
||||
"navigationStyle":"custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path":"pages/publish/index",
|
||||
"style":{
|
||||
"navigationBarTitleText":"图片发布",
|
||||
"enablePullDownRefresh":false,
|
||||
"navigationStyle":"custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/login/agreement",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "隐私政策",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle":"custom"// 去掉微信小程序顶部导航
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/login/agreementuser",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "用户服务协议",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle":"custom"// 去掉微信小程序顶部导航
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/square/detiles",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "详情页",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle":"custom"// 去掉微信小程序顶部导航
|
||||
}
|
||||
}
|
||||
],
|
||||
"subPackages":[
|
||||
{
|
||||
"root": "pages/mine",
|
||||
"pages": [
|
||||
{
|
||||
"path": "my_newmsg",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "最新消息",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle":"custom"// 去掉微信小程序顶部导航
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "changinfo",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "修改个人信息",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle":"custom"// 去掉微信小程序顶部导航
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "my_favorites",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "我的收藏",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle":"custom"// 去掉微信小程序顶部导航
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "my_release",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "我的发布",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle":"custom"// 去掉微信小程序顶部导航
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
"pageOrientation": "portrait",
|
||||
"navigationBarTitleText": "Hello uniapp",
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarBackgroundColor": "#007AFF",
|
||||
"backgroundColor": "#F8F8F8",
|
||||
"backgroundColorTop": "#F4F5F6",
|
||||
"backgroundColorBottom": "#F4F5F6",
|
||||
"mp-360": {
|
||||
"navigationStyle": "custom"
|
||||
},
|
||||
"h5": {
|
||||
"maxWidth": 1190,
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarBackgroundColor": "#F1F1F1"
|
||||
}
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#7A7E83",
|
||||
"selectedColor": "#0071FC",
|
||||
"borderStyle": "white",
|
||||
"backgroundColor": "#fff",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "/static/image/home1.png",
|
||||
"selectedIconPath": "/static/image/home.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/square/index",
|
||||
"iconPath": "/static/image/square1.png",
|
||||
"selectedIconPath": "/static/image/square.png",
|
||||
"text": "广场"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/publish/index",
|
||||
"iconPath": "/static/image/publish1.png",
|
||||
"selectedIconPath": "/static/image/publish.png",
|
||||
"text": "发布"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/index/mine",
|
||||
"iconPath": "/static/image/mine1.png",
|
||||
"selectedIconPath": "/static/image/mine.png",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user