fix: mobile 产品详情去除空字符串属性

This commit is contained in:
2025-06-25 16:52:49 +08:00
parent 3590a89a07
commit 76bca942aa

View File

@@ -56,6 +56,7 @@
{notempty name="ps.attr_values"}
<ul class="hd clearfix">
{volist name="ps.attr_values" id="pv" key="pk"}
{notempty name="pv.attr_value"}
{assign name="attr_value_type" value=":rgb_or_image($pv.attr_value)" /}
{between name="ps.attr_id" value="1,2"}
<li class="attr_value tip1 attr_item" data-index="{$pk}">
@@ -70,6 +71,7 @@
<span>{$pv.attr_value}</span>
{/eq}
</li>
{/notempty}
{/volist}
</ul>
{/notempty}