Commit 766f1d3d authored by xd's avatar xd

精准营销活动页测试成功

parent 072d05c7
...@@ -232,7 +232,7 @@ export default { ...@@ -232,7 +232,7 @@ export default {
}; };
}, },
created() { created() {
this.overlayShow = true // this.overlayShow = true
this.checkNowMenuBar() this.checkNowMenuBar()
// this.zcache.userId = 'ShanDian' // this.zcache.userId = 'ShanDian'
// this.getUserFromId(this.zcache.userId) // this.getUserFromId(this.zcache.userId)
...@@ -451,7 +451,6 @@ export default { ...@@ -451,7 +451,6 @@ export default {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
getStoreDetail(params).then(res => { getStoreDetail(params).then(res => {
if (res.data.stallInfo != null) { if (res.data.stallInfo != null) {
this.test.manInfo.barName = res.data.stallInfo.name
sessionStorage.setItem("barName", res.data.stallInfo.name) sessionStorage.setItem("barName", res.data.stallInfo.name)
resolve(res.data.stallInfo.name) resolve(res.data.stallInfo.name)
} }
...@@ -462,7 +461,7 @@ export default { ...@@ -462,7 +461,7 @@ export default {
}, },
getAllInfo(list) { getAllInfo(list) {
console.log('getAllInfo'); console.log('getAllInfo');
Promise.all([this.getUserInfo(), this.getFans(), this.getAllFans(),this.getAddFans(1,this.zcache.userId),this.getAddFans(2,list)]).then(res => { Promise.all([this.getUserInfo(), this.getFans(), this.getAllFans(),this.getAddFans(1,this.zcache.userId),this.getAddFans(2,list), this.getStore()]).then(res => {
console.log('进来了'); console.log('进来了');
console.log(res,'promise'); console.log(res,'promise');
this.test.manInfo.logoUrl = res[0] this.test.manInfo.logoUrl = res[0]
...@@ -470,6 +469,7 @@ export default { ...@@ -470,6 +469,7 @@ export default {
this.test.barInfo.fans = res[2] this.test.barInfo.fans = res[2]
this.test.barInfo.newFans = res[3] this.test.barInfo.newFans = res[3]
this.test.barInfo.allNewFans = res[4] this.test.barInfo.allNewFans = res[4]
this.test.manInfo.barName = res[5]
this.overlayShow = false this.overlayShow = false
// this.getAddFans(2,this.memberList).then(res => { // this.getAddFans(2,this.memberList).then(res => {
// this.test.barInfo.allNewFans = res // this.test.barInfo.allNewFans = res
...@@ -535,6 +535,7 @@ export default { ...@@ -535,6 +535,7 @@ export default {
this.zTestPreAuthCode(); this.zTestPreAuthCode();
} else { } else {
// alert('有code') // alert('有code')
this.overlayShow = true
this.zTestGetNowUrlInfo(); this.zTestGetNowUrlInfo();
this.zTestGetUserInfoByOldToken(); this.zTestGetUserInfoByOldToken();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment