|
|
|
@ -1,196 +1,200 @@
|
|
|
|
|
{
|
|
|
|
|
"pages": [
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/index/index",
|
|
|
|
|
"path": "pages/index/index", // 首页路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "dark",
|
|
|
|
|
"navigationBarBackgroundColor": "#fff",
|
|
|
|
|
"navigationBarTextStyle": "black",
|
|
|
|
|
"enablePullDownRefresh": true,
|
|
|
|
|
"navigationBarTitleText": "mall4j"
|
|
|
|
|
"backgroundTextStyle": "dark", // 下拉刷新时背景文本颜色,"dark" 表示深色
|
|
|
|
|
"navigationBarBackgroundColor": "#fff", // 导航栏背景颜色,白色
|
|
|
|
|
"navigationBarTextStyle": "black", // 导航栏文字颜色,黑色
|
|
|
|
|
"enablePullDownRefresh": true, // 是否启用下拉刷新功能,true 表示启用
|
|
|
|
|
"navigationBarTitleText": "mall4j" // 导航栏标题文本
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/user/user",
|
|
|
|
|
"path": "pages/user/user", // 个人中心页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "个人中心"
|
|
|
|
|
"navigationBarTitleText": "个人中心" // 导航栏标题文本
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/basket/basket",
|
|
|
|
|
"path": "pages/basket/basket", // 购物车页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarBackgroundColor": "#fff",
|
|
|
|
|
"navigationBarTitleText": "购物车",
|
|
|
|
|
"navigationBarTextStyle": "black"
|
|
|
|
|
"backgroundTextStyle": "light", // 下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarBackgroundColor": "#fff", // 导航栏背景颜色,白色
|
|
|
|
|
"navigationBarTitleText": "购物车", // 导航栏标题文本
|
|
|
|
|
"navigationBarTextStyle": "black" // 导航栏文字颜色,黑色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/category/category",
|
|
|
|
|
"path": "pages/category/category", // 分类商品页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarBackgroundColor": "#fff",
|
|
|
|
|
"navigationBarTitleText": "分类商品",
|
|
|
|
|
"navigationBarTextStyle": "black"
|
|
|
|
|
"backgroundTextStyle": "light", // 下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarBackgroundColor": "#fff", // 导航栏背景颜色,白色
|
|
|
|
|
"navigationBarTitleText": "分类商品", // 导航栏标题文本
|
|
|
|
|
"navigationBarTextStyle": "black" // 导航栏文字颜色,黑色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/sub-category/sub-category"
|
|
|
|
|
"path": "pages/sub-category/sub-category" // 子分类页面路径
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/search-page/search-page",
|
|
|
|
|
"path": "pages/search-page/search-page", // 搜索页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarBackgroundColor": "#fff",
|
|
|
|
|
"navigationBarTitleText": "搜索",
|
|
|
|
|
"navigationBarTextStyle": "black"
|
|
|
|
|
"backgroundTextStyle": "light", // 下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarBackgroundColor": "#fff", // 导航栏背景颜色,白色
|
|
|
|
|
"navigationBarTitleText": "搜索", // 导航栏标题文本
|
|
|
|
|
"navigationBarTextStyle": "black" // 导航栏文字颜色,黑色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/delivery-address/delivery-address",
|
|
|
|
|
"path": "pages/delivery-address/delivery-address", // 收货地址页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarBackgroundColor": "#fff",
|
|
|
|
|
"navigationBarTitleText": "收货地址",
|
|
|
|
|
"navigationBarTextStyle": "black"
|
|
|
|
|
"backgroundTextStyle": "light", // 下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarBackgroundColor": "#fff", // 导航栏背景颜色,白色
|
|
|
|
|
"navigationBarTitleText": "收货地址", // 导航栏标题文本
|
|
|
|
|
"navigationBarTextStyle": "black" // 导航栏文字颜色,黑色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/editAddress/editAddress",
|
|
|
|
|
"path": "pages/editAddress/editAddress", // 编辑收货地址页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarBackgroundColor": "#fff",
|
|
|
|
|
"navigationBarTitleText": "编辑收货地址",
|
|
|
|
|
"navigationBarTextStyle": "black"
|
|
|
|
|
"backgroundTextStyle": "light", // 下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarBackgroundColor": "#fff", // 导航栏背景颜色,白色
|
|
|
|
|
"navigationBarTitleText": "编辑收货地址", // 导航栏标题文本
|
|
|
|
|
"navigationBarTextStyle": "black" // 导航栏文字颜色,黑色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/orderList/orderList",
|
|
|
|
|
"path": "pages/orderList/orderList", // 订单列表页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarTitleText": "订单列表",
|
|
|
|
|
"navigationBarTextStyle": "black",
|
|
|
|
|
"navigationBarBackgroundColor": "#fafafa"
|
|
|
|
|
"backgroundTextStyle": "light", // 下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarTitleText": "订单列表", // 导航栏标题文本
|
|
|
|
|
"navigationBarTextStyle": "black", // 导航栏文字颜色,黑色
|
|
|
|
|
"navigationBarBackgroundColor": "#fafafa" // 导航栏背景颜色,浅灰色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/order-detail/order-detail",
|
|
|
|
|
"path": "pages/order-detail/order-detail", // 订单详情页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarBackgroundColor": "#fff",
|
|
|
|
|
"navigationBarTitleText": "订单详情",
|
|
|
|
|
"navigationBarTextStyle": "black"
|
|
|
|
|
"backgroundTextStyle": "light", // 下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarBackgroundColor": "#fff", // 导航栏背景颜色,白色
|
|
|
|
|
"navigationBarTitleText": "订单详情", // 导航栏标题文本
|
|
|
|
|
"navigationBarTextStyle": "black" // 导航栏文字颜色,黑色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/submit-order/submit-order",
|
|
|
|
|
"path": "pages/submit-order/submit-order", // 提交订单页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarBackgroundColor": "#fff",
|
|
|
|
|
"navigationBarTitleText": "提交订单",
|
|
|
|
|
"navigationBarTextStyle": "black"
|
|
|
|
|
"backgroundTextStyle": "light", // 下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarBackgroundColor": "#fff", // 导航栏背景颜色,白色
|
|
|
|
|
"navigationBarTitleText": "提交订单", // 导航栏标题文本
|
|
|
|
|
"navigationBarTextStyle": "black" // 导航栏文字颜色,黑色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/express-delivery/express-delivery",
|
|
|
|
|
"path": "pages/express-delivery/express-delivery", // 物流查询页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarBackgroundColor": "#fff",
|
|
|
|
|
"navigationBarTitleText": "物流查询",
|
|
|
|
|
"navigationBarTextStyle": "black"
|
|
|
|
|
"backgroundTextStyle": "light", // 下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarBackgroundColor": "#fff", // 导航栏背景颜色,白色
|
|
|
|
|
"navigationBarTitleText": "物流查询", // 导航栏标题文本
|
|
|
|
|
"navigationBarTextStyle": "black" // 导航栏文字颜色,黑色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/pay-result/pay-result",
|
|
|
|
|
"path": "pages/pay-result/pay-result", // 支付结果页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarBackgroundColor": "#fff",
|
|
|
|
|
"navigationBarTitleText": "支付结果",
|
|
|
|
|
"navigationBarTextStyle": "black"
|
|
|
|
|
"backgroundTextStyle": "light", // 下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarBackgroundColor": "#fff", // 导航栏背景颜色,白色
|
|
|
|
|
"navigationBarTitleText": "支付结果", // 导航栏标题文本
|
|
|
|
|
"navigationBarTextStyle": "black" // 导航栏文字颜色,黑色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/search-prod-show/search-prod-show",
|
|
|
|
|
"path": "pages/search-prod-show/search-prod-show", // 搜索结果页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarBackgroundColor": "#fff",
|
|
|
|
|
"navigationBarTitleText": "搜索结果",
|
|
|
|
|
"navigationBarTextStyle": "black"
|
|
|
|
|
"backgroundTextStyle": "light", // 下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarBackgroundColor": "#fff", // 导航栏背景颜色,白色
|
|
|
|
|
"navigationBarTitleText": "搜索结果", // 导航栏标题文本
|
|
|
|
|
"navigationBarTextStyle": "black" // 导航栏文字颜色,黑色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/prod/prod",
|
|
|
|
|
"path": "pages/prod/prod", // 商品详情页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "商品详情"
|
|
|
|
|
"navigationBarTitleText": "商品详情" // 导航栏标题文本
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/prod-classify/prod-classify",
|
|
|
|
|
"path": "pages/prod-classify/prod-classify", // 商品分类页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"onReachBottomDistance": 0
|
|
|
|
|
"onReachBottomDistance": 0 // 触底加载距离,0 表示触底即触发
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/recent-news/recent-news",
|
|
|
|
|
"path": "pages/recent-news/recent-news", // 最新公告页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarTitleText": "最新公告",
|
|
|
|
|
"navigationBarTextStyle": "black",
|
|
|
|
|
"navigationBarBackgroundColor": "#fafafa"
|
|
|
|
|
"backgroundTextStyle": "light", // 下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarTitleText": "最新公告", // 导航栏标题文本
|
|
|
|
|
"navigationBarTextStyle": "black", // 导航栏文字颜色,黑色
|
|
|
|
|
"navigationBarBackgroundColor": "#fafafa" // 导航栏背景颜色,浅灰色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/news-detail/news-detail",
|
|
|
|
|
"path": "pages/news-detail/news-detail", // 公告详情页面路径
|
|
|
|
|
"style": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarTitleText": "最新公告",
|
|
|
|
|
"navigationBarTextStyle": "black",
|
|
|
|
|
"navigationBarBackgroundColor": "#fafafa"
|
|
|
|
|
"backgroundTextStyle": "light", // 下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarTitleText": "最新公告", // 导航栏标题文本
|
|
|
|
|
"navigationBarTextStyle": "black", // 导航栏文字颜色,黑色
|
|
|
|
|
"navigationBarBackgroundColor": "#fafafa" // 导航栏背景颜色,浅灰色
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/accountLogin/accountLogin"
|
|
|
|
|
"path": "pages/accountLogin/accountLogin" // 账号登录页面路径
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/register/register"
|
|
|
|
|
"path": "pages/register/register" // 注册页面路径
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
"tabBar": {
|
|
|
|
|
"selectedColor": "#3a86b9",
|
|
|
|
|
"color": "#b8b8b8",
|
|
|
|
|
"selectedColor": "#3a86b9", // 选中项的颜色
|
|
|
|
|
"color": "#b8b8b8", // 未选中项的颜色
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"pagePath": "pages/index/index",
|
|
|
|
|
"text": "首页",
|
|
|
|
|
"iconPath": "/static/images/tabbar/homepage.png",
|
|
|
|
|
"selectedIconPath": "/static/images/tabbar/homepage-sel.png"
|
|
|
|
|
"pagePath": "pages/index/index", // 首页路径
|
|
|
|
|
"text": "首页", // 标签文本
|
|
|
|
|
"iconPath": "/static/images/tabbar/homepage.png", // 未选中图标路径
|
|
|
|
|
"selectedIconPath": "/static/images/tabbar/homepage-sel.png" // 选中图标路径
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"pagePath": "pages/category/category",
|
|
|
|
|
"text": "分类",
|
|
|
|
|
"iconPath": "/static/images/tabbar/category.png",
|
|
|
|
|
"selectedIconPath": "/static/images/tabbar/category-sel.png"
|
|
|
|
|
"pagePath": "pages/category/category", // 分类页面路径
|
|
|
|
|
"text": "分类", // 标签文本
|
|
|
|
|
"iconPath": "/static/images/tabbar/category.png", // 未选中图标路径
|
|
|
|
|
"selectedIconPath": "/static/images/tabbar/category-sel.png" // 选中图标路径
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"pagePath": "pages/basket/basket",
|
|
|
|
|
"text": "购物车",
|
|
|
|
|
"iconPath": "/static/images/tabbar/basket.png",
|
|
|
|
|
"selectedIconPath": "/static/images/tabbar/basket-sel.png"
|
|
|
|
|
"pagePath": "pages/basket/basket", // 购物车页面路径
|
|
|
|
|
"text": "购物车", // 标签文本
|
|
|
|
|
"iconPath": "/static/images/tabbar/basket.png", // 未选中图标路径
|
|
|
|
|
"selectedIconPath": "/static/images/tabbar/basket-sel.png" // 选中图标路径
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"pagePath": "pages/user/user",
|
|
|
|
|
"text": "我的",
|
|
|
|
|
"iconPath": "/static/images/tabbar/user.png",
|
|
|
|
|
"selectedIconPath": "/static/images/tabbar/user-sel.png"
|
|
|
|
|
"pagePath": "pages/user/user", // 个人中心页面路径
|
|
|
|
|
"text": "我的", // 标签文本
|
|
|
|
|
"iconPath": "/static/images/tabbar/user.png", // 未选中图标路径
|
|
|
|
|
"selectedIconPath": "/static/images/tabbar/user-sel.png" // 选中图标路径
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"sitemapLocation": "sitemap.json",
|
|
|
|
|
|
|
|
|
|
"sitemapLocation": "sitemap.json", // 站点地图文件位置
|
|
|
|
|
|
|
|
|
|
"globalStyle": {
|
|
|
|
|
"backgroundTextStyle": "light",
|
|
|
|
|
"navigationBarBackgroundColor": "#fff",
|
|
|
|
|
"navigationBarTitleText": "WeChat",
|
|
|
|
|
"navigationBarTextStyle": "black"
|
|
|
|
|
"backgroundTextStyle": "light", // 全局下拉刷新时背景文本颜色,"light" 表示浅色
|
|
|
|
|
"navigationBarBackgroundColor": "#fff", // 全局导航栏背景颜色,白色
|
|
|
|
|
"navigationBarTitleText": "WeChat", // 全局导航栏标题文本(默认值)
|
|
|
|
|
"navigationBarTextStyle": "black" // 全局导航栏文字颜色,黑色
|
|
|
|
|
},
|
|
|
|
|
"subPackages": []
|
|
|
|
|
|
|
|
|
|
"subPackages": [] // 子包配置,当前为空
|
|
|
|
|
}
|
|
|
|
|