ecshop {foreach} <!--{foreach 到底有什么区别?!!!
<metahttp-equiv="Content-Type"content="text/html;charset=utf-8"><!--{foreachfrom=$cat...
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- {foreach from=$cat_goods_1 item=goods}} -->
<a href="{$goods.url}" target="_blank"><img src="{$goods.thumb}" alt="{$goods.name|escape:html}" width="67" height="56" border="0" class="imgb"/></a></div>
<div class="name"><a href="{$goods.url}" target="_blank">{$goods.short_name|escape:html|truncate:10}</a><br />
<span class="fontr fontb fontbig">{$goods.shop_price}</span>
<!-- {/foreach}-->
这段代码foreach 。。。。。/foreach 中间的内容为什么显示不出来?!!! 展开
<!-- {foreach from=$cat_goods_1 item=goods}} -->
<a href="{$goods.url}" target="_blank"><img src="{$goods.thumb}" alt="{$goods.name|escape:html}" width="67" height="56" border="0" class="imgb"/></a></div>
<div class="name"><a href="{$goods.url}" target="_blank">{$goods.short_name|escape:html|truncate:10}</a><br />
<span class="fontr fontb fontbig">{$goods.shop_price}</span>
<!-- {/foreach}-->
这段代码foreach 。。。。。/foreach 中间的内容为什么显示不出来?!!! 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询