超级~救命~啊啊啊{商品分类树和图画不fit框框}

2016-07-07 16:13 来源:www.chinab4c.com 作者:ecshop专家

1.检查你的index.dwt category.dwt和goods.dwt,是否是调用不了不同的分类树文件,或者贴下
2.需要CSS定义,贴下地址
3.贴出你的goods.dwt

回答:
这模板问题是挺大的

index.dwt

<div class="bock">
<div id="left">
<!-- TemplateBeginEditable name="左边部分" -->
<!-- #BeginLibraryItem "/library/cart.lbi" --><!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/category_tree.lbi" -->
<h3><div class="title">商品分类</div><div class="r_line">&nbsp;</div></h3>
<div class="box" style="padding-top:0px;">
<!-- {foreach from=$categories item=cat} -->
<h4 class="toggletitle"><a href="{$cat.url}">{$cat.name|escape:html}</a><span><img src="../images/icon_list_down.gif" alt="-" /></span></h4>
<!-- {if $cat.children} -->
<ul>
<!-- {foreach from=$cat.children item=child} -->
<li><a href="{$child.url}">{$child.name|escape:html}</a></li>
<!-- {/foreach} -->
</ul>
<!-- {/if} -->
<!-- {/foreach} -->
</div>

<!-- #EndLibraryItem -->

<!-- #BeginLibraryItem "/library/invoice_query.lbi" -->

我也想知道哦~~谢谢