From 9a57eacfb2a93e0363ae9b3a07135ed41c524096 Mon Sep 17 00:00:00 2001
From: jsasg <735273025@qq.com>
Date: Tue, 15 Jul 2025 09:15:53 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20mobile=20view=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/index/view/mobile/index/index.html | 4 ++--
app/index/view/mobile/product/subcategory.html | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/app/index/view/mobile/index/index.html b/app/index/view/mobile/index/index.html
index 1878b974..4260f198 100644
--- a/app/index/view/mobile/index/index.html
+++ b/app/index/view/mobile/index/index.html
@@ -101,7 +101,7 @@
$sc['title_txt_color']])}>{$sc.title}
-$sc['desc_txt_color']])}>{$sc.desc}
+$sc['desc_txt_color']])}>{$sc.desc|raw}
@@ -141,7 +141,7 @@$bs['title_txt_color']])}>{$bs.title}
-$bs['desc_txt_color']])}>{$bs.desc}
+$bs['desc_txt_color']])}>{$bs.desc|raw}
{:lang_i18n('了解更多')}
diff --git a/app/index/view/mobile/product/subcategory.html b/app/index/view/mobile/product/subcategory.html
index 2a520cf1..d7867e16 100644
--- a/app/index/view/mobile/product/subcategory.html
+++ b/app/index/view/mobile/product/subcategory.html
@@ -19,6 +19,7 @@
{assign name="products" value=":\think\helper\Arr::flatMap(fn($pro) => $pro['products'], $categorys_data)" /}
{volist name="products" id="pr"}
@@ -55,6 +56,7 @@
{/volist}
+ {/notempty}