ecshop新京东2015模板商品名称显示不全怎么修改
修改css样式,里面可以这样写
{height:32px;
line-height:16px;
display:block;
overflow:hidden;
}
可以参考一下给循环的一个name值(随意),然后做 if 判断,根据您的需要设置小于的数量就可以了!!--{foreach from=get_cat_brands($ts-_var['cat']['id']) item=brandCat name="brand_name" }--!--{if $smartyforeachbrand_nameiteration a href="{$brandCaturl}" {$brandCatbrand_name}!--{if}--!--{foreach}--dd
<tr>
<td align="right">{$langcomment_captcha}</td>
<td><input type="text" size="8" name="captcha" class="inputBg" />
<img src="captchaphp{$rand}" alt="captcha" style="vertical-align: middle;cursor: pointer;" onClick="thissrc='captchaphp'+Mathrandom()" /> </td>
</tr>
<!--{/if}-->
{height:32px;
line-height:16px;
display:block;
overflow:hidden;
}
可以参考一下给循环的一个name值(随意),然后做 if 判断,根据您的需要设置小于的数量就可以了!!--{foreach from=get_cat_brands($ts-_var['cat']['id']) item=brandCat name="brand_name" }--!--{if $smartyforeachbrand_nameiteration a href="{$brandCaturl}" {$brandCatbrand_name}!--{if}--!--{foreach}--dd
拿默认模板为例打开themes/我的模板名称/user_passport
找到
<!-- 判断是否启用验证码{if $enabled_captcha} --><tr>
<td align="right">{$langcomment_captcha}</td>
<td><input type="text" size="8" name="captcha" class="inputBg" />
<img src="captchaphp{$rand}" alt="captcha" style="vertical-align: middle;cursor: pointer;" onClick="thissrc='captchaphp'+Mathrandom()" /> </td>
</tr>
<!--{/if}-->
看一下input标签的name属性是不是captcha
0条评论