加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 7.39 KB
一键复制 编辑 原始数据 按行查看 历史
冰落化情 提交于 2024-10-15 20:17 . 修改并完善了认证的bug
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
// "navigationBarBackgroundColor": "#121212",
"navigationBarTitleText": "校友会首页",
"app-plus": {
"titleNView": false
}
}
}
, {
"path": "pages/square/news",
"style": {
"navigationBarTitleText": "校园广场",
"app-plus": {
"titleNView": false
}
}
}, {
"path": "pages/paper/paper",
"style": {
"enablePullDownRefresh": true, //开启下拉刷新功能
"navigationBarTitleText": "消息",
"app-plus": {
"titleNView": {
"buttons": [
// 左边
{
"color": "#000000",
"colorPressed": "#BBBBBB",
"float": "left",
"fontSize": "26px",
"margin-left": "10px",
"fontSrc": "/static/font/icon.ttf",
"text": "\ue845"
},
// 右边
{
"color": "#000000",
"colorPressed": "#BBBBBB",
"float": "right",
"fontSize": "26px",
"fontSrc": "/static/font/icon.ttf",
"text": "\ue684"
}
]
}
}
}
}, {
"path": "pages/index/user/user",
"style": {
"navigationBarTitleText": "自己",
"app-plus": {
"scrollIndicator": "none",
"bounce": "none",
"titleNView": {
"buttons": [{
"type": "menu"
}]
}
}
}
},
{
"path": "pages/index/user/webview",
"style": {
"navigationBarTitleText": "浏览网页"
}
},
{
"path": "pages/index/user/textview",
"style": {
"navigationBarTitleText": "浏览文本"
}
},
{
"path": "pages/index/login",
"style": {
"app-plus": {
"bounce": "none",
"scrollIndicator": "none"
}
}
},
{
"path": "pages/index/register",
"style": {
"app-plus": {
"bounce": "none",
"scrollIndicator": "none"
}
}
},
{
"path": "pages/search/search",
"style": {
"navigationBarTitleText": "搜索页面",
"app-plus": {
"bounce": "none"
}
}
}
,
{
"path": "pages/topic-nav/topic-nav",
"style": {
"navigationBarTitleText": "话题分类",
"app-plus": {
"bounce": "none"
}
}
},
{
"path": "pages/paper/notice",
"style": {
"navigationBarTitleText": "好友请求",
"app-plus": {
"bounce": "none"
}
}
},
{
"path": "pages/search/searchList",
"style": {
"enablePullDownRefresh": false,
"app-plus": {
"animationType": "slide-in-left",
"scrollIndicator": "none", //隐藏滚动条
"bounce": "none", //关闭反弹效果
"titleNView": {
"autoBackButton": false,
// 搜索框配置
"searchInput": {
"align": "left",
"backgroundColor": "#F7F7F7",
"borderRadius": "4px",
"placeholder": "请输入搜索内容",
"placeholderColor": "#CCCCCC",
"disabled": false
},
//配置按钮
"buttons": [
{
"color": "#000000",
"colorPressed": "#BBBBBB",
"float": "left",
"fontSize": "22px",
"text": "<",
"fontWeight":"bold"
},
// 右边
{
"color": "#000000",
"colorPressed": "#BBBBBB",
"float": "right",
"fontSize": "16px",
"text": "搜索"
}
]
}
}
}
}
, {
"path": "pages/detail/detail",
"style": {
"app-plus": {
"scrollIndicator": "none",
"bounce": "none",
"titleNView": {
"buttons": [{
"type": "menu"
}]
}
}
}
}
, {
"path": "pages/user-chat/user-chat",
"style": {
"navigationBarTitleText": "校友论坛"
}
},
{
"path": "pages/index/renZheng/renZheng",
"style": {
"navigationBarTitleText": "校友认证"
}
},
{
"path": "pages/index/user/card",
"style": {
"navigationBarTitleText": "校友电子卡"
}
},
{
"path": "pages/index/reunion/reunion",
"style": {
"navigationBarTitleText": "返校申请"
}
},
{
"path": "pages/index/user/help",
"style": {
"navigationBarTitleText": "帮助",
"enablePullDownRefresh": true
}
},
{
"path": "pages/index/user/relation",
"style": {
"navigationBarTitleText": "联系我们",
"enablePullDownRefresh": true
}
},
{
"path": "pages/index/user/setting",
"style": {
"navigationBarTitleText": "设置",
"enablePullDownRefresh": true
}
},
{
"path": "pages/index/user/pwd",
"style": {
"navigationBarTitleText": "修改密码",
"enablePullDownRefresh": true
}
},{
"path": "pages/index/mine/info/index",
"style": {
"navigationBarTitleText": "个人信息",
"enablePullDownRefresh": true
}
},
{
"path": "pages/index/news/news",
"style": {
"navigationBarTitleText": "校园资讯",
"enablePullDownRefresh": true
}
},
{
"path": "pages/index/activity/index",
"style": {
"navigationBarTitleText": "校园活动",
"enablePullDownRefresh": false
}
},
{
"path": "pages/pipei/pipei",
"style": {
"navigationBarTitleText": "校友匹配"
}
},
{
"path" : "pages/index/activity/detail",
"style" :
{
"navigationBarTitleText" : "报名"
}
},
{
"path" : "pages/index/activity/Donations",
"style" :
{
"navigationBarTitleText" : ""
}
},
{
"path" : "pages/index/news/more",
"style" :
{
"navigationBarTitleText" : "资讯详情"
}
},
{
"path" : "pages/index/user/info",
"style" :
{
"navigationBarTitleText" : "个人信息"
}
},
{
"path" : "pages/index/user/edit",
"style" :
{
"navigationBarTitleText" : "修改信息"
}
},
{
"path" : "pages/index/alumni/alumni",
"style" :
{
"navigationBarTitleText" : "校友界面"
}
},
{
"path" : "pages/index/alumni/alumniInfo/alumniInfo",
"style" :
{
"navigationBarTitleText" : "校友详情"
}
},
{
"path" : "pages/square/tiezi/tiezi",
"style" :
{
"navigationBarTitleText" : "校友论坛"
}
},
{
"path" : "pages/square/tiezi/tieziDetail/tieziDetail",
"style" :
{
"navigationBarTitleText" : "校友论坛"
}
},
{
"path" : "pages/square/tiezi/create",
"style" :
{
"navigationBarTitleText" : "校友论坛"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#ffffff",
"backgroundColor": "#ffffff"
},
//底部导航
"tabBar": {
"color": "#adadad",
"selectedColor": "#10d8d6",
"backgroundColor": "#FFFFFF",
"borderStyle": "black",
"fontSize": "15px",
"list": [{
"pagePath": "pages/index/index",
"text": "校园",
"iconPath": "static/tabbar/index.png",
"selectedIconPath": "static/tabbar/indexed.png"
},
{
"pagePath": "pages/square/news",
"text": "广场",
"iconPath": "static/tabbar/news.png",
"selectedIconPath": "static/tabbar/newsed.png"
},
{
"pagePath": "pages/paper/paper",
"text": "消息",
"iconPath": "./static/tabbar/paper.png",
"selectedIconPath": "./static/tabbar/papered.png"
},
{
"pagePath": "pages/index/user/user",
"text": "自己",
"iconPath": "static/tabbar/my.png",
"selectedIconPath": "static/tabbar/myed.png"
}
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化