Files
pupil/pages.json
”chenxuelian“ 9d1526a28e 分类页、搜索页
2022-12-18 13:08:32 +08:00

118 lines
3.1 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": false
}
},
{
"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",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false
}
},
{
"path": "pages/index/search/search",
"style": {
"navigationBarTitleText": "顶部搜索",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
{
"path": "pages/index/goods-category-search/category-index",
"style": {
"navigationBarTitleText": "分类详情",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
],
"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函数里面得到
}]
}
}