'+img_title+'
'+_jsLang.Language_Currency+img_price+' x '+img_amount+'件'+'
'+_jsLang.刪除+' ';
owl_red.find('.orderSlideRGP').trigger('to.owl.carousel',[0,0,true])
.trigger('add.owl.carousel',[$(html),0])
.trigger('refresh.owl.carousel');
}
var choseImg = $(this).parents('.productBox').find('.productImg'),
Img_html = choseImg.clone().addClass('moveImg'),
choseImg_top = choseImg.offset().top,
choseImg_left = choseImg.offset().left,
choseImg_width = choseImg.width(),
choseImg_height = choseImg.height();
$('body').append(Img_html);
$('.moveImg').css({'top':choseImg_top,'left':choseImg_left,'width':choseImg_width,'height':choseImg_height})
.animate({
'top': smailBox_top,
'left': smailBox_left,
'width': smailBox_width,
'height': smailBox_height
},350, function() {
$(this).remove();
});
}else if($(this).parents('.greenBox').length != 0){
if($('.greenBox .pic-bg').length == 1){
owl_green.find('.orderSlideRGP').trigger('remove.owl.carousel',$('.greenBox .pic-bg').parents('.owl-item').index())
.trigger('refresh.owl.carousel');
}
var smailBox = $('.user-orderBox .greenBox .owl-stage-outer'),
smailBox_top = smailBox.offset().top,
smailBox_left = smailBox.offset().left+20,
smailBox_width = smailBox.width()/box_n,
smailBox_height = smailBox.height();
var same = false;
$(".delete").each(function(){
var o_sid = $(this).attr('sid');
if(o_sid == sid){
same = true;
$(this).prev('.pricebox').find('.font-red').html(_jsLang.Language_Currency+img_price+' x '+img_amount+'件');
}
});
// for($i=0;$i