勝利香港正版可四不像生肖图2020年插足香港正版可四不像生肖图2020年購物車'); this.dialog.getElement('.dialog-content').set('html',re); $$('.cart-number').set('text',Cookie.get('S[CART_COUNT]')||0); }.bind(this), onFailure:function(xhr){ this.dialog.remove(); MessageBox.error("插足購物車掉敗.
"); }.bind(this) },params.options||{}); if(!params.url)return false; miniCart.show(opts.target); new Request(opts).send(); } }; if(formtocart=$E('form[target=_dialog_minicart]')){ formtocart.addEvent('submit',function(e){ e.stop(); miniCart.load([{ url:this.action, method:this.method, data:this, target:this.getElement('input[value=插足澳门最快开奖现场开奖结果助手購物車]') }]); }); }; if(btnbuy=$E('#goods-viewer form[target=_dialog_minicart] .btn-buy')){ btnbuy.removeEvents('click').addEvent('click',function(e){ e.stop(); if(this.retrieve('tip:text'))return false; this.blur(); this.form.fireEvent('submit',e); }); }; // 配件獨自澳门344期四不像生肖图插足購物車 $$('a[target=_dialog_minicart]').addEvent('click',function(e){ e.stop(); var product_id = this.getProperty('product') || 0, goods_id=this.getProperty('buy'),p_num = 1; if ($E('input[name="count_check_'+product_id+'"]')){ p_num = $E('input[name="count_check_'+product_id+'"]').get('value'); } miniCart.load([{ url:this.href,target:this, data:new Object('goods[goods_id]='+goods_id+'&goods[product_id]='+product_id+'&goods[num]='+p_num), }]); }); });