From 4cb256af6c9b9c364f398b0104f8dc2e1272a59c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=BD=E6=97=A5=E6=99=9A=E9=A3=8E?= <1811466536@qq.com> Date: Mon, 18 Dec 2023 14:02:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B8=85=E7=A9=BA=E4=BB=A3=E7=A0=81-?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96yudao?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 1429 ++++++++--------- pages/app/score-shop.vue | 77 - pages/coupon/detail.vue | 650 ++++---- pages/coupon/list.vue | 451 +++--- pages/goods/comment/add.vue | 158 +- .../components/detail/detail-cell-params.vue | 115 -- .../components/detail/detail-cell-service.vue | 121 -- pages/goods/components/detail/detail-cell.vue | 2 +- .../components/detail/detail-content-card.vue | 3 +- .../goods/components/detail/detail-navbar.vue | 1 + .../components/detail/detail-progress.vue | 1 + .../goods/components/detail/detail-tabbar.vue | 46 +- .../goods/components/list/list-goods-card.vue | 2 +- pages/goods/components/list/list-navbar.vue | 1 + pages/goods/groupon.vue | 10 +- pages/goods/index.vue | 97 +- pages/goods/list.vue | 218 +-- pages/goods/score.vue | 368 ----- pages/goods/seckill.vue | 4 - pages/index/index.vue | 3 - pages/index/search.vue | 10 +- pages/order/aftersale/apply.vue | 517 +++--- pages/order/aftersale/detail.vue | 190 +-- pages/order/aftersale/list.vue | 165 +- pages/order/aftersale/log-item.vue | 42 +- pages/order/aftersale/log.vue | 36 +- pages/order/confirm.vue | 722 ++++----- pages/order/detail.vue | 1171 +++++++------- pages/order/dispatch/content.vue | 84 - pages/order/express/list.vue | 104 -- pages/order/express/log.vue | 86 +- pages/order/invoice.vue | 329 ---- pages/order/list.vue | 373 ++--- pages/pay/index.vue | 178 +- pages/pay/result.vue | 120 +- pages/public/error.vue | 11 +- pages/public/feedback.vue | 226 --- pages/public/setting.vue | 47 +- pages/public/webview.vue | 5 +- pages/user/address/edit.vue | 203 ++- pages/user/address/list.vue | 28 +- pages/user/goods-collect.vue | 129 +- pages/user/info.vue | 130 +- pages/user/invoice/edit.vue | 277 ---- pages/user/invoice/list.vue | 82 - pages/user/set.vue | 88 - pages/user/wallet/money.vue | 631 ++++---- sheep/api/app.js | 95 -- sheep/api/coupon.js | 18 +- sheep/api/index.js | 5 +- sheep/api/infra/file.js | 49 + sheep/api/member/address.js | 45 + sheep/api/member/auth.js | 42 + sheep/api/member/user.js | 32 + sheep/api/order.js | 6 - sheep/api/pay/channel.js | 14 + sheep/api/pay/order.js | 22 + sheep/api/pay/wallet.js | 26 + sheep/api/product/category.js | 23 +- sheep/api/product/favorite.js | 44 + sheep/api/promotion/coupon.js | 44 +- sheep/api/system/area.js | 13 + sheep/api/trade/afterSale.js | 45 + sheep/api/trade/cart.js | 47 + sheep/api/trade/config.js | 14 + sheep/api/trade/order.js | 103 ++ sheep/api/user.js | 112 -- .../s-address-item/s-address-item.vue | 18 +- .../s-auth-modal/components/account-login.vue | 2 +- .../components/change-password.vue | 105 +- .../components/change-username.vue | 72 - .../components/reset-password.vue | 33 +- .../s-auth-modal/components/sms-login.vue | 24 +- .../s-auth-modal/components/sms-register.vue | 130 -- .../components/s-auth-modal/s-auth-modal.vue | 27 +- .../components/s-block-item/s-block-item.vue | 6 +- .../components/s-coupon-get/s-coupon-get.vue | 19 +- .../s-coupon-list/s-coupon-list.vue | 346 ++-- .../components/s-float-menu/s-float-menu.vue | 14 +- .../s-goods-column/s-goods-column.vue | 31 +- .../components/s-goods-item/s-goods-item.vue | 11 +- .../s-goods-scroll/s-goods-scroll.vue | 3 +- .../s-hotzone-block/s-hotzone-block.vue | 14 +- .../s-invoice-item/s-invoice-item.vue | 96 -- .../s-menu-button/s-menu-button.vue | 8 +- .../components/s-menu-tools/s-menu-tools.vue | 8 +- .../s-notice-block/s-notice-block.vue | 2 +- .../s-score-block/s-score-block.vue | 202 --- .../components/s-score-card/s-score-card.vue | 459 ------ sheep/components/s-statusbar/s-statusbar.vue | 2 +- .../s-title-block/s-title-block.vue | 58 +- sheep/hooks/useGoods.js | 198 ++- sheep/hooks/useModal.js | 27 +- sheep/platform/pay.js | 132 +- sheep/request/index.js | 13 +- sheep/request2/index.js | 7 +- sheep/store/cart.js | 101 +- sheep/store/modal.js | 3 +- sheep/store/user.js | 39 +- .../ui/su-region-picker/su-region-picker.vue | 3 +- sheep/util/index.js | 13 + sheep/validate/form.js | 29 - 102 files changed, 4959 insertions(+), 7836 deletions(-) delete mode 100644 pages/app/score-shop.vue delete mode 100644 pages/goods/components/detail/detail-cell-params.vue delete mode 100644 pages/goods/components/detail/detail-cell-service.vue delete mode 100644 pages/goods/score.vue delete mode 100644 pages/order/dispatch/content.vue delete mode 100644 pages/order/express/list.vue delete mode 100644 pages/order/invoice.vue delete mode 100644 pages/public/feedback.vue delete mode 100644 pages/user/invoice/edit.vue delete mode 100644 pages/user/invoice/list.vue delete mode 100644 pages/user/set.vue create mode 100644 sheep/api/infra/file.js create mode 100644 sheep/api/member/address.js create mode 100644 sheep/api/member/auth.js create mode 100644 sheep/api/member/user.js create mode 100644 sheep/api/pay/channel.js create mode 100644 sheep/api/pay/order.js create mode 100644 sheep/api/pay/wallet.js create mode 100644 sheep/api/product/favorite.js create mode 100644 sheep/api/system/area.js create mode 100644 sheep/api/trade/afterSale.js create mode 100644 sheep/api/trade/cart.js create mode 100644 sheep/api/trade/config.js create mode 100644 sheep/api/trade/order.js delete mode 100644 sheep/components/s-auth-modal/components/change-username.vue delete mode 100644 sheep/components/s-auth-modal/components/sms-register.vue delete mode 100644 sheep/components/s-invoice-item/s-invoice-item.vue delete mode 100644 sheep/components/s-score-block/s-score-block.vue delete mode 100644 sheep/components/s-score-card/s-score-card.vue diff --git a/pages.json b/pages.json index 84f07a8d..70ff2492 100644 --- a/pages.json +++ b/pages.json @@ -1,758 +1,675 @@ { - "easycom": { - "autoscan": true, - "custom": { - "^s-(.*)": "@/sheep/components/s-$1/s-$1.vue", - "^su-(.*)": "@/sheep/ui/su-$1/su-$1.vue" - } - }, - "pages": [{ - "path": "pages/index/index", - "aliasPath": "/", - "style": { - "navigationBarTitleText": "首页", - "enablePullDownRefresh": true - }, - "meta": { - "auth": false, - "sync": true, - "title": "首页", - "group": "商城" - } - }, - { - "path": "pages/index/user", - "style": { - "navigationBarTitleText": "个人中心", - "enablePullDownRefresh": true - }, - "meta": { - "sync": true, - "title": "个人中心", - "group": "商城" - } - }, - { - "path": "pages/index/category", - "style": { - "navigationBarTitleText": "商品分类" - }, - "meta": { - "sync": true, - "title": "商品分类", - "group": "商城" - } - }, - { - "path": "pages/index/cart", - "style": { - "navigationBarTitleText": "购物车" - }, - "meta": { - "sync": true, - "title": "购物车", - "group": "商城" - } - }, - { - "path": "pages/index/login", - "style": { - "navigationBarTitleText": "登录" - } - }, - { - "path": "pages/index/search", - "style": { - "navigationBarTitleText": "搜索" - }, - "meta": { - "sync": true, - "title": "搜索", - "group": "商城" - } - }, - { - "path": "pages/index/page", - "style": { - "navigationBarTitleText": "" - }, - "meta": { - "auth": false, - "sync": true, - "title": "自定义页面", - "group": "商城" - } - } - ], - "subPackages": [{ - "root": "pages/goods", - "pages": [{ - "path": "index", - "style": { - "navigationBarTitleText": "商品详情" - }, - "meta": { - "sync": true, - "title": "普通商品", - "group": "商品" - } - }, - { - "path": "groupon", - "style": { - "navigationBarTitleText": "拼团商品" - }, - "meta": { - "sync": true, - "title": "拼团商品", - "group": "商品" - } - }, + "easycom": { + "autoscan": true, + "custom": { + "^s-(.*)": "@/sheep/components/s-$1/s-$1.vue", + "^su-(.*)": "@/sheep/ui/su-$1/su-$1.vue" + } + }, + "pages": [ + { + "path": "pages/index/index", + "aliasPath": "/", + "style": { + "navigationBarTitleText": "首页", + "enablePullDownRefresh": true + }, + "meta": { + "auth": false, + "sync": true, + "title": "首页", + "group": "商城" + } + }, + { + "path": "pages/index/user", + "style": { + "navigationBarTitleText": "个人中心", + "enablePullDownRefresh": true + }, + "meta": { + "sync": true, + "title": "个人中心", + "group": "商城" + } + }, + { + "path": "pages/index/category", + "style": { + "navigationBarTitleText": "商品分类" + }, + "meta": { + "sync": true, + "title": "商品分类", + "group": "商城" + } + }, + { + "path": "pages/index/cart", + "style": { + "navigationBarTitleText": "购物车" + }, + "meta": { + "sync": true, + "title": "购物车", + "group": "商城" + } + }, + { + "path": "pages/index/login", + "style": { + "navigationBarTitleText": "登录" + } + }, + { + "path": "pages/index/search", + "style": { + "navigationBarTitleText": "搜索" + }, + "meta": { + "sync": true, + "title": "搜索", + "group": "商城" + } + }, + { + "path": "pages/index/page", + "style": { + "navigationBarTitleText": "" + }, + "meta": { + "auth": false, + "sync": true, + "title": "自定义页面", + "group": "商城" + } + } + ], + "subPackages": [ + { + "root": "pages/goods", + "pages": [ + { + "path": "index", + "style": { + "navigationBarTitleText": "商品详情" + }, + "meta": { + "sync": true, + "title": "普通商品", + "group": "商品" + } + }, + { + "path": "groupon", + "style": { + "navigationBarTitleText": "拼团商品" + }, + "meta": { + "sync": true, + "title": "拼团商品", + "group": "商品" + } + }, - { - "path": "seckill", - "style": { - "navigationBarTitleText": "秒杀商品" - }, - "meta": { - "sync": true, - "title": "秒杀商品", - "group": "商品" - } - }, - - { - "path": "score", - "style": { - "navigationBarTitleText": "积分商品" - }, - "meta": { - "sync": true, - "title": "积分商品", - "group": "商品" - } - }, - { - "path": "list", - "style": { - "navigationBarTitleText": "商品列表" - }, - "meta": { - "sync": true, - "title": "商品列表", - "group": "商品" - } - }, - { - "path": "comment/add", - "style": { - "navigationBarTitleText": "评价商品" - }, - "meta": { - "auth": true - } - }, - { - "path": "comment/list", - "style": { - "navigationBarTitleText": "商品评价" - } - } - ] - }, - { - "root": "pages/order", - "pages": [{ - "path": "detail", - "style": { - "navigationBarTitleText": "订单详情" - }, - "meta": { - "auth": true, - "title": "订单详情" - } - }, - { - "path": "confirm", - "style": { - "navigationBarTitleText": "确认订单" - }, - "meta": { - "auth": true, - "title": "确认订单" - } - }, - { - "path": "list", - "style": { - "navigationBarTitleText": "我的订单", - "enablePullDownRefresh": true - }, - "meta": { - "auth": true, - "sync": true, - "title": "用户订单", - "group": "订单中心" - } - }, - { - "path": "invoice", - "style": { - "navigationBarTitleText": "发票详情" - }, - "meta": { - "auth": true, - "title": "发票详情" - } - }, - { - "path": "dispatch/content", - "style": { - "navigationBarTitleText": "发货内容" - }, - "meta": { - "auth": true, - "title": "发货内容" - } - }, - { - "path": "aftersale/apply", - "style": { - "navigationBarTitleText": "申请售后" - }, - "meta": { - "auth": true, - "title": "申请售后" - } - }, - { - "path": "aftersale/list", - "style": { - "navigationBarTitleText": "售后列表" - }, - "meta": { - "auth": true, - "sync": true, - "title": "售后订单", - "group": "订单中心" - } - }, - { - "path": "aftersale/detail", - "style": { - "navigationBarTitleText": "售后详情" - }, - "meta": { - "auth": true, - "title": "售后详情" - } - }, - { - "path": "aftersale/log", - "style": { - "navigationBarTitleText": "售后进度" - }, - "meta": { - "auth": true, - "title": "售后进度" - } - }, - { - "path": "express/log", - "style": { - "navigationBarTitleText": "物流轨迹" - }, - "meta": { - "auth": true, - "title": "物流轨迹" - } - }, - { - "path": "express/list", - "style": { - "navigationBarTitleText": "订单包裹" - }, - "meta": { - "auth": true, - "title": "订单包裹" - } - }, { - "path": "aftersale/eturn-delivery", - "style": { - "navigationBarTitleText": "退货物流" - }, - "meta": { - "auth": true - // "title": "退货物流" - } - } - ] - }, - { - "root": "pages/user", - "pages": [{ - "path": "info", - "style": { - "navigationBarTitleText": "我的信息" - }, - "meta": { - "auth": true, - "sync": true, - "title": "用户信息", - "group": "用户中心" - } - }, - { - "path": "goods-collect", - "style": { - "navigationBarTitleText": "我的收藏" - }, - "meta": { - "auth": true, - "sync": true, - "title": "商品收藏", - "group": "用户中心" - } - }, - { - "path": "goods-log", - "style": { - "navigationBarTitleText": "我的足迹" - }, - "meta": { - "auth": true, - "sync": true, - "title": "浏览记录", - "group": "用户中心" - } - }, - { - "path": "address/list", - "style": { - "navigationBarTitleText": "收货地址" - }, - "meta": { - "auth": true, - "sync": true, - "title": "地址管理", - "group": "用户中心" - } - }, - { - "path": "address/edit", - "style": { - "navigationBarTitleText": "编辑地址" - }, - "meta": { - "auth": true, - "title": "编辑地址" - } - }, - { - "path": "invoice/list", - "style": { - "navigationBarTitleText": "发票管理" - }, - "meta": { - "auth": true, - "sync": true, - "title": "发票管理", - "group": "用户中心" - } - }, - { - "path": "invoice/edit", - "style": { - "navigationBarTitleText": "编辑发票" - }, - "meta": { - "auth": true, - "title": "编辑发票" - } - }, - { - "path": "wallet/money", - "style": { - "navigationBarTitleText": "我的余额" - }, - "meta": { - "auth": true, - "sync": true, - "title": "用户余额", - "group": "用户中心" - } - }, - { - "path": "wallet/commission", - "style": { - "navigationBarTitleText": "我的佣金" - }, - "meta": { - "auth": true, - "sync": true, - "title": "用户佣金", - "group": "分销中心" - } - }, - { - "path": "wallet/score", - "style": { - "navigationBarTitleText": "我的积分" - }, - "meta": { - "auth": true, - "sync": true, - "title": "用户积分", - "group": "用户中心" - } - } - ] - }, - { - "root": "pages/commission", - "pages": [{ - "path": "index", - "style": { - "navigationBarTitleText": "分销" - }, - "meta": { - "auth": true, - "sync": true, - "title": "分销中心", - "group": "分销商城" - } - }, - { - "path": "apply", - "style": { - "navigationBarTitleText": "申请分销商" - }, - "meta": { - "auth": true, - "sync": true, - "title": "申请分销商", - "group": "分销商城" - } - }, - { - "path": "goods", - "style": { - "navigationBarTitleText": "推广商品" - }, - "meta": { - "auth": true, - "sync": true, - "title": "推广商品", - "group": "分销商城" - } - }, - { - "path": "order", - "style": { - "navigationBarTitleText": "分销订单" - }, - "meta": { - "auth": true, - "sync": true, - "title": "分销订单", - "group": "分销商城" - } - }, - { - "path": "share-log", - "style": { - "navigationBarTitleText": "分享记录" - }, - "meta": { - "auth": true, - "sync": true, - "title": "分享记录", - "group": "分销商城" - } - }, - { - "path": "team", - "style": { - "navigationBarTitleText": "我的团队" - }, - "meta": { - "auth": true, - "sync": true, - "title": "我的团队", - "group": "分销商城" - } - } - ] - }, - { - "root": "pages/app", - "pages": [{ - "path": "sign", - "style": { - "navigationBarTitleText": "签到中心" - }, - "meta": { - "auth": true, - "sync": true, - "title": "签到中心", - "group": "应用" - } - }, - { - "path": "score-shop", - "style": { - "navigationBarTitleText": "积分商城" - }, - "meta": { - "auth": false, - "sync": true, - "title": "积分商城", - "group": "应用" - } - } - ] - }, - { - "root": "pages/public", - "pages": [{ - "path": "setting", - "style": { - "navigationBarTitleText": "系统设置" - }, - "meta": { - "sync": true, - "title": "系统设置", - "group": "通用" - } - }, - { - "path": "feedback", - "style": { - "navigationBarTitleText": "问题反馈" - }, - "meta": { - "auth": true, - "sync": true, - "title": "问题反馈", - "group": "通用" - } - }, - { - "path": "richtext", - "style": { - "navigationBarTitleText": "富文本" - }, - "meta": { - "sync": true, - "title": "富文本", - "group": "通用" - } - }, - { - "path": "faq", - "style": { - "navigationBarTitleText": "常见问题" - }, - "meta": { - "sync": true, - "title": "常见问题", - "group": "通用" - } - }, - { - "path": "error", - "style": { - "navigationBarTitleText": "错误页面" - } - }, - { - "path": "webview", - "style": { - "navigationBarTitleText": "" - } - } - ] - }, - { - "root": "pages/coupon", - "pages": [{ - "path": "list", - "style": { - "navigationBarTitleText": "领券中心" - }, - "meta": { - "sync": true, - "title": "领券中心", - "group": "优惠券" - } - }, - { - "path": "detail", - "style": { - "navigationBarTitleText": "优惠券" - }, - "meta": { - "auth": false, - "sync": true, - "title": "优惠券详情", - "group": "优惠券" - } - } - ] - }, - { - "root": "pages/chat", - "pages": [{ - "path": "index", - "style": { - "navigationBarTitleText": "客服" - }, - "meta": { - "auth": true, - "sync": true, - "title": "客服", - "group": "客服" - } - }] - }, - { - "root": "pages/pay", - "pages": [{ - "path": "index", - "style": { - "navigationBarTitleText": "收银台" - } - }, - { - "path": "result", - "style": { - "navigationBarTitleText": "支付结果" - } - }, - { - "path": "recharge", - "style": { - "navigationBarTitleText": "充值余额" - }, - "meta": { - "auth": true, - "sync": true, - "title": "充值余额", - "group": "支付" - } - }, - { - "path": "recharge-log", - "style": { - "navigationBarTitleText": "充值记录" - }, - "meta": { - "auth": true, - "sync": true, - "title": "充值记录", - "group": "支付" - } - }, - { - "path": "withdraw", - "style": { - "navigationBarTitleText": "申请提现" - }, - "meta": { - "auth": true, - "sync": true, - "title": "申请提现", - "group": "支付" - } - }, - { - "path": "withdraw-log", - "style": { - "navigationBarTitleText": "提现记录" - }, - "meta": { - "auth": true, - "sync": true, - "title": "提现记录", - "group": "支付" - } - } - ] - }, - { - "root": "pages/activity", - "pages": [{ - "path": "groupon/detail", - "style": { - "navigationBarTitleText": "拼团详情" - } - }, - { - "path": "groupon/order", - "style": { - "navigationBarTitleText": "我的拼团", - "enablePullDownRefresh": true - }, - "meta": { - "auth": true, - "sync": true, - "title": "拼团订单", - "group": "营销活动" - } - }, - { - "path": "index", - "style": { - "navigationBarTitleText": "营销商品" - }, - "meta": { - "sync": true, - "title": "营销商品", - "group": "营销活动" - } - }, - { - "path": "groupon/list", - "style": { - "navigationBarTitleText": "拼团活动" - }, - "meta": { - "sync": true, - "title": "拼团活动", - "group": "营销活动" - } - }, - { - "path": "seckill/list", - "style": { - "navigationBarTitleText": "秒杀活动" - }, - "meta": { - "sync": true, - "title": "秒杀活动", - "group": "营销活动" - } - } - ] - } - ], - "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "星品购", - "navigationBarBackgroundColor": "#FFFFFF", - "backgroundColor": "#FFFFFF", - "navigationStyle": "custom" - }, - "tabBar": { - "list": [{ - "pagePath": "pages/index/index" - }, - { - "pagePath": "pages/index/cart" - }, - { - "pagePath": "pages/index/user" - } - ] - } -} \ No newline at end of file + { + "path": "seckill", + "style": { + "navigationBarTitleText": "秒杀商品" + }, + "meta": { + "sync": true, + "title": "秒杀商品", + "group": "商品" + } + }, + { + "path": "list", + "style": { + "navigationBarTitleText": "商品列表" + }, + "meta": { + "sync": true, + "title": "商品列表", + "group": "商品" + } + }, + { + "path": "comment/add", + "style": { + "navigationBarTitleText": "评价商品" + }, + "meta": { + "auth": true + } + }, + { + "path": "comment/list", + "style": { + "navigationBarTitleText": "商品评价" + } + } + ] + }, + { + "root": "pages/order", + "pages": [ + { + "path": "detail", + "style": { + "navigationBarTitleText": "订单详情" + }, + "meta": { + "auth": true, + "title": "订单详情" + } + }, + { + "path": "confirm", + "style": { + "navigationBarTitleText": "确认订单" + }, + "meta": { + "auth": true, + "title": "确认订单" + } + }, + { + "path": "list", + "style": { + "navigationBarTitleText": "我的订单", + "enablePullDownRefresh": true + }, + "meta": { + "auth": true, + "sync": true, + "title": "用户订单", + "group": "订单中心" + } + }, + { + "path": "aftersale/apply", + "style": { + "navigationBarTitleText": "申请售后" + }, + "meta": { + "auth": true, + "title": "申请售后" + } + }, + { + "path": "aftersale/list", + "style": { + "navigationBarTitleText": "售后列表" + }, + "meta": { + "auth": true, + "sync": true, + "title": "售后订单", + "group": "订单中心" + } + }, + { + "path": "aftersale/detail", + "style": { + "navigationBarTitleText": "售后详情" + }, + "meta": { + "auth": true, + "title": "售后详情" + } + }, + { + "path": "aftersale/log", + "style": { + "navigationBarTitleText": "售后进度" + }, + "meta": { + "auth": true, + "title": "售后进度" + } + }, + { + "path": "express/log", + "style": { + "navigationBarTitleText": "物流轨迹" + }, + "meta": { + "auth": true, + "title": "物流轨迹" + } + } + ] + }, + { + "root": "pages/user", + "pages": [ + { + "path": "info", + "style": { + "navigationBarTitleText": "我的信息" + }, + "meta": { + "auth": true, + "sync": true, + "title": "用户信息", + "group": "用户中心" + } + }, + { + "path": "goods-collect", + "style": { + "navigationBarTitleText": "我的收藏" + }, + "meta": { + "auth": true, + "sync": true, + "title": "商品收藏", + "group": "用户中心" + } + }, + { + "path": "goods-log", + "style": { + "navigationBarTitleText": "我的足迹" + }, + "meta": { + "auth": true, + "sync": true, + "title": "浏览记录", + "group": "用户中心" + } + }, + { + "path": "address/list", + "style": { + "navigationBarTitleText": "收货地址" + }, + "meta": { + "auth": true, + "sync": true, + "title": "地址管理", + "group": "用户中心" + } + }, + { + "path": "address/edit", + "style": { + "navigationBarTitleText": "编辑地址" + }, + "meta": { + "auth": true, + "title": "编辑地址" + } + }, + { + "path": "wallet/money", + "style": { + "navigationBarTitleText": "我的余额" + }, + "meta": { + "auth": true, + "sync": true, + "title": "用户余额", + "group": "用户中心" + } + }, + { + "path": "wallet/commission", + "style": { + "navigationBarTitleText": "我的佣金" + }, + "meta": { + "auth": true, + "sync": true, + "title": "用户佣金", + "group": "分销中心" + } + }, + { + "path": "wallet/score", + "style": { + "navigationBarTitleText": "我的积分" + }, + "meta": { + "auth": true, + "sync": true, + "title": "用户积分", + "group": "用户中心" + } + } + ] + }, + { + "root": "pages/commission", + "pages": [ + { + "path": "index", + "style": { + "navigationBarTitleText": "分销" + }, + "meta": { + "auth": true, + "sync": true, + "title": "分销中心", + "group": "分销商城" + } + }, + { + "path": "apply", + "style": { + "navigationBarTitleText": "申请分销商" + }, + "meta": { + "auth": true, + "sync": true, + "title": "申请分销商", + "group": "分销商城" + } + }, + { + "path": "goods", + "style": { + "navigationBarTitleText": "推广商品" + }, + "meta": { + "auth": true, + "sync": true, + "title": "推广商品", + "group": "分销商城" + } + }, + { + "path": "order", + "style": { + "navigationBarTitleText": "分销订单" + }, + "meta": { + "auth": true, + "sync": true, + "title": "分销订单", + "group": "分销商城" + } + }, + { + "path": "share-log", + "style": { + "navigationBarTitleText": "分享记录" + }, + "meta": { + "auth": true, + "sync": true, + "title": "分享记录", + "group": "分销商城" + } + }, + { + "path": "team", + "style": { + "navigationBarTitleText": "我的团队" + }, + "meta": { + "auth": true, + "sync": true, + "title": "我的团队", + "group": "分销商城" + } + } + ] + }, + { + "root": "pages/app", + "pages": [ + { + "path": "sign", + "style": { + "navigationBarTitleText": "签到中心" + }, + "meta": { + "auth": true, + "sync": true, + "title": "签到中心", + "group": "应用" + } + } + ] + }, + { + "root": "pages/public", + "pages": [ + { + "path": "setting", + "style": { + "navigationBarTitleText": "系统设置" + }, + "meta": { + "sync": true, + "title": "系统设置", + "group": "通用" + } + }, + { + "path": "richtext", + "style": { + "navigationBarTitleText": "富文本" + }, + "meta": { + "sync": true, + "title": "富文本", + "group": "通用" + } + }, + { + "path": "faq", + "style": { + "navigationBarTitleText": "常见问题" + }, + "meta": { + "sync": true, + "title": "常见问题", + "group": "通用" + } + }, + { + "path": "error", + "style": { + "navigationBarTitleText": "错误页面" + } + }, + { + "path": "webview", + "style": { + "navigationBarTitleText": "" + } + } + ] + }, + { + "root": "pages/coupon", + "pages": [ + { + "path": "list", + "style": { + "navigationBarTitleText": "领券中心" + }, + "meta": { + "sync": true, + "title": "领券中心", + "group": "优惠券" + } + }, + { + "path": "detail", + "style": { + "navigationBarTitleText": "优惠券" + }, + "meta": { + "auth": false, + "sync": true, + "title": "优惠券详情", + "group": "优惠券" + } + } + ] + }, + { + "root": "pages/chat", + "pages": [ + { + "path": "index", + "style": { + "navigationBarTitleText": "客服" + }, + "meta": { + "auth": true, + "sync": true, + "title": "客服", + "group": "客服" + } + } + ] + }, + { + "root": "pages/pay", + "pages": [ + { + "path": "index", + "style": { + "navigationBarTitleText": "收银台" + } + }, + { + "path": "result", + "style": { + "navigationBarTitleText": "支付结果" + } + }, + { + "path": "recharge", + "style": { + "navigationBarTitleText": "充值余额" + }, + "meta": { + "auth": true, + "sync": true, + "title": "充值余额", + "group": "支付" + } + }, + { + "path": "recharge-log", + "style": { + "navigationBarTitleText": "充值记录" + }, + "meta": { + "auth": true, + "sync": true, + "title": "充值记录", + "group": "支付" + } + }, + { + "path": "withdraw", + "style": { + "navigationBarTitleText": "申请提现" + }, + "meta": { + "auth": true, + "sync": true, + "title": "申请提现", + "group": "支付" + } + }, + { + "path": "withdraw-log", + "style": { + "navigationBarTitleText": "提现记录" + }, + "meta": { + "auth": true, + "sync": true, + "title": "提现记录", + "group": "支付" + } + } + ] + }, + { + "root": "pages/activity", + "pages": [ + { + "path": "groupon/detail", + "style": { + "navigationBarTitleText": "拼团详情" + } + }, + { + "path": "groupon/order", + "style": { + "navigationBarTitleText": "我的拼团", + "enablePullDownRefresh": true + }, + "meta": { + "auth": true, + "sync": true, + "title": "拼团订单", + "group": "营销活动" + } + }, + { + "path": "index", + "style": { + "navigationBarTitleText": "营销商品" + }, + "meta": { + "sync": true, + "title": "营销商品", + "group": "营销活动" + } + }, + { + "path": "groupon/list", + "style": { + "navigationBarTitleText": "拼团活动" + }, + "meta": { + "sync": true, + "title": "拼团活动", + "group": "营销活动" + } + }, + { + "path": "seckill/list", + "style": { + "navigationBarTitleText": "秒杀活动" + }, + "meta": { + "sync": true, + "title": "秒杀活动", + "group": "营销活动" + } + } + ] + } + ], + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "星品购", + "navigationBarBackgroundColor": "#FFFFFF", + "backgroundColor": "#FFFFFF", + "navigationStyle": "custom" + }, + "tabBar": { + "list": [ + { + "pagePath": "pages/index/index" + }, + { + "pagePath": "pages/index/cart" + }, + { + "pagePath": "pages/index/user" + } + ] + } +} diff --git a/pages/app/score-shop.vue b/pages/app/score-shop.vue deleted file mode 100644 index e00605fe..00000000 --- a/pages/app/score-shop.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - diff --git a/pages/coupon/detail.vue b/pages/coupon/detail.vue index 92318996..0a760d27 100644 --- a/pages/coupon/detail.vue +++ b/pages/coupon/detail.vue @@ -1,350 +1,378 @@ \ No newline at end of file + .all-user { + width: 100%; + height: 300rpx; + font-size: 34rpx; + font-weight: bold; + color: #333333; + } + diff --git a/pages/coupon/list.vue b/pages/coupon/list.vue index 4833d38b..5c01f294 100644 --- a/pages/coupon/list.vue +++ b/pages/coupon/list.vue @@ -1,265 +1,222 @@ \ No newline at end of file + .disabled-btn { + background: #cccccc; + background-color: #cccccc !important; + color: #fff !important; + } + diff --git a/pages/goods/comment/add.vue b/pages/goods/comment/add.vue index a0902194..9ffda276 100644 --- a/pages/goods/comment/add.vue +++ b/pages/goods/comment/add.vue @@ -3,35 +3,34 @@ - + - + - - - 商品质量 - - + 商品质量 + - - - 服务态度 - - + 服务态度 + - + placeholder="宝贝满足你的期待吗?说说你的使用心得,分享给想买的他们吧~" /> + @@ -41,6 +40,7 @@ + @@ -54,113 +54,49 @@ diff --git a/pages/goods/components/detail/detail-cell-params.vue b/pages/goods/components/detail/detail-cell-params.vue deleted file mode 100644 index d7f31c4a..00000000 --- a/pages/goods/components/detail/detail-cell-params.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - - - diff --git a/pages/goods/components/detail/detail-cell-service.vue b/pages/goods/components/detail/detail-cell-service.vue deleted file mode 100644 index f24431e0..00000000 --- a/pages/goods/components/detail/detail-cell-service.vue +++ /dev/null @@ -1,121 +0,0 @@ - - - - - diff --git a/pages/goods/components/detail/detail-cell.vue b/pages/goods/components/detail/detail-cell.vue index b29f3669..b4c56dd5 100644 --- a/pages/goods/components/detail/detail-cell.vue +++ b/pages/goods/components/detail/detail-cell.vue @@ -1,3 +1,4 @@ +