1
0
Переглянути джерело

Merge branch 'featrue/首页门店隐藏091412' of qng/kmall-pt into master

钱能归 3 роки тому
батько
коміт
b9aed42dde

+ 1 - 1
kmall-admin/src/main/webapp/WEB-INF/page/shop/goods.html

@@ -143,7 +143,7 @@
                             :on-progress="uploadExcelProgress"
                             :format="['xls','xlsx','zip']"
                             action="../goods/generalGoodsImgUpload">
-                        <i-button type="ghost" icon="ios-cloud-upload-outline">商品图片批量导入(图片不能超过1M,最多30张)</i-button>
+                        <i-button type="ghost" icon="ios-cloud-upload-outline">商品图片批量导入(图片不能超过1M)</i-button>
                     </Upload>
                 </i-col>
 <!--                <i-col style="display: inline-grid;">-->

+ 13 - 5
wx-mall/pages/index/index.js

@@ -293,6 +293,8 @@ Page({
   // 此时 storeId已经保存到本地缓存中
   getStoreByIdWithMerch: function(callback) {
     let that = this;
+    var storeNameNew;
+    var isMapShowNew;
     util.request(api.StoreByIdWithMerch, {
       storeId: wx.getStorageSync('storeId'),
     }).then((res) => {
@@ -300,19 +302,25 @@ Page({
         if(res.data) {
           let storeVo = res.data.storeVo;
           let storeWithThirdMerchBizVo = res.data.storeWithThirdMerchBizVo;
-
+           if(storeWithThirdMerchBizVo.id == 161){
+            storeNameNew = '';
+            isMapShowNew = 0;
+           }else{
+            storeNameNew = storeWithThirdMerchBizVo.storeName
+            isMapShowNew = storeWithThirdMerchBizVo.isMapShow;
+           }
          that.setData({
            storeId: storeWithThirdMerchBizVo.id,
-           storeName: storeWithThirdMerchBizVo.storeName,
-           isMapShow: storeWithThirdMerchBizVo.isMapShow
+           storeName: storeNameNew,
+           isMapShow: isMapShowNew
          })
           console.log('获取第三方商户及门店信息,storeId:', storeWithThirdMerchBizVo.id)
           console.log('获取第三方商户及门店信息,storeName:', storeWithThirdMerchBizVo.storeName)
           console.log('获取第三方商户及门店信息,isMapShow:', storeWithThirdMerchBizVo.isMapShow)
 
           wx.setStorageSync('storeId', storeWithThirdMerchBizVo.id);
-          wx.setStorageSync('storeName', storeWithThirdMerchBizVo.storeName);
-          wx.setStorageSync('isMapShow', storeWithThirdMerchBizVo.isMapShow);
+          wx.setStorageSync('storeName', storeNameNew);
+          wx.setStorageSync('isMapShow', isMapShowNew);
           wx.setStorageSync('storeVo', JSON.stringify(storeVo));
         }
         if(callback){