From b1cbdede2fdce79134ad7235957294bac9d750d7 Mon Sep 17 00:00:00 2001 From: zhangwentao <09094219www> Date: Mon, 11 Nov 2024 10:10:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 255 ++--------------------------------------------------- 1 file changed, 5 insertions(+), 250 deletions(-) diff --git a/pages.json b/pages.json index e7591b1..f8226b7 100644 --- a/pages.json +++ b/pages.json @@ -54,68 +54,7 @@ } }, // #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", "style": { @@ -130,17 +69,7 @@ } } }, - { // 新鲜事 - "path": "pages/news/news", - "style": { - "navigationStyle": "custom", // 隐藏系统导航栏 - // App生效: - "app-plus": { - "bounce": "none", - "titleNView": false // 隐藏系统导航栏 - } - } - }, + { // 新鲜事 "path": "pages/news/course", "style": { @@ -150,15 +79,6 @@ } } }, - { // 新鲜事 - "path": "pages/news/document", - "style": { - "navigationBarTitleText": "文档", - "app-plus": { - "bounce": "none" - } - } - }, { // 新鲜事/话题/分类 "path": "pages/news/news-topic-cate", "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", "style": { @@ -352,52 +148,11 @@ "style": { "navigationBarTitleText": "设置" } - }, { // 我的/设置/修改密码 - "path": "pages/mine/edit-pwd", - "style": { - "navigationBarTitleText": "修改密码" - } - }, { // 我的/设置/绑定邮箱 - "path": "pages/mine/bind-email", - "style": { - "navigationBarTitleText": "绑定邮箱" - } - }, { // 我的/设置/绑定邮箱 + }, { // 我的/设置/绑定邮箱 "path": "pages/mine/edit-info", "style": { "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" - }] - } - } - } } ], // 全局样式