修改bug

This commit is contained in:
齐天大圣 2024-01-05 14:24:09 +08:00
parent af1f84f917
commit c671650574
2 changed files with 9 additions and 6 deletions

View File

@ -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: {
// //

View File

@ -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, // 460460rpx size: 460, // 460460rpx
@ -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>