From 1246810c01b58fe412762d2a900df188bd2c38d0 Mon Sep 17 00:00:00 2001 From: mabo Date: Wed, 7 Jul 2021 15:34:38 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../goodsDetail/ShowGoodsDetail.vue | 2 +- buyer/src/config/index.js | 8 +- .../pages/home/orderCenter/OrderDetail.vue | 11 ++- manager/src/config/index.js | 8 +- .../shrinkable-menu/shrinkable-menu.vue | 9 +- .../shrinkable-menu/styles/menu.scss | 9 +- manager/src/views/member/list/index.vue | 23 ++---- manager/src/views/promotion/coupon/coupon.vue | 8 +- .../views/promotion/coupon/couponPublish.vue | 35 ++++---- .../views/promotion/couponActivity/coupon.vue | 2 +- .../src/views/seller/shop/shopOperation.vue | 82 +++++++++---------- seller/src/config/index.js | 16 ++-- .../views/goods/goods-seller/addGoods.scss | 10 +-- .../goods/goods-seller/goodsOperation.vue | 35 ++++---- .../shrinkable-menu/styles/menu.scss | 9 +- .../src/views/my-components/lili/editor.vue | 11 ++- seller/src/views/promotion/coupon/coupon.vue | 9 +- .../views/promotion/coupon/couponPublish.vue | 4 +- seller/src/views/promotion/live/addLive.vue | 4 +- 19 files changed, 144 insertions(+), 151 deletions(-) diff --git a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue index c52ac831..63d93656 100644 --- a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue +++ b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue @@ -222,7 +222,7 @@ export default { }); window.addEventListener('scroll', this.handleScroll) this.getList(); - }, + } }; diff --git a/buyer/src/config/index.js b/buyer/src/config/index.js index e3011596..f6d6212c 100644 --- a/buyer/src/config/index.js +++ b/buyer/src/config/index.js @@ -17,10 +17,10 @@ export default { * @description api请求基础路径 */ api_dev: { - // common: 'http://192.168.0.100:8890', - // buyer: 'http://192.168.0.100:8888', - // seller: 'http://192.168.0.100:8889', - // manager: 'http://192.168.0.100:8887' + // common: 'http://192.168.0.106:8890', + // buyer: 'http://192.168.0.106:8888', + // seller: 'http://192.168.0.106:8889', + // manager: 'http://192.168.0.106:8887' common: 'https://common-api.pickmall.cn', buyer: 'https://buyer-api.pickmall.cn', diff --git a/buyer/src/pages/home/orderCenter/OrderDetail.vue b/buyer/src/pages/home/orderCenter/OrderDetail.vue index 5baf7772..08ddc03a 100644 --- a/buyer/src/pages/home/orderCenter/OrderDetail.vue +++ b/buyer/src/pages/home/orderCenter/OrderDetail.vue @@ -46,9 +46,7 @@ 商品 - 货号 - 单价 数量 小计 @@ -82,10 +80,11 @@
运费:+{{ order.order.freightPrice | unitPrice("¥") }}
-
优惠金额:-{{ order.order.discountPrice | unitPrice("¥") }}
+
优惠券:-{{ order.order.priceDetailDTO.couponPrice || 0 | unitPrice("¥") }}
+
活动优惠:-{{ order.order.discountPrice | unitPrice("¥") }}
- 应付金额:{{ order.order.flowPrice | unitPrice("¥") }} + 应付金额: + {{ order.order.flowPrice | unitPrice("¥") }}
@@ -121,7 +120,7 @@ export default { }); window.open(routeUrl.href, '_blank'); }, - getDetail () { // 订单详情 + getDetail () { // 获取订单详情 orderDetail(this.$route.query.sn).then(res => { if (res.success) { this.order = res.result; diff --git a/manager/src/config/index.js b/manager/src/config/index.js index 47d48b7a..a4a19129 100644 --- a/manager/src/config/index.js +++ b/manager/src/config/index.js @@ -21,10 +21,10 @@ export default { buyer: "https://buyer-api.pickmall.cn", seller: "https://store-api.pickmall.cn", manager: "https://admin-api.pickmall.cn" - // common: 'http://192.168.0.105:8890', - // buyer: 'http://192.168.0.105:8888', - // seller: 'http://192.168.0.105:8889', - // manager: 'http://192.168.0.105:8887' + // common: 'http://192.168.0.106:8890', + // buyer: 'http://192.168.0.106:8888', + // seller: 'http://192.168.0.106:8889', + // manager: 'http://192.168.0.106:8887' }, api_prod: { common: "https://common-api.pickmall.cn", diff --git a/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue b/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue index aabb380e..43783fa2 100644 --- a/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue +++ b/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue @@ -51,8 +51,6 @@ export default { } } }, - mounted() { - }, methods: { changeMenu(name) { //二级路由点击 console.log(name) @@ -60,14 +58,9 @@ export default { name: name }); }, - selectNav(name) { + selectNav(name) { // 一级路由点击事件 this.$store.commit("setCurrNav", name); this.setStore("currNav", name); - // if (this.$route.name != "home_index") { - // this.$router.push({ - // name: "home_index" - // }); - // } util.initRouter(this); }, } diff --git a/manager/src/views/main-components/shrinkable-menu/styles/menu.scss b/manager/src/views/main-components/shrinkable-menu/styles/menu.scss index f2a71fac..bfc7cf9b 100644 --- a/manager/src/views/main-components/shrinkable-menu/styles/menu.scss +++ b/manager/src/views/main-components/shrinkable-menu/styles/menu.scss @@ -3,9 +3,7 @@ width: 180px; display: flex; } -.ivu-menu-vertical .ivu-menu-item-group-title { - padding-left: 5px; -} + .ivu-btn-text:hover { background-color: rgba(255,255,255,.2) !important; } @@ -21,3 +19,8 @@ .ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu), .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu){ color: #ed3f14; } +/deep/.ivu-menu-vertical .ivu-menu-item-group-title { + height: 40px; + line-height: 40px; + padding-left: 20px; +} \ No newline at end of file diff --git a/manager/src/views/member/list/index.vue b/manager/src/views/member/list/index.vue index d6a2ba21..be3cd83d 100644 --- a/manager/src/views/member/list/index.vue +++ b/manager/src/views/member/list/index.vue @@ -30,26 +30,22 @@ - +
- + - +
-