Authored by 姜枫

init commit

  1 +'use strict'
  2 +
  3 +var http = require('http');
  4 +var data = require('./data.json');
  5 +var Handlebars = require('handlebars');
  6 +var fs = require('fs');
  7 +
  8 +var template = fs.readFileSync('./views/detail.hbs', 'utf-8');
  9 +
  10 +var templateFn = Handlebars.compile(template);
  11 +
  12 +var server = http.createServer(function (req, res) {
  13 + var result = templateFn(data);
  14 + res.end(result);
  15 +});
  16 +
  17 +server.listen(3000, function () {
  18 + console.log('Server running on port 3000')
  19 +});
  1 +{"seo":{"title":"HARDLYEVER'S HARDLYEVER'S 黑色迷彩连帽薄款防风外套正品 ","keywords":"HARDLYEVER'S,HARDLYEVER'S官网专卖店,HARDLYEVER'S官方授权店,HARDLYEVER'S正品,HARDLYEVER'S打折,HARDLYEVER'S折扣店,HARDLYEVER'S真品,HARDLYEVER'S代购","description":"HARDLYEVER'S 黑色迷彩连帽薄款防风外套"},"headerData":{"header":true,"headType":"boys","yohoGroup":[{"link":"http://www.yoho.cn","cn":"集团官网","en":"YOHO!"},{"link":"http://www.yohoboys.com","cn":"男生潮流","en":"YOHO!BOYS"},{"link":"http://www.yohogirls.com","cn":"女生潮流","en":"YOHO!GIRLS"},{"link":"http://www.yohoshow.com","cn":"物趣分享","en":"YOHO!SHOW"},{"link":"http://www.yohood.cn","cn":"潮流嘉年华","en":"YO'HOOD"}],"navbars":[{"link":"http://www.yohobuy.com/","cn":"男生","en":"BOYS","isNewPage":false,"active":true},{"link":"http://new.yohobuy.com/woman","cn":"女生","en":"GIRLS","isNewPage":false},{"link":"http://new.yohobuy.com/kids","cn":"潮童","en":"KIDS","isNewPage":false},{"link":"http://new.yohobuy.com/lifestyle","cn":"创意生活","en":"LIFE STYLE","isNewPage":false}],"subNav":[{"link":"http://list.yohobuy.com/new?gender=1,3&order=s_t_desc\n","name":"新品到着","isHot":false,"isNew":false},{"link":"http://www.yohobuy.com/brands?gender=1,3\n","name":"品牌一览","isHot":false,"isNew":false},{"link":"http://list.yohobuy.com/?gender=1,3&msort=1,3\n","name":"服饰","isHot":false,"isNew":false,"thirdNav":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=1\n","title":"上装","brandItems":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=1&misort=12","hot":true,"brandName":"衬衫"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=1&misort=16","hot":true,"brandName":"卫衣"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=1&misort=13","hot":false,"brandName":"POLO"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=1&misort=11","hot":false,"brandName":"T恤"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=1&misort=257","hot":false,"brandName":"毛衣针织"}]},{"link":"http://list.yohobuy.com/?gender=1,3&msort=3\n","title":"下装","brandItems":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=3&misort=26","hot":true,"brandName":"休闲裤"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=3&misort=27","hot":true,"brandName":"牛仔裤"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=3&misort=28","hot":false,"brandName":"短裤"}]},{"link":"http://list.yohobuy.com/?gender=1,3&msort=1,3\n","title":"经典款型","brandItems":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=1&misort=16&parameter_931=5093","hot":true,"brandName":"圆领套头卫衣"},{"link":"http://list.yohobuy.com/?msort=1&misort=12&gender=1,3&style=1004","hot":false,"brandName":"学院风衬衫"},{"link":"http://list.yohobuy.com/?msort=1&misort=11&gender=1,3&style=991","hot":false,"brandName":"街头风T恤"}]},{"link":"http://www.yohobuy.com/brands?gender=1,3\n","title":"热门品牌","brandItems":[{"link":"http://lal.yohobuy.com/?gender=1,3","hot":false,"brandName":"Life·After Life"},{"link":"http://thething.yohobuy.com/?gender=1,3","hot":false,"brandName":"THETHING"},{"link":"http://korakublue.yohobuy.com/?gender=1,3","hot":true,"brandName":"Korakublue"},{"link":"http://teebacco.yohobuy.com/?gender=1,3","hot":false,"brandName":"TEEBACCO"},{"link":"http://preppyelite.yohobuy.com/?gender=1,3","hot":false,"brandName":"Preppy Elite"},{"link":"http://creamsoda.yohobuy.com/?gender=1,3","hot":true,"brandName":"Creamsoda"},{"link":"http://chocoolate.yohobuy.com/?gender=1,3","hot":false,"brandName":":CHOCOOLATE"},{"link":"http://5cm.yohobuy.com/?gender=1,3","hot":true,"brandName":"5CM"},{"link":"http://kon.yohobuy.com/?gender=1,3","hot":false,"brandName":"KON"},{"link":"http://energysupply.yohobuy.com/?gender=1,3","hot":false,"brandName":"元气补给 ENERGY SUPPLY"},{"link":"http://pancoat.yohobuy.com/?gender=1,3","hot":false,"brandName":"pancoat"},{"link":"http://oniarai.yohobuy.com/?gender=1,3","hot":false,"brandName":"鬼洗"},{"link":"http://prodbldg.yohobuy.com/?gender=1,3","hot":false,"brandName":"PRODbldg"}]}],"imgCode":"9f8af647f35746ba23373d7a66250753"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=6\n","name":"鞋履","isHot":false,"isNew":false,"thirdNav":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=6\n","title":"鞋履","brandItems":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=6&misort=44\n","hot":true,"brandName":"休闲/运动鞋"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=6&misort=46\n","hot":false,"brandName":"凉鞋/拖鞋"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=6&misort=48\n","hot":false,"brandName":"时装鞋"}]},{"link":"http://list.yohobuy.com/?gender=1,3&msort=6\n","title":"热门款型","brandItems":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=6&misort=44&parameter_918=4992\n","hot":true,"brandName":"复古跑鞋"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=6&misort=44&parameter_918=4991\n","hot":false,"brandName":"帆布鞋"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=6&misort=48&parameter_924=5039\n","hot":false,"brandName":"雕花皮鞋"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=6&misort=45&parameter_921=5019\n","hot":false,"brandName":"户外靴"}]},{"link":"http://www.yohobuy.com/brands?gender=1,3\n","title":"热门品牌","brandItems":[{"link":"http://beastie.yohobuy.com/?gender=1,3","hot":false,"brandName":"Beastie"},{"link":"http://activatewater.yohobuy.com/?gender=1,3","hot":false,"brandName":"Activate water"},{"link":"http://adidas.yohobuy.com/?gender=1,3","hot":true,"brandName":"adidas Originals"},{"link":"http://puma.yohobuy.com/?gender=1,3","hot":false,"brandName":"PUMA"},{"link":"http://lacoste.yohobuy.com/?gender=1,3","hot":false,"brandName":"LACOSTE"},{"link":"http://androidhomme.yohobuy.com/?gender=1,3","hot":false,"brandName":"Android Homme"},{"link":"http://vans.yohobuy.com/?gender=1,3","hot":true,"brandName":"VANS"},{"link":"http://aruba.yohobuy.com/?gender=1,3","hot":false,"brandName":"Arubafootwear"},{"link":"http://drmartens.yohobuy.com/?gender=1,3","hot":false,"brandName":"Dr.Martens"},{"link":"http://dc.yohobuy.com/?gender=1,3","hot":false,"brandName":"DC"},{"link":"http://AnthonyMiles.yohobuy.com/?gender=1,3","hot":false,"brandName":"Anthony Miles"},{"link":"http://vdsoul.yohobuy.com/?gender=1,3","hot":false,"brandName":"VDSOUL"},{"link":"http://tuk.yohobuy.com/?gender=1,3","hot":false,"brandName":"T.U.K"}]}],"imgCode":"04f29c98b952e585d76aa85f61c41717"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=7\n","name":"包袋","isHot":false,"isNew":false,"thirdNav":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=7\n","title":"包","brandItems":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=7&misort=49\n","hot":true,"brandName":"双肩包"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=7&misort=50\n","hot":false,"brandName":"手拎包/单肩包"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=7&misort=53\n","hot":false,"brandName":"电脑包"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=7&misort=237\n","hot":false,"brandName":"钱包/卡包/手拿包"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=7&misort=54\n","hot":false,"brandName":"腰包"}]},{"link":"http://list.yohobuy.com/?gender=1,3&msort=7&misort=50\n","title":"热门款型","brandItems":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=7&misort=49&parameter_18=128\n","hot":true,"brandName":"帆布背包"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=7&misort=49&parameter_15=107\n","hot":false,"brandName":"拼色背包"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=7&misort=50&style=991\n","hot":false,"brandName":"街头款单肩包"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=7&misort=49&parameter_15=106\n","hot":false,"brandName":"多口袋双肩包"}]},{"link":"http://www.yohobuy.com/brands?gender=1,3\n","title":"热门品牌","brandItems":[{"link":"http://herschelsupply.yohobuy.com/?gender=1,3","hot":false,"brandName":"Herschel Supply"},{"link":"http://rawrow.yohobuy.com/?gender=1,3","hot":false,"brandName":"RAWROW"},{"link":"http://jansport.yohobuy.com/?gender=1,3","hot":false,"brandName":"Jansport"},{"link":"http://diplomat.yohobuy.com/?gender=1,3","hot":false,"brandName":"Diplomat"},{"link":"http://omto.yohobuy.com/?gender=1,3","hot":true,"brandName":"OMTO"},{"link":"http://eastpak.yohobuy.com/?gender=1,3","hot":false,"brandName":"EASTPAK"},{"link":"http://heitou.yohobuy.com/?gender=1,3","hot":false,"brandName":"黑头BLACKHEAD"},{"link":"http://ntmy.yohobuy.com/?gender=1,3","hot":false,"brandName":"NTMY"},{"link":"http://stormstamps.yohobuy.com/?gender=1,3","hot":false,"brandName":"Storm Stamps"},{"link":"http://croquis.yohobuy.com/?gender=1,3","hot":false,"brandName":"速写CROQUIS"},{"link":"http://dc.yohobuy.com/?gender=1,3","hot":false,"brandName":"DC"},{"link":"http://thecoopidea.yohobuy.com/?gender=1,3","hot":false,"brandName":"thecoopidea"},{"link":"http://thething.yohobuy.com/?gender=1,3","hot":false,"brandName":"THETHING"}]}],"imgCode":"3d3594b4c0e90ccc91d371a7781f2724"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=8\n","name":"配饰 · 其他","isHot":false,"isNew":false,"thirdNav":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=8\n","title":"服配","brandItems":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=8&misort=61\n","hot":true,"brandName":"太阳镜/眼镜"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=8&misort=60\n","hot":false,"brandName":"帽子"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=8&misort=39\n","hot":false,"brandName":"袜子"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=8&misort=59\n","hot":false,"brandName":"手表"}]},{"link":"http://list.yohobuy.com/?gender=1,3&msort=8&misort=65\n","title":"首饰","brandItems":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=8&misort=65&sort=74","hot":true,"brandName":"戒指"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=8&misort=65&sort=72","hot":false,"brandName":"耳钉"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=8&misort=65&sort=75","hot":false,"brandName":"手链"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=8&misort=65&sort=76","hot":false,"brandName":"项链"}]},{"link":"http://list.yohobuy.com/?gender=1,3&msort=8&misort=66","title":"配饰","brandItems":[{"link":"http://list.yohobuy.com/?gender=1,3&msort=8&misort=66&sort=78","hot":false,"brandName":"皮带/腰带"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=8&misort=66&sort=79","hot":false,"brandName":"胸针/胸章"},{"link":"http://list.yohobuy.com/?gender=1,3&msort=8&misort=66&sort=303","hot":true,"brandName":"手机链/钥匙扣"}]},{"link":"http://www.yohobuy.com/brands?gender=1,3\n","title":"热门品牌","brandItems":[{"link":"http://huanyuchaopin.yohobuy.com/?gender=1,3","hot":false,"brandName":"环宇潮品旗舰店"},{"link":"http://natkiel.yohobuy.com/?gender=1,3","hot":false,"brandName":"Natkiel"},{"link":"http://solo.yohobuy.com/?gender=1,3","hot":false,"brandName":"SOLO"},{"link":"http://jinghongge.yohobuy.com/?gender=1,3","hot":false,"brandName":"惊鸿阁"},{"link":"http://cavers.yohobuy.com/?gender=1,3","hot":true,"brandName":"CAVERS"},{"link":"http://kissfunk.yohobuy.com/?gender=1,3","hot":false,"brandName":"KISSFUNK"},{"link":"http://xxxtrenta.yohobuy.com/?gender=1,3","hot":true,"brandName":"XXX Trenta"},{"link":"http://casterwear.yohobuy.com/?gender=1,3","hot":false,"brandName":"Casterwear"},{"link":"http://huanmao.yohobuy.com/?gender=1,3","hot":false,"brandName":"焕懋手表集合店"},{"link":"http://loho.yohobuy.com/?gender=1,3","hot":false,"brandName":"LOHO眼镜生活"},{"link":"http://pinealbody.yohobuy.com/?gender=1,3","hot":false,"brandName":"Pineal Body"},{"link":"http://uglymonster.yohobuy.com/?gender=1,3","hot":false,"brandName":"Ugly Monster"},{"link":"http://emie.yohobuy.com/?gender=1,3","hot":true,"brandName":"EMIE"}]}],"imgCode":"220eec926e0d2c48b2f7e36fb9c42b83"},{"link":"http://www.yohobuy.com/coupon/index?contentCode=bb7268bd46dd46d304c2917309814681\n","name":"领券中心","isHot":false,"isNew":true},{"link":"http://guang.yohobuy.com/","name":"逛","isHot":false,"isNew":false},{"link":"http://www.yohobuy.com/product/sale?channel=boys","name":"SALE","isHot":false,"isNew":false}]},"productDetailPage":true,"detail":{"goodsInfo":{"name":"HARDLYEVER'S 黑色迷彩连帽薄款防风外套","skn":51376456,"productId":572002,"md5":"ed52101492b38f186b3988dd1b2908fe","maxSortId":1,"smallSortId":227,"goCartUrl":"//www.yohobuy.com/shopping/cart","tags":{},"saleTip":"","marketPrice":"¥338.00","salePrice":"¥238.00","hasOtherPrice":true,"vipPrice":null,"activity":[{"activityImg":"//img10.static.yhbimg.com/productbanner/2016/09/21/10/013c0afcfe22682cf56d132c405749116a.jpg?imageView/2/w/260/h/64","url":"http://sale.yohobuy.com/?specialsale_id=1"},{"type":"打折","des":"【秋日潮牌推介】满¥699享8折"},{"type":"打折","des":"【秋日潮牌推介】满¥399享8.8折"}],"brandImg":"//img12.static.yhbimg.com/brandLogo/2015/11/02/16/02f545fe0c7f2cd8c1cc7d972cc6b1e216.jpg?imageMogr2/thumbnail/47x47/extent/47x47/background/d2hpdGU=/position/center/quality/80","brandName":"HARDLYEVER'S","brandUrl":"//hardly.yohobuy.com","img":"//img13.static.yhbimg.com/goodsimg/2016/09/06/17/0238fa63233c3d1c707b5d7e482c75690b.jpg?imageMogr2/thumbnail/420x560/extent/420x560/background/d2hpdGU=/position/center/quality/80","colors":[{"productSkc":542690,"src":"//img13.static.yhbimg.com/goodsimg/2016/09/06/17/0238fa63233c3d1c707b5d7e482c75690b.jpg?imageMogr2/thumbnail/40x40/extent/40x40/background/d2hpdGU=/position/center/quality/80","title":"HARDLYEVER'S 黑色迷彩连帽薄款防风外套 黑色","name":"黑色","focus":true,"total":16,"thumbs":[{"url":"","shower":"//img13.static.yhbimg.com/goodsimg/2016/09/06/17/0238fa63233c3d1c707b5d7e482c75690b.jpg?imageMogr2/thumbnail/420x560/extent/420x560/background/d2hpdGU=/position/center/quality/80","img":"//img13.static.yhbimg.com/goodsimg/2016/09/06/17/0238fa63233c3d1c707b5d7e482c75690b.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/80"},{"url":"","shower":"//img11.static.yhbimg.com/goodsimg/2016/09/06/17/01f72157afe53324d7450d705c443b5d92.jpg?imageMogr2/thumbnail/420x560/extent/420x560/background/d2hpdGU=/position/center/quality/80","img":"//img11.static.yhbimg.com/goodsimg/2016/09/06/17/01f72157afe53324d7450d705c443b5d92.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/80"},{"url":"","shower":"//img10.static.yhbimg.com/goodsimg/2016/09/07/10/0180faf34d86e988e568cfd21b13abe34c.jpg?imageMogr2/thumbnail/420x560/extent/420x560/background/d2hpdGU=/position/center/quality/80","img":"//img10.static.yhbimg.com/goodsimg/2016/09/07/10/0180faf34d86e988e568cfd21b13abe34c.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/80"}],"size":[{"name":"M","sku":1647120,"num":0,"goodsId":203},{"name":"L","sku":1647122,"num":6,"goodsId":201},{"name":"XL","sku":1647124,"num":3,"goodsId":211},{"name":"XXL","sku":1647126,"num":5,"goodsId":216},{"name":"XXXL","sku":1647128,"num":2,"goodsId":218}]}],"isCollect":false,"addToCart":true,"weixinUrl":"http://m.yohobuy.com/product/pro_572002_706648/HARDLYEVERSFengYiHARC613H6A.html","shareTitle":"HARDLYEVER'S 黑色迷彩连帽薄款防风外套","shareImg":"http://img13.static.yhbimg.com/goodsimg/2016/09/06/17/0238fa63233c3d1c707b5d7e482c75690b.jpg?imageMogr2/thumbnail/420x560/extent/420x560/background/d2hpdGU=/position/center/quality/80"},"consultComment":{"commentUrl":"//www.yohobuy.com/home/comment"},"banner":{"bgColor":"#333333","bgImg":"","logo":"http://img13.static.yhbimg.com/brandLogo/2012/03/14/10/022aed764fee8ec6182964261147bdea8d.png","alt":"HARDLYEVER'S","brandName":"HARDLYEVER'S","brandDomain":"hardly","homeUrl":"//hardly.yohobuy.com","isCollect":false},"statGoodsInfo":{"uid":null,"skn":51376456,"productName":"HARDLYEVER’S 黑色迷彩连帽薄款防风外套","brandName":"HARDLYEVER’S","marketPrice":"¥338.00","salePrice":"¥238.00","imageUrl":"//img13.static.yhbimg.com/goodsimg/2016/09/06/17/0238fa63233c3d1c707b5d7e482c75690b.jpg?imageMogr2/thumbnail/420x560/extent/420x560/background/d2hpdGU=/position/center/quality/80","productUrl":"//item.yohobuy.com/product/pro_572002_706648/HARDLYEVERSFengYiHARC613H6A.html","smallSortId":227,"soldOut":0},"description":{"basic":[{"key":"编号","value":"51376456"},{"key":"颜色","value":"黑色","dColor":true},{"key":"性别","value":"男款"},{"key":"领型","value":"圆领"},{"key":"衣长","value":"适中"},{"key":"袖长","value":"长袖"},{"key":"版型","value":"正常"},{"key":"厚度","value":"薄"}],"comfort":[{"name":"弹性","minDes":"小","blocks":[{},{},{"cur":true},{},{}],"maxDes":"大"},{"name":"厚度","minDes":"薄","blocks":[{},{"cur":true},{},{},{}],"maxDes":"厚"},{"name":"柔软度","minDes":"软","blocks":[{},{},{"cur":true},{},{}],"maxDes":"硬"},{"name":"透气性","minDes":"弱","blocks":[{},{},{"cur":true},{},{}],"maxDes":"强"}]},"modelCards":[],"size":{"thead":[{"name":"吊牌尺码","id":""},{"name":"参考尺码","id":""},{"name":"后衣长","id":49},{"name":"前衣长","id":48},{"name":"袖长","id":5},{"name":"胸围","id":4},{"name":"肩宽","id":3}],"tbody":[["M","170/90A","68","68","63","110","43"],["L","175/94A","71","71","64","114","45"],["XL","175/98A","74","74","65","118","47"],["XXL","175/102A","76","76","66","122","49"],["XXXL","180/106A","78","78","67","126","50"]],"sizeImg":"http://static.yohobuy.com/images/1.jpg"},"material":{"wash":[],"materialDetail":[{"img":"http://img10.static.yhbimg.com/material/2012/03/06/20/0176f9410824167f9eca0cea7bd2b3df70.jpg?imageView/2/w/60/h/120","name":"涤纶/聚酯纤维","enName":"Polyester","text":"涤纶类的服装可机洗,可手洗,可干洗,可用毛刷刷洗。不可曝晒,不宜烘干。熨烫温度不能超过110度,熨烫时一定要打蒸汽,不能干烫 。在日光下晾晒时,将里面朝外。"}]},"details":"<br/><p>\r\n\t<img border=\"0\" class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img02.static.yohobuy.com/product/2016/08/29/11/0257cc4beb83ad36c0e9a0eea1dbdd1dbf.jpg\" /><img border=\"0\" class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img01.static.yohobuy.com/product/2016/09/07/10/014b2297a4a77bb33598058cc700cde6ab.jpg\" /></p>\r\n<p>\r\n\t<img border=\"0\" class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img01.static.yohobuy.com/product/2016/09/07/10/015dd755da54bfa52791e013a9c4b4a2d0.jpg\" /></p>\r\n<p>\r\n\t<img border=\"0\" class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img01.static.yohobuy.com/product/2016/09/07/10/016965335d7433f480105fe0b91b89648d.jpg\" /></p>\r\n<p>\r\n\t<img border=\"0\" class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img01.static.yohobuy.com/product/2016/09/07/10/01b92e6e23a0458dd4c1e6c7c11f3417be.jpg\" /></p>\r\n<p>\r\n\t<img border=\"0\" class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img01.static.yohobuy.com/product/2016/09/07/10/01c74334fa2ccc45654d43264a017ecf6e.jpg\" /><img border=\"0\" class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img02.static.yohobuy.com/product/2016/08/29/11/029bffe850415fbcc4a265aefdbe2f30c2.jpg\" /><img class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img02.static.yohobuy.com/goodsimg/2016/09/06/17/0238fa63233c3d1c707b5d7e482c75690b.jpg\" /></p>\r\n<img class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img01.static.yohobuy.com/goodsimg/2016/09/06/17/01f72157afe53324d7450d705c443b5d92.jpg\" /><br />\r\n<img class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img02.static.yohobuy.com/goodsimg/2016/09/06/17/02e9713e16ac6a4fd963a5c017e20766df.jpg\" /><br />\r\n<img class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img02.static.yohobuy.com/goodsimg/2016/09/06/17/02c76be63a6ff7ae33ccfc8ef036aefba1.jpg\" /><br />\r\n<img class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img02.static.yohobuy.com/goodsimg/2016/09/06/17/0223aa905f29b58c3e57a466e25a619581.jpg\" /><br />\r\n<img class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img01.static.yohobuy.com/goodsimg/2016/09/06/17/0182ff097e291c58e0d91ff339617c0f39.jpg\" /><br />\r\n<img class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img02.static.yohobuy.com/goodsimg/2016/09/06/17/02865599d0a3d382b33d93bfbfcb11b2a9.jpg\" /><br />\r\n<img class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img02.static.yohobuy.com/goodsimg/2016/09/06/17/027e0ae1fc2d8a32d6a34835786eefa990.jpg\" /><br />\r\n<img class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img01.static.yohobuy.com/goodsimg/2016/09/06/17/01d9cfb34006a64f73fcfc1588f11026b1.jpg\" /><br />\r\n<img class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=\"http://img01.static.yohobuy.com/goodsimg/2016/09/06/17/01e0eaaf952a66c364b6c8b032c7ed97da.jpg\" />","sizeTitleJson":"[]","supportSaleReturnedService":true,"pathNav":[{"href":"//www.yohobuy.com","name":"BOYS首页","pathTitle":"YOHO!有货"},{"href":"//list.yohobuy.com?msort=&gender=1%2C3"},{"name":"HARDLYEVER'S 黑色迷彩连帽薄款防风外套"}],"latestWalk":5},"statGoodsInfo":{"fullSortName":"","uid":null,"skn":51376456,"productName":"HARDLYEVER’S 黑色迷彩连帽薄款防风外套","brandName":"HARDLYEVER’S","marketPrice":"¥338.00","salePrice":"¥238.00","imageUrl":"//img13.static.yhbimg.com/goodsimg/2016/09/06/17/0238fa63233c3d1c707b5d7e482c75690b.jpg?imageMogr2/thumbnail/420x560/extent/420x560/background/d2hpdGU=/position/center/quality/80","productUrl":"//item.yohobuy.com/product/pro_572002_706648/HARDLYEVERSFengYiHARC613H6A.html","smallSortId":227,"soldOut":0}}
  1 +{
  2 + "name": "handlebar-single",
  3 + "version": "1.0.0",
  4 + "description": "",
  5 + "main": "index.js",
  6 + "scripts": {
  7 + "test": "echo \"Error: no test specified\" && exit 1"
  8 + },
  9 + "repository": {
  10 + "type": "git",
  11 + "url": "http://git.yoho.cn/jiangfeng/handlebar-single.git"
  12 + },
  13 + "author": "",
  14 + "license": "ISC",
  15 + "dependencies": {
  16 + "handlebars": "^4.0.5"
  17 + }
  18 +}
  1 +<!DOCTYPE html>
  2 +<html>
  3 + <head>
  4 + <meta charset="utf-8">
  5 + <title>{{title}}</title>
  6 + <meta name="keywords" content="{{keywords}}">
  7 + <meta name="description" content="{{description}}">
  8 + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  9 + <meta http-equiv="cleartype" content="on">
  10 + <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  11 + <meta content="telephone=no" name="format-detection" />
  12 + <meta content="email=no" name="format-detection" />
  13 + <link rel="dns-prefetch" href="//cdn.yoho.cn">
  14 + <link rel="dns-prefetch" href="//static.yohobuy.com">
  15 + <link rel="dns-prefetch" href="//img12.static.yhbimg.com">
  16 + <link rel="dns-prefetch" href="//img13.static.yhbimg.com">
  17 + {{#if devEnv}}
  18 + <link rel="stylesheet" href="//localhost:5002/css/index.css">
  19 + {{^}}
  20 + <link rel="stylesheet" href="//cdn.yoho.cn/yohobuy-node/{{version}}/index.css">
  21 + {{/if}}
  22 + </head>
  23 + <body>
  24 + {{# headerData}}
  25 + <div class="yoho-header {{headType}}">
  26 + <div class="tool-wrapper clearfix">
  27 + <div class="center-content">
  28 + <div class="yoho-group-map left">
  29 + <span class="icon-hamburger"></span>
  30 + <a href="//www.yohobuy.com">YOHO!BUY 有货</a>
  31 + {{#if yohoGroup}}
  32 + <ul class="yoho-group-list">
  33 + {{# yohoGroup}}
  34 + <li>
  35 + <a href="{{link}}" class="yoho-group" data-en="{{en}}" data-cn="{{cn}}">{{en}}</a>
  36 + </li>
  37 + {{/ yohoGroup}}
  38 + </ul>
  39 + {{/if}}
  40 + </div>
  41 + <div class="yoho-buy-tools right">
  42 + <ul>
  43 + <li id="loginBox">
  44 + <span class="hi">Hi~</span>
  45 + [ <a href="//www.yohobuy.com/signin.html" class="loginbar">请登录</a> ]
  46 + [ <a href="//www.yohobuy.com/reg.html" class="registbar">免费注册</a> ]
  47 + </li>
  48 + <li class="myyoho" id="myYohoBox">
  49 + <span class="tag-seprate"></span>
  50 + <a href="//www.yohobuy.com/home?t=1453340799.4986">MY有货</a>
  51 + <span class="icon-bottomarrow"></span>
  52 + <div class="simple-user-center"></div>
  53 + </li>
  54 + <li class="myorder">
  55 + <span class="tag-seprate"></span>
  56 + <span class="icon-papers"></span>
  57 + <a href="//www.yohobuy.com/home/orders?t=1453168898.0176">我的订单</a>
  58 + </li>
  59 + <li class="mycollect">
  60 + <span class="tag-seprate"></span>
  61 + <span class="icon-heart"></span>
  62 + <a href="//www.yohobuy.com/home/favorite?t=1453168898.0176">我的收藏</a>
  63 + </li>
  64 + <li class="message">
  65 + <span class="tag-seprate"></span>
  66 + <span class="icon-mail"></span>
  67 + <a href="//www.yohobuy.com/home/message?t=1453168898.0176">消息</a>
  68 + </li>
  69 + <li class="phoneapp">
  70 + <span class="tag-seprate"></span>
  71 + <span class="icon-phone"></span>
  72 + <a href="//www.yohobuy.com/download/app">手机版</a>
  73 + <div class="download-app-box">
  74 + <div class="qr-img"></div>
  75 + <h3 class="qr-words">扫描二维码</h3>
  76 + <h3 class="qr-words">下载有货手机客户端</h3>
  77 + <h3 class="qr-more">
  78 + <a href="//www.yohobuy.com/download/app">更多客户端下载</a>
  79 + </h3>
  80 + </div>
  81 + </li>
  82 + </ul>
  83 + </div>
  84 + </div>
  85 + </div>
  86 + <div class="head-wrapper clearfix">
  87 + <div class="center-content">
  88 + <div class="outlets-logo"></div>
  89 + <div class="main-logo"><a href="//www.yohobuy.com/" class="main-link"></a></div>
  90 + <ul class="main-nav-list">
  91 + {{# navbars}}
  92 + <li {{#if active}} class="cure"{{/if}}{{#if ico}} style="background: url({{image ico 54 32}}) no-repeat center center"{{/if}}>
  93 + {{#if ico}}
  94 + <a href="{{link}}"{{#if isNewPage}} target="_blank"{{/if}} class="menu-ico"></a>
  95 + {{^}}
  96 + <h3 class="name-cn">
  97 + <a href="{{link}}"{{#if isNewPage}} target="_blank"{{/if}}>{{cn}}</a>
  98 + </h3>
  99 + <h3 class="name-en">
  100 + <a href="{{link}}"{{#if isNewPage}} target="_blank"{{/if}}>{{en}}</a>
  101 + </h3>
  102 + {{/if}}
  103 + </li>
  104 + {{/ navbars}}
  105 + </ul>
  106 + <div class="func-area">
  107 + <ul class="search-suggest"></ul>
  108 + <div class="search-2016">
  109 + <form action="//search.yohobuy.com" method="get" id="search-form">
  110 + <input type="hidden" id="defaultsearch">
  111 + <input class="search-key" type="text" name="query" id="query-key" autocomplete="off" x-webkit-speech="" lang="zh-CN" x-webkit-grammar="builtin:translate" value="" onfocus="if(this.value==this.defaultValue){this.value='';this.style.color='#333'}" onblur="if(this.value==''){this.value=this.defaultValue;this.style.color='#999'}" maxlength="30">
  112 + <a class="search-btn" href="javascript:submitSearch();"></a>
  113 + </form>
  114 + </div>
  115 + <div class="go-cart">
  116 + <a href="//www.yohobuy.com/shopping/cart">
  117 + <span class="iconfont ">&#xe600;</span>
  118 + <span class="goods-num-tip">0</span>
  119 + </a>
  120 + <div class="mini-cart-wrapper">
  121 + <div class="loading-cart">
  122 + <h3>加载中,请稍后</h3>
  123 + </div>
  124 + <div class="empty-cart">
  125 + <h3>您的购物车暂无商品</h3>
  126 + </div>
  127 + </div>
  128 + </div>
  129 + </div>
  130 + </div>
  131 + </div>
  132 + <div class="nav-wrapper clearfix">
  133 + <div class="center-content">
  134 + <ul class="sub-nav-list">
  135 + {{# subNav}}
  136 + <li {{#if thirdNav}}class="contain-third"{{/if}}>
  137 + <a href="{{link}}">{{name}}
  138 + {{#if isNew}}
  139 + <span class="newlogo"></span>
  140 + {{/if}}
  141 + </a>
  142 + {{#if thirdNav}}
  143 + <div class="third-nav-wrapper">
  144 + <div class="center-content">
  145 + <dl class="hide-list hide">
  146 + {{# thirdNav}}
  147 + <dt>
  148 + <h1 class=""><a href="{{link}}">{{title}}</a> </h1>
  149 + </dt>
  150 + {{#brandItems}}
  151 + <dd>
  152 + <a href="{{link}}"{{#if hot}} class="hot"{{/if}}>{{brandName}}</a>
  153 + </dd>
  154 + {{/brandItems}}
  155 + {{/thirdNav}}
  156 + </dl>
  157 + <div class="show-detail" data-code="{{imgCode}}">
  158 + <a><img src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw=="></a>
  159 + <a class="title">热门小物优选</a>
  160 + </div>
  161 + </div>
  162 + </div>
  163 + {{/if}}
  164 + </li>
  165 + {{/ subNav}}
  166 + </ul>
  167 + </div>
  168 + </div>
  169 + </div>
  170 + <div id="hide-template">
  171 + <script type="text/html" id="header-login-info-tpl">
  172 + <span>Hi~ <a href="\{{usercenter}}" class="nick-name">\{{nickname}}</a></span>
  173 + &nbsp;[ <a href="\{{signout}}">退出</a> ]
  174 + </script>
  175 + <script type="text/html" id="simple-account-info-tpl">
  176 + <div class="account-info-header">
  177 + <div class="user-img" >
  178 + <img src="\{{headIco}}">
  179 + </div>
  180 + <div class="user-name">
  181 + <a href="//www.yohobuy.com/home?t=\{{random}}">\{{profileName}}</a>
  182 + </div>
  183 + <h3 class="user-level">
  184 + VIP: <span>\{{curTitle}}</span>
  185 + </h3>
  186 + \{{#unless vip3}}
  187 + <div class="level-detail">
  188 + <div class="level-view-bar">
  189 + <div class="text-span">
  190 + \{{curYearCost}}/\{{nextVipNeedCost}}
  191 + </div>
  192 + <p class="\{{#if curYearCostPer}}integrate\{{/if}}" style="width: \{{curYearCostPer}}%;"></p>
  193 + </div>
  194 + <span>\{{nextVipTitle}}</span>
  195 + </div>
  196 + \{{/unless}}
  197 + </div>
  198 + <ul class="account-info-content">
  199 + <li>
  200 + <a href="//www.yohobuy.com/home/orders?t=\{{timestamp}}">待处理的订单</a>
  201 + <span class="right">\{{order}}</span>
  202 + </li>
  203 + <li>
  204 + <a href="//www.yohobuy.com/home/favorite?t=\{{timestamp}}">我的收藏</a>
  205 + <span class="right"></span>
  206 + </li>
  207 + <li>
  208 + <a href="//www.yohobuy.com/home/coupons?t=\{{timestamp}}">我的优惠券</a>
  209 + <span class="right">\{{coupon}}</span>
  210 + </li>
  211 + <li>
  212 + <a href="//www.yohobuy.com/home/currency?t=\{{timestamp}}">我的有货币</a>
  213 + <span class="right">\{{coin}}</span>
  214 + </li>
  215 + <li>
  216 + <a href="//www.yohobuy.com/home/returns?t=\{{timestamp}}">我的退货换货</a>
  217 + <span class="right">\{{return}}</span>
  218 + </li>
  219 + </ul>
  220 + <div class="account-info-footer">
  221 + <a href="//www.yohobuy.com/home/user?t=\{{timestamp}}">完善资料 <span>(学生认证)</span></a>
  222 + </div>
  223 + </script>
  224 + <script type="text/html" id="mini-cart-tpl">
  225 + \{{#carData}}
  226 + <div class="rich-cart">
  227 + <div class="goods-list">
  228 + \{{# totalGoods}}
  229 + \{{#notzero buy_number}}
  230 + <div class="goods-item">
  231 + <div class="goods-img">
  232 + <a href="\{{product_url}}">
  233 + <img src="\{{default_img}}"/>
  234 + </a>
  235 + </div>
  236 + <div class="goods-info">
  237 + <p class="title">
  238 + <a href="\{{product_url}}">\{{product_name}}</a>
  239 + </p>
  240 + <p>
  241 + 颜色:\{{color_name}}
  242 + 尺码:\{{size_name}}
  243 + </p>
  244 + </div>
  245 + <div class="goods-price">
  246 + <p>\{{show_price}} x \{{buy_number}}</p>
  247 + <p>
  248 + <a href="javascript:void(0)" class="cart-goods-del" data-id="\{{goods_incart_id}}" data-cheapest="\{{is_cheapest_free}}" data-sku="\{{product_sku}}" data-proid="\{{promotion_id}}" data-num="\{{buy_number}}">删除</a>
  249 + </p>
  250 + </div>
  251 + </div>
  252 + \{{/notzero}}
  253 + \{{/ totalGoods}}
  254 + \{{#if has_promotion}}
  255 + <div class="activity-item">
  256 + <label class="activity-name">活动</label>
  257 + <h3 class="activity-content">
  258 + \{{#if fit_outlet_promotion }}
  259 + 购outlet商品,满¥1999再享9折
  260 + \{{/if}}
  261 + \{{#if has_other_promotion}}
  262 + <span class="mycart_i_down" title="更多" ></span>
  263 + \{{/if}}
  264 + \{{#if has_first_promotion}}
  265 + \{{first_promotions.promotion_title}}
  266 + \{{/if}}
  267 + </h3>
  268 + </div>
  269 + \{{/if}}
  270 + \{{#if fit_free_shipping }}
  271 + <div class="activity-item">
  272 + <label class="activity-name">免运费</label>
  273 + <h3 class="activity-content">全场满 ¥\{{fit_free_shipping}}免运费</h3>
  274 + </div>
  275 + \{{/if}}
  276 + </div>
  277 + <div class="go-full-cart">
  278 + <div>
  279 + <a href="//www.yohobuy.com/shopping/cart">去购物车结算</a>
  280 + </div>
  281 + </div>
  282 + </div>
  283 + \{{/carData}}
  284 + </script>
  285 + </div>
  286 +
  287 + <input id="api-domain" type="hidden" value="{{apiDomain}}">
  288 +{{/ headerData}}
  289 + {{#if pageErr}}
  290 + {{> 404}}
  291 + {{^}}
  292 +
  293 +<div class="product-detail-page yoho-page">
  294 + {{# detail}}
  295 + {{# banner}}
  296 + <div class="brand-banner" style="background:{{bgColor}}{{#if bgImg}} url({{bgImg}}){{/if}}">
  297 + <div class="center-content clearfix">
  298 + <a class="pull-left" href="{{homeUrl}}">
  299 + <img src="{{logo}}">
  300 + </a>
  301 +
  302 + <div class="opt pull-right">
  303 + <a class="home" href="{{homeUrl}}" title="{{brandName}}">
  304 + <span class="iconfont">&#xe61a;</span>
  305 + </a>
  306 + <span id="brand-favour" class="brand-fav{{#if isCollect}} coled{{/if}}" data-id="{{brandId}}">
  307 + <i class="iconfont">&#xe611;</i>
  308 + </span>
  309 + </div>
  310 + </div>
  311 + </div>
  312 + {{/ banner}}
  313 +
  314 + <div class="center-content">
  315 + {{#if pathNav}}
  316 + <p class="path-nav">
  317 + {{#each pathNav}}
  318 + {{#if name}}
  319 + {{#if href}}
  320 + <a {{#if @last}}class="last"{{/if}} href="{{href}}" title="{{pathTitle}}">{{{name}}}</a>
  321 + {{^}}
  322 + <span {{#if @last}}class="last"{{/if}} title="{{pathTitle}}">{{{name}}}</span>
  323 + {{/if}}
  324 +
  325 + {{#unless @last}}
  326 + <span class="iconfont">&#xe60c;</span>
  327 + {{/unless}}
  328 + {{/if}}
  329 + {{/each}}
  330 + </p>
  331 + {{/if}}
  332 +
  333 + {{# goodsInfo}}
  334 + <div class="main clearfix" data-skn="{{skn}}" data-id="{{productId}}" data-md5="{{md5}}">
  335 + <div class="pull-left imgs clearfix">
  336 + <div class="pull-left img">
  337 + <div class="tags clearfix">
  338 + {{# tags}}
  339 + {{# isNew}}
  340 + <span class="good-tag new-tag">NEW</span>
  341 + {{/ isNew}}
  342 + {{# isReNew}}
  343 + <span class="good-tag renew-tag">再到着</span>
  344 + {{/ isReNew}}
  345 + {{# isSale}}
  346 + <span class="good-tag sale-tag">SALE</span>
  347 + {{/ isSale}}
  348 + {{# isNewFestival}}
  349 + <span class="good-tag new-festival-tag">新品节</span>
  350 + {{/ isNewFestival}}
  351 + {{# isLimit}}
  352 + <span class="good-tag limit-tag">限量商品</span>
  353 + {{/ isLimit}}
  354 + {{# isYearEndPromotion}}
  355 + <span class="good-tag yep-tag">年终大促</span>
  356 + {{/ isYearEndPromotion}}
  357 + {{# isYearMidPromotion}}
  358 + <span class="good-tag ymp-tag">年中热促</span>
  359 + {{/ isYearMidPromotion}}
  360 + {{/ tags}}
  361 + </div>
  362 + <img id="img-show" class="img-show" src="{{img}}">
  363 + </div>
  364 + <div id="thumbs" class="pull-right thumbs">
  365 + {{# colors}}
  366 + <div class="thumb-wrap{{#unless focus}} hide{{/unless}}">
  367 + {{#if focus}}
  368 + {{# thumbs}}
  369 + <img class="thumb" src="{{img}}" data-shower="{{shower}}">
  370 + {{/ thumbs}}
  371 + {{^}}
  372 + {{# thumbs}}
  373 + <img class="thumb lazy" data-original="{{img}}" data-shower="{{shower}}">
  374 + {{/ thumbs}}
  375 + {{/if}}
  376 + </div>
  377 + {{/ colors}}
  378 + </div>
  379 + </div>
  380 + <div class="pull-right infos">
  381 + <p class="name">
  382 + {{name}}
  383 +
  384 + {{#if saleTip}}
  385 + <span class="sale-tip">{{saleTip}}</span>
  386 + {{/if}}
  387 + </p>
  388 + <a class="brand-name" href="{{brandUrl}}">{{brandName}}</a>
  389 + <p class="market-price">
  390 + <span class="title">市场价:</span>
  391 + <span class="price{{#if hasOtherPrice}} has-other-price{{/if}}">{{marketPrice}}</span>
  392 + </p>
  393 + {{#if salePrice}}
  394 + <p class="sale-price">
  395 + <span class="title">促销价:</span>
  396 + <span class="price">{{salePrice}}</span>
  397 + </p>
  398 + {{/if}}
  399 +
  400 + {{#if presalePrice}}
  401 + <p class="presale-price">
  402 + <span class="title">预售价:</span>
  403 + <span class="price">{{presalePrice}}</span>
  404 +
  405 + <span class="arrival-date">上市期:{{arrivalDate}}</span>
  406 + </p>
  407 + {{/if}}
  408 +
  409 + {{#if advancePrice}}
  410 + <p class="advance-price">
  411 + <span class="title">先行价:</span>
  412 + <span class="price">{{advancePrice}}</span>
  413 + </p>
  414 + {{/if}}
  415 +
  416 + {{# vipPrice}}
  417 + <p class="vip-price">
  418 + {{#if unLogin}}
  419 + 登录后即可查看vip价格
  420 + <a class="login-url" href="{{unLogin}}">立即登录</a>
  421 + {{/if}}
  422 +
  423 + {{#if normalUser}}
  424 + <span class="vip-price-item">您当前是普通会员,成为VIP享受更多优惠!</span>
  425 + {{/if}}
  426 +
  427 + {{# prices}}
  428 + <span class="vip-price-item{{#if cur}} cur{{/if}}">
  429 + {{name}}
  430 + <em>
  431 + {{price}}
  432 + </em>
  433 + </span>
  434 + {{/ prices}}
  435 +
  436 + {{#unless unLogin}}
  437 + <a class="vip-schedual" href="{{vipSchedualUrl}}">查看我的VIP进度</a>
  438 + {{/unless}}
  439 + </p>
  440 + {{/ vipPrice}}
  441 +
  442 + {{#if studentsPrice}}
  443 + <p class="students-price">
  444 + <span class="title">学生价</span>
  445 + <span class="price">{{studentsPrice}}</span>
  446 + </p>
  447 + {{/if}}
  448 +
  449 + {{#if activity}}
  450 + <ul class="activity">
  451 + {{#each activity}}
  452 + <li>
  453 + {{#if activityImg}}
  454 + <a class="img-link" href="{{url}}">
  455 + <img src="{{activityImg}}">
  456 + </a>
  457 + {{^}}
  458 + <span class="ac-type">{{type}}</span>
  459 + <span class="ac-des">{{des}}</span>
  460 + {{/if}}
  461 + </li>
  462 + {{/each}}
  463 + </ul>
  464 + {{/if}}
  465 +
  466 + <div class="trade-content">
  467 + <div id="type-chose" class="type-chose">
  468 + {{#if virtualGoods}}
  469 + <div class="chose-ticket chose-color row clearfix">
  470 + <span class="title pull-left">选日期:</span>
  471 + <ul class="colors pull-left clearfix">
  472 + {{#each colors}}
  473 + <li class="{{#if focus}}focus{{/if}} {{#if disable}}disable{{/if}} pull-left"
  474 + title="{{title}}" data-color="{{name}}" data-total="{{total}}">
  475 + {{name}}
  476 + </li>
  477 + {{/each}}
  478 + </ul>
  479 + </div>
  480 +
  481 + <div class="chose-size row clearfix {{#if isTicket}} hide {{/if}}">
  482 + <input type="hidden" name="isTicket" value="{{isTicket}}"/>
  483 + <span class="title pull-left">
  484 + 选区域:
  485 + </span>
  486 +
  487 + <div id="sizes" class="size-wrapper pull-left">
  488 + {{#each colors}}
  489 + <ul class="size{{#unless focus}} hide{{/unless}}">
  490 + {{#each size}}
  491 + <li {{#unless num}}class="disable"{{/unless}} data-sku="{{sku}}"
  492 + data-num="{{num}}" data-name="{{name}}">{{name}}</li>
  493 + {{/each}}
  494 +
  495 + <span class="size-warn warn-tip hide">
  496 + <i class="iconfont">&#xe62c;</i>
  497 + 请选择区域
  498 + </span>
  499 + </ul>
  500 + {{/each}}
  501 + </div>
  502 + </div>
  503 + {{else}}
  504 + <div class="chose-color row clearfix">
  505 + <span class="title pull-left">选颜色:</span>
  506 + <ul class="colors pull-left clearfix">
  507 + {{#each colors}}
  508 + <li class="{{#if focus}}focus{{/if}} {{#if disable}}disable{{/if}} pull-left"
  509 + title="{{title}}" data-color="{{name}}" data-total="{{total}}">
  510 + <img src="{{src}}">
  511 + </li>
  512 + {{/each}}
  513 + </ul>
  514 + </div>
  515 +
  516 + <div class="chose-size row clearfix">
  517 + <span class="title pull-left">
  518 + 选尺码:
  519 + </span>
  520 +
  521 + <div id="sizes" class="size-wrapper pull-left">
  522 + {{#each colors}}
  523 + <ul class="size{{#unless focus}} hide{{/unless}}">
  524 + {{#each size}}
  525 + <li {{#unless num}}class="disable"{{/unless}} data-sku="{{sku}}"
  526 + data-num="{{num}}" data-name="{{name}}">{{name}}</li>
  527 + {{/each}}
  528 +
  529 + {{#unless virtualGoods}}
  530 + <span class="size-ruler"></span>
  531 + {{/unless}}
  532 +
  533 + <span class="size-warn warn-tip hide">
  534 + <i class="iconfont">&#xe61f;</i>
  535 + 请选择尺码
  536 + </span>
  537 + </ul>
  538 + {{/each}}
  539 +
  540 + {{#unless virtualGoods}}
  541 + <p class="color-size-tip hide"></p>
  542 + {{/unless}}
  543 + </div>
  544 + </div>
  545 + {{/if}}
  546 +
  547 + <div class="chose-count row clearfix">
  548 + <span class="title pull-left">选数量:</span>
  549 + <div class="num-wraper pull-left clearfix">
  550 + <span id="num" class="num pull-left">1</span>
  551 + <span class="minus-plus pull-left">
  552 + <i id="plus-num" class="plus iconfont">&#xe607;</i>
  553 + <i id="minus-num" class="minus dis iconfont">&#xe60b;</i>
  554 + </span>
  555 + {{#each tags}}
  556 + {{#if isFew}}
  557 + <span class="warn-tip">即将售罄</span>
  558 + {{/if}}
  559 + {{/each}}
  560 +
  561 + {{# fashionTopGoods}}
  562 + {{#if getLimitedCode}}
  563 + <span class="lc-btn get-lc{{#if getLimitedCodeDis}} dis{{/if}}">获取限购码</span>
  564 + <div class="lc-container hide">
  565 + <span class="lc-arrow"></span>
  566 + <div class="lc-content">
  567 + <div class="qr-code"></div>
  568 + <p class="title">打开APP扫描二维码获取限购码</p>
  569 + <p class="sub-title">商品开售后即可购买</p>
  570 + </div>
  571 + </div>
  572 + {{/if}}
  573 +
  574 + {{#if hadLimitedCode}}
  575 + <span class="lc-btn had-lc">已获取限购码</span>
  576 + {{/if}}
  577 +
  578 + {{#if limitedCodeSoldOut}}
  579 + <span class="lc-btn lc-sold-out">限购码已抢光</span>
  580 + {{/if}}
  581 + {{/ fashionTopGoods}}
  582 + </div>
  583 + </div>
  584 +
  585 + <p class="row">
  586 + {{#if virtualGoods}}
  587 + {{!-- 电子门票按钮 --}}
  588 + {{#if isVirtualBtn}}
  589 + <form name="ticket-form" action="//www.yohobuy.com/cart/index/ticketEnsure"
  590 + method="POST"
  591 + class="hide"></form>
  592 + <span id="buy-ticket" class="buy-ticket buy-now item-buy{{#if dis}} dis{{/if}}">立即购买</span>
  593 + {{/if}}
  594 + {{else}}
  595 + {{!-- 各颜色下所有尺码均售罄则只显示售罄按钮 --}}
  596 + {{#unless soldOut}}
  597 + {{# buyNow}}
  598 + <span id="buy-now" class="buy-btn buy-now item-buy{{#if dis}} dis{{/if}}"
  599 + data-base="{{buyNowBase}}">立即购买</span>
  600 + {{/ buyNow}}
  601 + {{# openSoon}}
  602 + <span id="open-soon" class="buy-btn item-buy dis">即将开售</span>
  603 + {{/ openSoon}}
  604 + {{#if notForSale}}
  605 + <span class="buy-btn dis">
  606 + <i class="iconfont">&#xe61c;</i>
  607 + 非买品
  608 + </span>
  609 + {{/if}}
  610 + {{#if addToCart}}
  611 + <span id="add-to-cart" class="buy-btn item-buy add-to-cart">
  612 + <i class="iconfont">&#xe61b;</i>
  613 + 添加到购物车
  614 + </span>
  615 + {{/if}}
  616 + {{/unless}}
  617 + {{/if}}
  618 +
  619 + <span id="sold-out" class="buy-btn dis{{#unless soldOut}} hide{{/unless}}">
  620 + <i class="iconfont">&#xe61c;</i>
  621 + 已售罄
  622 + </span>
  623 +
  624 + <span id="collect-product" class="{{#if isCollect}}coled {{/if}}collect-product">
  625 + <i class="iconfont">&#xe611;</i>
  626 + {{#if isCollect}}
  627 + <em>已收藏</em>
  628 + {{^}}
  629 + <em>收藏商品</em>
  630 + {{/if}}
  631 + </span>
  632 + </p>
  633 +
  634 + <div class="share-row">
  635 + <span class="title pull-left">分享商品:</span>
  636 + <span class="share-wrapper share-to pull-left clearfix">
  637 + <i class="weibo" data-type="weibo" title="分享到新浪微博"></i>
  638 + <i class="weixin" data-type="weixin" title="分享到微信朋友圈"></i>
  639 + <i class="tweibo" data-type="tweibo" title="分享到腾讯微博"></i>
  640 + <i class="qzone" data-type="qzone" title="分享到QQ空间"></i>
  641 + <i class="qq" data-type="qq" title="分享到QQ好友"></i>
  642 + <i class="renren" data-type="renren" title="分享到人人"></i>
  643 + <i class="douban" data-type="douban" title="分享到豆瓣"></i>
  644 + <div class="weixin-share-box"></div>
  645 + </span>
  646 + <input id="share-img" type="hidden" value="{{shareImg}}">
  647 + <input id="share-desc" type="hidden" value="{{shareDesc}}">
  648 + <input id="weixin-url" type="hidden" value="{{weixinUrl}}">
  649 +
  650 + </div>
  651 + </div>
  652 +
  653 + <div id="balance" class="balance">
  654 + <p class="success-tip">商品已成功添加到购物车!</p>
  655 + <p class="cart-total">购物车一共有<span id="cart-num">0</span>件商品</p>
  656 + <p class="balance-btns">
  657 + <a class="go-cart buy-btn" href="{{goCartUrl}}">
  658 + 去购物车结算
  659 + <i class="iconfont">&#xe60c;</i>
  660 + </a>
  661 +
  662 + <span id="keep-shopping" class="keep-shopping">
  663 + 继续购物
  664 + </span>
  665 + </p>
  666 + </div>
  667 + </div>
  668 + </div>
  669 + </div>
  670 + {{/ goodsInfo}}
  671 +
  672 + {{!-- 因接口原因,暂存size的title的值 --}}
  673 + <div id="size-title-json" style="display: none;">{{sizeTitleJson}}</div>
  674 +
  675 + <div class="other-infos">
  676 + <div class="description-material info-block">
  677 + <p class="block-title">
  678 + <span class="title cur">商品信息 DESCRIPTION</span>
  679 + <span class="sep">|</span>
  680 + <span class="title">材质洗涤 MATERIALS</span>
  681 + </p>
  682 + <div class="description-content">
  683 + {{# description}}
  684 + <ul class="basic clearfix">
  685 + {{# basic}}
  686 + <li>
  687 + {{#if dColor}}
  688 + {{key}}: <span id="desc-color">{{value}}</span>
  689 + {{^}}
  690 + {{key}}: {{value}}
  691 + {{/if}}
  692 + </li>
  693 + {{/ basic}}
  694 + </ul>
  695 + {{#if comfort}}
  696 + <ul class="comfort clearfix">
  697 + {{# comfort}}
  698 + <li class="pull-left">
  699 + <span class="comfort-title">{{name}}</span>
  700 + <span class="min-des">{{minDes}}</span>
  701 + {{# blocks}}
  702 + <span class="comfort-block {{#if cur}}cur{{/if}}"></span>
  703 + {{/ blocks}}
  704 + <span class="max-des">{{maxDes}}</span>
  705 + </li>
  706 + {{/ comfort}}
  707 + </ul>
  708 + {{/if}}
  709 + {{/ description}}
  710 + </div>
  711 + <div class="material-content">
  712 + {{# material}}
  713 + {{#if materialDetail}}
  714 + <ul class="material-detail">
  715 + {{# materialDetail}}
  716 + <li class="clearfix">
  717 + <img src="{{img}}">
  718 + <p class="name">{{name}}<br>{{enName}}</p>
  719 + <p class="text">{{text}}</p>
  720 + </li>
  721 + {{/ materialDetail}}
  722 + </ul>
  723 + {{/if}}
  724 +
  725 + {{#if wash}}
  726 + <ul class="wash">
  727 + {{# wash}}
  728 + <li>
  729 + <img class="wash-icon" src="{{img}}">
  730 + <p class="wash-name">{{name}}</p>
  731 + </li>
  732 + {{/ wash}}
  733 + </ul>
  734 + {{/if}}
  735 + {{/ material}}
  736 + </div>
  737 + </div>
  738 + {{#if goodsInfo.virtualGoods}}
  739 + <!---虚拟商品-尺码信息没有--->
  740 + {{else}}
  741 + <div class="size-info info-block">
  742 + <p class="block-title">
  743 + <span class="title cur">尺码信息 SIZE INFO</span>
  744 + </p>
  745 + {{# size}}
  746 + <table class="size-table">
  747 + <thead>
  748 + <tr>
  749 + {{# thead}}
  750 + <th>{{name}}</th>
  751 + {{/ thead}}
  752 + </tr>
  753 + </thead>
  754 + <tbody>
  755 + {{# tbody}}
  756 + <tr>
  757 + {{#each .}}
  758 + <td>{{.}}</td>
  759 + {{/each}}
  760 + </tr>
  761 + {{/ tbody}}
  762 + </tbody>
  763 + </table>
  764 + <p class="size-tip">
  765 + ※ 以上尺寸为实物人工测量,因测量方式不同会有1-2CM误差,相关数据仅作参考,以收到实物为准。 单位:CM
  766 + </p>
  767 + <p class="size-tip">
  768 + ※ 参考尺码因衣服版型、剪裁不同会有误差,仅供参考
  769 + </p>
  770 + {{#if sizeImg}}
  771 + <img class="size-img" src="{{sizeImg}}">
  772 + {{/if}}
  773 + {{/ size}}
  774 + </div>
  775 + {{/if}}
  776 + {{#if reference}}
  777 + <div class="reference info-block">
  778 + <p class="block-title">
  779 + <span class="title cur">模特试穿 REFERENCE</span>
  780 + </p>
  781 + {{# reference}}
  782 + <table class="reference-table">
  783 + <thead>
  784 + <tr>
  785 + {{# thead}}
  786 + <th class="{{#if @first}}avatar-col{{/if}}{{#if modelCol}}model-col{{/if}}{{#if remarkCol}}remark-col{{/if}}">{{name}}</th>
  787 + {{/ thead}}
  788 + </tr>
  789 + </thead>
  790 + <tbody>
  791 + {{# tbody}}
  792 + <tr>
  793 + {{#each .}}
  794 + <td>
  795 + {{#if @first}}
  796 + <img class="avatar" src="{{.}}">
  797 + {{^}}
  798 + {{.}}
  799 + {{/if}}
  800 + </td>
  801 + {{/each}}
  802 + </tr>
  803 + {{/ tbody}}
  804 + </tbody>
  805 + </table>
  806 + {{/ reference}}
  807 + <p class="size-tip">
  808 + ※ 模特试穿中身高单位:CM,体重单位:KG,三围单位:CM
  809 + </p>
  810 + </div>
  811 + {{/if}}
  812 +
  813 + {{#if modelCards}}
  814 + <div class="ref-model info-block">
  815 + <div class="ref-model">
  816 + {{# modelCards}}
  817 + <div class="model" style="background: url({{url}}) no-repeat">
  818 + <span>试穿尺码: <em>{{size}}</em></span>
  819 + </div>
  820 + {{/ modelCards}}
  821 + </div>
  822 + </div>
  823 + {{/if}}
  824 +
  825 + {{#if fittingReport}}
  826 + <div class="fitting-report info-block">
  827 + <p class="block-title">
  828 + <span class="title cur">试穿报告 FITTING REPORT</span>
  829 + </p>
  830 + {{# fittingReport}}
  831 + {{#if frImg}}
  832 + <div class="fr-img-wrap">
  833 + <img src="{{frImg}}">
  834 + </div>
  835 + {{^}}
  836 + <table class="fitting-report-table">
  837 + <thead>
  838 + <tr>
  839 + {{# thead}}
  840 + <th>{{.}}</th>
  841 + {{/ thead}}
  842 + </tr>
  843 + </thead>
  844 + <tbody>
  845 + {{# tbody}}
  846 + <tr>
  847 + {{#each .}}
  848 + <td>{{.}}</td>
  849 + {{/each}}
  850 + </tr>
  851 + {{/ tbody}}
  852 + </tbody>
  853 + </table>
  854 + {{/if}}
  855 + {{/ fittingReport}}
  856 + </div>
  857 + {{/if}}
  858 +
  859 + <div class="details info-block">
  860 + <p class="block-title">
  861 + <span class="title cur">商品详情 DETAILS</span>
  862 + </p>
  863 + <div id="details-html" class="details-html">
  864 + {{{details}}}
  865 + </div>
  866 + </div>
  867 +
  868 + {{# consultComment}}
  869 + <div class="consult-comment info-block">
  870 + <p class="block-title">
  871 + <span class="title">顾客咨询(<em class="consult-num">0</em></span>
  872 + <span class="sep">|</span>
  873 + <span class="title cur">购买评价(<em class="comment-num">0</em></span>
  874 + </p>
  875 + <div class="comments cc-content">
  876 + <h2>购买评价(<em class="comment-num">0</em></h2>
  877 + <ul id="comments-ul"></ul>
  878 + <p class="more-wrap">
  879 + <span class="load-more-comments load-more">
  880 + 加载更多
  881 + <i class="iconfont">&#xe61d;</i>
  882 + </span>
  883 + </p>
  884 + <p class="btn-wrap">
  885 + <a class="btn" href="{{commentUrl}}" target="_blank">
  886 + <i class="iconfont">&#xe61e;</i>
  887 + 我要评论
  888 + </a>
  889 + </p>
  890 + </div>
  891 +
  892 + <div class="consults cc-content">
  893 + <h2>顾客咨询(<em class="consult-num">0</em></h2>
  894 + <ul id="consults-ul"></ul>
  895 + <p class="more-wrap">
  896 + <span class="load-more-consults load-more">
  897 + 加载更多
  898 + <i class="iconfont">&#xe61d;</i>
  899 + </span>
  900 + </p>
  901 + <p class="btn-wrap">
  902 + <span id="consults-btn" class="btn">
  903 + <i class="iconfont">&#xe61e;</i>
  904 + 我要咨询
  905 + </span>
  906 + </p>
  907 + <div class="new-consult hide">
  908 + <textarea class="my-consult"></textarea>
  909 + <span class="consult-warn warn-tip hide">
  910 + <i class="iconfont">&#xe61f;</i>
  911 + 请输入咨询内容
  912 + </span>
  913 + <span id="submit-consult" class="btn submit-consult">提交咨询</span>
  914 + </div>
  915 +
  916 + <div class="consult-success hide">
  917 + <p>
  918 + <span class="iconfont">&#xe605;</span>
  919 + 咨询成功,请等待客服回复
  920 + </p>
  921 + </div>
  922 + </div>
  923 + </div>
  924 + {{/ consultComment}}
  925 +
  926 + <div class="after-service">
  927 + <p id="after-service-switch" class="after-service-switch">
  928 + <span class="iconfont">&#xe620;</span>
  929 + 售后服务
  930 + <span class="iconfont triangle">&#xe610;</span>
  931 + </p>
  932 + <div class="after-service-content info-block">
  933 + <div class="block-title">
  934 + <span class="title cur">售后服务 AFTER SERVICE</span>
  935 + </div>
  936 + <div class="img-1"></div>
  937 + <div class="img-2"></div>
  938 + <div class="text">
  939 + <h4>退换货承诺</h4>
  940 + <p>
  941 + 自您签收商品7日内可以退货,15日内可以换货,在商品不影响二次销售的情况下,YOHO!BUY
  942 + 有货将为您办理退换货服务,请在网站提交"退换货"申请。需要说明的是:非质量问题的退换货,来回运费由您承担。</p>
  943 + <h4>退换货方式</h4>
  944 + <p>
  945 + 针对国内大中型城市,YOHO!BUY 有货开通了<span class="orange">"上门换货"</span>服务,上门服务区域及费用请联系客服中心;若您所在的区域不在上门换货范围内,请您选择普通快递将商品、内包装、赠品及发货单等一并寄回。质量问题的退换货,目前不支持运费到付款业务,请您先垫付运费寄回。如需退换货,请致电客服电话:400-889-9646。
  946 + </p>
  947 + <h4>退换货邮寄地址</h4>
  948 + <p>
  949 + 南京市江宁区江宁经济技术开发区苏源大道87号YOHO!BUY 有货物流中心东一楼 收件人:YOHO!BUY 有货 邮编:211106
  950 + <br>
  951 + YOHO! 有货客服热线:400-889-9646  客服邮箱:<a href="mailto:service@yoho.cn">service@yoho.cn</a>
  952 + <br>
  953 + 有疑问请联系我们,我们将为您提供最优质的产品和服务。
  954 + </p>
  955 + </div>
  956 + </div>
  957 + </div>
  958 +
  959 + {{#if supportSaleReturnedService}}
  960 + <div class="support-saleReturned-service"></div>
  961 + {{^}}
  962 + <div class="not-support-saleReturned-service"></div>
  963 + {{/if}}
  964 +
  965 + <div class="service"></div>
  966 + {{#if latestWalk}}
  967 + <div class="info-block latest-walk">
  968 + <input id="latest-walk-count" type="hidden" value="{{latestWalk}}">
  969 + <p class="block-title">
  970 + <span class="title cur">最近浏览 RECENT REVIEW</span>
  971 + </p>
  972 + <div id="latest-walk-goods" class="goods clearfix"></div>
  973 + <script id="latest-walk-tpl" type="text/html">
  974 + \{{# latestWalk}}
  975 + <div class="good">
  976 + <a href="\{{href}}" target="_blank">
  977 + <img class="lazy" data-original="\{{img}}">
  978 + </a>
  979 + <a class="name" href="\{{href}}" target="_blank">\{{name}}</a>
  980 + <p class="price">
  981 + <span class="market-price">\{{marketPrice}}</span>
  982 + <span class="sale-price">\{{salePrice}}</span>
  983 + </p>
  984 + </div>
  985 + \{{/ latestWalk}}
  986 + </script>
  987 + </div>
  988 + {{/if}}
  989 + </div>
  990 + </div>
  991 + {{/ detail}}
  992 + <script id="comments-tpl" type="text/html">
  993 + \{{# comments}}
  994 + <li>
  995 + <div class="user-info clearfix">
  996 + <img class="user-avatar pull-left" src="\{{avatar}}">
  997 + <p>
  998 + <span class="name">\{{userName}} </span>
  999 + 购买了\{{color}}/\{{size}}
  1000 + <br>
  1001 + <span class="date">\{{date}}</span>
  1002 + </p>
  1003 + </div>
  1004 + <p class="comment">\{{comment}}</p>
  1005 + </li>
  1006 + \{{/ comments}}
  1007 + </script>
  1008 + <script id="consults-tpl" type="text/html">
  1009 + \{{# consults}}
  1010 + <li>
  1011 + <div class="user-info clearfix">
  1012 + <img class="user-avatar" src="\{{avatar}}">
  1013 + <p>
  1014 + <span class="question">\{{question}}</span>
  1015 + <br>
  1016 + <span class="date">\{{date}}</span>
  1017 + </p>
  1018 + </div>
  1019 + <p class="consult">\{{answer}}</p>
  1020 + </li>
  1021 + \{{/ consults}}
  1022 + </script>
  1023 +</div>
  1024 +
  1025 +{{# statGoodsInfo}}
  1026 + <script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script>
  1027 + <script type="text/javascript">
  1028 + window.criteo_q = window.criteo_q || [];
  1029 + window.criteo_q.push(
  1030 + {event: "setAccount", account: 16184},
  1031 + {event: "setCustomerId", id: "{{uid}}"},
  1032 + {event: "setSiteType", type: "d"},
  1033 + {event: "viewItem", item: "{{skn}}"}
  1034 + );
  1035 + </script>
  1036 + <script type="text/javascript">
  1037 + var _mvq = _mvq || [];
  1038 + _mvq.push(['$setAccount', 'm-23428-1']);
  1039 + _mvq.push(['$setGeneral', 'goodsdetail', '', /*用户名*/ '', /*用户id*/ '']);
  1040 + _mvq.push(['$logConversion']);
  1041 + _mvq.push([
  1042 + '$addGoods', /*分类id*/ '', /*品牌id*/ '', /*商品名称*/ '', /*商品ID*/ '{{skn}}', /*商品售价*/ '', /*商品图片url*/ '', /*分类名*/
  1043 + '', /*品牌名*/ '', /*商品库存状态1或是0*/ '', /*网络价*/ '', /*收藏人数*/ ''
  1044 + ]);
  1045 + _mvq.push(['$logData']);
  1046 + var _goodsData = {
  1047 + id: '{{skn}}',// 商品ID
  1048 + name: '{{productName}}', // 商品名称
  1049 + brand: '{{brandName}}', // 商品品牌(非必填)
  1050 + origPrice: '{{marketPrice}}', // 商品原价(非必填)
  1051 + price: '{{salePrice}}', // 商品售价
  1052 + imgUrl: '{{imageUrl}}', // 商品预览图
  1053 + productUrl: '{{productUrl}}', // 商品URL地址
  1054 + categoryId: '{{smallSortId}}', // 所属分类ID
  1055 + category: '{{fullSortName}}', // 所属分类完整路径, // 所属分类完整路径
  1056 + soldOut: '{{soldOut}}' // 状态 1下架,0在售(必填)
  1057 + };
  1058 + </script>
  1059 +{{/statGoodsInfo}}
  1060 +
  1061 +<script type="text/javascript">
  1062 + (function() {
  1063 + try {
  1064 + var timestamp = (new Date()).valueOf();
  1065 + var view = document.createElement('img');
  1066 + view.src = 'http://shopping.yohobuy.com/1.jpg?t=' + timestamp;
  1067 + } catch (e) {
  1068 + }
  1069 + })();
  1070 +</script>
  1071 +
  1072 +
  1073 +{{/if}}
  1074 + <div class="yoho-footer">
  1075 + {{#if footerTop}}
  1076 + <div class="footertop">
  1077 + <div class="index-foot">
  1078 + <dl class="center-content clearfix">
  1079 + <dd>
  1080 + <div class="foot-panel">
  1081 + <div class="title">
  1082 + <div class="title-line"></div>
  1083 + <div class="text">
  1084 + <span>有货SERVICES</span>
  1085 + </div>
  1086 + </div>
  1087 + <div id="foot-services">
  1088 + <ul class="two-dim clearfix">
  1089 + <li class="left">
  1090 + {{#if devEnv}}
  1091 + <img class="dim-img lazy" data-original="http://localhost:5002/img/layout/qr-app.png">
  1092 + {{^}}
  1093 + <img class="dim-img lazy" data-original="//cdn.yoho.cn/yohobuy-node/assets/img/layout/qr-app.png">
  1094 + {{/if}}
  1095 + <p>YOHO!BUY有货</p>
  1096 + </li>
  1097 + <li class="left">
  1098 + {{#if devEnv}}
  1099 + <img class="dim-img lazy" data-original="http://localhost:5002/img/layout/qr-weixin.png">
  1100 + {{^}}
  1101 + <img class="dim-img lazy" data-original="//cdn.yoho.cn/yohobuy-node/assets/img/layout/qr-weixin.png">
  1102 + {{/if}}
  1103 + <p>微信</p>
  1104 + </li>
  1105 + <li class="left">
  1106 + {{#if devEnv}}
  1107 + <img class="dim-img lazy" data-original="http://localhost:5002/img/layout/qr-weibo.png">
  1108 + {{^}}
  1109 + <img class="dim-img lazy" data-original="//cdn.yoho.cn/yohobuy-node/assets/img/layout/qr-weibo.png">
  1110 + {{/if}}
  1111 + <p>微博</p>
  1112 + </li>
  1113 + </ul>
  1114 + </div>
  1115 + </div>
  1116 + <p class="item-nav center">
  1117 + <span class="iconfont cur" key="0">&#xe606;</span>
  1118 + </p>
  1119 + </dd>
  1120 + <dd>
  1121 + <div id="feed-back-box-list" class="foot-panel">
  1122 + <div class="title">
  1123 + <div class="title-line"></div>
  1124 + <div class="text">
  1125 + <span>意见反馈</span>
  1126 + </div>
  1127 + </div>
  1128 + <ul class="vote clearfix">
  1129 + <li key="0">
  1130 + <form class="feed-back-form" action="#">
  1131 + <div>您喜欢有货的新版吗?</div>
  1132 + <div class="vote-item clearfix">
  1133 + <p>
  1134 + <input type="radio" name="solution" value="33">非常喜欢
  1135 + </p>
  1136 + <p>
  1137 + <input type="radio" name="solution" value="34">喜欢
  1138 + </p>
  1139 + <p>
  1140 + <input type="radio" name="solution" value="35">一般般
  1141 + </p>
  1142 + <p>
  1143 + <input type="radio" name="solution" value="36">不喜欢
  1144 + </p>
  1145 + <p>
  1146 + <input type="radio" name="solution" value="37">非常不喜欢
  1147 + </p>
  1148 + </div>
  1149 + <div>
  1150 + <span class="feed-back-btn button">提交</span>
  1151 + </div>
  1152 + <input class="question-id" type="hidden" name="question_id" value="38">
  1153 + <input class="feedback-id" type="hidden" name="feedback_id" value="5">
  1154 + </form>
  1155 + </li>
  1156 + <li class="hide" key="1">
  1157 + <form class="feed-back-form" action="#">
  1158 + <div>您可以方便的找到想查看的内容吗?</div>
  1159 + <div class="vote-item clearfix">
  1160 + <p>
  1161 + <input type="radio" name="solution" value="38">非常方便
  1162 + </p>
  1163 + <p>
  1164 + <input type="radio" name="solution" value="39">方便
  1165 + </p>
  1166 + <p>
  1167 + <input type="radio" name="solution" value="40">一般般
  1168 + </p>
  1169 + <p>
  1170 + <input type="radio" name="solution" value="41">不方便
  1171 + </p>
  1172 + <p>
  1173 + <input type="radio" name="solution" value="42">非常不方便
  1174 + </p>
  1175 + </div>
  1176 + <div>
  1177 + <span class="feed-back-btn button">提交</span>
  1178 + </div>
  1179 + <input class="question-id" type="hidden" value="39">
  1180 + <input class="feedback-id" type="hidden" value="5">
  1181 + </form>
  1182 + </li>
  1183 + <li class="hide" key="2">
  1184 + <form class="feed-back-form" action="#">
  1185 + <div>您对新版还有哪些意见或建议?</div>
  1186 + <textarea name="answer" id="feedback-answer" class="feedback-answer"></textarea>
  1187 + <div>
  1188 + <span class="feed-back-btn button">提交</span>
  1189 + </div>
  1190 + <input class="question-id" type="hidden" value="37">
  1191 + <input class="feedback-id" type="hidden" value="5">
  1192 + </form>
  1193 + </li>
  1194 + </ul>
  1195 + </div>
  1196 + <p id="feed-back-page" class="item-nav center">
  1197 + <span class="iconfont cur">&#xe606;</span>
  1198 + <span class="iconfont ">&#xe606;</span>
  1199 + <span class="iconfont ">&#xe606;</span>
  1200 + </p>
  1201 + </dd>
  1202 + <dd class="last">
  1203 + <div class="foot-panel">
  1204 + <div class="title">
  1205 + <div class="title-line"></div>
  1206 + <div class="text">
  1207 + <span>更多 YOHO!产品</span>
  1208 + </div>
  1209 + </div>
  1210 + <div id="foot-mobile">
  1211 + <ul class="mobile clearfix">
  1212 + <li>
  1213 + <a href="http://www.yohomars.com/" target="_blank">
  1214 + {{#if devEnv}}
  1215 + <img class="lazy" data-original="http://localhost:5002/img/layout/mars.png">
  1216 + {{^}}
  1217 + <img class="lazy" data-original="//cdn.yoho.cn/yohobuy-node/assets/img/layout/mars.png">
  1218 + {{/if}}
  1219 + </a>
  1220 + </li>
  1221 + <li>
  1222 + <a href="http://app.yohoshow.com/" target="_blank">
  1223 + {{#if devEnv}}
  1224 + <img class="lazy" data-original="http://localhost:5002/img/layout/show.png">
  1225 + {{^}}
  1226 + <img class="lazy" data-original="//cdn.yoho.cn/yohobuy-node/assets/img/layout/show.png">
  1227 + {{/if}}
  1228 + </a>
  1229 + </li>
  1230 + <li>
  1231 + <a href="http://www.yoho.cn/product#yoho" target="_blank">
  1232 + {{#if devEnv}}
  1233 + <img class="lazy" data-original="http://localhost:5002/img/layout/yoho.png">
  1234 + {{^}}
  1235 + <img class="lazy" data-original="//cdn.yoho.cn/yohobuy-node/assets/img/layout/yoho.png">
  1236 + {{/if}}
  1237 + </a>
  1238 + </li>
  1239 + </ul>
  1240 + </div>
  1241 + </div>
  1242 + <p class="item-nav center">
  1243 + <span class="iconfont cur">&#xe606;</span>
  1244 + </p>
  1245 + </dd>
  1246 + </dl>
  1247 + </div>
  1248 + </div>
  1249 + {{/if}}
  1250 + <div class="footerbottom">
  1251 + <div class="promise">
  1252 + <div class="center-content clearfix">
  1253 + <div class="left">
  1254 + <span class="iconfont rgbf">&#xe604;</span>
  1255 + <span class="red">100%</span>
  1256 + <span class="rgbf">品牌正品</span>
  1257 + </div>
  1258 + <div class="left">
  1259 + <span class="iconfont rgbf">&#xe603;</span>
  1260 + <span class="red">7天</span>
  1261 + <span class="rgbf">无理由退换货</span>
  1262 + </div>
  1263 + <div class="left">
  1264 + <span class="iconfont rgbf">&#xe602;</span>
  1265 + <a href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=620092&amp;configID=149091&amp;jid=8732423409" target="_blank">
  1266 + <span class="red">便捷</span>
  1267 + <span class="rgbf">在线客服</span>
  1268 + </a>
  1269 + </div>
  1270 + <div class="right subscribe footer-right">
  1271 + <input id="subscriber-box" class="rgb6 top" name="subscriberBox"value="订阅我们的邮件">
  1272 + <a id="subscriber-btn" href="javascript:void(0);" class="iconfont rgbf">&#xe601;</a>
  1273 + </div>
  1274 + </div>
  1275 + </div>
  1276 + <div class="footer-help">
  1277 + <div class="center-content clearfix">
  1278 + <div class="left">
  1279 + <ul class="clearfix">
  1280 + <li class="left">
  1281 + <p>
  1282 + <span>新手指南</span>
  1283 + </p>
  1284 + <p>
  1285 + <a href="//www.yohobuy.com/help/?category_id=81#help_b00reg" target="_blank">注册登录</a>
  1286 + </p>
  1287 + <p>
  1288 + <a href="//www.yohobuy.com/help/?category_id=83" target="_blank">选购商品</a>
  1289 + </p>
  1290 + <p>
  1291 + <a href="//www.yohobuy.com/help/?category_id=103" target="_blank">订单支付</a>
  1292 + </p>
  1293 + <p>
  1294 + <a href="//www.yohobuy.com/help/?category_id=85" target="_blank">收货退款</a>
  1295 + </p>
  1296 + </li>
  1297 + <li class="left">
  1298 + <p>
  1299 + <span>会员中心</span>
  1300 + </p>
  1301 + <p>
  1302 + <a href="//www.yohobuy.com/help/?category_id=87" target="_blank">有货币</a>
  1303 + </p>
  1304 + <p>
  1305 + <a href="//www.yohobuy.com/help/?category_id=91" target="_blank">会员制度</a>
  1306 + </p>
  1307 + <p>
  1308 + <a href="//www.yohobuy.com/help/?category_id=89" target="_blank">账户管理</a>
  1309 + </p>
  1310 + <p>
  1311 + <a href="//www.yohobuy.com/help/?category_id=93" target="_blank">密码管理</a>
  1312 + </p>
  1313 + </li>
  1314 + <li class="left">
  1315 + <p>
  1316 + <span>购物指南</span>
  1317 + </p>
  1318 + <p>
  1319 + <a href="//www.yohobuy.com/help/?category_id=95" target="_blank">全球购专区</a>
  1320 + </p>
  1321 + <p>
  1322 + <a href="//www.yohobuy.com/help/?category_id=97" target="_blank">尺码选择</a>
  1323 + </p>
  1324 + <p>
  1325 + <a href="//www.yohobuy.com/help/?category_id=99" target="_blank">发票</a>
  1326 + </p>
  1327 + <p>
  1328 + <a href="//www.yohobuy.com/help/?category_id=101" target="_blank">商品咨询</a>
  1329 + </p>
  1330 + </li>
  1331 + <li class="left">
  1332 + <p>
  1333 + <span>支付方式</span>
  1334 + </p>
  1335 + <p>
  1336 + <a href="//www.yohobuy.com/help/?category_id=105" target="_blank">在线支付</a>
  1337 + </p>
  1338 + <p>
  1339 + <a href="//www.yohobuy.com/help/?category_id=107" target="_blank">货到付款</a>
  1340 + </p>
  1341 + <p>
  1342 + <a href="//www.yohobuy.com/help/?category_id=109" target="_blank">优惠券</a>
  1343 + </p>
  1344 + <p>
  1345 + <a href="//www.yohobuy.com/help/?category_id=111" target="_blank">有货币支付</a>
  1346 + </p>
  1347 + </li>
  1348 + <li class="left">
  1349 + <p>
  1350 + <span>配送方式</span>
  1351 + </p>
  1352 + <p>
  1353 + <a href="//www.yohobuy.com/help/?category_id=113" target="_blank">配送时间</a>
  1354 + </p>
  1355 + <p>
  1356 + <a href="//www.yohobuy.com/help/?category_id=115" target="_blank">配送范围</a>
  1357 + </p>
  1358 + <p>
  1359 + <a href="//www.yohobuy.com/help/?category_id=119" target="_blank">顺丰速运</a>
  1360 + </p>
  1361 + <p>
  1362 + <a href="//www.yohobuy.com/help/?category_id=117" target="_blank">商品验收与签收</a>
  1363 + </p>
  1364 + </li>
  1365 + <li class="left">
  1366 + <p>
  1367 + <span>售后服务</span>
  1368 + </p>
  1369 + <p>
  1370 + <a href="//www.yohobuy.com/help/?category_id=121" target="_blank">退换货政策</a>
  1371 + </p>
  1372 + <p>
  1373 + <a href="//www.yohobuy.com/help/?category_id=123" target="_blank">退换货流程</a>
  1374 + </p>
  1375 + <p>
  1376 + <a href="//www.yohobuy.com/help/?category_id=125" target="_blank">退款方式与时效</a>
  1377 + </p>
  1378 + <p>
  1379 + <a href="//www.yohobuy.com/help/?category_id=127" target="_blank">投诉与建议</a>
  1380 + </p>
  1381 + </li>
  1382 + <li class="left">
  1383 + <p>
  1384 + <span>APP常见问题</span>
  1385 + </p>
  1386 + <p>
  1387 + <a href="//www.yohobuy.com/help/?category_id=133" target="_blank">IPhone版</a>
  1388 + </p>
  1389 + <p>
  1390 + <a href="//www.yohobuy.com/help/?category_id=135" target="_blank">Android版</a>
  1391 + </p>
  1392 + <p>
  1393 + <a href="//www.yohobuy.com/help/?category_id=137" target="_blank">wap版</a>
  1394 + </p>
  1395 + <p>
  1396 + <a href="//www.yohobuy.com/help/?category_id=139" target="_blank">IPAD版</a>
  1397 + </p>
  1398 + </li>
  1399 + </ul>
  1400 + </div>
  1401 + </div>
  1402 + </div>
  1403 + <div class="footer-link">
  1404 + <div class="center-content clearfix">
  1405 + <div class="left right-flag">
  1406 + <a class='govicon' href="http://odr.jsdsgsxt.gov.cn:8081/mbm/entweb/elec/certView?siteId=f2b6e3b8d18241afb8dd6cadf7f15406" target="_blank" rel="nofollow">
  1407 + <div class="govimg"></div>
  1408 + </a>
  1409 + <a href="https://ss.knet.cn/verifyseal.dll?sn=e14021832010046477dka7000000&amp;ct=df&amp;a=1&amp;pa=0.5902942178957805" target="_blank" rel="nofollow">
  1410 + <img src="//static.yohobuy.com/images/v3/icon/credit-flag3.png">
  1411 + </a>
  1412 + <a href="http://www.isc.org.cn/" target="_blank" rel="nofollow">
  1413 + <img src="//static.yohobuy.com/images/v3/icon/isc2.png">
  1414 + </a>
  1415 + </div>
  1416 + <div class="left about-us">
  1417 + <p>
  1418 + <a href="//www.yohobuy.com">返回首页</a>
  1419 + <span>|</span>
  1420 + <a href="//www.yohobuy.com">YOHO!BUY 有货</a>
  1421 + <span>|</span>
  1422 + <a href="//www.yohobuy.com/newpower.html">新力传媒</a>
  1423 + <span>|</span>
  1424 + <a href="//www.yohobuy.com/contact.html">联系我们</a>
  1425 + <span>|</span>
  1426 + <a href="//shop.yohobuy.com/settled">商家入驻</a>
  1427 + <span>|</span>
  1428 + <a href="//www.yohobuy.com/privacy.html">隐私条款</a>
  1429 + <span>|</span>
  1430 + <a href="//www.yohobuy.com/link.html">友情链接</a>
  1431 + </p>
  1432 + <p>
  1433 + CopyRight © 2007-2016 南京新与力文化传播有限公司
  1434 + <a class="rbg6" href="http://www.miibeian.gov.cn/" target="_blank">苏ICP备09011225号</a>
  1435 + NewPower Co. 版权所有 经营许可证编号:苏B2-20120395
  1436 + </p>
  1437 + </div>
  1438 +
  1439 + </div>
  1440 + </div>
  1441 + </div>
  1442 + <div class="return-top hide">
  1443 + <span class="iconfont">&#xe607;</span>
  1444 + </div>
  1445 +</div>
  1446 +
  1447 + {{#if devEnv}}
  1448 + <script src="//localhost:5002/libs.js"></script>
  1449 + <script src="//localhost:5002/{{module}}.{{page}}.js"></script>
  1450 + {{^}}
  1451 + <script src="//cdn.yoho.cn/yohobuy-node/{{version}}/libs.js"></script>
  1452 + <script src="//cdn.yoho.cn/yohobuy-node/{{version}}/{{module}}.{{page}}.js"></script>
  1453 + <!-- Google Tag Manager -->
  1454 +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  1455 +<script>
  1456 +var _hmt = _hmt || [];
  1457 +var _gaq = _gaq || [];
  1458 +(function() {
  1459 + function async_load(){
  1460 + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  1461 + new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  1462 + j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  1463 + '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  1464 + })(window,document,'script','dataLayer','GTM-W958MG');
  1465 + (function() {
  1466 + _gaq.push(['_setAccount', 'UA-48997038-32']);
  1467 + _gaq.push(['_trackPageview']);
  1468 + var ga = document.createElement('script');
  1469 + ga.type = 'text/javascript'; ga.async = true;
  1470 + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  1471 + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  1472 + })();
  1473 + }
  1474 + if (window.addEventListener) {
  1475 + window.addEventListener('load', async_load, false);
  1476 + } else if (window.attachEvent) {
  1477 + window.attachEvent('onload', async_load);
  1478 + }
  1479 +})();
  1480 +</script>
  1481 +<script>
  1482 + window._py = window._py||[];
  1483 + window._py.push(['a', 'MC..o8vMMWxEXDCiqYckD81lUX']);
  1484 + window._py.push(['domain','stats.ipinyou.com']);
  1485 + window._py.push(['e','']);
  1486 + if(typeof _goodsData!='undefined'){
  1487 + window._py.push(['pi',_goodsData]);
  1488 + }
  1489 + -function(d){
  1490 + var f = 'https:' == d.location.protocol;var c = d.createElement('script');c.type='text/javascript';c.async=1;
  1491 + c.src=(f ? 'https' : 'http') + '://'+(f?'fm.ipinyou.com':'fm.p0y.cn')+'/j/t/adv.js';
  1492 + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h);
  1493 + }(document);
  1494 +</script>
  1495 +<script>
  1496 + var _hmt = _hmt || [];
  1497 + (function() {
  1498 + var hm = document.createElement("script");
  1499 + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
  1500 + var s = document.getElementsByTagName("script")[0];
  1501 + s.parentNode.insertBefore(hm, s);
  1502 + })();
  1503 +</script>
  1504 + {{/if}}
  1505 + </body>
  1506 +</html>