1 Star 1 Fork 0

JingHong / HCloud

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 10.41 KB
一键复制 编辑 原始数据 按行查看 历史
JingHong 提交于 2021-06-19 12:38 . fix
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
// launch page
{
"path": "pages/launch/launch",
"style": {
"app-plus": {
"animationType": "none",
"popGesture": "none",
"titleNView": false
}
}
},
// user page
{
"path": "pages/user/login/login",
"style": {
"navigationBarTitleText": " ",
"app-plus": {
"titleNView": {
"backgroundColor": "#5064eb",
"autoBackButton": false
}
}
}
}, {
"path": "pages/user/sms-login/sms-login",
"style": {
"navigationBarTitleText": " ",
"app-plus": {
"titleNView": {
"backgroundColor": "#5064eb",
"titleColor": "white"
}
}
}
}, {
"path": "pages/user/register/register",
"style": {
"navigationBarTitleText": " ",
"app-plus": {
"titleNView": {
"backgroundColor": "#5064eb",
"titleColor": "white"
}
}
}
}, {
"path": "pages/user/resetpas/resetpas",
"style": {
"navigationBarTitleText": " ",
"app-plus": {
"titleNView": {
"backgroundColor": "#5064eb",
"titleColor": "white"
}
}
}
}, {
"path": "pages/user/common/resetpas-2",
"style": {
"navigationBarTitleText": " ",
"app-plus": {
"titleNView": {
"backgroundColor": "#5064eb",
"titleColor": "white"
}
}
}
}, {
"path": "pages/user/code/code",
"style": {
"navigationStyle": "custom",
"backgroundColor": "transparent",
"app-plus": {
"animationType": "none",
"background": "transparent",
"popGesture": "none",
"titleNView": false
}
}
},
// tabbar page
{
"path": "pages/tabbar/index/index",
"style": {
"enablePullDownRefresh": false,
"navigationBarTextStyle": "black",
"disableScroll": true,
"app-plus": {
"bounce": "none",
"scrollIndicator": "none",
"titleNView": false
}
}
}, {
"path": "pages/tabbar/file/file",
"style": {
"navigationBarTitleText": "我的文件",
"enablePullDownRefresh": false,
"app-plus": {
"bounce": "none",
"scrollIndicator": "none",
"titleNView": false
}
}
}, {
"path": "pages/tabbar/personal/personal",
"style": {
"navigationBarTitleText": "个人中心",
"enablePullDownRefresh": false,
"app-plus": {
"bounce": "none",
"scrollIndicator": "none",
"titleNView": false
}
}
}, {
"path": "pages/tabbar/images/images",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"app-plus": {
"bounce": "none",
"scrollIndicator": "none",
"titleNView": false
}
}
}, {
"path": "pages/tabbar/midButtomMenu/midButtomMenu",
"style": {
"navigationStyle": "custom",
"backgroundColor": "transparent",
"app-plus": {
"animationType": "none",
"background": "transparent",
"popGesture": "none",
"titleNView": false
}
}
}, {
"path": "pages/file/text",
"style": {
"enablePullDownRefresh": false,
"app-plus": {
"bounce": "none",
"scrollIndicator": "none",
"titleNView": {
"titleSize": "28rpx",
"titleAlign": "left",
"buttons": [{
"type": "menu",
"float": "right"
}],
"titleOverflow": "ellipsis",
"backgroundColor": "white"
}
}
}
}, {
"path": "pages/preview/preview",
"style": {
"navigationBarTextStyle": "white",
"enablePullDownRefresh": false,
"backgroundColor": "#000000",
"navigationStyle": "custom",
"app-plus": {
"bounce": "none",
"scrollIndicator": "none",
"titleNView": false
}
}
}, {
"path": "pages/open-list/open-list",
"style": {
"enablePullDownRefresh": false,
"app-plus": {
"bounce": "none",
"scrollIndicator": "none",
"titleNView": {
"titleSize": "28rpx",
"titleAlign": "left",
"buttons": [{
"type": "menu",
"float": "right"
}],
"titleOverflow": "ellipsis",
"backgroundColor": "white"
}
}
}
}, {
"path": "pages/search/search",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"app-plus": {
"animationType": "none",
"bounce": "none",
"scrollIndicator": "none",
"titleNView": {
"blurEffect": "extralight",
"searchInput": {
"disabled": false,
"borderRadius": "50px",
"autoFocus": true,
"placeholder": "搜索文件",
"backgroundColor": "#F7F7F7",
"placeholderColor": "#CCCCCC"
},
"buttons": [{
"type": "menu",
"float": "right"
}, {
"type": "none",
"float": "right",
"text": "搜索",
"fontSize": "23rpx"
}],
"titleOverflow": "ellipsis",
"backgroundColor": "white"
}
}
}
}, {
"path": "pages/status/status",
"style": {
"enablePullDownRefresh": false,
"navigationBarTitleText": "传输列表",
"app-plus": {
"bounce": "none",
"scrollIndicator": "none",
"titleNView": {
"titleColor": "#000000",
"blurEffect": "extralight",
// "buttons": [{
// "type": "menu",
// "float": "right"
// }],
"titleOverflow": "ellipsis",
"backgroundColor": "white"
}
}
}
}, {
"path": "pages/upload/upload",
"style": {
"enablePullDownRefresh": false,
"app-plus": {
"titleNView": {
"autoBackButton": false,
"backgroundColor": "white",
"titleText": "选择文件",
"bounce": "none",
"scrollIndicator": "none",
"buttons": [{
"type": "back",
"float": "left"
}, {
"type": "none",
"text": "全选",
"float": "right",
"fontSize": "16px"
}]
}
}
}
}, {
"path": "pages/folder-list/folder-list",
"style": {
"navigationBarTitleText": "选择上传位置",
"enablePullDownRefresh": false,
"app-plus": {
"titleNView": {
"autoBackButton": false,
"backgroundColor": "white",
"buttons": [{
"type": "back",
"float": "left"
}]
}
}
}
}, {
"path": "pages/account/account",
"style": {
"navigationBarTitleText": "账号与安全",
"enablePullDownRefresh": false
}
}, {
"path": "pages/setting/setting",
"style": {
"navigationBarTitleText": "设置",
"enablePullDownRefresh": false
}
}, {
"path": "pages/recycle/recycle",
"style": {
"navigationBarTitleText": "回收站",
"enablePullDownRefresh": false,
"app-plus": {
"titleNView": {
"backgroundColor": "white",
"buttons": [{
"type": "menu",
"float": "right"
}, {
"type": "none",
"text": "清空",
"float": "right",
"fontSize": "16px"
}]
}
}
}
}, {
"path": "pages/about/about",
"style": {
"navigationBarTitleText": "关于",
"enablePullDownRefresh": false
}
}, {
"path": "pages/share-list/share-list",
"style": {
"navigationBarTitleText": "我的分享",
"enablePullDownRefresh": false
}
}, {
"path": "pages/share-detail/share-detail",
"style": {
"navigationBarTitleText": "分享详情",
"enablePullDownRefresh": false
}
}, {
"path": "pages/global/input-modal/input-modal",
"style": {
"navigationStyle": "custom",
"backgroundColor": "transparent",
"app-plus": {
"animationType": "none",
"background": "transparent",
"popGesture": "none",
"titleNView": false,
"softinputMode": "adjustResize"
}
}
}, {
"path": "pages/global/qr/qr",
"style": {
"navigationStyle": "custom",
"backgroundColor": "transparent",
"app-plus": {
"animationType": "fade-in",
"background": "rgba(0,0,0,.5)",
"popGesture": "none",
"titleNView": false,
"softinputMode": "adjustResize"
}
}
}, {
"path": "pages/global/code/code",
"style": {
"navigationStyle": "custom",
"backgroundColor": "transparent",
"app-plus": {
"animationType": "fade-in",
"background": "rgba(0,0,0,.5)",
"popGesture": "none",
"titleNView": false,
"softinputMode": "adjustResize"
}
}
}, {
"path": "pages/global/views-drawer/views-drawer",
"style": {
"navigationStyle": "custom",
"backgroundColor": "transparent",
"app-plus": {
"animationType": "none",
"background": "transparent",
"popGesture": "none",
"titleNView": false
}
}
}, {
"path": "pages/global/popups/popups",
"style": {
"navigationStyle": "custom",
"backgroundColor": "transparent",
"app-plus": {
"animationType": "none",
"background": "transparent",
"popGesture": "none",
"titleNView": false
}
}
}, {
"path": "pages/share/share",
"style": {
"navigationStyle": "custom",
"backgroundColor": "transparent",
"app-plus": {
"animationType": "none",
"background": "transparent",
"popGesture": "none",
"titleNView": false
}
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"app-plus": {
"titleNView": {
"backgroundColor": "white"
}
}
},
"tabBar": {
"position": "bottom",
"selectedColor": "#5E6165",
"color": "#D3DBE7",
"midButton": {
"iconPath": "static/icon/tabBar/add.png",
"iconWidth": "55px",
"height": "50px"
},
"list": [{
"pagePath": "pages/tabbar/index/index",
"iconPath": "static/icon/tabBar/home.png",
"selectedIconPath": "static/icon/tabBar/home-a.png",
"text": "首页"
}, {
"pagePath": "pages/tabbar/file/file",
"iconPath": "static/icon/tabBar/file.png",
"selectedIconPath": "static/icon/tabBar/file-a.png",
"text": "文件"
}, {
"pagePath": "pages/tabbar/images/images",
"iconPath": "static/icon/tabBar/album.png",
"selectedIconPath": "static/icon/tabBar/album-a.png",
"text": "图片"
}, {
"pagePath": "pages/tabbar/personal/personal",
"iconPath": "static/icon/tabBar/geren.png",
"selectedIconPath": "static/icon/tabBar/geren-a.png",
"text": "个人"
}]
},
"easycom": {
"autoscan": true,
"custom": {
"^custom-(.*)": "@/components/custom/custom-$1/custom-$1.vue"
}
}
// ,
// "condition": { //模式配置,仅开发期间生效
// "current": 0, //当前激活的模式(list 的索引项)
// "list": [{
// "name": "personal", //模式名称
// "path": "pages/tabbar/file/file", //启动页面,必选
// "query": "" //启动参数,在页面的onLoad函数里面得到
// }]
// }
}
1
https://gitee.com/jinghong0919/hcloud.git
git@gitee.com:jinghong0919/hcloud.git
jinghong0919
hcloud
HCloud
jane

搜索帮助