加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 6.60 KB
一键复制 编辑 原始数据 按行查看 历史
坟场蹦迪i 提交于 2023-04-24 10:46 . go
{
"insetLoader": {
//配置
"config": {
//将需要引入的组件名起了个confirm的名字在下面label中使用
//右侧"<test ref='confirm' />"为需要插入的组件标签
"confirm": "<test ref='confirm' />"
},
// 全局配置
//需要挂在的组件名
"label": ["confirm"],
//根元素的标签类型 也就是插入到页面哪个根元素下默认为div 但是uniapp中需要写为view
"rootEle": "view"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/home/home",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"backgroundTextStyle": "dark",
"onReachBottomDistance": 0
}
},
{
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"disableScroll": true
}
}, {
"path": "pages/register/register",
"style": {
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#AEEBD1", //导航栏背景
"enablePullDownRefresh": false,
"disableScroll": true //禁止页面滚动
}
}, {
"path": "pages/linkman/linkman",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/video/video",
"style": {
"enablePullDownRefresh": false,
"navigationBarTitleText": "心语视频",
"navigationStyle": "default",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "主页",
"color": "#000000",
"fontSize": "28rpx",
"fontWeight": "bold",
"float": "left"
},
{
"text": "解析",
"color": "#000000",
"fontSize": "28rpx",
"fontWeight": "bold",
"float": "right"
}
]
}
}
}
}, {
"path": "pages/star/star",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/search/search",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/message/message",
"style": {
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#3E6FAC",
"navigationBarTextStyle": "white",
"disableScroll": true,
"app-plus": {
"titleNView": {
"buttons": [{
"float": "right",
"fontSize": "22px",
"text": "\ue603",
"fontSrc": "/static/icon/iconfont.ttf"
}]
}
}
}
},
{
"path": "pages/message/message9",
"style": {
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#3E6FAC",
"navigationBarTextStyle": "white",
"disableScroll": true,
"app-plus": {
"titleNView": {
"buttons": [{
"float": "right",
"fontSize": "22px",
"text": "\ue603",
"fontSrc": "/static/icon/iconfont.ttf"
}]
}
}
}
},
{
"path": "pages/detail/detail",
"style": {
"navigationBarTitleText": "好友详情",
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#ffffff",
"enablePullDownRefresh": false,
"app-plus": {
"titleNView": {
"buttons": [{
"float": "right",
"fontSize": "22px",
"text": "\ue603",
"fontSrc": "/static/icon/iconfont.ttf"
}]
}
}
}
}, {
"path": "pages/apply/apply",
"style": {
"navigationBarTitleText": "新朋友",
"enablePullDownRefresh": false,
"app-plus": {
"titleNView": {
"buttons": [{
"float": "right",
"fontSize": "22px",
"text": "\ue603",
"fontSrc": "/static/icon/iconfont.ttf"
}]
}
}
}
}, {
"path": "pages/friendDetail/friendDetail",
"style": {
"navigationBarTitleText": "好友资料",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black",
"navigationStyle": "default"
}
}, {
"path": "pages/groupList/groupList",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/createGroup/createGroup",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/sys/sys",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/editUser/editUser",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/dynamic/dynamic",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/selfStar/selfStar",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"disableScroll": true
}
}, {
"path": "pages/sendDynamic/sendDynamic",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/success/success",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/groupDetail/groupDetail",
"style": {
"navigationBarTitleText": "群详情",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "pages/play/play",
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff"
}, {
"path": "pages/sendReq/sendReq",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/popup/popup",
"navigationStyle": "custom",
"app-plus": {
"background": "transparent", //背景透明
"backgroundColor": "rgba(0,0,0,0)", //背景透明
"popGesture": "none" //禁止苹果侧滑返回
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "心语",
"navigationBarBackgroundColor": "#fff",
"backgroundColor": "#F8F8F8",
"navigationStyle": "custom"
},
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#2680EB",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/home/home",
"iconPath": "static/images/home.png",
"selectedIconPath": "static/images/select_home.png",
"text": "首页"
}, {
"pagePath": "pages/linkman/linkman",
"iconPath": "static/images/linkman.png",
"selectedIconPath": "static/images/select_linkman.png",
"text": "好友"
}, {
"pagePath": "pages/video/video",
"iconPath": "static/images/video.png",
"selectedIconPath": "static/images/select_video.png",
"text": "视频"
}, {
"pagePath": "pages/star/star",
"iconPath": "static/images/star.png",
"selectedIconPath": "static/images/select_star.png",
"text": "我的"
}]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化