积分相关更新

This commit is contained in:
GaoHao
2024-10-18 13:43:52 +08:00
parent 0131e97d21
commit 55ae63e94b
8 changed files with 562 additions and 69 deletions

View File

@@ -118,7 +118,7 @@
{name: "明细", url: "member/billDetails",icon: "https://czg-qr-order.oss-cn-beijing.aliyuncs.com/menber/detail.png"},
{name: "管理", url: "member/storedManage",icon: "https://czg-qr-order.oss-cn-beijing.aliyuncs.com/menber/manage.png"}
],
type: "",
}
},
async onLoad(e) {
@@ -141,6 +141,7 @@
this.paygetActive()
} else{
this.shopId = e.shopId;
this.type = e.type;
uni.cache.set('shopId',this.shopId)
this.shopInfo();
this.paygetActive()
@@ -193,7 +194,7 @@
let res = await this.api.paygetActive({
shopId: this.shopId,
page: 1,
pageSize: 10
pageSize: 99
})
try {
@@ -356,15 +357,20 @@
uni.requestSubscribeMessage({
tmplIds:["AV-KybUHaK3KtFVLqpy6PHccHBS7XeX__mOM4RbufnQ"],
complete() {
if ( pages.length > 1) {
_this.shopInfo()
if ( _this.type && _this.type == "topUpActivity") {
uni.pro.navigateBack()
} else {
setTimeout(res => {
uni.switchTab({
url: '/pages/index/index'
})
}, 500)
if ( pages.length > 1) {
_this.shopInfo()
} else {
setTimeout(res => {
uni.switchTab({
url: '/pages/index/index'
})
}, 500)
}
}
},
})

View File

@@ -58,7 +58,6 @@
console.log(res)
if (res.code == 0) {
this.createcardNo = res.data;
console.log(this.$refs.tkiBarcode)
this.$refs.tkiBarcode.setval(this.createcardNo) //操作属性
this.$refs.tkiQrcode.setval(this.createcardNo) //操作属性
}