wangfukang 1 month ago
parent
commit
60cbd5caab
  1. 2
      components/tab-bar/myCenter.vue

2
components/tab-bar/myCenter.vue

@ -104,6 +104,7 @@
uni.setStorageSync('shopIcon',item.shopIcon) uni.setStorageSync('shopIcon',item.shopIcon)
uni.setStorageSync('shopScore',item.shopScore) uni.setStorageSync('shopScore',item.shopScore)
uni.setStorageSync('shopTakeaway',item.shopTakeaway) uni.setStorageSync('shopTakeaway',item.shopTakeaway)
uni.setStorageSync('attrId',item.attrId)
uni.navigateTo({ uni.navigateTo({
url: '/package2/shop/merchantCenter' url: '/package2/shop/merchantCenter'
}) })
@ -118,6 +119,7 @@
return return
}else if(this.schoolShop != ''){ }else if(this.schoolShop != ''){
uni.setStorageSync('shopId',this.schoolShop[0].id) uni.setStorageSync('shopId',this.schoolShop[0].id)
uni.setStorageSync('attrId',this.schoolShop[0].attrId)
uni.setStorageSync('shopName',this.schoolShop[0].shopName) uni.setStorageSync('shopName',this.schoolShop[0].shopName)
uni.setStorageSync('shopIcon',this.schoolShop[0].shopIcon) uni.setStorageSync('shopIcon',this.schoolShop[0].shopIcon)
uni.setStorageSync('shopScore',this.schoolShop[0].shopScore) uni.setStorageSync('shopScore',this.schoolShop[0].shopScore)

Loading…
Cancel
Save