From 401572a4466ac2b40715ae44b3646905fe1b68e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com>
Date: Mon, 18 Mar 2024 19:23:28 +0800
Subject: [PATCH] xg
---
pagesB/PointsMall/PointsMall.vue | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/pagesB/PointsMall/PointsMall.vue b/pagesB/PointsMall/PointsMall.vue
index a238728..a7f871d 100644
--- a/pagesB/PointsMall/PointsMall.vue
+++ b/pagesB/PointsMall/PointsMall.vue
@@ -11,13 +11,14 @@
{{item.score?item.score:''}}积分
- 提交兑换申请
+ 兑换
+
@@ -33,6 +34,8 @@
export default {
data() {
return {
+ updatashow: false,
+ updataitem: {},
query: {
identity: uni.getStorageSync('userinfo').cardNo,
pageNum: 1,
@@ -54,10 +57,10 @@
}
},
methods: {
- goexchange(item) {
+ updataconfirm() {
var obj = {
identity: this.query.identity,
- prizeId: item.prizeId,
+ prizeId: this.updataitem.prizeId,
source: 2
}
prizeExchangesave(obj).then(res => {
@@ -76,6 +79,10 @@
}
})
},
+ goexchange(item) {
+ this.updatashow = true
+ this.updataitem = item
+ },
info() {
prizelist(this.query).then(res => {
res.rows.forEach(e => {