1 Star 2 Fork 1

程序员Mars/code-miniprogram

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pages.json 5.57 KB
一键复制 编辑 原始数据 按行查看 历史
wangqiang 提交于 2022-07-08 14:12 . 12
{
"easycom": {
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
},
"pages": [
{
"path": "pages/index/index",
"style": {
// #ifdef MP
"navigationBarTitleText": "源码字节",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#F8D55D",
"navigationBarTextStyle": "black" //状态栏字体颜色
// "navigationStyle": "custom",
// #endif
}
},
{
"path": "pages/product/product",
"style": {
"navigationBarTitleText": "源码详情",
"navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTextStyle": "black" //状态栏字体颜色
}
}, {
"path": "pages/set/set",
"style": {
"navigationBarTitleText": "设置"
}
},
{
"path": "pages/userinfo/userinfo",
"style": {
"navigationBarTitleText": "修改资料"
}
},
{
"path": "pages/index/search",
"style": {
"navigationBarTitleText": "搜索",
"navigationBarTextStyle": "black" //状态栏字体颜色
}
},
{
"path": "pages/cart/cart",
"style": {
"navigationBarTitleText": "购物车",
"navigationBarBackgroundColor": "#F8D55D",
"navigationBarTextStyle": "black" //状态栏字体颜色
}
}, {
"path": "pages/public/login",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom",
"app-plus": {
"titleNView": false,
"animationType": "slide-in-bottom"
}
}
}, {
"path": "pages/user/user",
"style": {
"navigationBarTitleText": "个人中心",
"enablePullDownRefresh": false,
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#FFFFFF",
"navigationStyle": "custom",
"app-plus": {
"titleNView": false
}
}
}, {
"path": "pages/detail/detail",
"style": {
"navigationBarTitleText": "",
"app-plus": {
"titleNView": {
"type": "transparent"
}
}
}
}, {
"path": "pages/order/order",
"style": {
// #ifdef MP
"navigationBarTitleText": "我的订单",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#F8D55D",
"navigationBarTextStyle": "black"
// "navigationStyle": "custom",
// #endif
}
}, {
"path": "pages/money/money",
"style": {}
}, {
"path": "pages/order/createOrder",
"style": {
"navigationBarTitleText": "创建订单"
}
}, {
"path": "pages/address/address",
"style": {
"navigationBarTitleText": "收货地址"
}
}, {
"path": "pages/address/addressManage",
"style": {
"navigationBarTitleText": ""
}
}, {
"path": "pages/money/pay",
"style": {
"navigationBarTitleText": "支付"
}
},
{
"path": "pages/money/paySuccess",
"style": {
"navigationBarTitleText": "支付成功"
}
}, {
"path": "pages/notice/notice",
"style": {
"navigationBarTitleText": "通知"
}
}, {
"path": "pages/category/category",
"style": {
"navigationBarTitleText": "资源",
"navigationBarBackgroundColor": "#F8D55D",
"navigationBarTextStyle": "black", //状态栏字体颜色
"onReachBottomDistance": 126
// "app-plus": {
// "bounce": "none"
// }
}
}, {
"path": "pages/product/list",
"style": {
"enablePullDownRefresh": true,
"navigationBarTitleText": "商品列表"
}
}, {
"path": "pages/search/search",
"style": {
"navigationBarTitleText": "搜索",
"navigationBarBackgroundColor": "#F8D55D",
"navigationBarTextStyle": "black" //状态栏字体颜色
}
}, {
"path": "pages/play/play",
"style": {
"navigationBarTitleText": "好玩中心",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#F8D55D",
"navigationBarTextStyle": "black" //状态栏字体颜色
}
}, {
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "登录",
"enablePullDownRefresh": false
}
},
{
"path": "pages/mine-resource/mine-resource",
"style": {
// #ifdef MP
"navigationBarTitleText": "我的资源",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#F8D55D",
"navigationBarTextStyle": "black" //状态栏字体颜色
// "navigationStyle": "custom",
// #endif
}
}
,{
"path" : "pages/mine-collect/mine-collect",
"style": {
// #ifdef MP
"navigationBarTitleText": "我的收藏",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#F8D55D",
"navigationBarTextStyle": "black"
// "navigationStyle": "custom",
// #endif
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#f8f8f8"
},
"tabBar": {
"color": "#C0C4CC",
"selectedColor": "#F8D55D",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/tab/home-no-selected.png",
"selectedIconPath": "static/tab/home-selected.png",
"text": "首页"
},
{
"pagePath": "pages/category/category",
"iconPath": "static/tab/cate-no-selected.png",
"selectedIconPath": "static/tab/cate-selected.png",
"text": "资源"
},
{
"pagePath": "pages/play/play",
"iconPath": "static/tab/play-no-selected.png",
"selectedIconPath": "static/tab/play-selected.png",
"text": "好玩"
},
{
"pagePath": "pages/user/user",
"iconPath": "static/tab/mine-no-selected.png",
"selectedIconPath": "static/tab/mine-selected.png",
"text": "我的"
}
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Marsfactory/code-miniprogram.git
git@gitee.com:Marsfactory/code-miniprogram.git
Marsfactory
code-miniprogram
code-miniprogram
master

搜索帮助