代码拉取完成,页面将自动刷新
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
// 新建页面之后要在这里配置 但是还不懂如何自动配置
{
"path": "pages/index/index"
},
{
"path": "pages/cart/cart",
"style": {}
},
{
"path": "pages/member/member",
"style": {
}
},
{
"path": "pages/news/news",
"style": {
}
},
{
"path": "pages/goods/goods",
"style": {
"navigationBarTitleText": "商品列表",
// 开启下拉刷新
"enablePullDownRefresh": true
}
},
{
"path": "pages/contact/contact",
"style": {
"navigationBarTitleText": "关于我们"
}
}, {
"path": "pages/pics/pics",
"style": {
"navigationBarTitleText": "社区图片",
"enablePullDownRefresh": false
}
}, {
"path": "pages/videos/videos",
"style": {
"navigationBarTitleText": "学习视频",
"enablePullDownRefresh": false
}
},
{
"path": "pages/new-detail/new-detail",
"style": {
"navigationBarTitleText": "咨询详情",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/goods-detail/goods-detail",
"style" :
{
"navigationBarTitleText": "商品详情",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "橙汁e商城", //更改标题 要去掉上面那个
"navigationBarBackgroundColor": "#b50e03", //顶部颜色
"backgroundColor": "#F8F8F8"
},
// 底部tabber栏
"tabBar": {
// 配置选中的颜色 跟list同级
"selectedColor": "#b50e03",
// 未选中的默认颜色
"color": "#cccccc",
// 数组
"list": [{
"text": "首页",
// 跳转页面
"pagePath": "pages/index/index",
// icon 默认
"iconPath": "static/icon/home.png",
// 选中的图标
"selectedIconPath": "static/icon/home-active.png"
},
{
"text": "资讯",
// 跳转页面
"pagePath": "pages/news/news",
// icon 默认
"iconPath": "static/icon/news.png",
// 选中的图标
"selectedIconPath": "static/icon/news-active.png"
},
{
"text": "购物车",
// 跳转页面
"pagePath": "pages/cart/cart",
// icon 默认
"iconPath": "static/icon/cart.png",
// 选中的图标
"selectedIconPath": "static/icon/cart-active.png"
},
{
"text": "会员",
// 跳转页面
"pagePath": "pages/member/member",
// icon 默认
"iconPath": "static/icon/member.png",
// 选中的图标
"selectedIconPath": "static/icon/member-active.png"
}
]
},
"uniIdRouter": {
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。