From 3cb0e52ca027321ddf2862b9194cb562b91dd898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Thu, 9 Dec 2021 18:32:11 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A5=BC=E5=B1=82?= =?UTF-8?q?=E8=A3=85=E4=BF=AE=E4=B8=AD=E5=95=86=E5=93=81=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=8F=AF=E8=83=BD=E4=BC=9A=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E7=9A=84bug=20.=20=E5=A6=82=E6=9E=9C=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=AD=A4=E7=89=88=E6=9C=AC=E5=BB=BA=E8=AE=AE=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=9B=B4=E6=96=B0uni=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/lili-floor-renovation/wap/config.js | 60 ++++++------------- .../lili-floor-renovation/wap/decorate.vue | 5 +- .../views/lili-floor-renovation/wap/index.vue | 7 +++ .../wap/template/tpl_goods.vue | 3 +- 4 files changed, 31 insertions(+), 44 deletions(-) diff --git a/manager/src/views/lili-floor-renovation/wap/config.js b/manager/src/views/lili-floor-renovation/wap/config.js index 1ffbfdee..764a3e33 100644 --- a/manager/src/views/lili-floor-renovation/wap/config.js +++ b/manager/src/views/lili-floor-renovation/wap/config.js @@ -459,22 +459,32 @@ export const modelData = [ options: { list: [ { + /** + * 2021/12/9 + * 新增索引(‘index’)判断商品归属分类 + * 之前代码没有配置index也不会收到印象 + * 新建的楼层将采用索引判断分类 + */ titleWay: [ { title: "精选", - desc: "电子推荐" + desc: "电子推荐", + ___index:0, }, { title: "实惠", - desc: "便宜好货" + desc: "便宜好货", + ___index:1, }, { title: "进口", - desc: "国际自营" + desc: "国际自营", + ___index:2, }, { title: "推荐", - desc: "喂奶推荐" + desc: "喂奶推荐", + ___index:3, } ], listWay: [ @@ -483,50 +493,18 @@ export const modelData = [ price: "120", title: " 微软 (Microsoft) Xbox 无线控制器/手柄 湛蓝色 | 3.5mm耳机接口蓝牙连接 Xbox主机电脑平板通用", - type: "精选" + type: "精选", + ___index:0 }, { img: "https://i.loli.net/2020/12/05/c9mptI5Pg8qJ6ny.png", title: "宏碁(acer) DP高清线1.2版 2K*4KDisplayPort公对公接线笔记本电脑显卡连接显示器视频线1.5米", price: "190", - type: "精选" + type: "精选", + ___index:0 }, - { - img: "https://i.loli.net/2020/12/05/QsSYIPF743Hgf8q.png", - title: - "宏碁(acer) DP高清线1.2版 2K*4KDisplayPort公对公接线笔记本电脑显卡连接显示器视频线1.5米", - price: "10", - type: "精选" - }, - { - img: "https://i.loli.net/2020/12/05/VTwDYcLWnukGxat.png", - title: - "宏碁(acer) DP高清线1.2版 2K*4KDisplayPort公对公接线笔记本电脑显卡连接显示器视频线1.5米", - price: "190", - type: "精选" - }, - { - img: "https://i.loli.net/2020/12/05/SIFwaVpE4YJAuQf.png", - title: - "宏碁(acer) DP高清线1.2版 2K*4KDisplayPort公对公接线笔记本电脑显卡连接显示器视频线1.5米", - price: "10", - type: "精选" - }, - { - img: "https://i.loli.net/2021/05/14/KTLSrOVJmEdX12A.png", - title: - "宏碁(acer) DP高清线1.2版 2K*4KDisplayPort公对公接线笔记本电脑显卡连接显示器视频线1.5米", - price: "190", - type: "精选" - }, - { - img: "https://i.loli.net/2021/05/14/xA5FW2ubiShBdPE.jpg", - title: - "宏碁(acer) DP高清线1.2版 2K*4KDisplayPort公对公接线笔记本电脑显卡连接显示器视频线1.5米", - price: "10", - type: "精选" - } + ] } ] diff --git a/manager/src/views/lili-floor-renovation/wap/decorate.vue b/manager/src/views/lili-floor-renovation/wap/decorate.vue index dfea9350..0f968410 100644 --- a/manager/src/views/lili-floor-renovation/wap/decorate.vue +++ b/manager/src/views/lili-floor-renovation/wap/decorate.vue @@ -49,7 +49,7 @@
-
+
@@ -31,7 +31,6 @@ export default { selected: { // 已选数据 index: 0, - val: "", }, }; }, From 0b82ae7569c57691cfecdc58d2c2072f7e8b3426 Mon Sep 17 00:00:00 2001 From: Chopper Date: Thu, 9 Dec 2021 20:21:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=95=86=E5=AE=B6=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E5=9D=90=E5=B8=ADid=E4=BB=A3=E7=A0=81=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seller/src/api/shops.js | 6 +- seller/src/views/shop/shopSetting.vue | 79 +++++++++++++++++++++------ 2 files changed, 66 insertions(+), 19 deletions(-) diff --git a/seller/src/api/shops.js b/seller/src/api/shops.js index 7fb16d1a..edf8321e 100644 --- a/seller/src/api/shops.js +++ b/seller/src/api/shops.js @@ -89,6 +89,11 @@ export const getRefundGoodsAddress = () => { export const saveRefundGoodsAddress = (params) => { return putRequest(`/settings/storeAfterSaleAddress`, params) } +//修改im商户id +export const updatEmerchantId = (params) => { + return putRequest(`/settings/merchantEuid`, params) +} + //修改保存库存预警数 export const updateStockWarning = (params) => { @@ -113,4 +118,3 @@ export const editShipTemplate = (id, params, headers) => { } - diff --git a/seller/src/views/shop/shopSetting.vue b/seller/src/views/shop/shopSetting.vue index 30ba05ba..4533ff31 100644 --- a/seller/src/views/shop/shopSetting.vue +++ b/seller/src/views/shop/shopSetting.vue @@ -6,13 +6,13 @@
- + - + - + @@ -29,19 +29,20 @@ - + - + - - - + - + @@ -54,10 +55,24 @@ - + - + + + + + +
+ + + + +
@@ -71,12 +86,13 @@