请问ecshop “”手机版 “” 点击立即购买跳转到淘宝页?
<divclass="div_but1clearfix"id='btn1'style="{if$goods_info.goods_numbereq0}display:no...
<div class="div_but1 clearfix" id='btn1' style="{if $goods_info.goods_number eq 0}display: none;{else}display: ;{/if}">
<div class="buybut" onclick="javascript:addToCart({$goods_info.goods_id}, 'quk_buy');">
<a class='ljgm' name="goods_buy" href="javascript:void()">
<i></i>
立即购买
</a>
</div>
<div class="cartbut" onclick="javascript:addToCart({$goods_info.goods_id}, 'add_cart');">
<a class='add' name="goods_cart" href="javascript:void()">
<i></i>
加入购物车
</a>
</div>
</div>
<div class="div_but1 clearfix" id='btn2' style="{if $goods_info.goods_number eq 0}display: ;{else}display: none;{/if}">
<div class="buy">
<a class='ljgm1' name="goods_buy" href="javascript:void()">
<i></i>
立即购买
</a>
</div>
<div class="cart">
<a class='add1' name="goods_cart" href="javascript:void()">
<i></i>
加入购物车
</a>
</div>
</div>
改成电脑版的{if $goods.seller_note}<a href="{$goods.seller_note}" target="_blank" title="去淘宝购买(淘宝链接:{$goods.seller_note})">去淘宝购买</a>{/if} 显示空白没用,去掉if标签显示去淘宝购买但只是刷新页面 展开
<div class="buybut" onclick="javascript:addToCart({$goods_info.goods_id}, 'quk_buy');">
<a class='ljgm' name="goods_buy" href="javascript:void()">
<i></i>
立即购买
</a>
</div>
<div class="cartbut" onclick="javascript:addToCart({$goods_info.goods_id}, 'add_cart');">
<a class='add' name="goods_cart" href="javascript:void()">
<i></i>
加入购物车
</a>
</div>
</div>
<div class="div_but1 clearfix" id='btn2' style="{if $goods_info.goods_number eq 0}display: ;{else}display: none;{/if}">
<div class="buy">
<a class='ljgm1' name="goods_buy" href="javascript:void()">
<i></i>
立即购买
</a>
</div>
<div class="cart">
<a class='add1' name="goods_cart" href="javascript:void()">
<i></i>
加入购物车
</a>
</div>
</div>
改成电脑版的{if $goods.seller_note}<a href="{$goods.seller_note}" target="_blank" title="去淘宝购买(淘宝链接:{$goods.seller_note})">去淘宝购买</a>{/if} 显示空白没用,去掉if标签显示去淘宝购买但只是刷新页面 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询