版本提交

This commit is contained in:
zhangwentao 2024-11-11 10:10:02 +08:00
parent 2ec742414e
commit b1cbdede2f
1 changed files with 5 additions and 250 deletions

View File

@ -54,68 +54,7 @@
} }
}, },
// #endif // #endif
// #ifdef MP-WEIXIN
{ // 首页/搜索
"path": "pages/home/search",
"style": {
"navigationStyle": "custom" // 隐藏系统导航栏
}
},
// #endif
// #ifdef H5 || APP-PLUS
{ // 首页/搜索
"path": "pages/home/search",
"style": {
// App生效:
"app-plus": {
"bounce": "none", // 回弹效果
"scrollIndicator": "none", // 隐藏滚动条
// 导航栏
"titleNView": {
// "autoBackButton": false, // 标题栏控件是否显示左侧返回按钮
// 搜索框
"searchInput": {
"align": "left",
"backgroundColor": "#F7F7F7",
"borderRadius": "20px",
"placeholder": "请输入内容",
"disabled": false
},
// 按钮
"buttons": [
// 右边
{
"float": "right",
"color": "#82848a",
"colorPressed": "#c8c9cc",
"text": "搜索",
"fontSize": "14px"
}
]
}
}
}
},
// #endif
// #ifdef MP-WEIXIN
{ // 首页/发布
"path": "pages/home/release",
"style": {
"navigationStyle": "custom" // 隐藏系统导航栏
}
},
// #endif
// #ifdef H5 || APP-PLUS
{ // 首页/发布
"path": "pages/home/release",
"style": {
"navigationBarTitleText": "",
"app-plus": {
"titleNView": false // 禁用原生导航栏
}
}
},
// #endif
{ // 首页/详情 { // 首页/详情
"path": "pages/home/detail", "path": "pages/home/detail",
"style": { "style": {
@ -130,17 +69,7 @@
} }
} }
}, },
{ // 新鲜事
"path": "pages/news/news",
"style": {
"navigationStyle": "custom", // 隐藏系统导航栏
// App生效:
"app-plus": {
"bounce": "none",
"titleNView": false // 隐藏系统导航栏
}
}
},
{ // 新鲜事 { // 新鲜事
"path": "pages/news/course", "path": "pages/news/course",
"style": { "style": {
@ -150,15 +79,6 @@
} }
} }
}, },
{ // 新鲜事
"path": "pages/news/document",
"style": {
"navigationBarTitleText": "文档",
"app-plus": {
"bounce": "none"
}
}
},
{ // 新鲜事/话题/分类 { // 新鲜事/话题/分类
"path": "pages/news/news-topic-cate", "path": "pages/news/news-topic-cate",
"style": { "style": {
@ -210,132 +130,8 @@
} }
} }
}, },
// #ifdef MP-WEIXIN
{ // 小纸条
"path": "pages/paper/paper",
"style": {
"navigationStyle": "custom" // 隐藏系统导航栏
}
},
// #endif
// #ifdef H5 || APP-PLUS
{ // 小纸条
"path": "pages/paper/paper",
"style": {
"enablePullDownRefresh": true, // 下拉刷新
// App生效:
"app-plus": {
"titleNView": {
"titleText": "小纸条",
"buttons": [
// 左边
{
"float": "left",
"color": "#3c9cff",
"colorPressed": "#3c9cff",
"text": "\ue667",
"fontSize": "24px",
"fontSrc": "/static/font/iconfont.ttf"
},
// 右边
{
"float": "right",
"color": "#3c9cff",
"colorPressed": "#3c9cff",
"text": "\ue652",
"fontSize": "24px",
"fontSrc": "/static/font/iconfont.ttf"
}
]
}
}
}
},
// #endif
// #ifdef MP-WEIXIN
{ // 小纸条/好友列表
"path": "pages/paper/friend",
"style": {
"navigationStyle": "custom" // 隐藏系统导航栏
}
},
// #endif
// #ifdef H5 || APP-PLUS
{ // 小纸条/好友列表
"path": "pages/paper/friend",
"style": {
// App生效:
"app-plus": {
"bounce": "none", // 回弹效果
"scrollIndicator": "none", // 隐藏滚动条
// 动画效果
"animationType": "slide-in-left",
// 导航栏
"titleNView": {
// 取消返回按钮(h5页面单独用css控制)
"autoBackButton": false,
// 搜索框
"searchInput": {
"align": "center",
"backgroundColor": "#F7F7F7",
"borderRadius": "20px",
"placeholder": "搜索用户",
"disabled": true
},
// 按钮
"buttons": [
// 右边
{
"float": "right",
"color": "#000",
"colorPressed": "#9CA3AF",
"fontSize": "15px",
"text": "取消"
}
]
}
}
}
},
// #endif
{ // 小纸条/好友列表/聊天
"path": "pages/paper/chat",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"app-plus": {
"bounce": "none", // 回弹效果
"scrollIndicator": "none", // 隐藏滚动条
// 动画效果
"animationType": "slide-in-left",
// 导航栏
"titleNView": {
// 取消返回按钮(h5页面单独用css控制)
"autoBackButton": false,
// 搜索框
"searchInput": {
"align": "center",
"backgroundColor": "#F7F7F7",
"borderRadius": "20px",
"placeholder": "搜索用户",
"disabled": true
},
// 按钮
"buttons": [
// 右边
{
"float": "right",
"color": "#000",
"colorPressed": "#D1D5DB",
"text": "\ue622",
"fontSize": "24px",
"fontSrc": "/static/font/iconfont.ttf"
}
]
}
}
}
},
{ // 我的 { // 我的
"path": "pages/mine/mine", "path": "pages/mine/mine",
"style": { "style": {
@ -352,52 +148,11 @@
"style": { "style": {
"navigationBarTitleText": "设置" "navigationBarTitleText": "设置"
} }
}, { // 我的/设置/修改密码 }, { // 我的/设置/绑定邮箱
"path": "pages/mine/edit-pwd",
"style": {
"navigationBarTitleText": "修改密码"
}
}, { // 我的/设置/绑定邮箱
"path": "pages/mine/bind-email",
"style": {
"navigationBarTitleText": "绑定邮箱"
}
}, { // 我的/设置/绑定邮箱
"path": "pages/mine/edit-info", "path": "pages/mine/edit-info",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, { // 我的/设置/意见反馈
"path": "pages/mine/feedback",
"style": {
"navigationBarTitleText": "意见反馈"
}
}, { // 我的/设置/关于社区
"path": "pages/mine/about",
"style": {
"navigationBarTitleText": "关于社区"
}
}, { // 我的/登录
"path": "pages/mine/login",
"style": {
"navigationBarTitleText": "",
"app-plus": {
"titleNView": false
}
}
},
{ // 我的/个人空间
"path": "pages/mine/user-space",
"style": {
"navigationBarTitleText": "个人空间",
"app-plus": {
"titleNView": {
"buttons": [{
"type": "menu"
}]
}
}
}
} }
], ],
// 全局样式 // 全局样式