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}

{:lang_i18n('了解更多')}

@@ -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 @@

{notempty name="categorys_data"}
+ {notempty name="pro['products']"}
    {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}
{/notempty}