From da5cc8335fdca2a3ad3b2827e99dec91d9708a7b Mon Sep 17 00:00:00 2001 From: mabo Date: Mon, 17 May 2021 17:38:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AE=A1=E7=90=86=E7=AB=AFbu?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/styles/common.scss | 4 +- .../main-components/tags-page-opened.vue | 14 +---- seller/src/assets/logo-min.png | Bin 4637 -> 0 bytes seller/src/styles/common.scss | 4 +- .../goods/goods-seller/goodsOperation.vue | 55 +++++++++++++++++- seller/src/views/main.scss | 2 +- .../views/promotion/pintuan/pintuanGoods.vue | 31 +++------- .../src/views/promotion/seckill/seckill.vue | 11 +++- .../views/promotion/seckill/seckillGoods.vue | 7 +-- 9 files changed, 79 insertions(+), 49 deletions(-) delete mode 100644 seller/src/assets/logo-min.png diff --git a/manager/src/styles/common.scss b/manager/src/styles/common.scss index 29d84517..0aa5cad0 100644 --- a/manager/src/styles/common.scss +++ b/manager/src/styles/common.scss @@ -14,7 +14,9 @@ $theme_color: #804ed1; border-radius: 1em; background-color: rgba(50,50,50,.1); } - +.ivu-table table{ + width: 100%!important; +} .flex{ display: flex !important; diff --git a/manager/src/views/main-components/tags-page-opened.vue b/manager/src/views/main-components/tags-page-opened.vue index 0df6ed37..9e2f432b 100644 --- a/manager/src/views/main-components/tags-page-opened.vue +++ b/manager/src/views/main-components/tags-page-opened.vue @@ -8,20 +8,8 @@ @mousewheel="handlescroll" class="tags-outer-scroll-con" > - -
diff --git a/seller/src/assets/logo-min.png b/seller/src/assets/logo-min.png deleted file mode 100644 index 6de196a82fcf67d5753222b8aa3840384722e166..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4637 zcmV+&65{QNP)7S9qIW}B%1xp~i4u`0QKCd7N|Y!Oi4rAB zM508A5|Joz?3#sd8&S5#|Eni@;`f%sD_RsRinYvC#z2{w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>EKUETVHYiPMcvUX3#I6*IM2UxGtJiCn2{C$5E z>ZdlIAYvXk-kd0eIEgRUAaSabGiW2AhyTir4p*+@UW{AD7ygFJ({{O_TWLw3VP(V! zEg+0Skgi8l+wsiSL3TBgg3Y@9AqYMuTkCKRBO_}`UcrT7k~=8M2~LR@WoV`d#Rm(; zFv%mN?xhNkLh(R>b~^o&%d3m4>&I>NA3D05W4Q1*%1TRH{&-RHjz&tee9^c;$?vqNhX^cLc{U#Q`7OImQ4VyPYhoL{edzGuqwL z>+8pSeD8}SPskF=>#Hj``0>T1GZ;oW`9V0o5=tPG zfKFaDDbt-9pauiHu|7#p@^YM$qDajJ2GllU>CHrLJDrcRLeZ^4ke)xun>>-bQ2_0p zo>`p%VS2Hmw3{K<;~9vOoiwqP$Zsd}JLv+xe0eIuifP4wkL>{kL}R+Kd4hhJx_^ zQ-+z*Y)PTYse^Z)I(7d5Z-3mz7eWtzue+ICXw-Ja-RAyZ-SsI=hMU z_HwnFT9Idg*j8#urNmrP&be4E9fY# diff --git a/seller/src/styles/common.scss b/seller/src/styles/common.scss index 41d2dd26..63488166 100644 --- a/seller/src/styles/common.scss +++ b/seller/src/styles/common.scss @@ -14,7 +14,9 @@ $theme_color: #804ed1; border-radius: 1em; background-color: rgba(50,50,50,.1); } - +.ivu-table table { + width: 100%!important; +} .flex{ display: flex !important; diff --git a/seller/src/views/goods/goods-seller/goodsOperation.vue b/seller/src/views/goods/goods-seller/goodsOperation.vue index 4ae186a7..5a3362d7 100644 --- a/seller/src/views/goods/goods-seller/goodsOperation.vue +++ b/seller/src/views/goods/goods-seller/goodsOperation.vue @@ -28,7 +28,7 @@ :key="index" > {{ item.name }} - + >
    @@ -39,7 +39,7 @@ :key="index" > {{ item.name }} - + >
    @@ -701,6 +701,34 @@ export default { this.activestep = 1; this.isOperationGoods = false; this.GET_GoodData(); + } else if (to.query.id) { + this.activestep = 1; + this.goodsId = this.$route.query.id; + this.GET_GoodData(); + } else { + this.baseInfoForm = { + salesModel: "RETAIL", + goodsParamsList: [], + freightPayer: "BUYER", + weight: "", + goodsGalleryFiles: [], + release: "true", + recommend: "true", + storeCategoryPath: "", + brandId: 0, + goodsUnit: "", + categoryPath: "", + sellingPoint: "", + intro: "", + mobileIntro: "", + updateSku: true, + regeneratorSkuFlag: false, + templateId: 0, + }; + this.activestep = 0; + this.isPublish = true; + this.GET_GoodsTemplate(); + this.GET_NextLevelCategory(); } } }, @@ -985,7 +1013,25 @@ export default { } //新增商品 else { - this.baseInfoForm = {}; + this.baseInfoForm = { + salesModel: "RETAIL", + goodsParamsList: [], + freightPayer: "BUYER", + weight: "", + goodsGalleryFiles: [], + release: "true", + recommend: "true", + storeCategoryPath: "", + brandId: 0, + goodsUnit: "", + categoryPath: "", + sellingPoint: "", + intro: "", + mobileIntro: "", + updateSku: true, + regeneratorSkuFlag: false, + templateId: 0, + }; this.activestep = 0; this.isPublish = true; this.GET_GoodsTemplate(); @@ -1088,6 +1134,7 @@ export default { }); }, handleBeforeUploadGoodsPicture() { + console.log(this.baseInfoForm); const check = this.baseInfoForm.goodsGalleryFiles.length < 5; if (!check) { this.$Notice.warning({ @@ -1198,6 +1245,7 @@ export default { ...this.baseInfoForm, ...response.result, }; + console.warn(this.baseInfoForm); if (this.baseInfoForm.freightPayer != "BUYER") { API_Shop.getShipTemplate().then((res) => { if (res.success) { @@ -1702,6 +1750,7 @@ export default { this.GET_GoodData(); return; } + console.log(this.baseInfoForm); this.GET_GoodsParams(); /** 1级校验 */ this.loading = true; diff --git a/seller/src/views/main.scss b/seller/src/views/main.scss index d4d2ea6d..15864933 100644 --- a/seller/src/views/main.scss +++ b/seller/src/views/main.scss @@ -258,7 +258,7 @@ top: 100px; right: 0; bottom: 0; - height: calc(100% + 52px); + height: calc(100% + 200px); width: calc(100% - 240px); background-color: #f0f0f0; diff --git a/seller/src/views/promotion/pintuan/pintuanGoods.vue b/seller/src/views/promotion/pintuan/pintuanGoods.vue index b1d56c37..73aedb0f 100644 --- a/seller/src/views/promotion/pintuan/pintuanGoods.vue +++ b/seller/src/views/promotion/pintuan/pintuanGoods.vue @@ -19,11 +19,14 @@ +
    @@ -138,27 +141,9 @@ export default { { title: "操作", - key: "action", + slot: "action", minWidth: 50, align: "center", - render: (h, params) => { - return h( - "Button", - { - props: { - size: "small", - type: "error", - ghost: true, - }, - on: { - click: () => { - this.delGoods(params.index); - }, - }, - }, - "删除" - ); - }, }, ], goodsData: [], // 商品列表 @@ -327,9 +312,9 @@ export default { margin: 20px 0; font-size: 15px; &::before{ - content: ''; - border: 1px solid $theme_color; - height: 10px; + content: '|'; + color: $theme_color; + display: inline-block; font-weight: bold; font-size: 16px; margin-right: 5px; diff --git a/seller/src/views/promotion/seckill/seckill.vue b/seller/src/views/promotion/seckill/seckill.vue index 9367daa3..49d4ced7 100644 --- a/seller/src/views/promotion/seckill/seckill.vue +++ b/seller/src/views/promotion/seckill/seckill.vue @@ -64,14 +64,19 @@ diff --git a/seller/src/views/promotion/seckill/seckillGoods.vue b/seller/src/views/promotion/seckill/seckillGoods.vue index 3b6fb1fd..7dfa3450 100644 --- a/seller/src/views/promotion/seckill/seckillGoods.vue +++ b/seller/src/views/promotion/seckill/seckillGoods.vue @@ -16,7 +16,7 @@ - + 已选择 {{ selectCount }} @@ -101,8 +101,7 @@