艾乐妥【阿哌沙班片】 2.5mg*14T 中美上海施贵宝

来源:原创作者:编辑:admin2020-06-05 10:17

  {if promotions&&promotions.length>0}

  {/if}

  {if productSetup.productInfo.sellState&&!flagt}

  {if productSetup.productInfo.sellState.stateActions=="buy"||productSetup.productInfo.sellState.stateActions=="none"}

  {else}

  {/if}

  {/if}

  {if productSetup.productInfo.skuCount>1}

  {/if}

  {if !flagt}

  {else}

  {/if}

  {eval}

  //收藏状态

  var resFavorite=$('.product_infopanel .addtofavorite');

  $.eh.favorite.getShopProduct(productSetup.shopProductId,function(favorite){

  if (!favorite){

  resFavorite.addClass("add").removeClass("del");

  }else{

  resFavorite.addClass("del").removeClass("add");

  }

  })

  //收藏事件

  resFavorite.bind("click",function(e){

  if (resFavorite.hasClass('add'))

  $.eh.favorite.addShopProduct(productSetup.shopProductId,productSetup.productCaption,null,function(f){

  resFavorite.addClass("del").removeClass("add");

  });

  else

  $.eh.favorite.delShopProduct(productSetup.shopProductId,function(f){

  resFavorite.addClass("add").removeClass("del");

  });

  });

  //缺货登记

  $(".pdtDemandBtn").unbind();

  $(".pdtDemandBtn").bind("click",function(){

  if(!$.eh.userState.isLogin() && !productSetup.allowAnonProductDemand){

  $.ex.msgbox.message('请登录后再提提交订购需求。');

  return;

  }

  demand($(this));

  });

  //加入我的需求

  $(".pdtDemandCollBtn").unbind();

  $(".pdtDemandCollBtn").bind("click",function(e){

  demandColl($(this));

  });

  //立即购买

  $(".product_infopanel .buybar .action .buy").unbind();

  $(".product_infopanel .buybar .action .buy").bind("click",function(){

  buyNow($(this));

  });

  //添加购物车

  $(".product_infopanel .buybar .action .addtoshopcart").unbind();

  $(".product_infopanel .buybar .action .addtoshopcart").bind("click",function(){

  addToShopcart($(this))

  });

  //议价订购

  $(".product_infopanel .buybar .action .xunjia").unbind();

  $(".product_infopanel .buybar .action .xunjia").bind("click",function(){

  xunjia($(this));

  });

  //数量控制

  $(".actionPanel .amount-input").unbind();

  $(".actionPanel .amount-input").bind("change",function(){

  $.ex.util.validAmount(this,getMinOrder(productSetup));