代码拉取完成,页面将自动刷新
同步操作将从 ITmonkey/Shopro分销商城 开源商城(前端uni-app) 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
//tips: 新建页面,新建路由,需要重新编译,否则跳转报错
{
"easycom": { //easycom,按需自动注册组件。原则上可以把所有页面引入组件方法删掉,会自动引入。
"autoscan": true,
"custom": {
"shopro-(.*)": "@/components/shopro-$1/shopro-$1.vue",
"uni-(.*)": "@/components/uni-$1/uni-$1.vue",
"^u-(.*)": "@/uview-ui/components/u-$1/u-$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",
"enablePullDownRefresh": true
},
"meta": {
"auth": false,
"async": true,
"title": "我的",
"group": "用户"
}
},
{
"path": "pages/index/view",
"name": "view",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom"
},
"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": "拼团详情",
"enablePullDownRefresh": true
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "groupon/my-groupon",
"style": {
"navigationBarTitleText": "我的拼团",
"enablePullDownRefresh": true
},
"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": "应用"
}
},
{
"path": "merchant/index",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom",
"enablePullDownRefresh": true
},
"meta": {
"auth": true,
"async": true,
"title": "商户信息",
"group": "用户"
}
},
{
"path": "merchant/apply",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom"
},
"meta": {
"auth": true,
"async": true,
"title": "门店入驻",
"group": "用户"
}
},
{
"path": "merchant/info",
"style": {
"navigationBarTitleText": "门店信息"
},
"meta": {
"auth": true,
"async": false,
"title": "门店信息",
"group": "用户"
}
},
{
"path": "merchant/list",
"style": {
"navigationBarTitleText": "切换门店"
},
"meta": {
"auth": true,
"async": false,
"title": "切换门店",
"group": "用户"
}
},
{
"path": "merchant/detail",
"style": {
"navigationBarTitleText": "订单详情"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "commission/index",
"style": {
"navigationBarTitleText": "分销中心",
"navigationStyle": "custom",
"navigationBarTextStyle": "white",
"enablePullDownRefresh": true
},
"meta": {
"auth": true,
"async": true,
"title": "分销中心",
"group": "用户"
}
},
{
"path": "commission/team",
"style": {
"navigationBarTitleText": "我的团队",
"navigationStyle": "custom",
"navigationBarTextStyle": "white"
},
"meta": {
"auth": true,
"async": false,
"title": "我的团队",
"group": "用户"
}
},
{
"path": "commission/commission-log",
"style": {
"navigationBarTitleText": "佣金明细"
},
"meta": {
"auth": true,
"async": false,
"title": "佣金明细",
"group": "用户"
}
},
{
"path": "commission/draw-money",
"style": {
"navigationBarTitleText": "提现",
"navigationStyle": "custom",
"navigationBarTextStyle": "white"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "commission/wallet-log",
"style": {
"navigationBarTitleText": "提现记录"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "commission/order",
"style": {
"navigationBarTitleText": "分销订单",
"navigationStyle": "custom"
},
"meta": {
"auth": true,
"async": false,
"title": "分销订单",
"group": "用户"
}
},
{
"path": "commission/rankings",
"style": {
"navigationBarTitleText": "分销排行",
"navigationStyle": "custom",
"navigationBarTextStyle": "white"
},
"meta": {
"auth": true,
"async": false,
"title": "分销排行",
"group": "用户"
}
},
{
"path": "commission/goods",
"style": {
"navigationBarTitleText": "推广商品"
},
"meta": {
"auth": true,
"async": false,
"title": "推广商品",
"group": "用户"
}
},
{
"path": "commission/apply",
"style": {
"navigationBarTitleText": "申请分销商",
"navigationStyle": "custom",
"navigationBarTextStyle": "white"
},
"meta": {
"auth": true,
"async": false,
"title": "申请分销商",
"group": "用户"
}
},
{
"path": "commission/share-log",
"style": {
"navigationBarTitleText": "分享记录",
"navigationStyle": "custom",
"navigationBarTextStyle": "white"
},
"meta": {
"auth": true,
"async": false,
"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": "business-address",
"style": {
"navigationBarTitleText": "选择自提点",
"navigationStyle": "custom"
// #ifdef APP-VUE
,
"app-plus": {
"titleNView": {
"type": "transparent"
}
}
// #endif
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "distribution",
"style": {
"navigationBarTitleText": "", //配送方式详情
"enablePullDownRefresh": true
},
"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": "express",
"style": {
"navigationBarTitleText": "物流信息"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "express-list",
"style": {
"navigationBarTitleText": "物流详情"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "after-sale/refund",
"style": {
"navigationBarTitleText": "申请售后"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "after-sale/list",
"style": {
"navigationBarTitleText": "退换/售后列表"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "after-sale/detail",
"style": {
"navigationBarTitleText": "服务单详情"
},
"meta": {
"auth": true,
"async": false
}
},
{
"path": "after-sale/log",
"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": "kefu/index",
"name": "kefu",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom",
"navigationBarTextStyle": "white",
"app-plus": {
"softinputNavBar": "none",
"softinputMode": "adjustResize"
}
},
"meta": {
"auth": true,
"async": true,
"title": "客服",
"group": "通用"
}
},
{
"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": true,
"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": ["pages/goods", "pages/user", "pages/activity", "pages/app", "pages/order", "pages/public"]
}
},
// 默认导航栏样式
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#fff",
"backgroundColor": "#fff",
"navigationStyle": "default", //默认是default,即带有原生导航栏。custom,取消导航栏。
"SplitLineStyles": {
"color": "#ccc",
"height": "1px"
}
}
// 默认底部导航栏
// "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"
// }
// ]
// }
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。