ecshop添加拍卖活动代码怎么写

1.ecshop购物车加减css样式代码怎么样添加【ecshop添加拍卖活动代码怎么写】在style.css里添加下面样式.goods_cut { background: url("../images/plus.gif") no-repeat scroll 0 0 transparent; border: 0 none; cursor: pointer; display: block; float: left; font-size: 0; height: 15px; line-height: 0;margin: 8px 3px 0; width: 15px; } input.goodsBuyBox, input.number { border: 1px solid #DDDDDD; float: left; font-size: 10px; height: 18px; line-height: 18px; margin: 5px 6px 0; padding: 0; text-align: center; width: 32px; } .goods_add { background: url("../images/plus.gif") no-repeat scroll 0 -15px transparent; border: 0 none; cursor: pointer; display: block; float: left; font-size: 0; height: 15px; line-height: 0; margin: 8px 3px 0; width: 15px; }在flow.dwt里,看各自的模板去修改,总之要找到这串代码: function goods_cut($val){ var num_val=document.getElementById('number'+$val); var new_num=num_val.value; if(isNaN(new_num)){alert('请输入数字');return false} var Num = parseInt(new_num); if(Num>1)Num=Num-1; num_val.value=http://www.xuexi88.com/zhishi/Num; document.getElementById('updatecart').click(); } function goods_add($val){ var num_val=document.getElementById('number'+$val); var new_num=num_val.value; if(isNaN(new_num)){alert('请输入数字');return false} var Num = parseInt(new_num); Num=Num+1; num_val.value=http://www.xuexi88.com/zhishi/Num; document.getElementById('updatecart').click(); } </script>找到 add" onclick="goods_add('{$goods.rec_id}');">找到其实就是更新购物车的按钮添加一个id=“updatecart”

ecshop添加拍卖活动代码怎么写

文章插图