From 49cdeb7407cb5a28f370b8919f4d4c1b205681ee Mon Sep 17 00:00:00 2001 From: liaozetao <1107136310@qq.com> Date: Wed, 21 Feb 2024 14:57:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=88=E6=9C=AC=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/resource/GamePlayView.vue | 13 ++++-- src/views/room/RoomTabHomeView.vue | 61 ++++++++++++++++++++++----- src/views/room/RoomTabMapView.vue | 64 +++++++++++++++-------------- 3 files changed, 94 insertions(+), 44 deletions(-) diff --git a/src/views/resource/GamePlayView.vue b/src/views/resource/GamePlayView.vue index d4f3e3f..562d6f5 100644 --- a/src/views/resource/GamePlayView.vue +++ b/src/views/resource/GamePlayView.vue @@ -75,7 +75,7 @@
跳转位置 - + @@ -116,7 +116,7 @@ {{ rule.ruleName }} + :placeholder="rule.description" v-if="rule.ruleKind != 'IN' && (!resource.ruleValue['PLATFORM'] || resource.ruleValue['PLATFORM'] == '' || resource.ruleValue['PLATFORM'] == 'null' || (rule.ruleCode == 'IOS_LOW_VERSION' && resource.ruleValue['PLATFORM'] == 'ios') || (rule.ruleCode == 'IOS_HIGH_VERSION' && resource.ruleValue['PLATFORM'] == 'ios') || (rule.ruleCode == 'ANDROID_LOW_VERSION' && resource.ruleValue['PLATFORM'] == 'android') || (rule.ruleCode == 'ANDROID_HIGH_VERSION' && resource.ruleValue['PLATFORM'] == 'android'))"> @@ -354,13 +354,20 @@ export default { if (endTime) { this.resource.endTime = new Date(endTime).format("yyyy-MM-dd hh:mm:ss"); } + let id = this.resource.id; + let skipType = this.resource.skipType; + if (!id && skipType == 1) { + $("#tipMsg").text('APP NATIVE不允许新增'); + $("#tipModal").modal('show'); + return; + } saveResource({ id: this.resource.id, code: this.resource.code, name: this.resource.name, icon: this.resource.icon, type: 3, - skipType: this.resource.skipType, + skipType: skipType, showType: this.resource.showType, skipContent: this.resource.skipContent, url: this.resource.url, diff --git a/src/views/room/RoomTabHomeView.vue b/src/views/room/RoomTabHomeView.vue index eafbe9a..7a841d1 100644 --- a/src/views/room/RoomTabHomeView.vue +++ b/src/views/room/RoomTabHomeView.vue @@ -7,13 +7,6 @@

-
@@ -82,6 +75,16 @@
+
+ +
+ +
+
- +
- + +
+
+
+ +
+
@@ -92,7 +96,6 @@ - -