// ==UserScript== // @name 网购比价领券神器—购物党,不仅自动领券还能额外领取补贴红包,365天历史价格、同款更低价、降价提醒、价格保护,官方持续维护 // @author 购物党 // @name:zh-cn 网购比价领券神器—购物党,不仅自动领券还能额外领取补贴红包,365天历史价格、同款更低价、降价提醒、价格保护,官方持续维护 // @antifeature referral-link 含有购物党官方返利 // @description 自动比较同款商品在淘宝/京东/天猫/亚马逊/当当//等更低价,提供365天历史价格走势查询,不仅可以领隐藏优惠券,无券商品还能领补贴红包,支持全网降价提醒、京东价格保护自动监控,链家二手房和Steam游戏也能比价! // @description:zh-hk 自动比较同款商品在淘宝/京东/天猫/亚马逊/当当//等更低价,提供365天历史价格走势查询,不仅可以领隐藏优惠券,无券商品还能领补贴红包,支持全网降价提醒、京东价格保护自动监控,链家二手房和Steam游戏也能比价! // @run-at document-idle // @version 4.0.5 // @grant none // @require https://cdn.gwdang.com/js/vendor-gwd.js?v=2.7 // @include https://www.hihonor.com/* // @include https://www.ymatou.hk/* // @include https://www.ymatou.com/* // @include http://traveldetail.fliggy.com/* // @include https://traveldetail.fliggy.com/* // @include http://*.wzhouhui.com/* // @include https://*.wzhouhui.com/* // @include http://cn.wemakeprice.com/* // @include https://cn.wemakeprice.com/* // @include http://cn.dod.nl/* // @include https://cn.dod.nl/* // @include http://*.decathlon.com.cn/* // @include https://*.decathlon.com.cn/* // @include http://cn.apo.com/* // @include https://cn.apo.com/* // @include http://*.ansgo.com/* // @include https://*.ansgo.com/* // @include http://*.perfumesclub.cn/* // @include https://*.perfumesclub.cn/* // @include http://*.net-a-porter.com/* // @include https://*.net-a-porter.com/* // @include http://*.kidsroom.cn/* // @include https://*.kidsroom.cn/* // @include http://cn.getthelabel.com/* // @include https://cn.getthelabel.com/* // @include http://*.farfetch.cn/* // @include https://*.farfetch.cn/* // @include http://item.kongfz.com/* // @include https://item.kongfz.com/* // @include http://book.kongfz.com/* // @include https://book.kongfz.com/* // @include http://cn.iherb.com/* // @include https://cn.iherb.com/* // @include http://*.hqhair.com/* // @include https://*.hqhair.com/* // @include http://*.wl.cn/* // @include https://*.wl.cn/* // @include http://*.columbia.com/* // @include https://*.columbia.com/* // @include http://*.columbiasports.cn/* // @include https://*.columbiasports.cn/* // @include http://*.ehaoyao.com/* // @include https://*.ehaoyao.com/* // @include http://*.bhphotovideo.com/* // @include https://*.bhphotovideo.com/* // @include http://*.shoes.com/* // @include https://*.shoes.com/* // @include http://*.jomashop.com/* // @include https://*.jomashop.com/* // @include http://cn.pharmacydirect.co.nz/* // @include https://cn.pharmacydirect.co.nz/* // @include http://*.holland-at-home.com/* // @include https://*.holland-at-home.com/* // @include http://cn.holland-at-home.com/* // @include https://cn.holland-at-home.com/* // @include http://*.rei.com/* // @include https://*.rei.com/* // @include http://item.aomygod.com/* // @include https://item.aomygod.com/* // @include http://*.huatuoyf.com/* // @include https://*.huatuoyf.com/* // @include http://*.forever21.com/* // @include https://*.forever21.com/* // @include http://zh.ashford.com/* // @include https://zh.ashford.com/* // @include http://*.bestbuy.com/* // @include https://*.bestbuy.com/* // @include http://*.target.com/* // @include https://*.target.com/* // @include http://cn.chemistdirect.com.au/* // @include https://cn.chemistdirect.com.au/* // @include http://*.ba.de/* // @include https://*.ba.de/* // @include http://m.wandougongzhu.cn/* // @include https://m.wandougongzhu.cn/* // @include http://cn.feelunique.com/* // @include https://cn.feelunique.com/* // @include http://shop.dixintong.com/* // @include https://shop.dixintong.com/* // @include http://cn.pharmacyonline.com.au/* // @include https://cn.pharmacyonline.com.au/* // @include http://cn.discount-apotheke.de/* // @include https://cn.discount-apotheke.de/* // @include http://*.carters.com/* // @include https://*.carters.com/* // @include http://*.katespade.co.uk/* // @include https://*.katespade.co.uk/* // @include http://*.katespade.cn/* // @include https://*.katespade.cn/* // @include http://*.beautybay.com/* // @include https://*.beautybay.com/* // @include http://cn.pharmacy4less.com.au/* // @include https://cn.pharmacy4less.com.au/* // @include http://*.newegg.com/* // @include https://*.newegg.com/* // @include http://*.newbalance.com/* // @include https://*.newbalance.com/* // @include http://*.bodybuilding.com/* // @include https://*.bodybuilding.com/* // @include http://*.ssnewyork.com/* // @include https://*.ssnewyork.com/* // @include http://*.wine9.com/* // @include https://*.wine9.com/* // @include http://*.kohls.com/* // @include https://*.kohls.com/* // @include http://*.gnc.com/* // @include https://*.gnc.com/* // @include http://*.qw.cc/* // @include https://*.qw.cc/* // @include http://*.haiershui.com/* // @include https://*.haiershui.com/* // @include http://*.ugg.com/* // @include https://*.ugg.com/* // @include http://*.ugg.cn/* // @include https://*.ugg.cn/* // @include http://*.yoger.com.cn/* // @include https://*.yoger.com.cn/* // @include http://*.flyco.com/* // @include https://*.flyco.com/* // @include http://*.yfdyf.com/* // @include https://*.yfdyf.com/* // @include http://*.joesnewbalanceoutlet.com/* // @include https://*.joesnewbalanceoutlet.com/* // @include http://*.jomoo.com.cn/* // @include https://*.jomoo.com.cn/* // @include http://*.dapu.com/* // @include https://*.dapu.com/* // @include http://china.coach.com/* // @include https://china.coach.com/* // @include http://*.shanmai.cn/* // @include https://*.shanmai.cn/* // @include http://*.fengbuy.com/* // @include https://*.fengbuy.com/* // @include http://*.t10.com/* // @include https://*.t10.com/* // @include http://cn.amcal.com.au/* // @include https://cn.amcal.com.au/* // @include http://cn.babyhaven.com/* // @include https://cn.babyhaven.com/* // @include http://*.51taouk.com/* // @include https://*.51taouk.com/* // @include http://*.usashopcn.com/* // @include https://*.usashopcn.com/* // @include http://*.petit-bateau.us/* // @include https://*.petit-bateau.us/* // @include http://*.tlcpharmacy.cn.com/* // @include https://*.tlcpharmacy.cn.com/* // @include http://*.km1818.com/* // @include https://*.km1818.com/* // @include http://*.bienmanger.cn/* // @include https://*.bienmanger.cn/* // @include http://*.syshop.com/* // @include https://*.syshop.com/* // @include http://*.qipaimall.com/* // @include https://*.qipaimall.com/* // @include http://mall.goumin.com/* // @include https://mall.goumin.com/* // @include http://*.taohwu.com/* // @include https://*.taohwu.com/* // @include http://*.xmeise.com/* // @include https://*.xmeise.com/* // @include http://*.septwolves.cn/* // @include https://*.septwolves.cn/* // @include http://*.kiehls.com/* // @include https://*.kiehls.com/* // @include http://*.puzeyf.com/* // @include https://*.puzeyf.com/* // @include http://*.aizhigu.com.cn/* // @include https://*.aizhigu.com.cn/* // @include http://*.hecha.cn/* // @include https://*.hecha.cn/* // @include http://*.zgshoes.com/* // @include https://*.zgshoes.com/* // @include http://cn.takeya.co.jp/* // @include https://cn.takeya.co.jp/* // @include http://*.shoprobam.com/* // @include https://*.shoprobam.com/* // @include http://*.opplestore.com/* // @include https://*.opplestore.com/* // @include http://*.maichawang.com/* // @include https://*.maichawang.com/* // @include http://*.bose.com/* // @include https://*.bose.com/* // @include http://dewaren.com/* // @include https://dewaren.com/* // @include http://*.winona.cn/* // @include https://*.winona.cn/* // @include http://*.motorola.com.cn/* // @include https://*.motorola.com.cn/* // @include http://*.danielwellington.cn/* // @include https://*.danielwellington.cn/* // @include http://*.danielwellington.com/* // @include https://*.danielwellington.com/* // @include http://youhui.pinduoduo.com/* // @include https://youhui.pinduoduo.com/* // @include http://*.yangkeduo.com/* // @include https://*.yangkeduo.com/* // @include http://*.finishline.com/* // @include https://*.finishline.com/* // @include http://*.skinstore.com/* // @include https://*.skinstore.com/* // @include http://item.wjike.com/* // @include https://item.wjike.com/* // @include http://youpin.mi.com/* // @include https://youpin.mi.com/* // @include http://*.xiaomiyoupin.com/* // @include https://*.xiaomiyoupin.com/* // @include http://store.steampowered.com/* // @include https://store.steampowered.com/* // @include http://*.jialich.cn/* // @include https://*.jialich.cn/* // @include http://*.tthigo.com/* // @include https://*.tthigo.com/* // @include http://*.modernavenue.com/* // @include https://*.modernavenue.com/* // @include http://*.tcl.com/* // @include https://*.tcl.com/* // @include http://*.bonjourhk.com/* // @include https://*.bonjourhk.com/* // @include http://m.bonjourhk.com/* // @include https://m.bonjourhk.com/* // @include http://*.trt.hk/* // @include https://*.trt.hk/* // @include http://*.forestfood.com/* // @include https://*.forestfood.com/* // @include http://*.converse.com.cn/* // @include https://*.converse.com.cn/* // @include http://*.fila.cn/* // @include https://*.fila.cn/* // @include http://*.levi.com.cn/* // @include https://*.levi.com.cn/* // @include http://*.levi.com/* // @include https://*.levi.com/* // @include http://*.hangowa.com/* // @include https://*.hangowa.com/* // @include http://*.super-in.com/* // @include https://*.super-in.com/* // @include http://*.ccxpet.com/* // @include https://*.ccxpet.com/* // @include http://*.360lj.com/* // @include https://*.360lj.com/* // @include http://*.hysjg.com/* // @include https://*.hysjg.com/* // @include http://*.0061.com.au/* // @include https://*.0061.com.au/* // @include http://mall.ecovacs.cn/* // @include https://mall.ecovacs.cn/* // @include http://mall.littleswan.com/* // @include https://mall.littleswan.com/* // @include http://*.vitagou.hk/* // @include https://*.vitagou.hk/* // @include http://*.hpstore.cn/* // @include https://*.hpstore.cn/* // @include http://*.kkguan.com/* // @include https://*.kkguan.com/* // @include http://*.mayn.com.cn/* // @include https://*.mayn.com.cn/* // @include http://*.peikua.com/* // @include https://*.peikua.com/* // @include http://item.kinhom.com/* // @include https://item.kinhom.com/* // @include http://*.9drug.com/* // @include https://*.9drug.com/* // @include http://*.tea7.com/* // @include https://*.tea7.com/* // @include http://*.01home.com/* // @include https://*.01home.com/* // @include http://*.aliexpress.com/* // @include https://*.aliexpress.com/* // @include http://*.easytoys.cn/* // @include https://*.easytoys.cn/* // @include http://*.kiwistarcare.com/* // @include https://*.kiwistarcare.com/* // @include http://*.carrefour.cn/* // @include https://*.carrefour.cn/* // @include http://china.lotte.com/* // @include https://china.lotte.com/* // @include http://*.ewatches.com/* // @include https://*.ewatches.com/* // @include http://global.timex.com/* // @include https://global.timex.com/* // @include http://comfortfirst.com/* // @include https://comfortfirst.com/* // @include http://*.luolai.cn/* // @include https://*.luolai.cn/* // @include http://*.youyu.com/* // @include https://*.youyu.com/* // @include http://*.yoox.cn/* // @include https://*.yoox.cn/* // @include http://store.yoox.cn/* // @include https://store.yoox.cn/* // @include http://*.suanjuzi.com/* // @include https://*.suanjuzi.com/* // @include http://*.yao123.com/* // @include https://*.yao123.com/* // @include http://item.baobeigezi.com/* // @include https://item.baobeigezi.com/* // @include http://*.baobeigezi.com/* // @include https://*.baobeigezi.com/* // @include http://*.opposhop.cn/* // @include https://*.opposhop.cn/* // @include http://store.oppo.com/* // @include https://store.oppo.com/* // @include http://*.oppo.com/* // @include https://*.oppo.com/* // @include http://hd.oppo.com/* // @include https://hd.oppo.com/* // @include http://mall.to8to.com/* // @include https://mall.to8to.com/* // @include http://item.yunhou.com/* // @include https://item.yunhou.com/* // @include http://item.yhd.com/* // @include https://item.yhd.com/* // @include http://*.haituncun.com/* // @include https://*.haituncun.com/* // @include http://*.walmart.com/* // @include https://*.walmart.com/* // @include http://*.vmei.com/* // @include https://*.vmei.com/* // @include http://*.jgb.cn/* // @include https://*.jgb.cn/* // @include http://*.51din.com/* // @include https://*.51din.com/* // @include http://*.aidai.com/* // @include https://*.aidai.com/* // @include http://shop.boqii.com/* // @include https://shop.boqii.com/* // @include http://*.spider.com.cn/* // @include https://*.spider.com.cn/* // @include http://*.jiae.com/* // @include https://*.jiae.com/* // @include http://*.zazhipu.com/* // @include https://*.zazhipu.com/* // @include http://*.shop.philips.com.cn/* // @include https://*.shop.philips.com.cn/* // @include http://tuan.zhongjiu.cn/* // @include https://tuan.zhongjiu.cn/* // @include http://*.zhongjiu.cn/* // @include https://*.zhongjiu.cn/* // @include http://*.kaluli.com/* // @include https://*.kaluli.com/* // @include http://shop.wstx.com/* // @include https://shop.wstx.com/* // @include http://*.purcotton.com/* // @include https://*.purcotton.com/* // @include http://shop.juanpi.com/* // @include https://shop.juanpi.com/* // @include http://*.jinxiang.com/* // @include https://*.jinxiang.com/* // @include http://*.163.com/* // @include https://*.163.com/* // @include http://*.guojimami.com/* // @include https://*.guojimami.com/* // @include http://*.baiyangwang.com/* // @include https://*.baiyangwang.com/* // @include http://cn.royyoungchemist.com.au/* // @include https://cn.royyoungchemist.com.au/* // @include http://cn.medihealshop.com/* // @include https://cn.medihealshop.com/* // @include http://*.medihealshop.com/* // @include https://*.medihealshop.com/* // @include http://cn.1001pharmacies.com/* // @include https://cn.1001pharmacies.com/* // @include http://*.lookfantastic.cn/* // @include https://*.lookfantastic.cn/* // @include http://*.lookfantastic.com/* // @include https://*.lookfantastic.com/* // @include http://you.163.com/* // @include https://you.163.com/* // @include http://product.bl.com/* // @include https://product.bl.com/* // @include http://*.bestinfoods.com/* // @include https://*.bestinfoods.com/* // @include http://*.muji.net/* // @include https://*.muji.net/* // @include http://*.easeeyes.com/* // @include https://*.easeeyes.com/* // @include http://*.lingshi.com/* // @include https://*.lingshi.com/* // @include http://*.nubia.com/* // @include https://*.nubia.com/* // @include http://shop.nubia.com/* // @include https://shop.nubia.com/* // @include http://*.nubia.cn/* // @include https://*.nubia.cn/* // @include http://*.kzj365.com/* // @include https://*.kzj365.com/* // @include http://*.kaola.com/* // @include https://*.kaola.com/* // @include http://*.kaola.com.hk/* // @include https://*.kaola.com.hk/* // @include http://*.kaola.com.hk/* // @include https://*.kaola.com.hk/* // @include http://*.ymatou.com/* // @include https://*.ymatou.com/* // @include http://detail.metao.com/* // @include https://detail.metao.com/* // @include http://*.coocaa.com/* // @include https://*.coocaa.com/* // @include http://*.lifevc.com/* // @include https://*.lifevc.com/* // @include http://*.supuy.com/* // @include https://*.supuy.com/* // @include http://*.supumall.com/* // @include https://*.supumall.com/* // @include http://*.mia.com/* // @include https://*.mia.com/* // @include http://miyabaobei.hk/* // @include https://miyabaobei.hk/* // @include http://*.miyabaobei.hk/* // @include https://*.miyabaobei.hk/* // @include http://item.gomehigo.hk/* // @include https://item.gomehigo.hk/* // @include http://*.wangfujing.com/* // @include https://*.wangfujing.com/* // @include http://global.gou.com/* // @include https://global.gou.com/* // @include http://*.gou.com/* // @include https://*.gou.com/* // @include http://*.ikjtao.com/* // @include https://*.ikjtao.com/* // @include http://*.bestkeep.cn/* // @include https://*.bestkeep.cn/* // @include http://*.ule.com/* // @include https://*.ule.com/* // @include http://shop.philips.com.cn/* // @include https://shop.philips.com.cn/* // @include http://shop.tcl.com/* // @include https://shop.tcl.com/* // @include http://mall.tcl.com/* // @include https://mall.tcl.com/* // @include http://*.e-changhong.com/* // @include https://*.e-changhong.com/* // @include http://shop.konka.com/* // @include https://shop.konka.com/* // @include http://shop.hisense.com/* // @include https://shop.hisense.com/* // @include http://*.hisense.com/* // @include https://*.hisense.com/* // @include http://*.ineigo.com/* // @include https://*.ineigo.com/* // @include http://*.skg.com/* // @include https://*.skg.com/* // @include http://*.oyeah.com/* // @include https://*.oyeah.com/* // @include http://*.morefood.com/* // @include https://*.morefood.com/* // @include http://*.zhen.com/* // @include https://*.zhen.com/* // @include http://shop.vivo.com.cn/* // @include https://shop.vivo.com.cn/* // @include http://gfive.b2c.eqimingxing.com/* // @include https://gfive.b2c.eqimingxing.com/* // @include http://*.6pm.com/* // @include https://*.6pm.com/* // @include http://shop.gionee.com/* // @include https://shop.gionee.com/* // @include http://z.gionee.com/* // @include https://z.gionee.com/* // @include http://store.lining.com/* // @include https://store.lining.com/* // @include http://*.mf910.com/* // @include https://*.mf910.com/* // @include http://*.k-touch.cn/* // @include https://*.k-touch.cn/* // @include http://item.grainger.cn/* // @include https://item.grainger.cn/* // @include http://piao.163.com/* // @include https://piao.163.com/* // @include http://mall.163.com/* // @include https://mall.163.com/* // @include http://detail.yao.95095.com/* // @include https://detail.yao.95095.com/* // @include http://*.ebay.com/* // @include https://*.ebay.com/* // @include http://*.100yue.com/* // @include https://*.100yue.com/* // @include http://*.feiniu.com/* // @include https://*.feiniu.com/* // @include http://*.lemall.com/* // @include https://*.lemall.com/* // @include http://item.feiniu.com/* // @include https://item.feiniu.com/* // @include http://*.xgbaby.com/* // @include https://*.xgbaby.com/* // @include http://*.zuipin.cn/* // @include https://*.zuipin.cn/* // @include http://item.feifei.cn/* // @include https://item.feifei.cn/* // @include http://*.feifei.com/* // @include https://*.feifei.com/* // @include http://guang.com/* // @include https://guang.com/* // @include http://*.haitaocheng.com/* // @include https://*.haitaocheng.com/* // @include http://*.rrs.com/* // @include https://*.rrs.com/* // @include http://*.rrsjk.com/* // @include https://*.rrsjk.com/* // @include http://shop.ccb.com/* // @include https://shop.ccb.com/* // @include http://*.meilishuo.com/* // @include https://*.meilishuo.com/* // @include http://item.meilishuo.com/* // @include https://item.meilishuo.com/* // @include http://*.mogujie.com/* // @include https://*.mogujie.com/* // @include http://shop.mogu.com/* // @include https://shop.mogu.com/* // @include http://shop.mogujie.com/* // @include https://shop.mogujie.com/* // @include http://shop.coolpad.com/* // @include https://shop.coolpad.com/* // @include http://shop.coolpad.cn/* // @include https://shop.coolpad.cn/* // @include http://*.yiguo.com/* // @include https://*.yiguo.com/* // @include http://item.wanggou.com/* // @include https://item.wanggou.com/* // @include http://mall.jia.com/* // @include https://mall.jia.com/* // @include http://*.jiumei.com/* // @include https://*.jiumei.com/* // @include http://weigou.baidu.com/* // @include https://weigou.baidu.com/* // @include http://shop.letv.com/* // @include https://shop.letv.com/* // @include http://*.xiaomi.com/* // @include https://*.xiaomi.com/* // @include http://item.mi.com/* // @include https://item.mi.com/* // @include http://*.mi.com/* // @include https://*.mi.com/* // @include http://*.handu.com/* // @include https://*.handu.com/* // @include http://*.yummy77.com/* // @include https://*.yummy77.com/* // @include http://*.fruitday.com/* // @include https://*.fruitday.com/* // @include http://*.benlai.com/* // @include https://*.benlai.com/* // @include http://taoshu.com/* // @include https://taoshu.com/* // @include http://*.meilele.com/* // @include https://*.meilele.com/* // @include http://*.gjw.com/* // @include https://*.gjw.com/* // @include http://*.oneplus.com/* // @include https://*.oneplus.com/* // @include http://store.apple.com/* // @include https://store.apple.com/* // @include http://*.apple.com/* // @include https://*.apple.com/* // @include http://*.apple.com.cn/* // @include https://*.apple.com.cn/* // @include http://*.j1.com/* // @include https://*.j1.com/* // @include http://miao.j1.com/* // @include https://miao.j1.com/* // @include http://*.zzl365.com/* // @include https://*.zzl365.com/* // @include http://mobile.139shop.com/* // @include https://mobile.139shop.com/* // @include http://139shop.com/* // @include https://139shop.com/* // @include http://*.yiwugou.com/* // @include https://*.yiwugou.com/* // @include http://*.zhiwo.com/* // @include https://*.zhiwo.com/* // @include http://*.miqi.cn/* // @include https://*.miqi.cn/* // @include http://*.miqi.cn/* // @include https://*.miqi.cn/* // @include http://*.camel.com.cn/* // @include https://*.camel.com.cn/* // @include http://*.kuaishubao.com/* // @include https://*.kuaishubao.com/* // @include http://*.juegg.com/* // @include https://*.juegg.com/* // @include http://mall.10010.com/* // @include https://mall.10010.com/* // @include http://*.wowsai.com/* // @include https://*.wowsai.com/* // @include http://*.tianpin.com/* // @include https://*.tianpin.com/* // @include http://*.tootoo.cn/* // @include https://*.tootoo.cn/* // @include http://item.minshengec.com/* // @include https://item.minshengec.com/* // @include http://*.sfbest.com/* // @include https://*.sfbest.com/* // @include http://ht.sfbest.hk/* // @include https://ht.sfbest.hk/* // @include http://shop.lenovo.com.cn/* // @include https://shop.lenovo.com.cn/* // @include http://*.lenovo.com.cn/* // @include https://*.lenovo.com.cn/* // @include http://shop.lenovomobile.com/* // @include https://shop.lenovomobile.com/* // @include http://*.lenovomobile.com/* // @include https://*.lenovomobile.com/* // @include http://*.lenovo.com.cn/* // @include https://*.lenovo.com.cn/* // @include http://thinkpad.lenovo.com.cn/* // @include https://thinkpad.lenovo.com.cn/* // @include http://*.vmall.com/* // @include https://*.vmall.com/* // @include http://*.ihush.com/* // @include https://*.ihush.com/* // @include http://*.fclub.cn/* // @include https://*.fclub.cn/* // @include http://item.yohobuy.com/* // @include https://item.yohobuy.com/* // @include http://*.yohobuy.com/* // @include https://*.yohobuy.com/* // @include http://*.fclub.cn/* // @include https://*.fclub.cn/* // @include http://ju.taobao.com/* // @include https://ju.taobao.com/* // @include http://*.tmall.com/* // @include https://*.tmall.com/* // @include http://detail.liangxinyao.com/* // @include https://detail.liangxinyao.com/* // @include http://world.tmall.com/* // @include https://world.tmall.com/* // @include http://detail.tmall.hk/* // @include https://detail.tmall.hk/* // @include http://*.taobao.com/* // @include https://*.taobao.com/* // @include http://2.taobao.com/* // @include https://2.taobao.com/* // @include http://ai.taobao.com/* // @include https://ai.taobao.com/* // @include http://chaoshi.detail.tmall.com/* // @include https://chaoshi.detail.tmall.com/* // @include http://detail.ju.taobao.com/* // @include https://detail.ju.taobao.com/* // @include http://*.vipshop.com/* // @include https://*.vipshop.com/* // @include http://*.vip.com/* // @include https://*.vip.com/* // @include http://tuan.lefeng.com/* // @include https://tuan.lefeng.com/* // @include http://*.lefeng.com/* // @include https://*.lefeng.com/* // @include http://*.jxdyf.com/* // @include https://*.jxdyf.com/* // @include http://*.jxdyf.com/* // @include https://*.jxdyf.com/* // @include http://*.tnice.com/* // @include https://*.tnice.com/* // @include http://auction1.paipai.com/* // @include https://auction1.paipai.com/* // @include http://item.xinbaigo.com/* // @include https://item.xinbaigo.com/* // @include http://*.orbis.com.cn/* // @include https://*.orbis.com.cn/* // @include http://*.sfht.com/* // @include https://*.sfht.com/* // @include http://*.d1.com.cn/* // @include https://*.d1.com.cn/* // @include http://*.chazuo.com/* // @include https://*.chazuo.com/* // @include http://*.u1baby.com/* // @include https://*.u1baby.com/* // @include http://*.homevv.com/* // @include https://*.homevv.com/* // @include http://*.paixie.net/* // @include https://*.paixie.net/* // @include http://tuan.paixie.net/* // @include https://tuan.paixie.net/* // @include http://faxian.paixie.net/* // @include https://faxian.paixie.net/* // @include http://*.tao3c.com/* // @include https://*.tao3c.com/* // @include http://*.zm7.cn/* // @include https://*.zm7.cn/* // @include http://s.etao.com/* // @include https://s.etao.com/* // @include http://product.pchouse.com.cn/* // @include https://product.pchouse.com.cn/* // @include http://buy.daphne.cn/* // @include https://buy.daphne.cn/* // @include http://*.lucemall.com.cn/* // @include https://*.lucemall.com.cn/* // @include http://*.easy361.com/* // @include https://*.easy361.com/* // @include http://item.360hqb.com/* // @include https://item.360hqb.com/* // @include http://q.360hqb.com/* // @include https://q.360hqb.com/* // @include http://*.goujiuwang.com/* // @include https://*.goujiuwang.com/* // @include http://*.huimai365.com/* // @include https://*.huimai365.com/* // @include http://*.jiuxian.com/* // @include https://*.jiuxian.com/* // @include http://*.winenice.com/* // @include https://*.winenice.com/* // @include http://*.yesmywine.com/* // @include https://*.yesmywine.com/* // @include http://mall.yesmywine.com/* // @include https://mall.yesmywine.com/* // @include http://*.banggo.com/* // @include https://*.banggo.com/* // @include http://ploy.banggo.com/* // @include https://ploy.banggo.com/* // @include http://*.yanyue.cn/* // @include https://*.yanyue.cn/* // @include http://*.bearbuy.com.cn/* // @include https://*.bearbuy.com.cn/* // @include http://*.amazon.cn/* // @include https://*.amazon.cn/* // @include http://*.amazon.com/* // @include https://*.amazon.com/* // @include http://*.amazon.co.uk/* // @include https://*.amazon.co.uk/* // @include http://*.amazon.de/* // @include https://*.amazon.de/* // @include http://*.amazon.co.jp/* // @include https://*.amazon.co.jp/* // @include http://*.amazon.fr/* // @include https://*.amazon.fr/* // @include http://*.amazon.ca/* // @include https://*.amazon.ca/* // @include http://*.amazon.it/* // @include https://*.amazon.it/* // @include http://*.amazon.es/* // @include https://*.amazon.es/* // @include http://*.dangdang.com/* // @include https://*.dangdang.com/* // @include http://*.globaldangdang.hk/* // @include https://*.globaldangdang.hk/* // @include http://z.jd.com/* // @include https://z.jd.com/* // @include http://item.jd.com/* // @include https://item.jd.com/* // @include http://i-item.jd.com/* // @include https://i-item.jd.com/* // @include http://item.paipai.com/* // @include https://item.paipai.com/* // @include http://item.yiyaojd.com/* // @include https://item.yiyaojd.com/* // @include http://item.jkcsjd.com/* // @include https://item.jkcsjd.com/* // @include http://item.jd.hk/* // @include https://item.jd.hk/* // @include http://paimai.jd.com/* // @include https://paimai.jd.com/* // @include http://*.jd.com/* // @include https://*.jd.com/* // @include http://*.jd.hk/* // @include https://*.jd.hk/* // @include http://*.360buy.com/* // @include https://*.360buy.com/* // @include http://re.jd.com/* // @include https://re.jd.com/* // @include http://auction.jd.com/* // @include https://auction.jd.com/* // @include http://club.jd.com/* // @include https://club.jd.com/* // @include http://*.360top.com/* // @include https://*.360top.com/* // @include http://detail.zol.com.cn/* // @include https://detail.zol.com.cn/* // @include http://dealer.zol.com.cn/* // @include https://dealer.zol.com.cn/* // @include http://*.zol.com/* // @include https://*.zol.com/* // @include http://*.fglady.cn/* // @include https://*.fglady.cn/* // @include http://*.ouku.com/* // @include https://*.ouku.com/* // @include http://*.newegg.comn/* // @include https://*.newegg.comn/* // @include http://zhadan.newegg.cn/* // @include https://zhadan.newegg.cn/* // @include http://tuan.newegg.cn/* // @include https://tuan.newegg.cn/* // @include http://product.kimiss.com/* // @include https://product.kimiss.com/* // @include http://*.redbaby.com.cn/* // @include https://*.redbaby.com.cn/* // @include http://product.m18.com/* // @include https://product.m18.com/* // @include http://list.m18.com/* // @include https://list.m18.com/* // @include http://*.m18.com/* // @include https://*.m18.com/* // @include http://*.w1.cn/* // @include https://*.w1.cn/* // @include http://*.ashford.com/* // @include https://*.ashford.com/* // @include http://*.sephora.cn/* // @include https://*.sephora.cn/* // @include http://*.lafaso.com/* // @include https://*.lafaso.com/* // @include http://*.s.cn/* // @include https://*.s.cn/* // @include http://*.51buy.com/* // @include https://*.51buy.com/* // @include http://*.51buy.cn/* // @include https://*.51buy.cn/* // @include http://*.okbuy.com/* // @include https://*.okbuy.com/* // @include http://*.letao.com/* // @include https://*.letao.com/* // @include http://*.buy007.com/* // @include https://*.buy007.com/* // @include http://*.taoxie.com/* // @include https://*.taoxie.com/* // @include http://ju.suning.com/* // @include https://ju.suning.com/* // @include http://item.suning.com/* // @include https://item.suning.com/* // @include http://*.suning.com/* // @include https://*.suning.com/* // @include http://*.suning.cn/* // @include https://*.suning.cn/* // @include http://qiang.suning.com/* // @include https://qiang.suning.com/* // @include http://product.suning.com/* // @include https://product.suning.com/* // @include http://*.suning.com/* // @include https://*.suning.com/* // @include http://*.coo8.com/* // @include https://*.coo8.com/* // @include http://*.lusen.com/* // @include https://*.lusen.com/* // @include http://*.lusen.com/* // @include https://*.lusen.com/* // @include http://item.gome.com.cn/* // @include https://item.gome.com.cn/* // @include http://tao.gome.com.cn/* // @include https://tao.gome.com.cn/* // @include http://q.gome.com.cn/* // @include https://q.gome.com.cn/* // @include http://tuan.gome.com.cn/* // @include https://tuan.gome.com.cn/* // @include http://*.gomehome.com/* // @include https://*.gomehome.com/* // @include http://*.gome.com.cn/* // @include https://*.gome.com.cn/* // @include http://*.yhd.com/* // @include https://*.yhd.com/* // @include http://*.yihaodian.com/* // @include https://*.yihaodian.com/* // @include http://*.1mall.com/* // @include https://*.1mall.com/* // @include http://try.yhd.com/* // @include https://try.yhd.com/* // @include http://*.womai.com/* // @include https://*.womai.com/* // @include http://*.leyou.com.cn/* // @include https://*.leyou.com.cn/* // @include http://leleshan.leyou.com.cn/* // @include https://leleshan.leyou.com.cn/* // @include http://*.shopin.net/* // @include https://*.shopin.net/* // @include http://*.xiu.com/* // @include https://*.xiu.com/* // @include http://outlets.xiu.com/* // @include https://outlets.xiu.com/* // @include http://ferragamo.xiu.com/* // @include https://ferragamo.xiu.com/* // @include http://tuan.xiu.com/* // @include https://tuan.xiu.com/* // @include http://item.mbaobao.com/* // @include https://item.mbaobao.com/* // @include http://*.mbaobao.com/* // @include https://*.mbaobao.com/* // @include http://item.vjia.com/* // @include https://item.vjia.com/* // @include http://*.7cv.com/* // @include https://*.7cv.com/* // @include http://*.qinqinbaby.com/* // @include https://*.qinqinbaby.com/* // @include http://*.chunshuitang.com/* // @include https://*.chunshuitang.com/* // @include http://*.x.com.cn/* // @include https://*.x.com.cn/* // @include http://*.guopi.com/* // @include https://*.guopi.com/* // @include http://*.no5.com.cn/* // @include https://*.no5.com.cn/* // @include http://*.sasa.com/* // @include https://*.sasa.com/* // @include http://*.sasa.com/* // @include https://*.sasa.com/* // @include http://*.hksasa.cn/* // @include https://*.hksasa.cn/* // @include http://*.dhc.net.cn/* // @include https://*.dhc.net.cn/* // @include http://*.9dadao.com/* // @include https://*.9dadao.com/* // @include http://*.360kxr.com/* // @include https://*.360kxr.com/* // @include http://*.m6go.com/* // @include https://*.m6go.com/* // @include http://*.likeface.com/* // @include https://*.likeface.com/* // @include http://*.qxian.com/* // @include https://*.qxian.com/* // @include http://*.didamall.com/* // @include https://*.didamall.com/* // @include http://*.yaodian100.com/* // @include https://*.yaodian100.com/* // @include http://*.yaofang.cn/* // @include https://*.yaofang.cn/* // @include http://*.lijiababy.com.cn/* // @include https://*.lijiababy.com.cn/* // @include http://99read.com/* // @include https://99read.com/* // @include http://product.china-pub.com/* // @include https://product.china-pub.com/* // @include http://*.bookschina.com/* // @include https://*.bookschina.com/* // @include http://*.efeihu.com/* // @include https://*.efeihu.com/* // @include http://tuan.efeihu.com/* // @include https://tuan.efeihu.com/* // @include http://*.360mart.com/* // @include https://*.360mart.com/* // @include http://*.yintai.com/* // @include https://*.yintai.com/* // @include http://item.yintai.com/* // @include https://item.yintai.com/* // @include http://*.quwan.com/* // @include https://*.quwan.com/* // @include http://*.urcosme.com/* // @include https://*.urcosme.com/* // @include http://*.strawberrynet.com/* // @include https://*.strawberrynet.com/* // @include http://*.strawberrynet.com/* // @include https://*.strawberrynet.com/* // @include http://*.luce.com.cn/* // @include https://*.luce.com.cn/* // @include http://*.k121.com/* // @include https://*.k121.com/* // @include http://*.happigo.com/* // @include https://*.happigo.com/* // @include http://mall.happigo.com/* // @include https://mall.happigo.com/* // @include http://*.gap.cn/* // @include https://*.gap.cn/* // @include http://*.misslele.com/* // @include https://*.misslele.com/* // @include http://*.5lux.com/* // @include https://*.5lux.com/* // @include http://*.5lux.com/* // @include https://*.5lux.com/* // @include http://*.xiaozhuren.com/* // @include https://*.xiaozhuren.com/* // @include http://*.all3c.com/* // @include https://*.all3c.com/* // @include http://*.idaphne.com/* // @include https://*.idaphne.com/* // @include http://product.pcbaby.com.cn/* // @include https://product.pcbaby.com.cn/* // @include http://*.binggo.com/* // @include https://*.binggo.com/* // @include http://*.tiantian.com/* // @include https://*.tiantian.com/* // @include http://tuan.tiantian.com/* // @include https://tuan.tiantian.com/* // @include http://*.xiji.com/* // @include https://*.xiji.com/* // @include http://*.xijie.com/* // @include https://*.xijie.com/* // @include http://mall.jumei.com/* // @include https://mall.jumei.com/* // @include http://pop.jumei.com/* // @include https://pop.jumei.com/* // @include http://*.jumei.com/* // @include https://*.jumei.com/* // @include http://item.jumei.com/* // @include https://item.jumei.com/* // @include http://*.jumeiglobal.com/* // @include https://*.jumeiglobal.com/* // @include http://item.jumeiglobal.com/* // @include https://item.jumeiglobal.com/* // @include http://buy.caomeipai.com/* // @include https://buy.caomeipai.com/* // @include http://*.dahuozhan.com/* // @include https://*.dahuozhan.com/* // @include http://*.dazhe.cn/* // @include https://*.dazhe.cn/* // @include http://*.huolida.com/* // @include https://*.huolida.com/* // @include http://*.12dian.com/* // @include https://*.12dian.com/* // @include http://*.yougou.com/* // @include https://*.yougou.com/* // @include http://*.yougou.com/* // @include https://*.yougou.com/* // @include http://*.111.com.cn/* // @include https://*.111.com.cn/* // @include http://*.daoyao.com/* // @include https://*.daoyao.com/* // @include http://*.jianke.com/* // @include https://*.jianke.com/* // @include http://*.360kad.com/* // @include https://*.360kad.com/* // @include http://*.lbxcn.com/* // @include https://*.lbxcn.com/* // @include http://book.douban.com/* // @include https://book.douban.com/* // @include http://dongxi.douban.com/* // @include https://dongxi.douban.com/* // @include http://product.it168.com/* // @include https://product.it168.com/* // @include http://product.pconline.com.cn/* // @include https://product.pconline.com.cn/* // @include http://product.pcpop.com/* // @include https://product.pcpop.com/* // @include http://cosme.pclady.com.cn/* // @include https://cosme.pclady.com.cn/* // @include http://brand.yoka.com/* // @include https://brand.yoka.com/* // @include http://detail.55bbs.com/* // @include https://detail.55bbs.com/* // @include http://hzp.onlylady.com/* // @include https://hzp.onlylady.com/* // @include http://*.24dq.com/* // @include https://*.24dq.com/* // @include http://*.muyingzhijia.com/* // @include https://*.muyingzhijia.com/* // @include http://item.muyingzhijia.com/* // @include https://item.muyingzhijia.com/* // @include http://*.houmart.com/* // @include https://*.houmart.com/* // @include http://*.onlyts.cn/* // @include https://*.onlyts.cn/* // @include http://*.winxuan.com/* // @include https://*.winxuan.com/* // @include http://item.winxuan.com/* // @include https://item.winxuan.com/* // @include http://detail.bookuu.com/* // @include https://detail.bookuu.com/* // @include http://e.bookuu.com/* // @include https://e.bookuu.com/* // @include http://wenju.bookuu.com/* // @include https://wenju.bookuu.com/* // @include http://book.beifabook.com/* // @include https://book.beifabook.com/* // @include http://product.yesky.com/* // @include https://product.yesky.com/* // @include http://product.pchome.net/* // @include https://product.pchome.net/* // @include http://product.enet.com.cn/* // @include https://product.enet.com.cn/* // @include http://*.ruiyi.com/* // @include https://*.ruiyi.com/* // @include http://*.ruiyi.cn/* // @include https://*.ruiyi.cn/* // @include http://*.rayi.com/* // @include https://*.rayi.com/* // @include http://*.rayi.cn/* // @include https://*.rayi.cn/* // @include http://*.nop.cn/* // @include https://*.nop.cn/* // @include http://product.imobile.com.cn/* // @include https://product.imobile.com.cn/* // @include http://product.cnmo.com/* // @include https://product.cnmo.com/* // @include http://phone.shouji.com.cn/* // @include https://phone.shouji.com.cn/* // @include http://product.tompda.com/* // @include https://product.tompda.com/* // @include http://*.3533.com/* // @include https://*.3533.com/* // @include http://product.intozgc.com/* // @include https://product.intozgc.com/* // @include http://product.chinabyte.com/* // @include https://product.chinabyte.com/* // @include http://app.tech.ifeng.com/* // @include https://app.tech.ifeng.com/* // @include http://www2.xitek.com/* // @include https://www2.xitek.com/* // @include http://product.imp3.net/* // @include https://product.imp3.net/* // @include http://*.menglu.com/* // @include https://*.menglu.com/* // @include http://*.moonbasa.com/* // @include https://*.moonbasa.com/* // @include http://*.ing2ing.com/* // @include https://*.ing2ing.com/* // @include http://*.qjherb.com/* // @include https://*.qjherb.com/* // @include http://*.korirl.com/* // @include https://*.korirl.com/* // @include http://*.alaves.com/* // @include https://*.alaves.com/* // @include http://*.0-100s.com/* // @include https://*.0-100s.com/* // @include http://*.cherriespie.com/* // @include https://*.cherriespie.com/* // @include http://*.clafield.com/* // @include https://*.clafield.com/* // @include http://*.baoyeah.com/* // @include https://*.baoyeah.com/* // @include http://*.suorang.com/* // @include https://*.suorang.com/* // @include http://*.monteamor.com/* // @include https://*.monteamor.com/* // @include http://*.rutisher.com/* // @include https://*.rutisher.com/* // @include http://*.keede.com/* // @include https://*.keede.com/* // @include http://*.kede.com/* // @include https://*.kede.com/* // @include http://*.vancl.com/* // @include https://*.vancl.com/* // @include http://*.dazhongdianqi.com.cn/* // @include https://*.dazhongdianqi.com.cn/* // @include http://*.skinstorechina.com/* // @include https://*.skinstorechina.com/* // @include http://item.buy.qq.com/* // @include https://item.buy.qq.com/* // @include http://*.zol.com.cn/* // @include https://*.zol.com.cn/* // @include http://*.pconline.com.cn/* // @include https://*.pconline.com.cn/* // @include http://*.yesky.com/* // @include https://*.yesky.com/* // @include http://*.it168.com/* // @include https://*.it168.com/* // @include http://*.pcpop.com/* // @include https://*.pcpop.com/* // @include http://*.pchome.net/* // @include https://*.pchome.net/* // @include http://*.139shop.com/* // @include https://*.139shop.com/* // @include http://*.milier.com/* // @include https://*.milier.com/* // @include http://*.sportica.cn/* // @include https://*.sportica.cn/* // @include http://*.zhenpin.com/* // @include https://*.zhenpin.com/* // @include http://*.gaojie.com/* // @include https://*.gaojie.com/* // @include http://*.naruko.com.cn/* // @include https://*.naruko.com.cn/* // @include http://*.vivian.com/* // @include https://*.vivian.com/* // @include http://*.vivian.cn/* // @include https://*.vivian.cn/* // @include http://*.masamaso.com/* // @include https://*.masamaso.com/* // @include http://*.masamaso.cn/* // @include https://*.masamaso.cn/* // @include http://*.linkmasa.com/* // @include https://*.linkmasa.com/* // @include http://*.linkmasa.cn/* // @include https://*.linkmasa.cn/* // @include http://item.secoo.com/* // @include https://item.secoo.com/* // @include http://paimai.secoo.com/* // @include https://paimai.secoo.com/* // @include http://sale.secoo.com/* // @include https://sale.secoo.com/* // @include http://*.ehaier.com/* // @include https://*.ehaier.com/* // @include http://qiji.ehaier.com/* // @include https://qiji.ehaier.com/* // @include http://*.handuyishe.com/* // @include https://*.handuyishe.com/* // @include http://*.wbiao.cn/* // @include https://*.wbiao.cn/* // @include http://*.shangpin.com/* // @include https://*.shangpin.com/* // @include http://*.shangpin.hk/* // @include https://*.shangpin.hk/* // @include http://*.pba.cn/* // @include https://*.pba.cn/* // @include http://*.metromall.cn/* // @include https://*.metromall.cn/* // @include http://*.lizi.com/* // @include https://*.lizi.com/* // @include http://*.kadang.com/* // @include https://*.kadang.com/* // @include http://*.aimer.com.cn/* // @include https://*.aimer.com.cn/* // @include http://*.lamiu.com/* // @include https://*.lamiu.com/* // @include http://*.esprit.cn/* // @include https://*.esprit.cn/* // @include http://*.liebo.com/* // @include https://*.liebo.com/* // @include http://*.wangjiu.com/* // @include https://*.wangjiu.com/* // @include http://*.xifuquan.com/* // @include https://*.xifuquan.com/* // @include http://*.189.cn/* // @include https://*.189.cn/* // @include http://*.hicdma.com/* // @include https://*.hicdma.com/* // @include http://*.e100.cn/* // @include https://*.e100.cn/* // @include http://store.samsung.com/* // @include https://store.samsung.com/* // @include http://store.meizu.com/* // @include https://store.meizu.com/* // @include http://detail.meizu.com/* // @include https://detail.meizu.com/* // @include http://b2c.958shop.com/* // @include https://b2c.958shop.com/* // @include http://*.okhqb.com/* // @include https://*.okhqb.com/* // @include http://*.ztedevice.com.cn/* // @include https://*.ztedevice.com.cn/* // @include http://*.daling.com/* // @include https://*.daling.com/* // @include http://item.showjoy.com/* // @include https://item.showjoy.com/* // @include http://*.ocj.com.cn/* // @include https://*.ocj.com.cn/* // @include http://*.ocj.kr/* // @include https://*.ocj.kr/* // @include http://*.lvyoumall.com/* // @include https://*.lvyoumall.com/* // @include http://*.kjt.com/* // @include https://*.kjt.com/* // @include http://store.logitech.com.cn/* // @include https://store.logitech.com.cn/* // @include http://shop.boohee.com/* // @include https://shop.boohee.com/* // @include http://*.meici.com/* // @include https://*.meici.com/* // @include http://*.beibei.com/* // @include https://*.beibei.com/* // @include http://store.nike.com/* // @include https://store.nike.com/* // @include http://*.nike.com/* // @include https://*.nike.com/* // @include http://*.fengqu.com/* // @include https://*.fengqu.com/* // @include http://*.mei.com/* // @include https://*.mei.com/* // @include http://*.vsigo.cn/* // @include https://*.vsigo.cn/* // @include http://*.sundan.com/* // @include https://*.sundan.com/* // @include http://hd.zazhipu.com/* // @include https://hd.zazhipu.com/* // @include http://*.microsoftstore.com.cn/* // @include https://*.microsoftstore.com.cn/* // @include http://*.xgdq.com/* // @include https://*.xgdq.com/* // @include http://*.xtep.com.cn/* // @include https://*.xtep.com.cn/* // @include http://*.xtep.com.cn/* // @include https://*.xtep.com.cn/* // @include http://*.staples.cn/* // @include https://*.staples.cn/* // @include http://mall.midea.com/* // @include https://mall.midea.com/* // @include http://*.midea.cn/* // @include https://*.midea.cn/* // @include http://www1.macys.com/* // @include https://www1.macys.com/* // @include http://cn.shopbop.com/* // @include https://cn.shopbop.com/* // @include http://*.hua.com/* // @include https://*.hua.com/* // @include http://shop.zhe800.com/* // @include https://shop.zhe800.com/* // @include http://*.cosme.com/* // @include https://*.cosme.com/* // @include http://*.diapers.com/* // @include https://*.diapers.com/* // @include http://*.windeln.de/* // @include https://*.windeln.de/* // @include http://*.windeln.com.cn/* // @include https://*.windeln.com.cn/* // @include http://*.escentual.com/* // @include https://*.escentual.com/* // @include http://*.biccamera.com/* // @include https://*.biccamera.com/* // @include http://*.esteelauder.com/* // @include https://*.esteelauder.com/* // @include http://*.saksfifthavenue.com/* // @include https://*.saksfifthavenue.com/* // @include http://*.thewatchery.com/* // @include https://*.thewatchery.com/* // @include http://item.tuhu.com/* // @include https://item.tuhu.com/* // @include http://item.tuhu.cn/* // @include https://item.tuhu.cn/* // @include http://eshop.htc.com/* // @include https://eshop.htc.com/* // @include http://roseonly.com.cn/* // @include https://roseonly.com.cn/* // @include http://*.taqu.cn/* // @include https://*.taqu.cn/* // @include http://shop.jx.189.cn/* // @include https://shop.jx.189.cn/* // @include http://*.bftv.com/* // @include https://*.bftv.com/* // @include http://*.axmall.com.au/* // @include https://*.axmall.com.au/* // @include http://*.lianjia.com/* // @include https://*.lianjia.com/* // @include http://*.ke.com/* // @include https://*.ke.com/* // @include http://*.5i5j.com/* // @include https://*.5i5j.com/* // @include http://*.lovo.cn/* // @include https://*.lovo.cn/* // @include https://plogin.m.jd.com/* // @include https://login.m.taobao.com/* // @grant none // @namespace no // @downloadURL none // ==/UserScript== gwdangJsonp([0],{ /***/ "000bbf01d73ab546daa9": /***/ (function(module, exports, __webpack_require__) { "use strict"; // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // Object.defineProperty(exports, "__esModule", { value: true }); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } var _commonComponentsMemberCouponMixin = __webpack_require__("1fffec0778a8d8b2e8e2"); var _commonComponentsMemberCouponMixin2 = _interopRequireDefault(_commonComponentsMemberCouponMixin); exports["default"] = { mixins: [_commonComponentsMemberCouponMixin2["default"]] }; module.exports = exports["default"]; /***/ }), /***/ "01069a737eec750d4605": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CollectionSettingMini_vue_vue_type_style_index_0_id_1a72083a_scoped_true_lang_less___ = __webpack_require__("8bdd7635873d884ae573"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CollectionSettingMini_vue_vue_type_style_index_0_id_1a72083a_scoped_true_lang_less____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CollectionSettingMini_vue_vue_type_style_index_0_id_1a72083a_scoped_true_lang_less___); /* unused harmony reexport namespace */ /* unused harmony default export */ var _unused_webpack_default_export = (__WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CollectionSettingMini_vue_vue_type_style_index_0_id_1a72083a_scoped_true_lang_less____default.a); /***/ }), /***/ "01c731a8c80a2ccbdf1b": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a \n'; return $$out; }; /***/ }), /***/ "31565daf77a36862a767": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CouponArrow_vue_vue_type_script_lang_js___ = __webpack_require__("4dbc4849707ea6484a05"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CouponArrow_vue_vue_type_script_lang_js____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CouponArrow_vue_vue_type_script_lang_js___); /* harmony namespace reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CouponArrow_vue_vue_type_script_lang_js___) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CouponArrow_vue_vue_type_script_lang_js___[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CouponArrow_vue_vue_type_script_lang_js____default.a); /***/ }), /***/ "31d452087f8bb0fc12f2": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_EpicTrend_vue_vue_type_script_lang_js___ = __webpack_require__("0a3b1f8666118ebd3443"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_EpicTrend_vue_vue_type_script_lang_js____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_EpicTrend_vue_vue_type_script_lang_js___); /* harmony namespace reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_EpicTrend_vue_vue_type_script_lang_js___) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_EpicTrend_vue_vue_type_script_lang_js___[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_EpicTrend_vue_vue_type_script_lang_js____default.a); /***/ }), /***/ "3207beb8fdf4d3d4ed2c": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return staticRenderFns; }); var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "a", { staticClass: "gwd-row gwd-align gwd-jcc minibar-tab", staticStyle: { display: "flex", flex: "1", cursor: "pointer" }, attrs: { title: "点击查看结果" }, on: { click: _vm.open } }, [ _c("img", { staticStyle: { width: "24px", height: "24px" }, attrs: { src: __webpack_require__("762121e3f42703da6326"), alt: "" } }), _vm._v(" "), _c("span", { staticStyle: { "font-size": "13px", color: "#404547" } }, [ _vm._v("图片找同款") ]) ] ) } var staticRenderFns = [] render._withStripped = true /***/ }), /***/ "32dc5c815515f7c2847e": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_TooltipView_vue_vue_type_template_id_4c623068_scoped_true___ = __webpack_require__("820955a54449cb94cc9a"); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_TooltipView_vue_vue_type_template_id_4c623068_scoped_true___["a"]; }); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_TooltipView_vue_vue_type_template_id_4c623068_scoped_true___["b"]; }); /***/ }), /***/ "336de8fce6caee2400ef": /***/ (function(module, exports) { module.exports = {"priceUp":{"zh":"价格上涨","en":"Price Increases","zh-tr":"價格上漲"},"priceStable":{"zh":"价格平稳","en":"Keep Stable","zh-tr":"價格平穩"},"priceDecrease":{"zh":"价格下降","en":"Price Declining","zh-tr":"價格下降"},"priceLowest":{"zh":"历史最低价","en":"Lowest Price","zh-tr":"歷史最低價"},"lowestSingleWithSpace":{"zh":"最低(单   件):","en":"Lowest Price(single):","zh-tr":"最低(單   件):"},"lowestSingle":{"zh":"最低(单件):","en":"Lowest(single):","zh-tr":"最低(單件):"},"lowest":{"zh":"最低:","en":"Lowest:","zh-tr":"最低:"},"textCurrent":{"zh":"现价","en":"Current","zh-tr":"現價"},"textHigh":{"zh":"最高","en":"Highest","zh-tr":"最高"},"textLow":{"zh":"最低","en":"Lowest","zh-tr":"最低"},"day":{"zh":"天","en":" days","zh-tr":"天"},"all":{"zh":"全部","en":"All","zh-tr":"全部"},"single":{"zh":"单   件","en":"Single","zh-tr":"單   件"},"combine":{"zh":"多   件","en":"Combined","zh-tr":"多   件"},"pagePrice":{"zh":"页面价","en":"Price","zh-tr":"頁面價"},"onHandPrice":{"zh":"到手价(单件)","en":"Promotion Price","zh-tr":"到手價(單件)"},"combinePrice":{"zh":"到手价(多件)","en":"Combined Price","zh-tr":"到手價(多件)"}} /***/ }), /***/ "33ce53f2ed81e998d2bc": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_QRLinkTbV3_vue_vue_type_style_index_0_id_263c4225_scoped_true_lang_less___ = __webpack_require__("1c99cc0b274a86b8bf55"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_QRLinkTbV3_vue_vue_type_style_index_0_id_263c4225_scoped_true_lang_less____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_QRLinkTbV3_vue_vue_type_style_index_0_id_263c4225_scoped_true_lang_less___); /* unused harmony reexport namespace */ /* unused harmony default export */ var _unused_webpack_default_export = (__WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_QRLinkTbV3_vue_vue_type_style_index_0_id_263c4225_scoped_true_lang_less____default.a); /***/ }), /***/ "33f1e3efa95059924094": /***/ (function(module, exports, __webpack_require__) { "use strict"; // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // Object.defineProperty(exports, "__esModule", { value: true }); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } var _CouponLinkMixin = __webpack_require__("05dfce086a5faeee4991"); var _CouponLinkMixin2 = _interopRequireDefault(_CouponLinkMixin); exports["default"] = { mixins: [_CouponLinkMixin2["default"]] }; module.exports = exports["default"]; /***/ }), /***/ "3400b3b57abdafe9e6e3": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return staticRenderFns; }); var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "gwd-qrlink-left gwd-row gwd-align", on: { mouseenter: _vm.over } }, [ _c("img", { staticStyle: { width: "26px", height: "26px", "margin-left": "8px" }, attrs: { src: __webpack_require__("273dbda3cd8b9dbd1e10") } }), _vm._v(" "), _c( "span", { staticStyle: { "margin-left": "4px", "font-size": "14px", color: "#11192d" } }, [ _vm._v( _vm._s(_vm.transText("手淘扫码")) + " " + _vm._s( _vm.hasBuyButton ? _vm.transText("查看优惠") : _vm.transText("快捷购买") ) ) ] ), _vm._v(" "), _c("div", { staticClass: "gwd-qr-content gwd-align gwd-column" }, [ _vm.qr ? _c("img", { staticStyle: { width: "98px", height: "98px" }, attrs: { src: _vm.qr, alt: "" } }) : _vm._e(), _vm._v(" "), _c("img", { staticStyle: { width: "20px", height: "20px", position: "absolute", left: "50%", top: "42px", transform: "translate(-50%, 0%)" }, attrs: { src: __webpack_require__("c9085187c37fc1ab0e5e"), alt: "" } }) ]) ] ) } var staticRenderFns = [] render._withStripped = true /***/ }), /***/ "347100e5d04609b28c6b": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CollectionSettingTop_vue_vue_type_script_lang_js___ = __webpack_require__("c42621fee4e6fd4b0684"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CollectionSettingTop_vue_vue_type_script_lang_js____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CollectionSettingTop_vue_vue_type_script_lang_js___); /* harmony namespace reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CollectionSettingTop_vue_vue_type_script_lang_js___) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CollectionSettingTop_vue_vue_type_script_lang_js___[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CollectionSettingTop_vue_vue_type_script_lang_js____default.a); /***/ }), /***/ "347c8293d755342c2556": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a \n'; return $$out; }; /***/ }), /***/ "61d67bfafc2c18e5a95b": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a '; return $$out; }; /***/ }), /***/ "6b5f3f4c7b5f37c1088e": /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(G, $, regeneratorRuntime, Vue) { var _this3 = this; var template = __webpack_require__("274e32dfd54a6b0d18a9"); var userData = __webpack_require__("472a9b3fc8c8805a5dd7"); var log = __webpack_require__("03dd60018ce5ed1344a1"); var store = __webpack_require__("e41a11f7982e4aab1ce6"); var extConsole = __webpack_require__("316f9c352c6202560d16"); var _require = __webpack_require__("966caf0f29e39a633494"); var MiniBarCollectionButton = _require['default']; //嵌入位置设置 var sitePattern = { 'ymatou': ['.price-panel'], 'hihonor': ['.product-price'], 'amazon': ['#price_feature_div', '#unifiedPrice_feature_div'], 'vmall': ['.product-info .product-info-list', '.pro-right .pro-meta-area', '.pro-price'], 'yougou': ['#ygprice_area'], 'gome': ['.prdprice', '#bargain', '.prd-price-1'], 'vipshop': ['.pi-price-box'], '360buy': ['#summary-price', '.summary-price', '#surplus-time', '#product-intro #price'], '360buy-book': ['#summary-price'], '360buy-re': ['.shop_intro .shop_intro_a'], 'taobao': ['.tm-fcs-panel', '#J_PromoPrice', '#J_StrPriceModBox', '[class^=MiniHead--miniPanelHead--]', { selector: '[class^=PurchasePanel--contentWrap--] > [class^=CouponInfo--couponInfo]', position: 'after' }, { selector: '[class^=Price--root]', position: 'after' }, '[class^=SecurityPrice--securityPrice]', { selector: '[class^=MiniHead--miniPanelHead--]', position: 'after' }, { selector: '[class^=Address--MCDelivery--]', position: 'before' }], 'taobao-ju': ['.J_BuySubForm', '[class^=MiniHead--miniPanelHead--]'], 'taobao-95095': ['.tm-fcs-panel', '#J_PromoPrice', '#J_StrPriceModBox', '[class^=MiniHead--miniPanelHead--]'], 'tmall': ['.tm-fcs-panel', '#J_PromoPrice', '#J_StrPriceModBox', '[class^=MiniHead--miniPanelHead--]', // { // selector: '[class^=CouponInfo--couponInfo]', // position: 'before' // }, { selector: '[class^=PurchasePanel--contentWrap--] > [class^=CouponInfo--couponInfo]', position: 'after' }, { selector: '[class^=Price--root]', position: 'after' }, '[class^=SecurityPrice--securityPrice]', { selector: '[class^=MiniHead--miniPanelHead--]', position: 'after' }, { selector: '[class^=Address--MCDelivery--]', position: 'before' }], '51buy': ['.xbase_item:contains("促销价")', '.xbase_item:contains("易迅价")', '#goods_detail_mate .item_icson', '.xbase_row2', '#promotePrice', '#shopprice', '#promotePriceArea'], 'suning': ['#noPrice', '#_main_price', '#existPrice', '#netPriceBox', '#hasPrice', '#mainPrice', '#priceDom'], 'dangdang': ['.price_time', '.d15_price_info', '.price_qiang', '.price_info', '.show_info .sale>p', '.sale_box:first'], 'yihaodian': ['#point_productPrice', '.price_array', '#currentPriceArea'], 'vancl': ['#pricearea .cuxiaoPrice'], 'newegg': ['.neweggPrice', '.goods_price_now'], 'kaola': ['.m-price-wrap .m-price'], 'lenovo': ['#div_product_dec', '#span_product_name'], 'microsoftstore': ['.priceAndRank'], 'bookuu': ['.bc-e5.pd-15'], 'xiaomi': ['.J_saleWrap.sale-wrap', '.pro-time.J_proSeckill', '.goods-info-head-price', '.pro-time.J_proOrder', '.price-info'], "youpin-mi": [".sku-container .price-line"], 'okbuy': ['.prodPriceLiJ .prodPrice'], 'banggo': ['.mbshop_detail_baseinfo'], 'you163': ['.price>.f-clearfix'] }; var getContainer = function getContainer() { var site = G.site; var patterns = sitePattern[site]; if (!patterns || patterns && patterns.length === 0) return false; for (var i = 0; i < patterns.length; i++) { var selector = patterns[i].selector || patterns[i]; var position = patterns[i].position || 'after'; if ($(selector).length > 0) { return { selector: selector, position: position }; } } return false; }; var renderMiniBar = function renderMiniBar(container) { var newTime = __webpack_require__("7026a4b5462dc6da5555").getNewTime(); if (newTime - new Date().getTime() < 300000) { newTime = false; } var href = encodeURIComponent(document.location.href); var html = __webpack_require__("89ea19c6f77aeaf47846"); var setUrl = G.server + '/brwext/setting?from=' + G.from_device; var feedbackUrl = 'https://www.' + G.extName + '.com/brwext/suggest?refer=' + href + '&from_device=' + G.from_device; var priceContainer = html({ 'setUrl': setUrl, 'aliSite': G.aliSite, 'feedbackUrl': feedbackUrl, newTime: false, minidom: G.wishdom2, wishdom: G.wishdom }); // if (location.host === 'goods.kaola.com.hk') { // let dom = `` // $('body').append($(dom)) // let newContainer = container; // container = '#kaolaHkRepair>span' // kaolaHkRepair(newContainer) // } if (container.position === 'append') { $(container.selector).append(priceContainer); } else if (container.position === 'before') { $(container.selector).eq(0).before(priceContainer); } else { $(container.selector).eq(0).after(priceContainer); } __webpack_require__("316f9c352c6202560d16").log('render minibar'); }; var times = 0; var kaolaHkRepair = function kaolaHkRepair(dom) { if (times >= 10) { return; } times++; if ($('.m-price-wrap .m-price .currentPrice').text().match(/\d/)) { $(dom).eq(0).after($('#kaolaHkRepair>span').next()); $('#kaolaHkRepair').remove(); return; } setTimeout(function () { kaolaHkRepair(dom); }, 1000); }; var parsePrice = function parsePrice(price) { if (parseInt(price) > 999999) { return parseInt(price); } else { return price; } }; var addEvent = function addEvent() { $('.gwd-minibar-bg').on('mouseenter', '.minibar-tab', function () { $('#gwd_minibar').addClass('ms_enter'); $(this).addClass('ms-tab-enter'); var id = $(this).attr('id'); $('#' + id + '_detail').show(); if (id === "mini_price_history") { log("minitrend-show"); __webpack_require__("6973d6984a148bf8a638").calLineHeight(); } }); $('.gwd-minibar-bg').on('mouseleave', '.minibar-tab', function () { $('#gwd_minibar').removeClass('ms_enter'); $(this).removeClass('ms-tab-enter'); $(this).removeClass('ms-tab-enter'); var id = $(this).attr('id'); $('#' + id + '_detail').hide(); }); $('#gwd_website_icon').on('click', function (e) { e.preventDefault(); __webpack_require__("d54879e983a83d07f093").openTab(); }); }; module.exports.renderMiniCom = function (data) { var nowprice = undefined; try { nowprice = userData.get('other_info')['code-server'].price; } catch (e) { nowprice = G.dp.price; } if (!nowprice) nowprice = G.dp.price; if (G.site.indexOf('taobao') > -1 || G.site.indexOf('tmall') > -1) { return; } var store = undefined; if (!data.b2c || data.b2c.length === 0) { store = []; } else { store = data.b2c.store; } var newData = []; var storeSize = store.length; //这几个网站做了新的图标 var new_icon_site_ids = [1, 103, 108, 123, 124, 126, 129, 134, 136, 14, 141, 15, 167, 168, 19, 2, 21, 25, 26, 28, 3, 31, 34, 35, 41, 6, 66, 7, 86, 93, 9]; for (var i = 0; i < store.length && i < 6; i++) { var product = store[i].product && store[i].product[0] || store[i]; var dp_id = product.dp_id || ''; var site_id = product.site_id; if (parseInt(site_id) === 3003) { site_id = 3; } var icon_format = new_icon_site_ids.indexOf(Number(site_id)) > -1 ? '.png' : '.ico'; if (!site_id) continue; product.price = parsePrice(product.price.replace(/,/g, "")); product.icourl = G.s_server + '/images/favicon/' + site_id + icon_format; newData.push(product); } var tle = '其他' + storeSize + '家报价'; var bclass = ''; if (newData.length === 0) { tle = '暂无商城比价'; bclass = 'no-com-info'; } else if (newData[0].price < Number(nowprice)) { tle = '更低价:' + newData[0].price + ''; } var t = '
\n \n ' + tle + '\n
'; $('#gwd_mini_compare').append($(t)).css("display", "block").addClass(bclass); if (newData.length > 0) { var html = __webpack_require__("c45e5daa2cf575babe3f"); var allLink = G.c_server + '/dp' + data.dp.dp_id; var obj = { data: newData, allLink: allLink, storeSize: storeSize }; $('#gwd_mini_compare').append(html(obj)); userData.set('minicom', obj); // if ($('#mini_price_history_detail').length > 0) { // renderTrendCompare(newData, storeSize, allLink) // } else { // setTimeout(function() { // renderTrendCompare(newData, storeSize, allLink) // }, 400) // } } else { $('#gwd_mini_compare').off(); } }; var renderTrendCompare = function renderTrendCompare(data, storeSize, allLink) { if (G.promoTrendRendered) { return; } var html = __webpack_require__("e20eddb8c3d59ac76a75"); $('.app-tuiguang').remove(); $('#mini_price_history').removeClass('showapp'); $('#mini_price_history_detail').append(html({ data: data, allLink: allLink, storeSize: storeSize })); }; function recoverMiniBar() { var globalConfig, recoverConfig, i, selector, position, target; return regeneratorRuntime.async(function recoverMiniBar$(context$1$0) { while (1) switch (context$1$0.prev = context$1$0.next) { case 0: if (!$('.miniPanel').length) { context$1$0.next = 3; break; } if ($('#gwd-tb-mini-coupon').length) { $('#gwd-tb-mini-coupon').insertAfter($('[class^=miniPanelHead--]')); } return context$1$0.abrupt('return'); case 3: context$1$0.next = 5; return regeneratorRuntime.awrap(__webpack_require__("9c38beef5ff283e15bd2").met('GwdConfig')); case 5: globalConfig = context$1$0.sent; if (!(globalConfig && globalConfig.gwdMiniBarRecoverConfig)) { context$1$0.next = 19; break; } recoverConfig = globalConfig.gwdMiniBarRecoverConfig.aliSite; i = 0; case 9: if (!(i < recoverConfig.length)) { context$1$0.next = 19; break; } selector = recoverConfig[i].selector; position = recoverConfig[i].position; target = $(selector); if (!target.length) { context$1$0.next = 16; break; } if (position === 'before') { $('.gwd-minibar-bg').insertBefore(target); } else { $('.gwd-minibar-bg').insertAfter(target); } return context$1$0.abrupt('return'); case 16: i++; context$1$0.next = 9; break; case 19: case 'end': return context$1$0.stop(); } }, null, this); } module.exports.recoverMiniBar = recoverMiniBar; module.exports.init = function () { // 获取配置信息, 看是否需要展示中间部分 var permanent = userData.get('permanent'); // if (G.forbidMinibar) return; if (permanent.setWishlist === '0' || permanent.setWishlist === 0) return; if (G.site == 'amazon' || G.site == '6pm') { __webpack_require__("65cb632859494beda768").init(); return; } renderCon(); }; var renderDom = undefined; var delaySite = ['kaola']; var renderCon = function renderCon() { var instanceId, globalConfig, panel, container, store, el; return regeneratorRuntime.async(function renderCon$(context$1$0) { var _this2 = this; while (1) switch (context$1$0.prev = context$1$0.next) { case 0: instanceId = G.instanceId; if (!(delaySite.indexOf(G.site) > -1)) { context$1$0.next = 4; break; } context$1$0.next = 4; return regeneratorRuntime.awrap(__webpack_require__("3e983ecbff4e1a29654c").sleep(5000)); case 4: context$1$0.next = 6; return regeneratorRuntime.awrap(__webpack_require__("9c38beef5ff283e15bd2").met('GwdConfig')); case 6: globalConfig = context$1$0.sent; if (G.aliSite) { panel = globalConfig.aliMobileNotifierConfig.map(function (i) { return i.panel; }).find(function (item) { if ($(item).length) { return $(item)[0]; } return false; }); if (panel) { __webpack_require__("2995c4cdfa33d52c0bc3").observe(panel, function callee$1$0(mutations) { return regeneratorRuntime.async(function callee$1$0$(context$2$0) { var _this = this; while (1) switch (context$2$0.prev = context$2$0.next) { case 0: extConsole.log('mutations:', mutations); if (!(globalConfig && globalConfig.gwdMiniBarRecoverConfig)) { context$2$0.next = 6; break; } context$2$0.next = 4; return regeneratorRuntime.awrap((function callee$2$0() { var config; return regeneratorRuntime.async(function callee$2$0$(context$3$0) { while (1) switch (context$3$0.prev = context$3$0.next) { case 0: config = globalConfig.gwdMiniBarRecoverConfig.aliSite; context$3$0.next = 3; return regeneratorRuntime.awrap(__webpack_require__("d54879e983a83d07f093").waitForConditionFn(function () { for (var i = 0; i < config.length; i++) { var selector = config[i].selector; if ($(selector).length) { return true; } } return false; })); case 3: case 'end': return context$3$0.stop(); } }, null, _this); })()); case 4: context$2$0.next = 8; break; case 6: context$2$0.next = 8; return regeneratorRuntime.awrap(__webpack_require__("d54879e983a83d07f093").waitForConditionFn(function () { return $('[class^=ActiveInfo--root--]').length || $('[class^=CouponInfo--couponInfo]').length || $('[class^=Price--root]').length; })); case 8: // 仅在panel的class发生变化时重新渲染minibar recoverMiniBar(); case 9: case 'end': return context$2$0.stop(); } }, null, _this2); }, { attributes: true, attributeFilter: ['class'] }); } } if (globalConfig && globalConfig.gwdMiniBarPositions) { if (G.aliSite) { sitePattern['taobao'] = globalConfig.gwdMiniBarPositions.aliSite; sitePattern['tmall'] = globalConfig.gwdMiniBarPositions.aliSite; } else { if (globalConfig.gwdMiniBarPositions[G.site]) { sitePattern[G.site] = globalConfig.gwdMiniBarPositions[G.site]; } } } container = getContainer(); __webpack_require__("316f9c352c6202560d16").log('container:', container); context$1$0.next = 13; return regeneratorRuntime.awrap(__webpack_require__("d54879e983a83d07f093").waitForConditionFn(function () { if (container) return true; container = getContainer(); return false; })); case 13: if (!(window.gwd_G && window.gwd_G.instanceId !== instanceId)) { context$1$0.next = 16; break; } __webpack_require__("316f9c352c6202560d16").warn('instanceId不一致,不渲染minibar'); return context$1$0.abrupt('return'); case 16: renderMiniBar(container); store = __webpack_require__("e41a11f7982e4aab1ce6").getStore(); new Vue({ el: '#gwd_mini_remind .minibar-btn-box', store: store, render: function render(h) { return h(MiniBarCollectionButton); } }); addEvent(); el = $('.gwd-minibar-bg')[0]; G.miniBar = el; // 网页可能会移除minibar, if (el) { __webpack_require__("2995c4cdfa33d52c0bc3").observe(el, function (mutations) { mutations.forEach(function (mutation) { if (mutation.removedNodes.length) { __webpack_require__("316f9c352c6202560d16").log('minibar被移除'); if (G.instanceId === $('html').attr('data-gwd-id')) { recoverMiniBar(); } } }); }); } case 23: case 'end': return context$1$0.stop(); } }, null, _this3); }; // 确保.gwd-minibar-bg在.ActiveInfo上方 // 获取页面上的插入节点 // const panel = $('#purchasePanel')[0] /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("5d4f0e584bd9a3a675b3"), __webpack_require__("e081b2491b5c9b12b9da"), __webpack_require__("0d878046564e4ef2113b"), __webpack_require__("3deef7cc191860c0adf2")["default"])) /***/ }), /***/ "6b8303d96ee13d08f335": /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function($, G, Vue, regeneratorRuntime) { var _this = this; var template = __webpack_require__("274e32dfd54a6b0d18a9"); var request = __webpack_require__("91f250ebeb8d5987491c"); var globalCondition = __webpack_require__("9c38beef5ff283e15bd2"); var userData = __webpack_require__("472a9b3fc8c8805a5dd7"); var golbal2 = __webpack_require__("1c640a99db9f6f8a16c2"); var util = __webpack_require__("d54879e983a83d07f093"); var miniFavor = __webpack_require__("472c3193857af11233c9"); var userCenter = __webpack_require__("69afa85b8d7929dd88c5"); var siteInfo = __webpack_require__("5e05e6f5fe79ccf5d009"); var permanent = undefined, oinfo = undefined; var siteidArr = ['228', '266', '246', '229', '365', '366', '1', '238', '230']; var showListPrice = function showListPrice(price, dp_id, originUrl) { var pattern = dp_id.split('-'); var siteId = pattern[pattern.length - 1]; if (price < 0) return '暂时缺货';else { if (siteidArr.indexOf(siteId) > -1) { var site = siteInfo.isProductPage(originUrl); var cur = __webpack_require__("9bf6d059e9a265559f0c").getMoneyInfo(site)[0]; return cur + price.toString().replace(',', ''); } else { return '¥' + price.toString().replace(',', ''); } } }; var addEvent = function addEvent() { $('#topfavor_detail').on('click', '.item_close_btn', function () { var id = $(this).attr('data-id'); delFavor(id); }); $('.favor-list a').on('click', function () { console.log($(this)); if ($(this).attr('data-id')) { delFavor($(this).attr('data-id')); return false; } if (!$(this).attr('href')) { return false; } window.open($(this).attr('href')); return false; }); }; var delFavor = function delFavor(id) { id = id.trim(); oinfo = userData.get('other_info'); // let url = `${G.c_server}/collect/aj_del?dp_id=${id}`; // request.get(url).done((data) => { if (id === oinfo.id) { store.dispatch('priceRemind/cancel').then(function () { $('#topfavor_detail .sp-del').show().fadeOut(3000); getFavor(renderList); }); } else { userCenter['delete'](id).then(function (data) { // -1 失败 1 处理成功 100 未登录 if (data.code === 1) { // if (id == oinfo.now.dp_id) { // $('#topfavor_detail .topf-head .sp-col').text('收藏商品').removeClass('collected') // } $('#topfavor_detail .sp-del').show().fadeOut(3000); getFavor(renderList); } }); } }; var addFavor = function addFavor(callback) { var store = __webpack_require__("e41a11f7982e4aab1ce6").getStore(); var pagedp = G.dp; var dp = oinfo.now; store.dispatch('priceRemind/submit', { notifySite: '', price: '', mode: '' }).then(function (res) { // getFavor(renderList) // $('#topfavor_detail .topf-head .sp-col').text('收藏成功').addClass('collected') }); // userCenter.add('', '').then(data => { // if (Number(data.code) === 1 || data.error_code === '1') { // getFavor(renderList) // $('#topfavor_detail .topf-head .sp-col').text('收藏成功').addClass('collected') // $('#ht_favor').text('收藏成功').addClass('collected') // $(`#gwd_mini_remind .minibar-btn-box span`).text(`已添加提醒`); // $('#gwd_mini_remind .minibar-btn-box em').addClass('favored') // // if (data.data) { // G.remindInfo = { // remind_price: data.data.notifier.threshold, // is_collected: data.data.id, // has_remind_type: data.data.notifier.type, // remind_type: data.data.notifier.type, // notify_site: data.data.notifier.site // }; // // miniFavor.setNotifyPrice(data.data.notifier.site, data.data.notifier.threshold) // } // // // 更新本地收藏存储 // // util.addFavorCheck() // } else if (data.code === '2') { // $('#topfavor_detail .topf-head .sp-col').text('收藏过了').addClass('collected') // $('#ht_favor').text('收藏过了').addClass('collected') // $(`#gwd_mini_remind .minibar-btn-box span`).text(`已添加提醒`); // $('#gwd_mini_remind .minibar-btn-box em').addClass('favored') // } else if (data.code === 100) { // if (callback) callback() // } else { // // } // }) }; var renderList = function renderList(data) { if (typeof data === 'string') { data = JSON.parse(data); } var datasize = data.products.length; for (var i = 0; i < datasize; i++) { var siteId = data.products[i].dp_id.split('-')[1]; data.products[i].site_id = siteId; data.products[i].newPrice = showListPrice(data.products[i].now_price, data.products[i].dp_id, data.products[i].origin_url); } var html = __webpack_require__("c68c5b8c44eda1259060"); $('#topfavor_detail .favor-list').empty().append(template.compile(html)({ data: data.products, imgLoad: G.imgLoad, s_server: G.s_server })); $('.see-all-favor em').text(data.cnt); $('.see-all-favor').attr('href', 'https://www.gwdang.com/mine/collection'); addEvent(); golbal2.loadImg(0, datasize, $('#topfavor_detail li .item_img img')); if (!$('#topfavor_detail').hasClass('islogin')) $('#topfavor_detail').addClass('islogin'); }; var getFavor = function getFavor(callback) { userCenter.getList('default', 1, 3).then(function (res) { var data = res; if (!data.data.list) { callback({ products: [], cnt: 0 }); return; } callback({ products: data.data.list.map(function (item) { item.now_price = item.price.last; return item; }), cnt: data.data.cnt }); }); }; var userLogin = function userLogin(u, p, callback) { $.ajax({ type: "post", url: 'https://www.' + G.extName + '.com/user/aj_login', xhrFields: { withCredentials: true }, crossDomain: true, data: { email: u, password: p, t: "check", host: location.protocol + '//' + location.host }, success: function success(data) { callback(data); __webpack_require__("51aadd1e1b65f329a862").renderAgain(); } }); }; var addDetailEvent = function addDetailEvent() { var stime = undefined, isRender = undefined, setLeft = undefined; $('#topfavor_detail .topf-head span').on('click', function () { addFavor(); }); $('#topfavor_detail .login_click').on('click', function () { var username = $('#topfavor_detail .username').val(); var psd = $('#topfavor_detail .password').val(); if (!username || !psd) { $('#topfavor_detail .login_remind').show().fadeOut(5000); return; } userLogin(username, psd, function (data) { if (data === '1') { G.email = username; getFavor(renderList); } else { $('#topfavor_detail .login_remind').show().fadeOut(5000); } }); }); $('body').on('gwd-login-complete', function (e) { console.log('fired'); getFavor(renderList); }); $('#gwdang-favor').on('mouseenter', function () { if (G.userLogin && !isRender) { isRender = true; $('#topfavor_detail').addClass('islogin'); getFavor(renderList); } if (permanent.style === 'bottom') { setLeft = true; util.setSimplePagePos($('#gwdang-favor'), $('#topfavor_detail'), 279); } $('#topfavor_detail').show(); $(this).addClass('msHover'); }); $('#gwdang-favor').on('mouseleave', function () { var that = this; stime = setTimeout(function () { $('#topfavor_detail').hide(); $(that).removeClass('msHover'); }, 100); }); $('#topfavor_detail').on('mouseenter', function () { clearTimeout(stime); }); $('#topfavor_detail').on('mouseleave', function () { $('#topfavor_detail').hide(); $('#gwdang-favor').removeClass('msHover'); }); }; var renderDetail = function renderDetail(dp_id) { var store = __webpack_require__("e41a11f7982e4aab1ce6").getStore(); var hidebtn = undefined; var dom = '#gwdang_main'; var style = 'top:37px;'; if (permanent.style === 'bottom') { dom = '#bjd_bottom_detail'; style = 'bottom: 60px;right: 40px;'; } // 改商品没有抓取数据的时候 不能收藏商品 if (!dp_id || dp_id.match(/^0-\d+$/)) { hidebtn = true; } var imgHost = G.imgHost; if (G.from_device === 'firefox') { imgHost = G.localImg; } var homeU = 'https://www.gwdang.com/user/wechat_oauth/?pl=9&op=login&from_url=' + encodeURIComponent(location.href); homeU = encodeURIComponent(homeU); var wxUrl = 'https://open.weixin.qq.com/connect/qrconnect?appid=wx34006c141f9daa3a&response_type=code&scope=snsapi_login&state=2ced970d5b97680e95670a48d1102611&redirect_uri=' + homeU; var html = __webpack_require__("2193b4ca85bf7e5cb16d"); $(dom).append(template.compile(html)({ email: G.email, userLogin: G.userLogin, hidebtn: hidebtn, imgHost: imgHost, wxUrl: wxUrl, pageurl: encodeURIComponent(location.href), style: style })); var CommonLogin = __webpack_require__("2d53f53e0179317f1fdf")['default']; new Vue({ el: '#gwd-login-favor', render: function render(h) { return h(CommonLogin, { props: { position: 'gwd-favor', showAlterLogin: true, alterLoginPosition: 'column' } }); } }); addDetailEvent(permanent); var setCollectedStatus = function setCollectedStatus(newVal) { __webpack_require__("316f9c352c6202560d16").log('watch triggered', newVal); if (newVal) { // 已收藏 $('#topfavor_detail .topf-head .sp-col').text('收藏成功').addClass('collected'); } else { // 未收藏 $('#topfavor_detail .topf-head .sp-col').text('收藏商品').removeClass('collected'); } }; setCollectedStatus(store.state.priceRemind.collected); store.watch(function (state) { return state.priceRemind.collected; }, setCollectedStatus); }; module.exports.init = function callee$0$0() { return regeneratorRuntime.async(function callee$0$0$(context$1$0) { while (1) switch (context$1$0.prev = context$1$0.next) { case 0: context$1$0.next = 2; return regeneratorRuntime.awrap(__webpack_require__("9c38beef5ff283e15bd2").met('GwdDpIdGot')); case 2: permanent = userData.get('permanent'); oinfo = userData.get('other_info'); renderDetail(oinfo.now.dp_id); case 5: case 'end': return context$1$0.stop(); } }, null, _this); }; module.exports.addFavor = addFavor; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("e081b2491b5c9b12b9da"), __webpack_require__("5d4f0e584bd9a3a675b3"), __webpack_require__("3deef7cc191860c0adf2")["default"], __webpack_require__("0d878046564e4ef2113b"))) /***/ }), /***/ "6c4158d4a8844af2f16e": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CouponArrow_vue_vue_type_template_id_4f0f1e98___ = __webpack_require__("a39cbf70bd2e92e85f98"); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CouponArrow_vue_vue_type_template_id_4f0f1e98___["a"]; }); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_CouponArrow_vue_vue_type_template_id_4f0f1e98___["b"]; }); /***/ }), /***/ "6da42464ccd75a83a065": /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(regeneratorRuntime) {// // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // Object.defineProperty(exports, '__esModule', { value: true }); var request = __webpack_require__("91f250ebeb8d5987491c"); var globalCondition = __webpack_require__("9c38beef5ff283e15bd2"); exports['default'] = { props: ['mode', 'days'], data: function data() { return { qrLink: '', loading: false }; }, methods: { over: function over() { var qrApi, res; return regeneratorRuntime.async(function over$(context$1$0) { while (1) switch (context$1$0.prev = context$1$0.next) { case 0: if (!(this.loading || this.qrLink)) { context$1$0.next = 2; break; } return context$1$0.abrupt('return'); case 2: if (!(this.mode !== 'qr')) { context$1$0.next = 4; break; } return context$1$0.abrupt('return'); case 4: this.loading = true; context$1$0.next = 7; return regeneratorRuntime.awrap(globalCondition.met('qrApiReady')); case 7: qrApi = context$1$0.sent; if (!(qrApi.type === 'api')) { context$1$0.next = 13; break; } context$1$0.next = 11; return regeneratorRuntime.awrap(request.get(qrApi.src + '&protect=' + this.days)); case 11: res = context$1$0.sent; this.qrLink = res.data.qrImgStr; case 13: case 'end': return context$1$0.stop(); } }, null, this); } } }; module.exports = exports['default']; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("0d878046564e4ef2113b"))) /***/ }), /***/ "6e9dc8f3fe8ed1fd40dc": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_QRLink_vue_vue_type_template_id_673c66fa_scoped_true___ = __webpack_require__("0f986364e7409b7b0cf1"); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_QRLink_vue_vue_type_template_id_673c66fa_scoped_true___["a"]; }); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_QRLink_vue_vue_type_template_id_673c66fa_scoped_true___["b"]; }); /***/ }), /***/ "6eb6300b1093d4b652fb": /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(G, $, regeneratorRuntime, Highcharts) {var __WEBPACK_AMD_DEFINE_RESULT__; !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () { if (['smzdm'].indexOf(G.site) > -1) { return; } /* TODO 支持常用网站列表 支持定时查找 鼠标滚动查找 浏览器兼容性检测 */ var exports = {}; var $ = __webpack_require__("e081b2491b5c9b12b9da"); var lang = __webpack_require__("cf094fe1ab460bb584a8"); var langCfg = __webpack_require__("336de8fce6caee2400ef"); var template = __webpack_require__("274e32dfd54a6b0d18a9"); var siteinfo = __webpack_require__("5e05e6f5fe79ccf5d009"); var userData = __webpack_require__("472a9b3fc8c8805a5dd7"); var countryConfig = __webpack_require__("9bf6d059e9a265559f0c"); var parseprice = __webpack_require__("cb0906562effcf1b0e6c"); var util = __webpack_require__("d54879e983a83d07f093"); var viewPriceTip = __webpack_require__("d5fd5dd54e6f8fc35e0a"); if (G.lang == 'zh-tr') { viewPriceTip = __webpack_require__("6a43c4117801f101b13d"); } var pageInfo = G.pageInfo; var smallTip, smallTip2; var tipDetail; var time, nowTipDom; var nowUrl, newId, nowPrice = 0; var tipResult = {}; var blacklist = [/shangpin\.com/, /cfe\.m\.jd\.com/, /1688\.com/]; var moneyInfo = undefined; var priceTle = { 'pri-t1': lang.getString(langCfg, 'priceUp'), 'pri-t0': lang.getString(langCfg, 'priceStable'), 'pri-t-1': lang.getString(langCfg, 'priceDecrease'), 'pri-t-2': lang.getString(langCfg, 'priceLowest') }; var request = __webpack_require__("91f250ebeb8d5987491c"); function block() { var r = false; for (var i = blacklist.length - 1; i >= 0; i--) { r = blacklist[i].test(location.href); if (r) return r; }; } //获取元素和页面顶部的距离 var getTop = function getTop(e) { var offset = e.offsetTop; if (e.offsetParent != null) offset += getTop(e.offsetParent); return offset; }; //获取元素和页面左侧的距离 var getLeft = function getLeft(e) { var offset = e.offsetLeft; if (e.offsetParent != null) offset += getLeft(e.offsetParent); return offset; }; // const getWidth = (e) => { // let w = $(e).width() // if (!w) // return getWidth(e.parentElement) // return w; // } var getListPrice = function getListPrice() { // 获取列表页鼠标所在当前商品价格 var price = '0'; switch (G.site) { case "360buy": price = $(nowTipDom).parent().parent().find('.p-price strong i').eq(0).text(); break; case "suning": price = $(nowTipDom).parent().parent().parent().find('.res-info .price-box .def-price').eq(0).text(); break; case "taobao": price = $(nowTipDom).parent().next().find('.c-price').text(); if (!price) { price = $(nowTipDom).parent().parent().parent().parent().find('.J_IconMoreNew .g_price').eq(0).text(); } break; case "tmall": price = $(nowTipDom).parent().parent().find('.productPrice>em').eq(0).text(); break; case "amazon": price = $(nowTipDom).parent().parent().parent().parent().find('.a-spacing-mini span.s-price').eq(0).text(); break; case "gome": price = $(nowTipDom).parent().parent().find('.item-price-info .item-price .price').eq(0).text(); break; case "dangdang": price = $(nowTipDom).parent().find('.price .price_n').eq(0).text(); break; case "vipshop": price = $(nowTipDom).parent().parent().parent().parent().find('.special-price .title').eq(0).text(); if (!price) { price = $(nowTipDom).parent().parent().parent().parent().find('.goods-price-info .price').eq(0).text(); } break; default: price = '0'; } price = price.replace(/[,¥¥]+/g, ''); return price; }; // 没有价格走势数据时候的伪造虚拟点 var noTrendAddTrendData = function noTrendAddTrendData(data) { var site_name = undefined; var price = getListPrice(); if (price === '0') return data; var date = util.getTimeNumber(new Date().getTime() - 86400000 * 179, "5"); var date2 = util.getTimeNumber(new Date().getTime(), "5"); var arr = []; date = new Date(date).getTime(); date2 = new Date(date2).getTime(); arr.push([date, Number(price)]); arr.push([date2, Number(price)]); site_name = data.site_name; var noTrendObj = { current_price: price, data: arr, max_price: price, min_price: price, min_stamp: date2 / 1000, name: site_name, start: date, price_status: 0 }; data.trend.store = [noTrendObj]; data.taobaoNoTrend = true; data.start = date; return data; }; var inited = false; exports.init = function () { if (inited) return; if (!inited) { inited = true; } // 获取价格符号 moneyInfo = countryConfig.getMoneyInfo(G.logsite); var b = G.extBrand; if (G.from_device !== 'bijiago' && G.from_device !== 'biyibi') { var permanent = userData.get('permanent'); if (permanent.setTip === '0') return; } else { b = 'bjgou'; } if (block()) return; if (pageInfo.type === 1) { $('body').append('\n
\n \n ' + (G.lang === 'zh-tr' ? '比價' : '比价') + '\n
\n
\n
'); smallTip = $('#' + b + '_price_tip'); smallTip2 = $('#' + b + '_price_tip .tip_btn_box'); tipDetail = $('#' + b + '_price_tip_detail'); } bindDpEvent(); // if (location.hostname.includes('s.taobao.com')) { // $('body').append(` // // `) // } }; function bindDpEvent(area) { var isNewTb = false; // 是否是新版淘宝 if ($('[class^=PageContent--contentWrap--]').length) { isNewTb = true; } var dpMouseOver = function dpMouseOver(e) { var img, parent, id, parentEl, a; return regeneratorRuntime.async(function dpMouseOver$(context$3$0) { while (1) switch (context$3$0.prev = context$3$0.next) { case 0: img = e.target; if (G.site === '360buy' && img.tagName !== 'IMG' && $(img).parents('.more2_img')) { img = $(img).parents('.more2_img').find('img')[0]; } if (img.tagName !== 'IMG' && !isNewTb) { img = $(img).find('img')[0]; } if (!img) { img = $(e.target).parents('.item-link').find('.img-wrapper')[0]; } if (img) { context$3$0.next = 6; break; } return context$3$0.abrupt('return'); case 6: if (!img.parentElement.getAttribute('data-tip')) { context$3$0.next = 8; break; } return context$3$0.abrupt('return', false); case 8: if (!(img.tagName === 'A' || $(img).parents('.item-link').length || img.className.includes('MainPic--mask') || img.width > 50 && img.height > 50)) { context$3$0.next = 37; break; } parent = img.tagName === 'A' ? img : img.parentElement; if (!(parent.href && parent.href.includes('.gwdang.com'))) { context$3$0.next = 12; break; } return context$3$0.abrupt('return'); case 12: if (!(parent.href && parent.href.includes('store.taobao.com'))) { context$3$0.next = 14; break; } return context$3$0.abrupt('return'); case 14: if (!$(parent).parents('[class^=ShopInfo--shopInfo--]').length) { context$3$0.next = 16; break; } return context$3$0.abrupt('return'); case 16: nowTipDom = parent; if (!(G.site === 'taobao' && parent.tagName === 'A' && /^https?:\/\//.test(parent.href))) { context$3$0.next = 36; break; } id = parent.getAttribute('data-nid'); nowPrice = $(parent).parent().parent().parent().next().find('.price strong').text(); addId(img); if (!parent.href.match(/(?:item\.taobao\.com|detail\.tmall\.com)/)) { context$3$0.next = 25; break; } nowUrl = parent.href; context$3$0.next = 32; break; case 25: if (!id) { context$3$0.next = 29; break; } nowUrl = 'https://item.taobao.com/item.htm?id=' + id; context$3$0.next = 32; break; case 29: nowUrl = parent.href; if (nowUrl.includes('click.simba.taobao.com')) { context$3$0.next = 32; break; } return context$3$0.abrupt('return'); case 32: // 加载小标签 renderTip(parent); bindDpEvent2(parent); context$3$0.next = 37; break; case 36: if (isNewTb) { parentEl = $(parent).parents('[class^=Card--doubleCard--]'); if (!parentEl.length) { parentEl = $(parent).parents('[class^=Card--listCard--]'); } if (parentEl.length) { nowPrice = parentEl.find('.Card--price').text(); // let nowId = parentEl.find('.ww-light.ww-small').attr('data-item') // nowUrl = `https://item.taobao.com/item.htm?id=${nowId}` nowUrl = parentEl.parents('a').attr('href'); addId(img); renderTip(parent); bindDpEvent2(parent); } } else if (parent.tagName === 'A' && /^https?:\/\//.test(parent.href) && siteinfo.isProductPage(parent.href)) { addId(img); nowUrl = makeUrl(img, parent.href); renderTip(parent); bindDpEvent2(parent); } else if (parent.parentElement.tagName === 'A' && /^https?:\/\//.test(parent.parentElement.href) && siteinfo.isProductPage(parent.parentElement.href)) { /*amazon.com有一种情况是 a div img 的结构*/ parent = parent.parentElement; addId(img); nowUrl = makeUrl(img, parent.href); renderTip(parent); bindDpEvent2(parent); } else if ($(parent).parents('a').length) { a = $(parent).parents('a')[0]; if (siteinfo.isProductPage(a.href)) { parent = a; addId(img); nowUrl = makeUrl(img, parent.href); renderTip(parent); bindDpEvent2(parent); } //require('common/extConsole').log('find a parent', a) } case 37: case 'end': return context$3$0.stop(); } }, null, this); }; $('body').on('mouseover', 'img, .pd_pic_wrap', dpMouseOver); $('body').on('mouseover', '[class^=Card--doubleCard--]', dpMouseOver); $('body').on('mouseover', '[class^=Card--listCard--]', dpMouseOver); $('body').on('mouseover', '.item-link', dpMouseOver); $('body').on('mouseover', '.more2_item', dpMouseOver); $('body').on('mouseover', '.pic.imglink', dpMouseOver); smallTip2.on('mouseenter', smallTipOnMouseOver); smallTip.on('mouseleave', function () { tipDetail.hide(); smallTip.hide(); }); tipDetail.on('mouseleave', function () { tipDetail.hide(); smallTip.hide(); }); } function makeUrl(obj, url) { if (G.crc64) { return url; } switch (pageInfo.siteName) { case 'suning': console.log($(obj)); var productId = $(obj).parents('.wrap').find('input.hidenInfo').attr('datapro').split('||')[0]; url = "http://www.suning.com/emall/prd_10052_10051_-7_" + productId + "_.html"; break; } return url; } function bindDpEvent2(dom) { var $dom = $(dom); if ($dom.attr(G.extBrand + '_tip_bind')) return; $dom.on('mouseleave', dpMouseLeave); $dom.attr(G.extBrand + '_tip_bind', 1); } function smallTipOnMouseOver() { clearTimeout(time); smallTip.show(); render(); } function dpMouseLeave() { smallTip.hide(); tipDetail.hide(); } function renderTip(dom) { smallTip.css('left', getLeft(dom)); smallTip.css('top', getTop(dom)); smallTip.show().css('display', 'inline-block'); } function addId(obj) { var id = ''; switch (G.site) { case 'yihaodian': var d = $(obj).parent().attr('id').split('_'); if (d) d = d[1]; id = "&id=" + d + '-31'; break; } newId = id; } // function currencyChange(data) { // if (!G.currency || !data) return data; // if (data.store && data.store.length > 0) { // for (var i = 0; i < data.store.length; i++) { // var item = data.store[i]; // if (item.price && item.price.match(/\d+/)) // data.store[i].price = '¥' + parseprice(item.price); // } // } // if (data.trend && data.trend.store.length > 0) { // for (var j = 0; j < data.trend.store[0].data.length; j++) { // var item2 = data.trend.store[0].data[j]; // data.trend.store[0].data[j][1] = parseprice(item2[1]); // } // data.trend.store[0].min_price = parseprice(data.trend.store[0].min_price).toFixed(2); // data.trend.store[0].max_price = parseprice(data.trend.store[0].max_price).toFixed(2); // data.trend.store[0].current_price = parseprice(data.trend.store[0].current_price); // } // return data; // } var yanzhengma = function yanzhengma(url) { var html = __webpack_require__("9d83caf3e05f27ed9c67"); tipDetail.empty().append(template.compile(html)({ url: url })); tipDetail.css('width', 370); }; function render() { var res, url; return regeneratorRuntime.async(function render$(context$2$0) { while (1) switch (context$2$0.prev = context$2$0.next) { case 0: tipDetail.html(''); tipDetail.css('width', 50); // tipDetail.css('left', getLeft($(smallTip)[0]) + $(smallTip).width()) // tipDetail.css('top', getTop($(smallTip)[0])) tipDetail.show(); if (tipResult[nowUrl]) { context$2$0.next = 13; break; } if (!nowUrl.includes('click.simba.taobao.com')) { context$2$0.next = 9; break; } context$2$0.next = 7; return regeneratorRuntime.awrap(__webpack_require__("660610db8f6e89357da9").get('/remoteAddress', { url: nowUrl })); case 7: res = context$2$0.sent; nowUrl = res; case 9: url = G.server + '/brwext/tip_new?days=180&ver=1&site=' + G.site + '&price=' + nowPrice + '&url=' + encodeURIComponent(nowUrl) + newId; request.getOnce(url).then(function (msg) { try { if (msg && msg.now_url) { nowUrl = msg.now_url; } if (msg.is_ban && msg.action && msg.action.method === 'redirect' && msg.action.to) { yanzhengma(msg.action.to); return; } if (msg.trend.store.length === 0) { msg = noTrendAddTrendData(msg); } // msg = currencyChange(msg); //暂时不转化汇率 使用原始货币 价格走势提示框里面才加人民币提示 if (!msg || msg.trend.store.length === 0) return renderError(); if (msg.trend.store[0].current_price == '0.00') return renderError(); tipResult[nowUrl] = msg; render2(msg); } catch (e) {} })['catch'](function () { return renderError(); }); context$2$0.next = 14; break; case 13: render2(tipResult[nowUrl]); case 14: case 'end': return context$2$0.stop(); } }, null, this); } function render2(msg) { // 处理数据 processData(msg); var nostore = undefined; if (!msg.store || msg.store.length === 0) nostore = true; var lowestTime = util.getTimeNumber(msg.trend.store[0].min_stamp * 1000); tipDetail.removeClass('tip-error-info'); if (msg.trend.store[0].max_price === msg.trend.store[0].min_price) { msg.trend.store[0].nowprice = msg.trend.store[0].min_price; } //msg.trend.store[0].price_status = require('bjgou/modules/trend').getPriceStatus(msg.trend.store[0].data).price_status tipDetail.html(template.compile(viewPriceTip)({ data: msg, new_extension: G.new_extension, extName: G.extName, isAliSite: G.aliSite, nostore: nostore, lowestTime: lowestTime, extBrand: G.extBrand, isGwd: G.from_device !== 'bijiago' && G.from_device !== 'biyibi', site: G.site, ss_name: G.ss_name })); if (G.aliSite || nostore) { tipDetail.css('width', 370); } else { tipDetail.css('width', 460); } if ($(window).width() - getLeft($(smallTip)[0]) - $(smallTip).width() < 460) { tipDetail.css('left', 0 - $(tipDetail).width() - 3 + 'px'); } else { tipDetail.css('left', '67px'); } initMiniTrend(msg.trend, msg.taobaoNoTrend, msg.start); bindFavorEvent(msg); } function bindFavorEvent(data) { $('#' + G.extBrand + '_price_tip_notify_btn').on('click', function (event) { event.preventDefault(); $('#' + G.extBrand + '_notify_error').hide(); $('#' + G.extBrand + '_price_tip_notify_btn').text('正在添加......'); request.get(G.c_server + '/collect/aj_add?' + 'dp_id=' + data.dp_id + '&from=tip').done(function (msg) { if (msg.code == 100 || msg.code <= 0) { window.location.href = 'http://www.' + G.extName + '.com/user/login?from_url=' + encodeURIComponent(window.location.href); } else if (msg.code == 1) { $('#' + G.extBrand + '_price_tip_notify_btn').text('已添加到收藏夹').attr('style', 'float:right;color:#fff;background:#18A0F5;'); } else if (msg.code == 2) { if ($('#' + G.extBrand + '_price_tip_notify_btn').text() == '正在添加......') { $('#' + G.extBrand + '_price_tip_notify_btn').text('你已经添加过啦').attr('style', 'float:right;color:#fff;background:#18A0F5;'); } } }); }); } function processData(msg) { var new_icon_site_ids = [1, 103, 108, 123, 124, 126, 129, 134, 136, 14, 141, 15, 167, 168, 19, 2, 21, 25, 26, 28, 3, 31, 34, 35, 41, 6, 66, 7, 86, 93, 9]; var store = msg.store; if (store) { for (var i = store.length - 1; i >= 0; i--) { store[i].icon_url = store[i].icon_url.replace("browser", "s1"); if (store[i].price.indexOf('¥') > -1) store[i].price = '¥' + Number(store[i].price.replace('¥', '').replace(',', '')).toFixed(2); var site_id = /\/(\d+)\.ico/.exec(store[i].icon_url); if (site_id) { site_id = site_id[1]; if (!G.IE6 && new_icon_site_ids.indexOf(Number(site_id)) > -1) { store[i].icon_url = store[i].icon_url.replace(/\d+\.ico/, site_id + ".png").replace(/browser\./, "s1."); } } } } var status_str = 'pri-t' + msg.trend.store[0].price_status; msg.trend.store[0].status_tle = priceTle[status_str]; msg.trend.store[0].max_price = Number(msg.trend.store[0].max_price.replace(',', '')).toFixed(2); msg.trend.store[0].min_price = Number(msg.trend.store[0].min_price.replace(',', '')).toFixed(2); } function renderError(data) { if (data && data.is_ban) { yanzhengma(data.action.to); } else { tipDetail.html(G.lang === 'zh-tr' ? '
抱歉,當前商品暫無價格走勢~
' : '
抱歉,当前商品暂无价格走势~
'); tipDetail.addClass('tip-error-info'); tipDetail.css('width', 220); tipDetail.show(); } } function initMiniTrend(data, taobaoNoTrend, sstart) { if (G.site == '360buy') { // 京东上的这个影响图表样式 var p = $('.elevator_fix style'); p.remove(); } var yAxistext = ''; if (moneyInfo) { yAxistext = moneyInfo[1]; } var maxP = Number(data.store[0].max_price); var maxN = undefined; if (maxP > 5) { maxN = parseInt(data.store[0].max_price).toString() || ''; } else { maxN = Number(data.store[0].max_price).toString() || ''; } var maxN2 = yAxistext.length * 2; var maxS1 = parseInt(maxN.length * 5.6); var maxS2 = parseInt(maxN2 * 5.6); var maxS = Math.max(maxS1, maxS2); var chartML = maxS + 8 + 8; var yAxisY = maxS + 8; var trend_div = $('#gwd_price_tip_trend'); var obj = { chart: { renderTo: 'gwd_price_tip_trend', type: 'line', marginTop: 10, marginLeft: chartML, marginRight: 15, marginBottom: 27, spacing: [0, 0, 0, 0], events: { load: function load() { var xinterval = parseInt((this.xAxis[0].dataMax - this.xAxis[0].dataMin) / 3.9) || 1; this.xAxis[0].update({ tickInterval: xinterval }); var lmin = undefined, lmax = undefined; lmin = Math.floor(this.yAxis[0].dataMin); lmax = Math.ceil(this.yAxis[0].dataMax); var interv2 = Math.pow(10, lmin.toString().length - 2); var tkinterv = undefined; if (this.yAxis[0].dataMax < 1) { lmin = this.yAxis[0].dataMin; lmax = this.yAxis[0].dataMax; tkinterv = 0; } else if (this.yAxis[0].dataMin === this.yAxis[0].dataMax) { lmin = Math.floor(lmin / interv2) * interv2; lmax = lmin * 2; lmin = 0; tkinterv = parseInt((lmax - lmin) / 2); } else { lmin = Math.floor(lmin / interv2) * interv2; lmax = Math.ceil(lmax / interv2) * interv2; if (lmin === lmax) { lmin = lmin - 1; lmax = lmax + 1; } tkinterv = parseInt((lmax - lmin) / 4); if (lmin + tkinterv < this.yAxis[0].dataMin) { lmin = lmin + tkinterv; } } var tkinterv2 = Math.pow(10, tkinterv.toString().length - 1); tkinterv = Math.ceil(tkinterv / tkinterv2) * tkinterv2; // console.log(lmin, lmax, tkinterv) this.yAxis[0].update({ min: lmin, max: lmax, tickInterval: tkinterv || 1 }); } } }, credits: { enabled: false }, colors: ['#2f7ed8'], title: { text: null }, xAxis: { type: 'datetime', labels: { rotation: 0, y: 16, step: 2, style: { fontSize: '10px', fontFamily: 'Helvetica', color: '#9D9D9D' }, align: 'center' }, dateTimeLabelFormats: { day: '%m-%e', week: '%m-%e', month: '%Y/%m', year: '%Y/%m' }, tickLength: 0, gridLineColor: '#e6e9eb', lineColor: '#e6e9eb', minorTickLength: 0, gridLineWidth: 1 }, yAxis: { title: { text: "", rotation: 0, y: -20, x: -13, align: 'high', offset: 0, style: { fontFamily: 'Microsoft YaHei', fontSize: '10px', color: '#969899' } }, labels: { align: 'left', padding: 4, x: -yAxisY, y: 3, style: { fontSize: '10px', fontFamily: 'Helvetica', color: '#9D9D9D' }, formatter: function formatter() { return this.value; } }, plotLines: [{ value: 0, width: 1, color: '#808080' }], gridLineColor: '#e6e9eb', lineColor: '#e6e9eb', tickPixelInterval: 50 }, plotOptions: { series: { animation: false, marker: { radius: 2 }, enableMouseTracking: true, states: { hover: { enabled: true } }, shadow: false } }, tooltip: { xDateFormat: '%Y-%m-%d', borderColor: "#48BEFE", useHTML: true, backgroundColor: 'white', formatter: function formatter() { var x = new Date(this.x); var year = x.getFullYear(); var month = x.getMonth() + 1; var day = x.getDate(); if (month < 10) month = '0' + month.toString(); if (day < 10) day = '0' + day.toString(); // let format = data.msg.formatted[this.x.toString()]; // let disc = format.discount // if (disc !== 0) // disc = '-' + disc.toString() + '%'; if (taobaoNoTrend) { var nowDate = new Date(); if (x.getMonth() !== nowDate.getMonth() || x.getDate() !== nowDate.getDate()) { return false; } } var price = undefined; if (this.y !== 0) price = this.y.toFixed(2);else price = '0'; var price2 = ""; if (moneyInfo) { price2 = '(¥' + parseprice(price) + ')'; price = moneyInfo[0] + price; } var dom = '\n
\n
' + year + '/' + month + '/' + day + '
\n
\n \n ' + this.series.name + '\n ' + price + price2 + '\n
\n
'; return dom; } }, legend: { enabled: false }, series: [] }; obj.series[0] = { visible: true, name: data.store[0].name, pointStart: sstart, pointInterval: 86400000 * 179, color: "#48BEFE", lineWidth: 1, marker: { enabled: false }, states: { enabled: false, hover: { lineWidth: 1 } }, data: [] }; if (taobaoNoTrend) { obj.series[0].dashStyle = "Dash"; } if (data.store[0].data.length > 0) { var store = data.store[0]; var len2 = store.data.length; var datas = store.data; if (store.min_stamp * 1000 > parseInt(Date.UTC(data.startY, data.startM, data.startD))) { obj.series[0].data.push(null); } if (taobaoNoTrend) { for (var j = 0; j < len2; j++) { obj.series[0].data.push({ y: datas[j][1] }); } } else { obj.series[0].data = data.store[0].data; } } if (taobaoNoTrend) { obj.series[0].data[1].marker = { enabled: true, fillColor: '#5ACFFB', radius: 2.5, lineWidth: 0, symbol: "circle" }; obj.plotOptions.series.states = { hover: { enabled: false } }; } if (moneyInfo) { obj.yAxis.title.text = moneyInfo[1]; obj.yAxis.title.y = 104; obj.yAxis.title.x = -(chartML - 6 - maxS2); } if ($('#' + obj.chart.renderTo).length) { new Highcharts.Chart(obj); } trend_div.show(); } return exports; }).call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); // console.log('[img]', img) // console.log('[img] use last a element') /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("5d4f0e584bd9a3a675b3"), __webpack_require__("e081b2491b5c9b12b9da"), __webpack_require__("0d878046564e4ef2113b"), __webpack_require__("ff50e367dd130fa205e3"))) /***/ }), /***/ "6f1fbc9b3e76a280e6a6": /***/ (function(module, exports, __webpack_require__) { "use strict"; // // // // // // // // // // // // // // // // // // // // // // Object.defineProperty(exports, '__esModule', { value: true }); var _vuex = __webpack_require__("436f6d560acb97f873d1"); exports['default'] = { computed: (0, _vuex.mapState)({ checked: function checked(state) { return state.priceRemind.collected; }, id: function id(state) { return state.priceRemind.instanceId; } }) }; module.exports = exports['default']; /***/ }), /***/ "6f353abbe0ce9e84d67e": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_AliMobilePriceNotifier_vue_vue_type_template_id_1b4bff6e_scoped_true___ = __webpack_require__("4a10e07e61fc05d2faa6"); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_AliMobilePriceNotifier_vue_vue_type_template_id_1b4bff6e_scoped_true___["a"]; }); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_AliMobilePriceNotifier_vue_vue_type_template_id_1b4bff6e_scoped_true___["b"]; }); /***/ }), /***/ "6f3a71d8fccef41391c5": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a '; return $$out; }; /***/ }), /***/ "812cd2e9043c15acf109": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return staticRenderFns; }); var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "minibar-btn-box gwd-row gwd-align gwd-jcc", staticStyle: { display: "inline-flex" } }, [ _c("em", { staticClass: "gwd-favor-icon", class: { "gwd-favored": _vm.checked } }), _vm._v(" "), _c("span", [_vm._v(_vm._s(_vm.checked ? "已添加提醒" : "降价提醒"))]) ] ) } var staticRenderFns = [] render._withStripped = true /***/ }), /***/ "817cf5489444460b05d0": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return staticRenderFns; }); var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "gwd-inline-row gwd-align gwd-jd-rank", class: _vm.additionalClass, style: "margin-top: " + _vm.mt + "px" }, [ _c("img", { staticClass: "gwd-icon-rank", attrs: { src: "https://cdn.gwdang.com/images/extensions/jdRanking/icon.svg", alt: "" } }), _vm._v(" "), _vm.additionalClass === "gwd-w217" ? _c("img", { staticStyle: { "margin-left": "-2px" }, attrs: { src: "https://cdn.gwdang.com/images/extensions/jdRanking/text.svg", alt: "" } }) : _vm._e(), _vm._v(" "), _vm.additionalClass === "gwd-w210" || _vm.additionalClass === "gwd-w235" ? _c("img", { staticStyle: { "margin-left": "2px", "margin-right": "1px" }, attrs: { src: "https://cdn.gwdang.com/images/extensions/jdRanking/text-w210.svg", alt: "" } }) : _vm._e(), _vm._v(" "), _c("hr", { staticClass: "gwd-vline" }), _vm._v(" "), _c( "div", { staticClass: "gwd-rank-list gwd-row gwd-align", class: _vm.data.length > 1 ? "gwd-rotate" : "", staticStyle: { position: "relative" } }, [ _c( "a", { staticClass: "gwd-row gwd-align gwd-rank-first", attrs: { title: _vm.data[0].rname, href: _vm.data[0].rurl, target: "_blank" } }, [ _c("span", { staticClass: "gwd-font11" }, [ _c("span", { staticClass: "gwd-mw" }, [ _vm._v(_vm._s(_vm.data[0].rname)) ]), _vm.data[0].rank ? _c("span", [_vm._v("第" + _vm._s(_vm.data[0].rank) + "名")]) : _vm._e() ]) ] ), _vm._v(" "), _vm.data.length > 1 ? _c( "div", { staticClass: "gwd-rank-addition" }, _vm._l(_vm.addition, function(item) { return _c( "a", { key: item.rurl, attrs: { title: item.rname, href: item.rurl, target: "_blank" } }, [ _c("span", { staticClass: "gwd-font11 gwd-mw" }, [ _vm._v(_vm._s(item.rname)) ]) ] ) }), 0 ) : _vm._e() ] ), _vm._v(" "), _c( "form", { staticStyle: { display: "none" }, attrs: { action: _vm.debugMode ? "https://localdev.gwdang.com:3000/v2/ext/jd_rank" : "https://www.gwdang.com/v2/ext/jd_rank", method: "post", target: "_blank" } }, [ _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.content, expression: "content" } ], attrs: { type: "hidden", name: "products" }, domProps: { value: _vm.content }, on: { input: function($event) { if ($event.target.composing) { return } _vm.content = $event.target.value } } }), _vm._v(" "), _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.search, expression: "search" } ], attrs: { type: "hidden", name: "search" }, domProps: { value: _vm.search }, on: { input: function($event) { if ($event.target.composing) { return } _vm.search = $event.target.value } } }), _vm._v(" "), _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.rankName, expression: "rankName" } ], attrs: { type: "hidden", name: "rank" }, domProps: { value: _vm.rankName }, on: { input: function($event) { if ($event.target.composing) { return } _vm.rankName = $event.target.value } } }), _vm._v(" "), _c("input", { directives: [ { name: "model", rawName: "v-model", value: _vm.from, expression: "from" } ], attrs: { type: "hidden", name: "from" }, domProps: { value: _vm.from }, on: { input: function($event) { if ($event.target.composing) { return } _vm.from = $event.target.value } } }), _vm._v(" "), _c("input", { staticStyle: { display: "inline-block", "font-size": "20px", color: "#666" }, attrs: { type: "submit", value: "测试", id: "gwd-jdrank-submit-" + _vm.id } }) ] ) ] ) } var staticRenderFns = [] render._withStripped = true /***/ }), /***/ "820955a54449cb94cc9a": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return staticRenderFns; }); var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _vm.data.time ? _c("div", [ _c( "p", { staticClass: "prifontf", staticStyle: { "margin-left": "16px", "line-height": "14px", "margin-top": "10px", "text-align": "left" } }, [_vm._v(_vm._s(_vm.data.time))] ), _vm._v(" "), _vm.data.pagePrice && _vm.domclass === "" ? _c( "div", { staticClass: "tip-item tip-pagepri tip-pagepri2" }, [ _c("em"), _vm._v(" "), !_vm.aliSite ? [ _c( "span", { staticClass: "tip-item-sp1", staticStyle: { width: "120px" } }, [_vm._v("到手价(单件) / 页面价")] ), _vm._v(" "), _c("span", { staticClass: "tip-item-sp2" }, [_vm._v(":")]) ] : _vm._e(), _vm._v(" "), _c("span", { staticClass: "tip-item-sp3 prifontf" }, [ _vm._v(_vm._s(_vm.data.pagePrice)) ]) ], 2 ) : _vm.data.pagePrice ? _c("div", { staticClass: "tip-item tip-pagepri" }, [ _c("em"), _vm._v(" "), _c("span", { staticClass: "tip-item-sp1" }, [_vm._v("页面价")]), _vm._v(" "), _c("span", { staticClass: "tip-item-sp2" }, [_vm._v(":")]), _vm._v(" "), _c("span", { staticClass: "tip-item-sp3 prifontf" }, [ _vm._v(_vm._s(_vm.data.pagePrice)) ]) ]) : _vm._e(), _vm._v(" "), _vm.data.directpro ? _c("div", { staticClass: "tip-item tip-directpro" }, [ _c("em"), _vm._v(" "), _c("span", { staticClass: "tip-item-sp1" }, [ _vm._v("到手价(单件)") ]), _vm._v(" "), _c("span", { staticClass: "tip-item-sp2" }, [_vm._v(":")]), _vm._v(" "), _c("span", { staticClass: "tip-item-sp3 prifontf" }, [ _vm._v("¥" + _vm._s(_vm.data.directpro)) ]), _vm._v(" "), _c("span", { staticClass: "tip-item-sp4", domProps: { innerHTML: _vm._s(_vm.data.promo2) } }) ]) : _vm._e(), _vm._v(" "), _vm.data.addpro ? _c("div", { staticClass: "tip-item tip-addpro" }, [ _c("em"), _vm._v(" "), _c("span", { staticClass: "tip-item-sp1" }, [ _vm._v("到手价(多件)") ]), _vm._v(" "), _c("span", { staticClass: "tip-item-sp2" }, [_vm._v(":")]), _vm._v(" "), _c("span", { staticClass: "tip-item-sp3 prifontf" }, [ _vm._v("¥" + _vm._s(_vm.data.addpro)) ]), _vm._v(" "), _c("span", { staticClass: "tip-item-sp4", domProps: { innerHTML: _vm._s(_vm.data.promo1) } }) ]) : _vm._e() ]) : _vm._e() } var staticRenderFns = [] render._withStripped = true /***/ }), /***/ "82146d02b9dd73e35b34": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Error_vue_vue_type_script_lang_js___ = __webpack_require__("54ed29046600a3e9868f"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Error_vue_vue_type_script_lang_js____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Error_vue_vue_type_script_lang_js___); /* harmony namespace reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Error_vue_vue_type_script_lang_js___) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Error_vue_vue_type_script_lang_js___[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Error_vue_vue_type_script_lang_js____default.a); /***/ }), /***/ "82410f902da08ba0a973": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return staticRenderFns; }); var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "gwd-row gwd-align" }, [ _c( "a", { staticClass: "gwd-row gwd-align", attrs: { href: _vm.addLink( "https://tb.gwdang.com/extension/qrpage?dp_id=" + _vm.dpId + "&tag=" + _vm.tag + "&limit=" + _vm.coupon.limit + "&discount=" + _vm.coupon.discount ), title: "点击领取", target: "_blank" } }, [ _c( "span", { staticClass: "gwd-content", staticStyle: { flex: "1" } }, [ _vm._v("\n 当前商品可领" + _vm._s(_vm.couponTypeText) + " "), _vm.coupon ? [ _vm._v( "满" + _vm._s(_vm.coupon.limit) + "减" + _vm._s(_vm.coupon.discount) ) ] : _vm._e() ], 2 ), _vm._v(" "), _c("span", { staticClass: "gwd-take" }, [_vm._v("点击领取")]) ] ), _vm._v(" "), _c("img", { attrs: { src: __webpack_require__("7dd623a3756f546cc3f6"), alt: "" } }) ]) } var staticRenderFns = [] render._withStripped = true /***/ }), /***/ "8244649ef63c66851bdd": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_PriceInput_vue_vue_type_style_index_0_id_3ed325cb_scoped_true_lang_less___ = __webpack_require__("e91673f980d62bd3e24c"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_PriceInput_vue_vue_type_style_index_0_id_3ed325cb_scoped_true_lang_less____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_PriceInput_vue_vue_type_style_index_0_id_3ed325cb_scoped_true_lang_less___); /* unused harmony reexport namespace */ /* unused harmony default export */ var _unused_webpack_default_export = (__WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_PriceInput_vue_vue_type_style_index_0_id_3ed325cb_scoped_true_lang_less____default.a); /***/ }), /***/ "830a4b1b5b0ed660267f": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Index_vue_vue_type_template_id_74d4d45d_scoped_true___ = __webpack_require__("a3691c770cb606f8258c"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__Index_vue_vue_type_script_lang_js___ = __webpack_require__("5a3842de4822d4a74039"); /* harmony namespace reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in __WEBPACK_IMPORTED_MODULE_1__Index_vue_vue_type_script_lang_js___) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return __WEBPACK_IMPORTED_MODULE_1__Index_vue_vue_type_script_lang_js___[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Index_vue_vue_type_style_index_0_id_74d4d45d_scoped_true_lang_less___ = __webpack_require__("4c81c82ea327e81a71cc"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__node_modules_15_9_3_vue_loader_lib_runtime_componentNormalizer_js__ = __webpack_require__("9d0a4e2aa6ff804219fc"); /* normalize component */ var component = Object(__WEBPACK_IMPORTED_MODULE_3__node_modules_15_9_3_vue_loader_lib_runtime_componentNormalizer_js__["a" /* default */])( __WEBPACK_IMPORTED_MODULE_1__Index_vue_vue_type_script_lang_js___["default"], __WEBPACK_IMPORTED_MODULE_0__Index_vue_vue_type_template_id_74d4d45d_scoped_true___["a" /* render */], __WEBPACK_IMPORTED_MODULE_0__Index_vue_vue_type_template_id_74d4d45d_scoped_true___["b" /* staticRenderFns */], false, null, "74d4d45d", null ) /* hot reload */ if (false) { var api = require("/Users/huangdie/work-gwdang/extension/browser/dev/node_modules/.2.3.4@vue-hot-reload-api/dist/index.js") api.install(require('vue')) if (api.compatible) { module.hot.accept() if (!api.isRecorded('74d4d45d')) { api.createRecord('74d4d45d', component.options) } else { api.reload('74d4d45d', component.options) } module.hot.accept("./Index.vue?vue&type=template&id=74d4d45d&scoped=true&", function () { api.rerender('74d4d45d', { render: render, staticRenderFns: staticRenderFns }) }) } } component.options.__file = "src/standard/module/components/ImgSame/Index.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /***/ "837c92c61b383789362d": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return staticRenderFns; }); var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("span", { staticClass: "gwd-price" }, [ _c("span", { staticStyle: { "font-size": "14px" } }, [_vm._v("¥")]), _vm._v(" "), _c( "span", { style: { "font-size": (_vm.fontSize ? _vm.fontSize : 20) + "px" } }, [ _vm._v( _vm._s( parseFloat(_vm.price) .toFixed(2) .replace(".00", "") ) ) ] ) ]) } var staticRenderFns = [] render._withStripped = true /***/ }), /***/ "83aa68cb9dd770e03a61": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("e51604a168fd9d6c615d")(); // imports // module exports.push([module.i, ".gwd-mobile-notifier[data-v-1b4bff6e] {\n display: inline-block;\n vertical-align: top;\n}\n.gwd-mobile-notifier .gwd-hint-text[data-v-1b4bff6e] {\n color: #ff4f00;\n position: relative;\n top: 11px;\n cursor: pointer;\n margin-left: 5px;\n font-size: 12px;\n}\n.gwd-mobile-notifier .gwd-hint-text p.Price--tooltipText--2K8wbpT[data-v-1b4bff6e] {\n color: #333;\n}\n.Price--priceAction--1dlgkv-:hover .Price--priceTooltip--2-4CBaB[data-v-1b4bff6e] {\n display: block;\n}\n.Price--priceAction--1dlgkv- .Price--priceTooltip--2-4CBaB[data-v-1b4bff6e] {\n position: absolute;\n left: 100%;\n margin-left: 0;\n top: 50%;\n -webkit-transform: translateY(-50%);\n -moz-transform: translateY(-50%);\n -ms-transform: translateY(-50%);\n -o-transform: translateY(-50%);\n transform: translateY(-50%);\n display: none;\n background-color: #fff;\n border-radius: 12px;\n border: 1px solid rgba(0, 0, 0, 0.08);\n padding: 2px;\n text-align: center;\n}\n.miniPanel .gwd-hide-mini[data-v-1b4bff6e] {\n display: none;\n}\n.miniPanel .gwd-mobile-notifier .gwd-hint-text[data-v-1b4bff6e] {\n top: 0;\n margin-left: 0px;\n}\n", ""]); // exports /***/ }), /***/ "83c13f37011b24ec3e73": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_GwdPriceProtectMiddle_vue_vue_type_style_index_0_id_09436700_scoped_true_lang_less___ = __webpack_require__("f3072a0cf83cf2b5938a"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_GwdPriceProtectMiddle_vue_vue_type_style_index_0_id_09436700_scoped_true_lang_less____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_GwdPriceProtectMiddle_vue_vue_type_style_index_0_id_09436700_scoped_true_lang_less___); /* unused harmony reexport namespace */ /* unused harmony default export */ var _unused_webpack_default_export = (__WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_GwdPriceProtectMiddle_vue_vue_type_style_index_0_id_09436700_scoped_true_lang_less____default.a); /***/ }), /***/ "84636dd97cee8bc936cf": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_MemberCouponBottomBjg_vue_vue_type_script_lang_js___ = __webpack_require__("349e2a33b311aaaed53d"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_MemberCouponBottomBjg_vue_vue_type_script_lang_js____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_MemberCouponBottomBjg_vue_vue_type_script_lang_js___); /* harmony namespace reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_MemberCouponBottomBjg_vue_vue_type_script_lang_js___) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_MemberCouponBottomBjg_vue_vue_type_script_lang_js___[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_MemberCouponBottomBjg_vue_vue_type_script_lang_js____default.a); /***/ }), /***/ "85281123e954905c582b": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_BarTrendInfo_vue_vue_type_script_lang_js___ = __webpack_require__("ce767cd931c590e338c6"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_BarTrendInfo_vue_vue_type_script_lang_js____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_BarTrendInfo_vue_vue_type_script_lang_js___); /* harmony namespace reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_BarTrendInfo_vue_vue_type_script_lang_js___) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_BarTrendInfo_vue_vue_type_script_lang_js___[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_BarTrendInfo_vue_vue_type_script_lang_js____default.a); /***/ }), /***/ "85dfcf86535fc301312e": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_TopMainBar_vue_vue_type_script_lang_js___ = __webpack_require__("cc31af1eaedff0b3df82"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_TopMainBar_vue_vue_type_script_lang_js____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_TopMainBar_vue_vue_type_script_lang_js___); /* harmony namespace reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_TopMainBar_vue_vue_type_script_lang_js___) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_TopMainBar_vue_vue_type_script_lang_js___[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony default export */ __webpack_exports__["default"] = (__WEBPACK_IMPORTED_MODULE_0__node_modules_5_4_2_babel_loader_index_js_node_modules_1_0_3_if_loader_index_js_ref_4_1_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_TopMainBar_vue_vue_type_script_lang_js____default.a); /***/ }), /***/ "85f9e563e35dd4a4e51e": /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function($, G) { var template = __webpack_require__("274e32dfd54a6b0d18a9"); var request = __webpack_require__("91f250ebeb8d5987491c"); var userData = __webpack_require__("472a9b3fc8c8805a5dd7"); var renderBtn = function renderBtn() { var t = '
\n \n \n 口碑\n \n
'; $('.gwd-topbar-left').append(t); $('#review_btn').css('display', 'block'); }; var addEvent = function addEvent() { var choosed = undefined, time = undefined; $('#review_btn').on('mouseenter', function () { if (!choosed) { var cls = $('.review-good').attr('data-d'); $('.' + cls).show(); } var left = $(this).offset().left; $('#review_detail').css('left', left + 'px'); $('#review_detail').show(); $(this).addClass('msenter'); if ($(window).width() - ($('#review_detail').offset().left + $('#review_detail').outerWidth() + 2) < 0) { $('#review_detail').css('right', '0px').css('left', 'auto'); } }); $('#review_btn').on('mouseleave', function () { var that = this; time = setTimeout(function () { $('#review_detail').hide(); $(that).removeClass('msenter'); }, 200); }); $('#review_detail').on('mouseenter', function () { clearTimeout(time); }); $('#review_detail').on('mouseleave', function () { $('#review_detail').hide(); $('#review_btn').removeClass('msenter'); }); $('#review_detail .review-tab').on('click', function () { choosed = true; var cls = $(this).attr('data-d'); $('#review_detail .review-tab').removeClass('selected'); $(this).addClass('selected'); $('.review-right>div').hide(); $('.' + cls).show(); }); }; var addUrls = function addUrls(data) { var other_info = userData.get('other_info'); var dpid = other_info && other_info.now.dp_id; if (!dpid) return data; if (data.bad && data.bad.length > 0) { for (var i = 0; i < data.bad.length; i++) { var href = G.c_server + '/crc64/dp' + dpid + '/reviews/?rword=' + encodeURIComponent(data.bad[i].label) + '&ext=1&rtype=2'; data.bad[i].url = href; } } if (data.good && data.good.length > 0) { for (var i = 0; i < data.good.length; i++) { var href = G.c_server + '/crc64/dp' + dpid + '/reviews/?rword=' + encodeURIComponent(data.good[i].label) + '&ext=1&rtype=1'; data.good[i].url = href; } } return data; }; var getInfo = function getInfo(callback) { var href = encodeURIComponent(location.href); var url = G.server + '/extension/review?url=' + href; request.get(url).done(function (data) { if (data && !(data instanceof Array)) { callback(data); // if (callback2) // callback2(data) // else // globalData = data; } }); }; var renderReview = function renderReview(data) { data.goodbox = 'review-r-good'; data.badbox = 'review-r-bad'; if (!data.good) data.goodbox = 'review-r-noinfo'; if (!data.bad) data.badbox = 'review-r-noinfo'; var html = __webpack_require__("94949e42013e4f5d5530"); data = addUrls(data); var dom = template.compile(html)({ data: data, s_server: G.s_server }); $('.gwd-topbar-left').append(dom); addEvent(); }; // module.exports.getReviewTrend = (callback) => { // if (globalData) callback(globalData) // else callback2 = callback // } module.exports.init = function (data) { getInfo(function (data) { if (data.reviews.length === 0) { __webpack_require__("9c38beef5ff283e15bd2").setMet('no_reviews'); return; } renderBtn(); renderReview(data.reviews); }); }; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("e081b2491b5c9b12b9da"), __webpack_require__("5d4f0e584bd9a3a675b3"))) /***/ }), /***/ "86382bef702254f6385c": /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(regeneratorRuntime, G, Vue, $) { var QRLink = __webpack_require__("041f80fea3d67bf79b22")['default']; var util = __webpack_require__("3e983ecbff4e1a29654c"); var getId = function getId(url) { var id = util.getParameterByName('wareId', url); if (id) { return id + '.html'; } else { return url.split('item.m.jd.com/product/')[1]; } }; module.exports = { init: function init() { var returnUrl, _ret, id, link, a, d, d2, img, giftMoney, dpId, e, tag, mode, app; return regeneratorRuntime.async(function init$(context$1$0) { while (1) switch (context$1$0.prev = context$1$0.next) { case 0: if (!(window.gwd_G && G.from_device === 'bijiago')) { context$1$0.next = 2; break; } return context$1$0.abrupt('return'); case 2: if (location.hostname.includes('.jd.com')) { context$1$0.next = 4; break; } return context$1$0.abrupt('return'); case 4: if (!location.hostname.includes('cfe.m.jd.com')) { context$1$0.next = 31; break; } returnUrl = util.getParameterByName('returnurl'); if (!returnUrl.includes('jingfen.jd.com')) { context$1$0.next = 10; break; } _ret = (function () { var e = document.createElement('DIV'); document.body.appendChild(e); var app = new Vue({ el: e, render: function render(h) { return h(QRLink, { ref: 'qr', props: { mode: 'gwd-mode-login gwd-cfe', dpId: dpId + '-3', tag: tag, url: d } }); } }); __webpack_require__("3e983ecbff4e1a29654c").appendCss('.gwd-qrlink { position: relative; margin-top: 95px; }'); setTimeout(function () { app.$refs.qr.over(); }, 0); return { v: undefined }; })(); if (!(typeof _ret === 'object')) { context$1$0.next = 10; break; } return context$1$0.abrupt('return', _ret.v); case 10: id = getId(returnUrl); if (!id) { context$1$0.next = 31; break; } context$1$0.next = 14; return regeneratorRuntime.awrap(__webpack_require__("d54879e983a83d07f093").waitForConditionFn(function () { return $('.main-wrap').length; })); case 14: link = 'https://item.jd.com/' + id; a = document.createElement('A'); a.href = G.u_server + '/union/go?site_id=3&target_url=' + encodeURIComponent(link) + '&union=' + G.union + '&column=h5_to_pc'; a.innerHTML = '无需验证,直达商品详情页'; a.style.width = '350px'; a.style.height = '46px'; a.style.lineHeight = '46px'; a.style.textAlign = 'center'; a.style.fontSize = '15px'; a.style.border = '1px solid #e23a3a'; a.style.borderRadius = '35px'; a.style.color = '#e23a3a'; a.style.display = 'inline-block'; a.style.position = 'relative'; a.style.top = '-36px'; location.href = a.href; $('.main-wrap').append(a); case 31: if (!(location.href.indexOf('plogin.m.jd.com') === -1)) { context$1$0.next = 33; break; } return context$1$0.abrupt('return'); case 33: setTimeout(function () { if (!document.querySelector('.policy_tip-checkbox')) { return; } if (!document.querySelector('.policy_tip-checkbox').checked) { document.querySelector('.policy_tip-checkbox').click(); } }, 2000); debugger; d = decodeURIComponent(util.getParameterByName('returnurl')); d2 = util.getParameterByName('returnurl', d); if (d2) { d = decodeURIComponent(d2); } if (d.includes('item.m.jd.com/product')) { id = d.split('item.m.jd.com/product/')[1]; link = 'https://item.jd.com/' + id; img = __webpack_require__("b578198bfa51eac13e46"); a = document.createElement('A'); a.style.position = 'absolute'; a.style.left = '50%'; a.style.bottom = '10%'; a.style.transform = 'translate(-50%, -10%)'; a.href = G.u_server + '/union/go?site_id=3&target_url=' + encodeURIComponent(link) + '&union=' + G.union + '&column=h5_to_pc'; a.innerHTML = ''; document.body.appendChild(a); } // if (location.href.indexOf('sku') === -1) { // return // } giftMoney = false; if (location.href.indexOf('giftcoupon') > -1) { giftMoney = true; //return } dpId = util.getParameterByName('sku', d); if (!dpId) { dpId = '1'; } if (!d.includes('item.m.jd.com/product')) { context$1$0.next = 45; break; } return context$1$0.abrupt('return'); case 45: e = document.createElement('DIV'); document.body.appendChild(e); tag = 'login'; if ((G.from_device === 'bijiago' || G.from_device === 'biyibi') && dpId !== '1') { tag = 7; } mode = giftMoney ? 'gwd-mode-login gwd-giftMoney' : 'gwd-mode-login'; app = new Vue({ el: e, render: function render(h) { return h(QRLink, { ref: 'qr', props: { mode: mode, dpId: dpId + '-3', tag: tag, url: d } }); } }); setTimeout(function () { app.$refs.qr.over(); }, 0); case 52: case 'end': return context$1$0.stop(); } }, null, this); } }; //check if dpid contains character // if (dpId.match(/[a-zA-Z]/)) { // dpId = 'fake' // mode = 'gwd-mode-login gwd-fake-cfe' // } /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("0d878046564e4ef2113b"), __webpack_require__("5d4f0e584bd9a3a675b3"), __webpack_require__("3deef7cc191860c0adf2")["default"], __webpack_require__("e081b2491b5c9b12b9da"))) /***/ }), /***/ "8664a7203f5b233b45ed": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Error_vue_vue_type_template_id_8eca1ada_scoped_true___ = __webpack_require__("bbae99500c5d096a54f0"); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Error_vue_vue_type_template_id_8eca1ada_scoped_true___["a"]; }); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Error_vue_vue_type_template_id_8eca1ada_scoped_true___["b"]; }); /***/ }), /***/ "87038ee9f896d5ddf0a2": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_QRLinkLeft_vue_vue_type_style_index_0_id_b671e2be_scoped_true_lang_less___ = __webpack_require__("ba004501820aed46ea98"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_QRLinkLeft_vue_vue_type_style_index_0_id_b671e2be_scoped_true_lang_less____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_QRLinkLeft_vue_vue_type_style_index_0_id_b671e2be_scoped_true_lang_less___); /* unused harmony reexport namespace */ /* unused harmony default export */ var _unused_webpack_default_export = (__WEBPACK_IMPORTED_MODULE_0__node_modules_4_1_2_vue_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_4_1_0_less_loader_dist_cjs_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_QRLinkLeft_vue_vue_type_style_index_0_id_b671e2be_scoped_true_lang_less____default.a); /***/ }), /***/ "8912b42075188a668b27": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("e51604a168fd9d6c615d")(); // imports // module exports.push([module.i, "#gwdang-trend:hover {\n background: #edf1f2;\n}\n#gwdang-trend:hover #gwdang-trend-detail {\n display: block;\n}\n.gwdang-tab .top-bar-detail {\n display: none!important;\n}\n.gwdang-tab:hover .top-bar-detail {\n display: flex!important;\n}\n", ""]); // exports /***/ }), /***/ "891715269d3e347058b7": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return render; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return staticRenderFns; }); var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticStyle: { display: "block !important", "z-index": "9999999999 !important" }, attrs: { id: _vm.domName } }, [ _c( "div", { staticClass: "gwdang-main", style: "display: " + (_vm.fold === "1" ? "none" : "flex") + ";", attrs: { id: "gwdang_main" } }, [ _c("div", { staticClass: "gwd-topbar-logo" }, [ _c("em", { staticClass: "gwd_bg" }), _vm._v(" "), _c("div", { attrs: { id: "gwd_setting_div" } }, [ _c("div", { staticClass: "gwd-hover-helper" }), _vm._v(" "), _c( "div", { staticClass: "gwd_setting_item gwd_setting_item_fst" }, [ _c("div", { staticClass: "gwd_bg gwd_function_setting" }), _vm._v(" "), _c( "a", { on: { click: function($event) { return _vm.openTab() } } }, [_vm._v("功能设置")] ) ] ), _vm._v(" "), _vm._m(0), _vm._v(" "), _vm._m(1), _vm._v(" "), _vm._m(2) ]) ]), _vm._v(" "), _vm._m(3), _vm._v(" "), _vm.showAd ? _c( "a", { staticStyle: { "line-height": "0" }, attrs: { id: "gwdang-banner-ad", title: "点击领取", target: "_blank", href: _vm.jdadUrl } }, [ _c("img", { staticStyle: { height: "32px" }, attrs: { src: "https://cdn.gwdang.com/images/extensions/ad1111/gwdang_go.png" } }) ] ) : _vm._e(), _vm._v(" "), _c("div", { staticStyle: { flex: "1" }, attrs: { id: "gwd-space" } }), _vm._v(" "), _c("div", { staticClass: "gwd-topbar-right" }, [ _c("div", { staticClass: "search-mod" }), _vm._v(" "), _c( "div", { staticClass: "feedback-close", attrs: { id: "gwdang-feed-close" } }, [ _vm._m(4), _vm._v(" "), _c( "a", { staticClass: "gwdang-suggest", attrs: { href: _vm.f_url, id: "gwdang-suggest", target: "_blank", title: "提建议或吐槽遇到的问题" } }, [ _c("em", { staticClass: "gwd_bg" }), _vm._v(" "), _c("span", { staticClass: "blkcolor1" }, [_vm._v("反馈")]) ] ), _vm._v(" "), _c( "a", { staticClass: "top-bar-setting", attrs: { href: _vm.s_url, target: _vm.s_url ? "_blank" : "", title: "功能设置" } }, [_c("em", { staticClass: "gwd_bg" })] ), _vm._v(" "), _vm._m(5) ] ) ]) ] ), _vm._v(" "), _c( "div", { staticClass: "gwdang-mini", style: "display: " + (_vm.fold === "1" ? "block" : "none"), attrs: { id: "gwdang-mini" } }, [ _c( "div", { staticClass: "gwdang-nav main", attrs: { id: "gwdang-main-nav" } }, [ _c( "a", { staticClass: "gwd_logo gwd_bg", attrs: { href: "#" }, on: { click: function($event) { $event.preventDefault() } } }, [ _c("div", { attrs: { id: "gwd_setting_div" } }, [ _c("div", { staticClass: "gwd-hover-helper" }), _vm._v(" "), _c( "div", { staticClass: "gwd_setting_item gwd_setting_item_fst" }, [ _c("div", { staticClass: "gwd_bg gwd_function_setting" }), _vm._v(" "), _c( "a", { on: { click: function($event) { return _vm.openTab() } } }, [_vm._v("功能设置")] ) ] ), _vm._v(" "), _vm._m(6), _vm._v(" "), _vm._m(7), _vm._v(" "), _vm._m(8) ]) ] ), _vm._v(" "), _c("a", { staticClass: "unfold_pointer gwd_bg", attrs: { href: "javascript:", title: "点击展开", id: "gwd_fold_pointer" } }) ] ) ] ) ] ) } var staticRenderFns = [ function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "gwd_setting_item" }, [ _c("div", { staticClass: "gwd_bg gwd_opinion_feedback" }), _vm._v(" "), _c( "a", { attrs: { href: "https://www.gwdang.com/brwext/suggest", target: "_blank" } }, [_vm._v("意见反馈")] ) ]) }, function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "gwd_setting_item" }, [ _c("div", { staticClass: "gwd_bg gwd_use_help" }), _vm._v(" "), _c( "a", { attrs: { href: "https://www.gwdang.com/v2/app/questions", target: "_blank" } }, [_vm._v("使用帮助")] ) ]) }, function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "gwd_setting_item" }, [ _c("div", { staticClass: "gwd_bg gwd_homepage" }), _vm._v(" "), _c( "a", { attrs: { href: "https://www.gwdang.com/", target: "_blank" } }, [_vm._v("购物党首页")] ) ]) }, function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "gwd-topbar-left" }, [ _c("div", { staticClass: "gwdang-tab", attrs: { id: "amazon_compare" } }), _vm._v(" "), _c("div", { staticClass: "gwdang-tab", attrs: { id: "b2c_compare" } }), _vm._v(" "), _c("div", { staticClass: "gwdang-tab", attrs: { id: "tb_compare" } }), _vm._v(" "), _c("div", { staticClass: "gwdang-tab", attrs: { id: "tm_compare" } }), _vm._v(" "), _c("div", { staticClass: "gwdang-tab", attrs: { id: "gwdang-trend" } }) ]) }, function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "a", { staticClass: "gwdang-icon favor", attrs: { href: "javascript:", id: "gwdang-favor", title: "我的收藏夹", target: "_self" } }, [ _c("em", { staticClass: "hasColor gwd_bg" }), _vm._v(" "), _c( "span", { staticClass: "blkcolor1 favortle", attrs: { title: "收藏并获得降价提醒" } }, [_vm._v("我的收藏夹")] ) ] ) }, function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "a", { staticClass: "gwd_close", attrs: { href: "javascript:", target: "_self", title: "关闭购物党" } }, [_c("em", { staticClass: "gwd_bg" })] ) }, function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "gwd_setting_item" }, [ _c("div", { staticClass: "gwd_bg gwd_opinion_feedback" }), _vm._v(" "), _c( "a", { attrs: { href: "https://www.gwdang.com/brwext/suggest", target: "_blank" } }, [_vm._v("意见反馈")] ) ]) }, function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "gwd_setting_item" }, [ _c("div", { staticClass: "gwd_bg gwd_use_help" }), _vm._v(" "), _c( "a", { attrs: { href: "https://www.gwdang.com/v2/app/questions", target: "_blank" } }, [_vm._v("使用帮助")] ) ]) }, function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "gwd_setting_item" }, [ _c("div", { staticClass: "gwd_bg gwd_homepage" }), _vm._v(" "), _c( "a", { attrs: { href: "https://www.gwdang.com/", target: "_blank" } }, [_vm._v("购物党首页")] ) ]) } ] render._withStripped = true /***/ }), /***/ "893503d294226ea0dddf": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TooltipView_vue_vue_type_template_id_4c623068_scoped_true___ = __webpack_require__("32dc5c815515f7c2847e"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__TooltipView_vue_vue_type_script_lang_js___ = __webpack_require__("6a8e7724d7ff1c2952d4"); /* harmony namespace reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in __WEBPACK_IMPORTED_MODULE_1__TooltipView_vue_vue_type_script_lang_js___) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return __WEBPACK_IMPORTED_MODULE_1__TooltipView_vue_vue_type_script_lang_js___[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__TooltipView_vue_vue_type_style_index_0_id_4c623068_scoped_true_lang_css___ = __webpack_require__("1bf3d038228bc6453f54"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__node_modules_15_9_3_vue_loader_lib_runtime_componentNormalizer_js__ = __webpack_require__("9d0a4e2aa6ff804219fc"); /* normalize component */ var component = Object(__WEBPACK_IMPORTED_MODULE_3__node_modules_15_9_3_vue_loader_lib_runtime_componentNormalizer_js__["a" /* default */])( __WEBPACK_IMPORTED_MODULE_1__TooltipView_vue_vue_type_script_lang_js___["default"], __WEBPACK_IMPORTED_MODULE_0__TooltipView_vue_vue_type_template_id_4c623068_scoped_true___["a" /* render */], __WEBPACK_IMPORTED_MODULE_0__TooltipView_vue_vue_type_template_id_4c623068_scoped_true___["b" /* staticRenderFns */], false, null, "4c623068", null ) /* hot reload */ if (false) { var api = require("/Users/huangdie/work-gwdang/extension/browser/dev/node_modules/.2.3.4@vue-hot-reload-api/dist/index.js") api.install(require('vue')) if (api.compatible) { module.hot.accept() if (!api.isRecorded('4c623068')) { api.createRecord('4c623068', component.options) } else { api.reload('4c623068', component.options) } module.hot.accept("./TooltipView.vue?vue&type=template&id=4c623068&scoped=true&", function () { api.rerender('4c623068', { render: render, staticRenderFns: staticRenderFns }) }) } } component.options.__file = "src/standard/module/components/PriceTrend/TooltipView.vue" /* harmony default export */ __webpack_exports__["default"] = (component.exports); /***/ }), /***/ "89d1adbe1b58d82e839d": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("e51604a168fd9d6c615d")(); // imports // module exports.push([module.i, "\n#page #content #bd {\n z-index: 0!important;\n}\n", ""]); // exports /***/ }), /***/ "8ab992f0581c1a15ead9": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_0_13_2_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Share_vue_vue_type_style_index_0_id_3489a5d0_scoped_true_lang_css___ = __webpack_require__("c59529271a81395195a3"); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_0_13_2_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Share_vue_vue_type_style_index_0_id_3489a5d0_scoped_true_lang_css____default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__node_modules_0_13_2_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Share_vue_vue_type_style_index_0_id_3489a5d0_scoped_true_lang_css___); /* unused harmony reexport namespace */ /* unused harmony default export */ var _unused_webpack_default_export = (__WEBPACK_IMPORTED_MODULE_0__node_modules_0_13_2_style_loader_index_js_node_modules_0_20_2_css_loader_index_js_node_modules_15_9_3_vue_loader_lib_loaders_stylePostLoader_js_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Share_vue_vue_type_style_index_0_id_3489a5d0_scoped_true_lang_css____default.a); /***/ }), /***/ "8bdd7635873d884ae573": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a '; return $$out; }; /***/ }), /***/ "a6944a8f1fb80e92210e": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_TipCenter_vue_vue_type_template_id_9f16b84a_scoped_true___ = __webpack_require__("3207beb8fdf4d3d4ed2c"); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_TipCenter_vue_vue_type_template_id_9f16b84a_scoped_true___["a"]; }); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_TipCenter_vue_vue_type_template_id_9f16b84a_scoped_true___["b"]; }); /***/ }), /***/ "a6c4b624300d4e56f587": /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__("e51604a168fd9d6c615d")(); // imports // module exports.push([module.i, "a[data-v-8eca1ada] {\n color: #ff4449;\n}\nbutton[data-v-8eca1ada] {\n width: 94px;\n height: 32px;\n border-radius: 29px;\n opacity: 1;\n border: 1px solid rgba(64, 69, 81, 0.3);\n background-color: none;\n font-size: 14px;\n text-align: center;\n color: #3c4c54;\n cursor: pointer;\n margin-left: 28px;\n margin-right: 28px;\n}\n.gwd-red[data-v-8eca1ada] {\n border: 1px solid #ff4449;\n color: #ff4449;\n}\n", ""]); // exports /***/ }), /***/ "a710c33ca97ead6a5b7f": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Switch_vue_vue_type_template_id_222e987e_scoped_true___ = __webpack_require__("f9ff781f9088de39bd10"); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Switch_vue_vue_type_template_id_222e987e_scoped_true___["a"]; }); /* harmony namespace reexport (by used) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__node_modules_15_9_3_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_15_9_3_vue_loader_lib_index_js_vue_loader_options_Switch_vue_vue_type_template_id_222e987e_scoped_true___["b"]; }); /***/ }), /***/ "a8d04aabebd76e8bb3f7": /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function($, G) { var userData = __webpack_require__("472a9b3fc8c8805a5dd7"); var request = __webpack_require__("91f250ebeb8d5987491c"); var calWidth = __webpack_require__("54be372a53153922dc13"); // const replaceHref = require('common/replaceHref') var golbal2 = __webpack_require__("1c640a99db9f6f8a16c2"); var htmlObj = { 'taobao': __webpack_require__("8a0927a3ad9eaa0e7f96"), 'tmall': __webpack_require__("503933f10716083fddfd") }; var tmData = {}; var renderBtnTop = function renderBtnTop(data) { var html = __webpack_require__("86bd79d95549896902d6"); data.ss = 0; if (data.tmall.length !== 0 && data.tmall.product) { $('#tm_compare').append(html({ store_tle: '天猫', min_price: data.tmall.min_price })).css("display", "block"); tmData['tmall'] = data.tmall; data.ss++; data.tmm = true; renderTopDetail('tmall'); } if (data.taobao.length !== 0 && data.taobao.product) { $('#tb_compare').append(html({ store_tle: '淘宝', min_price: data.taobao.min_price })).css("display", "block"); tmData['taobao'] = data.taobao; data.ss++; data.tbb = true; renderTopDetail('taobao'); } __webpack_require__("1c640a99db9f6f8a16c2").autoFixWidth(); userData.set('tbData', data); if (G.site === 'suning') { $('#tb_compare, #tm_compare').on('click', 'a', function (e) { if ($(this).find('.coupon_span')) return; var url = $(this).attr('href'); if (url && url.indexOf('http') > -1) { window.open($(this).attr('href')); e.preventDefault(); } }); } }; var render = function render(data) { var permanent = userData.get('permanent'); if (permanent.style === 'top') { renderTop(data); } else { __webpack_require__("73e5d235bd431b446c03").renderBt(data); } }; var renderTopDetail = function renderTopDetail(id) { var data = tmData[id]; // if (!G.aliSite && G.from_device !== '360') // replaceHref.init(id, data.product, '&column=b2c') var len = data.product.length; var str = 'tb'; if (id === 'tmall') str = 'tm'; var widthObj = calWidth.init(); var sale_tle = "最近销量"; if (data.from_self === true) sale_tle = "总销量"; var html = htmlObj[id]; var pages = Math.ceil(len / widthObj.showListNum); $('#' + str + '_compare').append(html({ data: data.product, s_server: G.s_server, width: widthObj.turnpW, link: data.more_link, pages: pages, imgLoad: G.imgLoad, sale_tle: sale_tle, allProductW: widthObj.allProductW })); if (G.from_device !== '360') __webpack_require__("b8226e22112290600083").init(data.product, id, false, data.min_price); // $(`#gwdang-${id}-dp-detail`).show() }; var renderTop = function renderTop(data) { renderBtnTop(data); }; var getTmInfo = function getTmInfo(callback) { var code_server = '1'; var other_info = userData.get('other_info'); var msg = other_info.exact_arr; var code = other_info['code-server']; var coreword = encodeURIComponent(other_info.now.coreword); if (!code) { code = {}; code_server = '0'; } var price = G.dp.price * 100; var url = G.server + '/brwext/tbres?union=' + G.union + '&url=' + encodeURIComponent(msg.url) + '&site=' + msg.site + '&isbn=' + msg.isbn + '&keywords=' + encodeURIComponent(msg.keywords) + '&brand=' + encodeURIComponent(msg.brand) + '&type=' + encodeURIComponent(msg.type) + '&price=' + price + '&class_id=' + msg.class_id + '&name=' + encodeURIComponent(G.dp.name) + '&code_brand_id=' + code.brand_id + '&code_clean_title=' + encodeURIComponent(code.clean_title) + '&code_code=' + code.code + '&code_display_brand=' + encodeURIComponent(code.display_brand) + '&code_brand=' + encodeURIComponent(code.brand) + '&code_class_id=' + encodeURIComponent(code.class_id) + '&code_price=' + encodeURIComponent(code.price) + '&code_spec=' + encodeURIComponent(code.spec) + '&code-server=' + code_server + '&coreword=' + coreword + '&catid=' + G.dp.cat_id; request.get(url).done(function (data) { if (data) { if (G.site == 'taobao' || G.site == 'tmall') { getUniqPid(data, function (mm) { callback(mm); }); } else { getImgSearch(data, function (mm) { callback(mm); }); } } }); }; var getImgSearch = function getImgSearch(msg, callback) { var buildTaobaoUrl = __webpack_require__("cc45d932d8dbdb86f2f3"); msg = buildTaobaoUrl.buildCommon(msg); if (G.btype == 'luyou') { callback(msg); return; } var dataShare = __webpack_require__("cde79cb5670e8bdeb4fb"); var brandId = dataShare.get('dp_data') && dataShare.get('dp_data')['exact_arr']['brand_id']; if (G.site == '360buy' && brandId && (!msg.taobao.sort || !msg.tmall.sort)) { // 在京东有brand 有比价结果的情况下, 不走图片检索 callback(msg); return; } __webpack_require__("ff881c8b15091819a13e").init(function (data) { if (data) { if (msg.tmall.sort) msg.tmall = {}; if (data.tmall.length > 0) { msg.tmall.min_price = data.tmall[0].price; msg.tmall.max_price = data.tmall[data.tmall.length - 1].price; msg.tmall.store = data.tmall; msg.tmall.product = data.tmall; } if (msg.taobao.sort) msg.taobao = {}; if (data.taobao.length > 0) { msg.taobao.product = data.taobao; msg.taobao.store = data.taobao; msg.taobao.min_price = data.taobao[0].price; msg.taobao.max_price = data.taobao[data.taobao.length - 1].price; } if (!msg.tmall.more_link) msg.tmall.more_link = 'https://s.taobao.com/search?q=' + msg.search.keywords + '&pid=' + msg.search.union; if (!msg.taobao.more_link) msg.taobao.more_link = 'https://s.taobao.com/search?q=' + msg.search.keywords + '&pid=' + msg.search.union; callback(msg); } else { callback(msg); } }); }; var getUniqPid = function getUniqPid(msg, callback) { var buildTaobaoUrl = __webpack_require__("cc45d932d8dbdb86f2f3"); msg = buildTaobaoUrl.buildCommon(msg); __webpack_require__("75d41ad7d5a1bceb52d2").getTaobaouniqData(function (data) { if (data) { if (msg.tmall.sort) { msg.tmall = {}; } if (data.tmall.length > 0) { msg.tmall.min_price = data.tmall[0].price; msg.tmall.max_price = data.tmall[data.tmall.length - 1].price; msg.tmall.store = data.tmall; msg.tmall.product = data.tmall; } if (msg.taobao.sort) { msg.taobao = {}; } if (data.taobao.length > 0) { msg.taobao.product = data.taobao; msg.taobao.store = data.taobao; msg.taobao.min_price = data.taobao[0].price; msg.taobao.max_price = data.taobao[data.taobao.length - 1].price; } if (!msg.tmall.more_link) msg.tmall.more_link = 'https://s.taobao.com/search?q=' + msg.search.keywords + '&pid=' + msg.search.union; if (!msg.taobao.more_link) msg.taobao.more_link = 'https://s.taobao.com/search?q=' + msg.search.keywords + '&pid=' + msg.search.union; callback(msg); } else { callback(msg); } }); }; module.exports.init = function () { getTmInfo(render); }; module.exports.renderTopDetail2 = function (id) { var widthObj = calWidth.init(); golbal2.loadImg(0, widthObj.showListNum, $('#' + id + '-item-list li .small-img img')); $('#gwdang-' + id + '-dp-detail').show(); }; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("e081b2491b5c9b12b9da"), __webpack_require__("5d4f0e584bd9a3a675b3"))) /***/ }), /***/ "aa51cc982b2c1333cb43": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a '; return $$out; }; /***/ }), /***/ "bd3ac621e2e90b197c06": /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a