diff --git a/pages/goods/goodsInfo/goodsInfo.js b/pages/goods/goodsInfo/goodsInfo.js index 2430937..9ec51eb 100644 --- a/pages/goods/goodsInfo/goodsInfo.js +++ b/pages/goods/goodsInfo/goodsInfo.js @@ -2842,7 +2842,7 @@ close_popup:function(e){ }, //把选择的门店设置成默认的门店def_pick - set_def_pick:function (e) { + set_def_pick:function (e) { var th = this; var item = null; var openindstore = e.currentTarget.dataset.openindstore; if (openindstore == 1) { @@ -2850,18 +2850,18 @@ close_popup:function(e){ th.setData({ openSpecModal: !0, openSpecModal_ind: openindstore, - store: 0, choice_sort_store: 0, sort_store: 0 + store: 0, choice_sort_store: 0, sort_store: 0, }); } else if (openindstore == 2) { th.setData({ openSpecModal: !0, openSpecModal_ind: openindstore, - store: 0, choice_sort_store: 0, sort_store: 0 + store: 0, choice_sort_store: 0, sort_store: 0, }); } else { th.setData({ - store: 0, choice_sort_store: 0, sort_store: 0 + store: 0, choice_sort_store: 0, sort_store: 0, }) } @@ -2886,7 +2886,7 @@ close_popup:function(e){ success:function(res){ console.log("是什么",res.data.code); if (res.data.code!=-1){ - console.log("门店地址成功"); + th.setData({fir_pick_index:0}); s.showWarning("设置门店地址成功", null, 500, !1); }else{ console.log("门店地址失败"); @@ -2895,7 +2895,7 @@ close_popup:function(e){ } }); - console.log("王朝马汉吱吱吱吱7",item); + th.setData({ def_pick_store: item, sto_sele_name: item.pickup_name, sto_sele_id: item.pickup_id, sto_sele_distr: item.distr_type, store: 0, choice_sort_store: 0 diff --git a/pages/goods/goodsInfo/goodsInfo.wxss b/pages/goods/goodsInfo/goodsInfo.wxss index f448b31..ba50e8b 100644 --- a/pages/goods/goodsInfo/goodsInfo.wxss +++ b/pages/goods/goodsInfo/goodsInfo.wxss @@ -2278,10 +2278,8 @@ width: 40rpx; padding-left: 15rpx; padding-right: 15rpx; background: #eee; - border-radius: 20rpx; - height: 30rpx; -line-height: 30rpx; - + border-radius: 20rpx; + margin-right: 5rpx; } /* 选择门店的弹窗 */ .mongolia-layer{