From 48f2bd82a1b4016a0d9a7c8e0060ebd0680cb5ad Mon Sep 17 00:00:00 2001 From: mahe Date: Thu, 15 Jun 2023 09:44:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=83=AD=E5=8C=BA=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E8=B7=B3=E8=BD=AC=E4=B8=93=E9=A2=98=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/components/hotzone/components/Hotzone.vue | 2 ++ manager/src/components/hotzone/components/Zone.vue | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/manager/src/components/hotzone/components/Hotzone.vue b/manager/src/components/hotzone/components/Hotzone.vue index 6df13e4c..70ff9a8d 100644 --- a/manager/src/components/hotzone/components/Hotzone.vue +++ b/manager/src/components/hotzone/components/Hotzone.vue @@ -159,6 +159,8 @@ export default { return `促销活动商品:${zone.goodsName}`; case "other": return `${zone.title}`; + case "special": + return `专题:${zone.title}`; default: return "请选择跳转链接"; } diff --git a/manager/src/components/hotzone/components/Zone.vue b/manager/src/components/hotzone/components/Zone.vue index d9d2df9e..30629309 100644 --- a/manager/src/components/hotzone/components/Zone.vue +++ b/manager/src/components/hotzone/components/Zone.vue @@ -185,6 +185,12 @@ export default { settingZone(val) { this.zoneForm.type = val.___type || val.type; this.zoneForm.title = val.title; + if(val.pageType == "special"){ + this.zoneForm.id = val.id; + this.zoneForm.pageType = val.pageType + this.zoneForm.type = val.pageType + this.zoneForm.title = val.name + } switch (val.___type) { case "goods": this.zoneForm.id = val.id;