From f1f6605617c2dfb7ccfbe9d03779f8915002a91d Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Wed, 25 Dec 2024 13:40:38 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=A5=96=E5=8A=B1=E5=88=97?=
=?UTF-8?q?=E8=A1=A8=E5=A2=9E=E5=8A=A0=E5=9B=BE=E7=89=87=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/renwu/components/pop-add-gift.vue | 1 +
src/views/renwu/components/pop-gift-list.vue | 14 ++++++++++++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/views/renwu/components/pop-add-gift.vue b/src/views/renwu/components/pop-add-gift.vue
index 554a8fa..637571a 100644
--- a/src/views/renwu/components/pop-add-gift.vue
+++ b/src/views/renwu/components/pop-add-gift.vue
@@ -30,6 +30,7 @@
金币
现金
+ 虚拟物品
大转盘抽奖次数
diff --git a/src/views/renwu/components/pop-gift-list.vue b/src/views/renwu/components/pop-gift-list.vue
index a215732..1e3c63f 100644
--- a/src/views/renwu/components/pop-gift-list.vue
+++ b/src/views/renwu/components/pop-gift-list.vue
@@ -18,6 +18,15 @@
{{ returnTypeName(scope.row.type) }}
+
+
+
+
+
{{ scope.row.number }}
@@ -106,15 +115,16 @@ export default {
const $types = {
1: "金币",
2: "现金红包",
+ 3: "虚拟物品",
9: "大转盘抽奖次数",
};
return $types[type] ? $types[type] : "";
},
//数据初始化
async init() {
- const {id}=this.renwu;
+ const { id } = this.renwu;
const { data } = await $api.getList({
- taskId:id,
+ taskId: id,
page: this.page,
limit: this.limit,
});