首面的“最新上市、推荐商品、热卖商品”文字怎么改成图片

2016-07-07 15:00 来源:www.chinab4c.com 作者:ecshop专家

原来的是文字
要改成现在这样的图片

回答:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- {if $new_goods}-->
<div class="goodsRecommend">
<h2>新品上架 <p class="more"><a href="../search.php?intro=new"><img src="../images/btn_more.gif" alt="" /></a></p></h2>
<!--{foreach from=$new_goods item=goods}-->
<li><p class="pic"><A href="{$goods.url}"><img src="{$goods.thumb}" alt="{$goods.name|escape:html}" border="0" /></A></p>
{$goods.short_style_name}<br />

{$lang.market_price}<font class="market">{$goods.market_price}</font><br />
<!-- {if $goods.promote_price neq ""} -->
<span class="goods-price"><strong>{$goods.promote_price}</strong></span>
<!-- {else}-->
<span class="font1">{$lang.shop_price}</span><span class="goods-price"><strong>{$goods.shop_price}</strong></span>
<!--{/if}-->
</li>
<!--{/foreach}-->
</div>
<div><br style="clear:both"/></div>
<!-- {/if} -->