1 Star 0 Fork 529

音未觉 / Shopro分销商城(前端+uni-app)

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 18.44 KB
一键复制 编辑 原始数据 按行查看 历史
ITmonkey 提交于 2020-12-29 11:56 . edit:拼团详情,key冲突报错
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971
//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"
// }
// ]
// }
}
JavaScript
1
https://gitee.com/fhwangyinan/shopro.git
git@gitee.com:fhwangyinan/shopro.git
fhwangyinan
shopro
Shopro分销商城(前端+uni-app)
master

搜索帮助