代码拉取完成,页面将自动刷新
同步操作将从 ITmonkey/Shopro分销商城 开源商城(前端uni-app) 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
{
"easycom": { //easycom,按需自动注册组件。原则上可以把所有页面引入组件方法删掉,会自动引入。
"autoscan": true,
"custom": {
"shopro-(.*)": "@/components/shopro-$1/shopro-$1.vue",
"uni-(.*)": "@/components/uni-$1/uni-$1.vue"
}
},
"pages": [{
"path": "pages/index/index",
"name": "home",
"title": "首页",
"aliasPath": "/", //对于h5端你必须在首页加上aliasPath并设置为/
"style": {
"navigationBarTitleText": "",
"navigationBarTextStyle": "white",
// "enablePullDownRefresh": true,
"navigationStyle": "custom"
},
"meta": {
"auth": false, //需要登录
"async": true, //是否同步
"title": "首页", //标题
"group": "商城" //分组
}
},
{
"path": "pages/index/category",
"name": "category",
"style": {
"navigationBarTitleText": "分类"
},
"meta": {
"auth": false,
"async": true,
"title": "分类",
"group": "商城"
}
},
{
"path": "pages/index/cart",
"name": "cart",
"style": {
"navigationBarTitleText": "购物车"
},
"meta": {
"auth": false,
"async": true,
"title": "购物车",
"group": "商城"
}
},
{
"path": "pages/index/user",
"name": "user",
"style": {
"navigationBarTitleText": "我的",
"navigationStyle": "custom"
},
"meta": {
"auth": false,
"async": true,
"title": "我的",
"group": "用户"
}
},
{
"path": "pages/index/view",
"name": "view",
"style": {
"navigationBarTitleText": ""
},
"meta": {
"auth": false,
"async": true,
"title": "自定义页面",
"group": "自定义页面"
}
}
],
// 分包加载
// 不要接受编辑器的组件放置分包建议。因为那些不是在单个分包内使用的,也不知道为啥老报错。
"subPackages": [{
"root": "pages/activity",
"pages": [{
"path": "groupon/list",
"style": {
"navigationBarTitleText": "今日必拼"
},
"meta": {
"auth": false,
"async": true,
"title": "今日必拼",
"group": "活动"
}
},
{
"path": "seckill/list",
"style": {
"navigationBarTitleText": "限时秒杀"
},
"meta": {
"auth": false,
"async": true,
"title": "限时秒杀",
"group": "活动"
}
},
{
"path": "groupon/detail",
"style": {
"navigationBarTitleText": "拼团详情"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "groupon/my-groupon",
"style": {
"navigationBarTitleText": "我的拼团"
},
"meta": {
"auth": true,
"async": true,
"title": "我的拼团",
"group": "活动"
}
}
]
},
{
"root": "pages/app",
"pages": [
// #ifdef MP-WEIXIN
{
"path": "live/list",
"style": {
"navigationBarTitleText": "直播"
},
"meta": {
"auth": false,
"async": true,
"title": "直播列表",
"group": "应用"
}
},
// #endif
{
"path": "coupon/list",
"style": {
"navigationBarTitleText": "优惠券"
},
"meta": {
"auth": true,
"async": true,
"title": "优惠劵中心",
"group": "优惠券"
}
},
{
"path": "coupon/detail",
"style": {
"navigationBarTitleText": "优惠劵详情",
"navigationStyle": "custom"
},
"meta": {
"auth": true,
"async": true,
"title": "优惠劵详情",
"group": "优惠券"
}
},
{
"path": "score/list",
"style": {
"navigationBarTitleText": "积分商城"
},
"meta": {
"auth": false,
"async": true,
"title": "积分商城",
"group": "应用"
}
}
]
},
{
"root": "pages/goods",
"pages": [
// 商品goods------start
{
"path": "list",
"style": {
"navigationBarTitleText": "商品列表",
"navigationStyle": "custom"
},
"meta": {
"auth": false,
"async": true,
"title": "商品列表",
"group": "商城"
}
},
{
"path": "comment-list",
"style": {
"navigationBarTitleText": "商品评价"
},
"meta": {
"auth": false,
"async": false
}
},
{
"path": "detail/index",
"style": {
"navigationBarTitleText": "商品详情"
},
"meta": {
"auth": false,
"async": true,
"title": "商品详情",
"group": "商城"
}
}
// 商品goods------end
]
},
{
"root": "pages/order",
"pages": [
// 订单order------start
{
"path": "confirm",
"style": {
"navigationBarTitleText": "确认订单"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "detail",
"style": {
"navigationBarTitleText": "订单详情"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "list",
"name": "orderList",
"style": {
"navigationBarTitleText": "订单列表"
},
"meta": {
"auth": true,
"async": true,
"title": "我的订单",
"group": "用户"
}
},
{
"path": "add-comment",
"style": {
"navigationBarTitleText": "发表评论"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "express",
"name": "expressList",
"style": {
"navigationBarTitleText": "物流信息"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "refund",
"style": {
"navigationBarTitleText": "退款"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "payment/method",
"style": {
"navigationBarTitleText": "支付方式"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "payment/result",
"style": {
"navigationBarTitleText": "支付结果"
},
"meta": {
"auth": false,
"async": false
}
}
// 定单 order ------end
]
},
{
"root": "pages/public",
"pages": [
// 公共public ------ start
{
"path": "richtext",
"style": {
"navigationBarTitleText": "" //公共富文本
},
"meta": {
"auth": false,
"async": true,
"title": "富文本",
"group": "通用"
}
},
{
"path": "webview",
"style": {
"navigationBarTitleText": "" //外部链接
},
"meta": {
}
},
{
"path": "feedback",
"style": {
"navigationBarTitleText": "意见反馈"
},
"meta": {
"auth": true,
"async": true,
"title": "意见反馈",
"group": "商城"
}
},
{
"path": "forgot",
"style": {
"navigationBarTitleText": "找回密码",
"navigationStyle": "custom"
},
"meta": {
"auth": false,
"async": true,
"title": "找回密码",
"group": "用户"
}
},
{
"path": "login",
"name": "login",
"style": {
"navigationBarTitleText": "登录",
"navigationStyle": "custom"
},
"meta": {
"auth": false,
"async": true,
"title": "登录",
"group": "用户"
}
},
{
"path": "register",
"style": {
"navigationBarTitleText": "注册",
"navigationStyle": "custom"
},
"meta": {
"auth": false,
"async": true,
"title": "注册",
"group": "用户"
}
},
{
"path": "poster/index",
"style": {
"navigationBarTitleText": "海报"
},
"meta": {
"auth": false,
"async": true,
"title": "海报",
"group": "通用"
}
},
{
"path": "faq",
"style": {
"navigationBarTitleText": "常见问题"
},
"meta": {
"auth": false,
"async": true,
"title": "常见问题",
"group": "通用"
}
}
// 公共public ------ end
]
},
{
"root": "pages/user",
"pages": [
// 我的user ------start
{
"path": "log",
"style": {
"navigationBarTitleText": "浏览足迹"
},
"meta": {
"auth": true,
"async": true,
"title": "浏览足迹",
"group": "用户"
}
},
{
"path": "sign/index",
"style": {
"navigationBarTitleText": "签到中心"
},
"meta": {
"auth": true,
"async": true,
"title": "签到中心",
"group": "通用"
}
},
{
"path": "address/edit",
"style": {
"navigationBarTitleText": "编辑地址"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "address/list",
"style": {
"navigationBarTitleText": "收货地址"
},
"meta": {
"auth": true,
"async": true,
"title": "收货地址",
"group": "用户"
}
},
{
"path": "set",
"style": {
"navigationBarTitleText": "系统设置"
},
"meta": {
"auth": true,
"async": true,
"title": "系统设置",
"group": "通用"
}
}, {
"path": "edit-password",
"style": {
"navigationBarTitleText": "修改密码"
},
"meta": {
"auth": true,
"async": true,
"title": "修改密码",
"group": "用户"
}
},
{
"path": "favorite",
"style": {
"navigationBarTitleText": "收藏"
},
"meta": {
"auth": true,
"async": true,
"title": "我的收藏",
"group": "用户"
}
},
{
"path": "info",
"style": {
"navigationBarTitleText": "个人信息"
},
"meta": {
"auth": true,
"async": true,
"title": "个人信息",
"group": "用户"
}
},
{
"path": "edit-phone",
"style": {
"navigationBarTitleText": "修改手机号"
},
"meta": {
"auth": true,
"async": true,
"title": "修改手机号",
"group": "用户"
}
},
{
"path": "wallet/index",
"style": {
"navigationBarTitleText": "我的钱包",
"navigationStyle": "custom"
},
"meta": {
"auth": true,
"async": true,
"title": "我的钱包",
"group": "用户"
}
},
{
"path": "wallet/bind-bank",
"style": {
"navigationBarTitleText": "绑定银行卡"
},
"meta": {
"auth": true,
"async": true,
"title": "绑定银行卡",
"group": "用户"
}
},
{
"path": "wallet/log",
"style": {
"navigationBarTitleText": "钱包明细"
},
"meta": {
"auth": true,
"async": true,
"title": "钱包明细",
"group": "用户"
}
},
{
"path": "wallet/score-balance",
"style": {
"navigationBarTitleText": "积分",
"navigationStyle": "custom"
},
"meta": {
"auth": true,
"async": true,
"title": "我的积分",
"group": "用户"
}
}
// 我的user ------ end
]
}
],
// 分包预加载规则
// "preloadRule": {
// "pages/index/index": {
// "network": "all",
// "packages": ["__APP__"]
// }
// },
// 默认导航栏样式
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#fff",
"backgroundColor": "#fff",
"navigationStyle": "default" //默认是default,即带有原生导航栏。custom,取消导航栏。
},
// 默认底部导航栏
"tabBar": {
"color": "#333",
"selectedColor": "#a8700d",
"backgroundColor": "#ffffff",
"borderStyle": "black",
"list": [{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "static/imgs/tabbar/tab_home.png",
"selectedIconPath": "/static/imgs/tabbar/tab_home_sel.png"
},
{
"pagePath": "pages/index/category",
"text": "分类",
"iconPath": "static/imgs/tabbar/tab_type.png",
"selectedIconPath": "static/imgs/tabbar/tab_type_sel.png"
},
{
"pagePath": "pages/index/cart",
"text": "购物车",
"iconPath": "static/imgs/tabbar/tab_cart.png",
"selectedIconPath": "static/imgs/tabbar/tab_cart_sel.png"
},
{
"pagePath": "pages/index/user",
"text": "我的",
"iconPath": "static/imgs/tabbar/tab_my.png",
"selectedIconPath": "static/imgs/tabbar/tab_my_sel.png"
}
]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。