From 02e81d3e59de95ed1dd0806a4a0a016b2703e190 Mon Sep 17 00:00:00 2001
From: jsasg <735273025@qq.com>
Date: Mon, 30 Jun 2025 10:57:06 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20pc/mobile=20banner=E7=9A=84extra=5Fimage?=
=?UTF-8?q?=E5=8F=96=E5=80=BC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/index/controller/ContactUs.php | 9 +-----
app/index/view/mobile/contact_us/index.html | 12 ++++----
app/index/view/mobile/topic_nas/help.html | 5 ++--
app/index/view/pc/contact_us/index.html | 12 +++-----
app/index/view/pc/topic_nas/help.html | 32 ++++++++++++---------
5 files changed, 32 insertions(+), 38 deletions(-)
diff --git a/app/index/controller/ContactUs.php b/app/index/controller/ContactUs.php
index 5f8b474b..44c4a74f 100644
--- a/app/index/controller/ContactUs.php
+++ b/app/index/controller/ContactUs.php
@@ -45,14 +45,7 @@ class ContactUs extends Common
$banner_map[$v->unique_label] = $v;
}
$focus_image = data_get($banner_map, 'BANNER_6805e3d32dcc2')?->items->first()?->toArray();
- $info_datas = data_get($banner_map, 'BANNER_6806090c1838f')?->items->each(function($item) {
- if (Str::contains($item->title, '
')) {
- $title = explode('
', $item->title);
- $item->title = $title[0];
- $item->title_short = $title[1];
- }
- return $item;
- })->toArray();
+ $info_datas = data_get($banner_map, 'BANNER_6806090c1838f')?->items->toArray();
}
View::assign('focus_image', $focus_image);
View::assign('info_datas', $info_datas);
diff --git a/app/index/view/mobile/contact_us/index.html b/app/index/view/mobile/contact_us/index.html
index a96b9414..45550253 100644
--- a/app/index/view/mobile/contact_us/index.html
+++ b/app/index/view/mobile/contact_us/index.html
@@ -24,13 +24,13 @@