diff --git a/buyer/src/components/Search.vue b/buyer/src/components/Search.vue index 76d34ccd..1ac92403 100644 --- a/buyer/src/components/Search.vue +++ b/buyer/src/components/Search.vue @@ -147,12 +147,14 @@ export default { cursor: pointer; } .store-search{ - width:63px; + width:55.6px; padding: 0 9px; border-radius: 0; + border-radius: 3px; &:nth-child(2){ - width:62px; - margin-left: -5px; + width:55px; + margin-left: -2px; + border-radius: 3px; } } .btn-div{ diff --git a/buyer/src/components/indexDecorate/modelList/Recommend.vue b/buyer/src/components/indexDecorate/modelList/Recommend.vue index eefa0aa3..41862ff2 100644 --- a/buyer/src/components/indexDecorate/modelList/Recommend.vue +++ b/buyer/src/components/indexDecorate/modelList/Recommend.vue @@ -161,7 +161,7 @@ export default { padding: 0 10px; font-size: 12px; >div:nth-child(1) { - width: 130px; + margin-top: 30px; span:nth-child(1){ color: #fff; @@ -169,7 +169,7 @@ export default { padding: 0 5px; background-color: #a25684; display: block; - width: 120px; + overflow: hidden; white-space: nowrap; margin: 0 10px 10px 0; diff --git a/buyer/src/pages/home/orderCenter/ApplyAfterSale.vue b/buyer/src/pages/home/orderCenter/ApplyAfterSale.vue index 3f0441cf..91911629 100644 --- a/buyer/src/pages/home/orderCenter/ApplyAfterSale.vue +++ b/buyer/src/pages/home/orderCenter/ApplyAfterSale.vue @@ -12,7 +12,7 @@
diff --git a/buyer/src/router/index.js b/buyer/src/router/index.js index 80251a22..5dfb92eb 100644 --- a/buyer/src/router/index.js +++ b/buyer/src/router/index.js @@ -97,6 +97,14 @@ const ShopEntry = (resolve) => Vue.use(Router); +/** + * 解决重复点击菜单会控制台报错bug + */ + const routerPush = Router.prototype.push + Router.prototype.push = function push(location) { + return routerPush.call(this, location).catch(error=> error) + } + export default new Router({ mode: "history", routes: [ diff --git a/manager/src/router/index.js b/manager/src/router/index.js index 4064391d..3d4484c3 100644 --- a/manager/src/router/index.js +++ b/manager/src/router/index.js @@ -13,6 +13,14 @@ const RouterConfig = { routes: routers }; +/** + * 解决重复点击菜单会控制台报错bug + */ +const routerPush = VueRouter.prototype.push +VueRouter.prototype.push = function push(location) { + return routerPush.call(this, location).catch(error=> error) +} + export const router = new VueRouter(RouterConfig); router.beforeEach((to, from, next) => { @@ -44,3 +52,5 @@ router.afterEach((to) => { ViewUI.LoadingBar.finish(); window.scrollTo(0, 0); }); + + diff --git a/manager/src/views/my-components/lili/upload-pic-thumb.vue b/manager/src/views/my-components/lili/upload-pic-thumb.vue index 55103adb..3f464c76 100644 --- a/manager/src/views/my-components/lili/upload-pic-thumb.vue +++ b/manager/src/views/my-components/lili/upload-pic-thumb.vue @@ -62,7 +62,7 @@ export default { }, props: { value: { - type: Object + type: null }, draggable: { type: Boolean, diff --git a/manager/src/views/order/order/orderDetail.vue b/manager/src/views/order/order/orderDetail.vue index 998cb3bb..7a113845 100644 --- a/manager/src/views/order/order/orderDetail.vue +++ b/manager/src/views/order/order/orderDetail.vue @@ -587,7 +587,7 @@ export default { if (!params.row.goodsPrice) { return h("div", this.$options.filters.unitPrice(0, "¥")); } - return h("div", this.$options.filters.unitPrice(params.row.goodsPrice, "¥")); + return h("div", this.$options.filters.unitPrice(params.row.unitPrice, "¥")); }, }, @@ -601,7 +601,7 @@ export default { key: "subTotal", minWidth: 100, render: (h, params) => { - return h("div", this.$options.filters.unitPrice(params.row.subTotal, "¥")); + return h("div", this.$options.filters.unitPrice(params.row.flowPrice, "¥")); }, }, ], @@ -674,8 +674,7 @@ export default { }, modifyPrice() { //默认要修改的金额为订单总金额 - this.modifyPriceForm.price = this.orderInfo.order.subTotal; - console.log(this.modifyPriceForm.price) + this.modifyPriceForm.price = this.orderInfo.order.flowPrice; this.modal = true; }, //修改订单金额提交 diff --git a/manager/src/views/region/index.vue b/manager/src/views/region/index.vue index a3e5b5c6..64d46a71 100644 --- a/manager/src/views/region/index.vue +++ b/manager/src/views/region/index.vue @@ -1,7 +1,11 @@