Files
pupil/pages.json

199 lines
5.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"easycom": {
"autoscan": true, //是否自动扫描组件
"custom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue",
"^ua-(.*)": "@/components/uview-ui/components/u-$1/u-$1.vue",
"^customer-(.*)": "@/components/uni-$1.vue" // 匹配components目录内的vue文件
}
},
"pages": [{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "食瞳",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
//导航栏取消
// "navigationStyle": "custom",
//是否开启下拉刷新
"enablePullDownRefresh": true
}
},
{
"path": "pages/report/report",
"style": {
"navigationBarTitleText": "行业报告",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false
}
},
{
"path": "pages/ideasAndNeeds/ideasAndNeeds",
"style": {
"navigationBarTitleText": "创意&需求",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false
}
},
{
"path": "pages/my/my",
"style": {
"navigationBarTitleText": "我的",
"navigationBarTextStyle": "white",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "pages/detail/productsDetail/productsDetail",
"style": {
"navigationBarTitleText": "商品详情",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false
}
}
],
"subPackages": [{
"root": "packageMy",
"pages": [{
"path": "bindCompony/bindCompony",
"style": {
"navigationBarTitleText": "绑定公司",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false
}
}, {
"path": "browseHistory/browseHistory",
"style": {
"navigationBarTitleText": "浏览记录",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false
}
}, {
"path": "memberCenter/memberCenter",
"style": {
"navigationBarTitleText": "会员中心",
"navigationBarTextStyle": "white",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}]
},
{
"root": "packageSearch",
"pages": [{
"path": "search/search",
"style": {
"navigationBarTitleText": "顶部搜索",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
{
"path": "goods-category-search/category-index",
"style": {
"navigationBarTitleText": "分类详情",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
]
},
{
"root": "packageReport",
"pages": [{
"path": "news/news",
"style": {
"navigationBarTitleText": "行内新闻",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false
}
}, {
"path": "certifiedCj/certifiedCj",
"style": {
"navigationBarTitleText": "认证厂家",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false
}
}, {
"path": "xwDetail/xwDetail",
"style": {
"navigationBarTitleText": "行业新闻详情",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false
}
},
{
"path": "certifiedCjDetail/certifiedCjDetail",
"style": {
"navigationBarTitleText": "厂家信息",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false
}
}
]
}
],
"tabBar": {
"color": "#CCCCCC",
"selectedColor": "#0EBB5B",
"borderStyle": "white",
"backgroundColor": "#FFFFFF",
"list": [{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "static/tabBar/sy_icon_syh.png",
"selectedIconPath": "static/tabBar/sy_icon_sy(1).png"
},
{
"pagePath": "pages/report/report",
"text": "行业报告",
"iconPath": "static/tabBar/sy_icon_hyh.png",
"selectedIconPath": "static/tabBar/sy_icon_sy.png"
},
{
"pagePath": "pages/ideasAndNeeds/ideasAndNeeds",
"text": "创意&需求",
"iconPath": "static/tabBar/sy_icon_cyh.png",
"selectedIconPath": "static/tabBar/sy_icon_cy.png"
},
{
"pagePath": "pages/my/my",
"text": "我的",
"iconPath": "static/tabBar/sy_icon_wdh.png",
"selectedIconPath": "static/tabBar/sy_icon_wd.png"
}
]
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#12CA64",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数在页面的onLoad函数里面得到
}]
}
}