修改bug
This commit is contained in:
parent
af1f84f917
commit
c671650574
@ -189,12 +189,13 @@
|
|||||||
tabbar
|
tabbar
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
this.getUser()
|
||||||
this.query.storeId = uni.getStorageSync("storeId")
|
this.query.storeId = uni.getStorageSync("storeId")
|
||||||
this.query.chainStoreId = uni.getStorageSync('chainStoreId')
|
this.query.chainStoreId = uni.getStorageSync('chainStoreId')
|
||||||
this.getUserBalance();
|
this.getUserBalance();
|
||||||
this.getGiftRecords();
|
this.getGiftRecords();
|
||||||
this.getUserInfoList();
|
|
||||||
this.getUser()
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 查询当前登录用户信息
|
// 查询当前登录用户信息
|
||||||
|
@ -86,7 +86,8 @@
|
|||||||
storeId: '',
|
storeId: '',
|
||||||
show: false,
|
show: false,
|
||||||
options: {
|
options: {
|
||||||
code: 'https://www.tuofeng.cc/oily?storeId=19&userId=45',
|
code: 'https://www.tuofeng.cc/oily?storeId=' + uni.getStorageSync('storeId') + '&userId=' + uni
|
||||||
|
.getStorageSync('userId') + '&type=yaoqingyouli',
|
||||||
// code: 'https://www.tuofeng.cc/oily?storeId=' + uni.getStorageSync('storeId') + ' &userId=' + uni
|
// code: 'https://www.tuofeng.cc/oily?storeId=' + uni.getStorageSync('storeId') + ' &userId=' + uni
|
||||||
// .getStorageSync('userId'), // 生成二维码的值
|
// .getStorageSync('userId'), // 生成二维码的值
|
||||||
size: 460, // 460代表生成的二维码的宽高均为460rpx
|
size: 460, // 460代表生成的二维码的宽高均为460rpx
|
||||||
@ -95,8 +96,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
console.log(uni.getStorageSync('userId'));
|
let codes = 'https://www.tuofeng.cc/oily?storeId=' + uni.getStorageSync('storeId') +
|
||||||
console.log(uni.getStorageSync('storeId'));
|
'&userId=' + uni.getStorageSync('userId') + '&type=yaoqingyouli'
|
||||||
|
console.log(codes);
|
||||||
this.query.storeId = uni.getStorageSync("storeId");
|
this.query.storeId = uni.getStorageSync("storeId");
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -400,4 +402,4 @@
|
|||||||
padding: 0px !important;
|
padding: 0px !important;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue
Block a user