From 48eeefa8c14ed4c1e5cef2c8e4b52a78ec9afdf2 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Fri, 21 Nov 2025 20:45:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=B5=84=E6=BA=90=E7=BB=84=E9=85=8D?= =?UTF-8?q?=E7=BD=AE):=20=E6=96=B0=E5=A2=9E=E2=80=9C=E8=8D=A3=E8=AA=89?= =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E2=80=9D=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../props/props-source-group/form-edit.vue | 112 +++++++++++++++++- 1 file changed, 111 insertions(+), 1 deletion(-) diff --git a/src/views/props/props-source-group/form-edit.vue b/src/views/props/props-source-group/form-edit.vue index f37d9ea..5ca276b 100644 --- a/src/views/props/props-source-group/form-edit.vue +++ b/src/views/props/props-source-group/form-edit.vue @@ -100,7 +100,10 @@ " >数量:{{ item.content }} - {{ item.badgeName }} 天数:{{ item.quantity }} + + + + + +
+ +
+
+ {{ pItem.name }} +
+
+
+
+
+ + + + + + + + + + + + + +
道具券 + 荣誉活动
@@ -785,6 +873,11 @@ export default { loading: false, loadData: false, list: [] + }, + HONOR_ACTIVITY: { + loading: false, + loadData: false, + list: [] } }, propsTypeMap: { @@ -865,6 +958,11 @@ export default { DATA_CARD: { value: "PROPS", name: "资料卡" + }, + + HONOR_ACTIVITY: { + value: "HONOR_ACTIVITY", + name: "荣誉-活动" } }, isChangeSource: false, @@ -1056,6 +1154,10 @@ export default { that.addContentData(type); return; } + // if (that.isHONORACTIVITY(type)) { + // that.addContentData(type); + // return; + // } if (that.propsTypeData[type].loadData === true) { that.addContentData(type); return; @@ -1207,6 +1309,10 @@ export default { if (this.isRoomBadge(type)) { return "ROOM_ACHIEVEMENT"; } + + if (this.isHONORACTIVITY(type)) { + return "HONOR_ACTIVITY"; + } return null; }, isCurrency(type) { @@ -1220,6 +1326,10 @@ export default { isPROPCOUPON(type) { return type === "PROP_COUPON"; }, + // 是否为荣誉活动 + isHONORACTIVITY(type) { + return type === "HONOR_ACTIVITY"; + }, isBadge(type) { return this.isRoomBadge(type) || this.isUserBadge(type); },