1 Star 0 Fork 0

gjTool / h5uniapp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 7.33 KB
一键复制 编辑 原始数据 按行查看 历史
gjTool 提交于 2020-07-28 17:45 . xx
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/home/home",
"style": {
"navigationBarTitleText": "首页",
"navigationStyle": "custom",
"app-plus": {
"bounce": "none",
"titleNView": {
"buttons": [
{
"text": " ",
"fontSize":"14",
"float": "left",
"color":"#fff",
"width":"96upx"
},
{
"text": " ",
"fontSize":"14",
"float": "right",
"color":"#fff",
"width":"90upx"
}
],
"searchInput":{
"align": "center",
"placeholder": "请输入搜索内容",
"borderRadius":"14px",
"backgroundColor": "#fff"
}
}
}
}
},{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "最近浏览",
"app-plus": {
"navigationBarTextStyle": "white",
"bounce": "none",
"titleNView":{
"buttons": [
{
"text": "清除缓存",
"fontSize":"14",
"float": "left",
"color":"#fff",
"width":"180upx"
},
{
"text": "编辑",
"fontSize":"14",
"float": "right",
"color":"#fff",
"width":"90upx"
}
]
}
}
}
},
// #ifndef MP
{
"path": "pages/details/details",
"style": {
"navigationBarTitleText": "工具",
"app-plus": {
"navigationBarTextStyle": "white",
"bounce": "none",
// "titleNView": {
// "buttons": [{
// "text": "收藏",
// "fontSize": "16",
// "width":55,
// "float": "right",
// "color": "#fff"
// }]
// }
"titleNView":false
// ,"subNVues": [
// {
// "id": "video_content",
// "path": "pages/details/subnvue/video_content",
// "style": {
// "position": "absolute",
// "top": "64px",
// "left": "0",
// "width": "750upx",
// "height": "225px",
// "background": "transparent"
// }
// }
// ]
}
}
},
{
"path": "pages/video/video",
"style": {
"navigationBarTitleText": "工具",
"app-plus": {
"navigationBarTextStyle": "white",
"bounce": "none",
"titleNView": {
// "buttons": [{
// "width": "60px",
// "text": "收藏",
// "fontSize": "16",
// "float": "right",
// "color": "#fff"
// }]
}
,"subNVues": [
{
"id": "video",
"path": "pages/video/subNvue/video",
"style": {
"position": "absolute",
"top": "64px",
"left": "0px",
"width": "100%",
"height": "450upx",
"background": "transparent"
}
},
{
"id": "title",
"path": "pages/video/subNvue/title",
"style": {
"position": "absolute",
"top": "64px",
"left": "0px",
"width": "100%",
"height": "60px",
"background": "transparent"
}
},
{
"id": "buttom",
"path": "pages/video/subNvue/buttom",
"style": {
"position": "absolute",
"bottom": "4px",
"left": "100px",
"right":"100px",
// "width": "100%",
"height": "38px",
"background": "transparent"
}
},
{
"id": "list",
"path": "pages/video/subNvue/list",
"style": {
"top":"0px",
"right":"0px",
"height": "100%",
"background": "transparent"
}
}
]
}
}
},
// #endif
{
"path" : "pages/details/detailsXX",
"style" : {
"enablePullDownRefresh":true,
"navigationBarTitleText": "",
"app-plus": {
"bounce": "none",
"titleNView": {
// "buttons": [{
// "width": "60px",
// "text": "生序",
// "fontSize": "16",
// "float": "right",
// "color": "#fff"
// }]
}
}
}
}
,{
"path": "pages/details/mhdetails",
"style": {
"navigationBarTitleText": "详情",
"app-plus": {
"navigationBarTextStyle": "white",
"bounce": "none",
"titleNView": {
// "buttons": [{
// "width": "60px",
// "text": "收藏",
// "fontSize": "16",
// "float": "right",
// "color": "#fff"
// }]
}
}
}
}
,{
"path": "pages/details/xsdetails",
"style": {
"navigationBarTitleText": "详情",
"app-plus": {
"navigationBarTextStyle": "white",
"bounce": "none",
"titleNView": {
// "buttons": [{
// "width": "60px",
// "text": "收藏",
// "fontSize": "16",
// "float": "right",
// "color": "#fff"
// }]
}
}
}
},
{
"path": "pages/xs/xs",
"style": {
"navigationStyle":"custom",
"app-plus": {
"navigationBarTextStyle": "white",
"bounce": "none",
"titleNView": false,
"scrollIndicator":"none"
}
}
}
,{
"path" : "pages/xslist/xslist",
"style" : {
"app-plus": {
"bounce": "none",
"titleNView": {
// "buttons": [{
// "width": "60px",
// "text": "生序",
// "fontSize": "16",
// "float": "right",
// "color": "#fff"
// }]
}
}
}
}
,
{
"path": "pages/mh/mh",
"style": {
"navigationStyle":"custom",
"app-plus": {
"navigationBarTextStyle": "white",
"bounce": "none",
"titleNView": false,
"scrollIndicator":"none"
}
}
}
,{
"path" : "pages/mhlist/mhlist",
"style" : {
"app-plus": {
"bounce": "none",
"titleNView": {
// "buttons": [{
// "width": "60px",
// "text": "生序",
// "fontSize": "16",
// "float": "right",
// "color": "#fff"
// }]
}
}
}
}
,{
"path" : "pages/user/user",
"style" : {
"navigationBarTitleText": "个人中心"
}
}
,{
"path" : "pages/login/login",
"style" : {
"navigationBarTitleText": "授权登录",
"app-plus":{
"animationType":"slide-in-bottom"
}
}
}
,{
"path" : "pages/lx/lx",
"style" : {}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#ec706b",
"backgroundColor": "#f8f8f8",
"bounce": "none"
}
,"tabBar": {
"color": "#C0C4CC",
"selectedColor": "#fa436a",
"borderStyle": "black",
"backgroundColor": "#ffffff"
,"list": [
// #ifdef MP
{
"pagePath": "pages/home/home",
"iconPath": "static/tab-search.png",
"selectedIconPath": "static/tab-search-current.png",
"text": "首页"
},
{
"pagePath": "pages/user/user",
"iconPath": "static/tab-shoucang.png",
"selectedIconPath": "static/tab-shoucang-current.png",
"text": "我的"
}
// #endif
]
}
,"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数,在页面的onLoad函数里面得到
}]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/gjTool/h5uniapp.git
git@gitee.com:gjTool/h5uniapp.git
gjTool
h5uniapp
h5uniapp
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891