Authored by ccbikai

增加调试 cookies

@@ -26,7 +26,8 @@ const example = { @@ -26,7 +26,8 @@ const example = {
26 res.render('app', { 26 res.render('app', {
27 module: 'example', 27 module: 'example',
28 page: 'app', 28 page: 'app',
29 - uid: req.user.uid 29 + uid: req.user.uid,
  30 + cookies: JSON.stringify(req.cookies)
30 }); 31 });
31 } 32 }
32 }; 33 };
@@ -4,5 +4,9 @@ @@ -4,5 +4,9 @@
4 4
5 <hr> 5 <hr>
6 6
7 -当前用户 UID 是:{{uid}} 7 +当前用户 UID 是:{{uid}}<br>
8 未显示表示未登录 8 未显示表示未登录
  9 +
  10 +<hr>
  11 +Cookies:<br>
  12 +{{{cookies}}}
1 -webpackJsonp([5],{0:function(t,e,o){"use strict";var n=o(2),i=o(18),s=o(289);o(6),n.use(i),new n({el:"#brand-list",components:{brandListBox:s}})},4:function(t,e,o){(function(e){"use strict";function o(t){var o=void 0,n={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(n,{txt:t}):e.extend(n,t);var i='<div class="tip-box"><div class="tip">'+n.txt+"</div></div>",s=e(".tip-box");s.length&&(o=s.data("timer"),clearTimeout(o),s.remove());var r=e(i).appendTo(document.body);r.data("timer",setTimeout(function(){r.remove()},n.delay))}t.exports=o}).call(e,o(1))},5:function(t,e,o){"use strict";var n=o(2),i=new n;t.exports=i},6:function(t,e,o){"use strict";var n=o(2);n.filter("resize",function(t,e,o,n){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var i={"{width}":e,"{height}":o,"{mode}":n||2};return i[t]}):""}),n.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),n.filter("brandUrl",function(t){return"/brand?domain="+t}),n.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),n.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),o=e.getFullYear()+"-",n=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",i=e.getDate()+" ",s=e.getHours()+":",r=e.getMinutes()+":",a=e.getSeconds();return o+n+i+s+r+a}})},24:function(t,e,o){"use strict";var n=o(5);t.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){n.$emit("list.paging")}}}},28:function(t,e){},30:function(t,e){t.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(t,e,o){var n,i;o(28),n=o(24),i=o(30),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},32:function(t,e,o){var n,i;o(94),n=o(85),i=o(103),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},44:function(t,e){"use strict";var o={men:"9ee58aadd9559d07207fe4a98843eaac",women:"aa8d34c85934c2ccc16e2babd3eb5e47",lifestyle:"3ad8826fc89fb0d023a4cd06a6991219"},n={men:"7317a4701a1d3ddc8d93a5df77a63b75",women:"84313c4b293a1c0aea985aa16a42a6b5",lifestyle:"f2e7142be1d5d622357c44a572390531"},i={men:"7f885e9cab53231cff34ea236f3f1120",women:"a6f9dc00219eb7d08520a18864929a30",lifestyle:"6f7b590ed3844e680d4052fc5c4d98ad"};t.exports={channel:o,brand:n,cate:i}},62:function(t,e){},79:function(t,e,o){(function(e){"use strict";var n=o(5),i={};t.exports={props:{current:{type:Number,"default":0},page:{type:String,"default":"channel"}},data:function(){return{channel:[]}},created:function(){var t=this;e.ajax({url:"/channel/channel.json"}).then(function(e){200===e.code&&!function(){var o=[];e.data.forEach(function(t){o.push[{name:t.channelName,channel:i[t.channeId]||""}]}),t.channel=o}()})},methods:{changeChannel:function(t){this.current=t,n.$emit("channel.change",this.page,this.channel[t].channel)}}}}).call(e,o(1))},80:function(t,e){"use strict";t.exports={props:["floor"]}},81:function(t,e,o){"use strict";o(62);var n=o(112);t.exports={props:["floor"],components:{swipe:n.Swipe,swipeItem:n.SwipeItem}}},82:function(t,e,o){(function(e){"use strict";var n=o(32),i=o(31),s=o(5);t.exports={data:function(){return{productList:[],productSkn:[]}},props:["floor"],components:{titleFloor:n,productList:i},methods:{getProducts:function(t){var o=this;t.length&&e.ajax({url:"/channel/goods.json",data:{productSkn:t.join(",")}}).then(function(t){o.productList=o.productList.concat(t)})}},created:function(){var t=this,e=50,o=0;this.floor.forEach(function(e){t.productSkn.push(e.id)}),this.getProducts(this.productSkn.slice(o,e)),s.$on("list.paging",function(){o++,t.getProducts(t.productSkn.slice(o*e,(o+1)*e))})}}}).call(e,o(1))},83:function(t,e,o){"use strict";var n=o(1),i=o(4),s=o(5),r=o(44),a=o(107),c=o(106),l=o(111),d=o(32),p=o(110),f=o(108),u={};t.exports={props:{contentCode:{type:String,"default":r.channel.men}},data:function(){return{resources:[]}},components:{focus:a,focusLeftRight:c,titleImage:l,titleFloor:d,recommendContentFive:p,goods:f},watch:{contentCode:function(){this.getResourcesData(),s.$emit("contentCode.change",this.contentCode)}},methods:{getResourcesData:function(){var t=this,e={};this.contentCode&&(e.contentCode=this.contentCode);var o=n.param(e);return u[o]?void(this.resources=u[o]):n.ajax({url:"/channel/resources.json",data:e}).then(function(e){t.resources=e,e.length&&(u[o]=e)}).fail(function(){i("网络错误")})}},created:function(){var t=this;this.getResourcesData(),s.$on("channel.change",function(e,o){t.contentCode=r[e][o]})}}},84:function(t,e){"use strict";t.exports={props:["floor"]}},85:function(t,e){"use strict";t.exports={props:["title"]}},86:function(t,e,o){"use strict";var n=o(32);t.exports={props:["floor"],components:{titleFloor:n}}},88:function(t,e){},89:function(t,e){},90:function(t,e){},91:function(t,e){},92:function(t,e){},93:function(t,e){},94:function(t,e){},95:function(t,e){},97:function(t,e){t.exports=' <div v-if=channel.length class=channel-tab> <div class=channel v-for="(index, item) in channel" v-bind:class="{focus: index === current}" v-on:click=changeChannel(index)> <span class=name>{{item.name | uppercase}}</span> </div> </div> '},98:function(t,e){t.exports=' <div class=focus-left-right> <a v-for="item in floor" href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 250 250"> </a> </div> '},99:function(t,e){t.exports=' <div class=focus> <swipe class="swipe swipe-{{floor.length}}"> <swipe-item v-for="item in floor" v-bind:style="{backgroundColor: item.bgColor}"> <a href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 750 365"> </a> </swipe-item> </swipe> </div> '},100:function(t,e){t.exports=" <div class=goods> <product-list v-bind:data=productList></product-list> </div> "},101:function(t,e){t.exports=' <div class=resources> <template v-for="floor in resources"> <focus v-if="floor.focus && floor.focusType === \'1\'" v-bind:floor=floor.data v-bind:style="{height: \'9.1rem\'}"> </focus> <focus-left-right v-if="floor.focus && floor.focusType === \'2\'" v-bind:floor=floor.data> </focus-left-right> <title-image v-if=floor.titleImage v-bind:floor=floor.data> </title-image> <title-floor v-if=floor.titleFloor v-bind:title=floor.data.title> </title-floor> <recommend-content-five v-if=floor.recommendContentFive v-bind:floor=floor.data.list> </recommend-content-five> <goods v-if=floor.goods v-bind:floor=floor.data> </goods> </template> </div> '},102:function(t,e){t.exports=' <div class=recommend-content-five> <a v-for="item in floor" href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 375 375"> </a> </div> '},103:function(t,e){t.exports=" <div class=floor-header> {{title.name}} <a class=more href={{title.moreUrl}}> {{title.moreName}} </a> </div> "},104:function(t,e){t.exports=' <div class=title-image> <title-floor v-bind:title="{name: floor.title, moreName: floor.moreName, moreUrl: floor.moreUrl}"></title-floor> <a class=image v-bind:href=floor.image.url> <img v-lazy="floor.image.src | resize 750 364"> </a> </div> '},105:function(t,e,o){var n,i;o(88),n=o(79),i=o(97),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},106:function(t,e,o){var n,i;o(89),n=o(80),i=o(98),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},107:function(t,e,o){var n,i;o(90),n=o(81),i=o(99),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},108:function(t,e,o){var n,i;o(91),n=o(82),i=o(100),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},109:function(t,e,o){var n,i;o(92),n=o(83),i=o(101),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},110:function(t,e,o){var n,i;o(93),n=o(84),i=o(102),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},111:function(t,e,o){var n,i;o(95),n=o(86),i=o(104),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},118:function(t,e){"use strict";t.exports={props:{indexList:Array},data:function(){return{items:[]}},watch:{indexList:function(){this.indexList&&(this.items=this.indexList)}},created:function(){if(!this.indexList){for(var t=65;t<91;t++){var e=String.fromCharCode(t);this.items.push({index:e,name:e})}this.items.push({index:"0~9",name:"#"})}}}},134:function(t,e){},146:function(t,e){t.exports=' <ul class=list-box> <li v-for="item in items"><a href=#{{item.index}}>{{item.name}}</a></li> </ul> '},156:function(t,e,o){var n,i;o(134),n=o(118),i=o(146),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},169:function(t,e,o){"use strict";var n=o(44),i=o(38),s=o(105),r=o(109),a=o(290);t.exports={data:function(){return{page:"brand",contentCode:n.brand[i.brand||"men"],channel:i.channel}},components:{tab:s,resources:r,brandList:a}}},170:function(t,e,o){"use strict";var n=o(1),i=o(5),s=o(4),r=o(156);t.exports={props:["channel"],data:function(){return{brandList:[],indexList:[]}},watch:{channel:function(){this.getBrandList()}},methods:{getBrandList:function(){var t=this,e={channel:this.channel};n.ajax({url:"/get-brand-list",data:e}).then(function(e){t.brandList=e.brandList,t.indexList=e.indexList}).fail(function(){s("网络错误")})}},components:{indexList:r},created:function(){var t=this;this.getBrandList(),i.$on("channel.change",function(e,o){t.channel=o})}}},229:function(t,e){},255:function(t,e){t.exports=" <tab v-bind:page=page></tab> <resources v-bind:content-code.sync=contentCode></resources> <brand-list v-bind:channel=channel></brand-list> "},256:function(t,e){t.exports=' <div class=brand-list-box> <div v-for="item in brandList" class=per-brand-box> <div class=index><a href=#{{item.index}} name={{item.index}}>{{item.index}}</a></div> <div class="brand-big-box clearfix"> <div class=brand-box v-for="brand in item.brands"> <a href={{brand.link}}> <div class=brand-logo> <img v-lazy="brand.logo | resize 150 150" alt={{brand.name}}> </div> <span class=brand-name>{{brand.name}}</span> </a> </div> </div> </div> </div> <index-list v-bind:index-list=indexList></index-list> '},289:function(t,e,o){var n,i;n=o(169),i=o(255),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},290:function(t,e,o){var n,i;o(229),n=o(170),i=o(256),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)}});  
  1 +webpackJsonp([5],{0:function(t,e,o){"use strict";var n=o(2),i=o(18),s=o(290);o(6),n.use(i),new n({el:"#brand-list",components:{brandListBox:s}})},4:function(t,e,o){(function(e){"use strict";function o(t){var o=void 0,n={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(n,{txt:t}):e.extend(n,t);var i='<div class="tip-box"><div class="tip">'+n.txt+"</div></div>",s=e(".tip-box");s.length&&(o=s.data("timer"),clearTimeout(o),s.remove());var r=e(i).appendTo(document.body);r.data("timer",setTimeout(function(){r.remove()},n.delay))}t.exports=o}).call(e,o(1))},5:function(t,e,o){"use strict";var n=o(2),i=new n;t.exports=i},6:function(t,e,o){"use strict";var n=o(2);n.filter("resize",function(t,e,o,n){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var i={"{width}":e,"{height}":o,"{mode}":n||2};return i[t]}):""}),n.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),n.filter("brandUrl",function(t){return"/brand?domain="+t}),n.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),n.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),o=e.getFullYear()+"-",n=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",i=e.getDate()+" ",s=e.getHours()+":",r=e.getMinutes()+":",a=e.getSeconds();return o+n+i+s+r+a}})},24:function(t,e,o){"use strict";var n=o(5);t.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){n.$emit("list.paging")}}}},28:function(t,e){},30:function(t,e){t.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(t,e,o){var n,i;o(28),n=o(24),i=o(30),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},32:function(t,e,o){var n,i;o(94),n=o(85),i=o(103),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},44:function(t,e){"use strict";var o={men:"9ee58aadd9559d07207fe4a98843eaac",women:"aa8d34c85934c2ccc16e2babd3eb5e47",lifestyle:"3ad8826fc89fb0d023a4cd06a6991219"},n={men:"7317a4701a1d3ddc8d93a5df77a63b75",women:"84313c4b293a1c0aea985aa16a42a6b5",lifestyle:"f2e7142be1d5d622357c44a572390531"},i={men:"7f885e9cab53231cff34ea236f3f1120",women:"a6f9dc00219eb7d08520a18864929a30",lifestyle:"6f7b590ed3844e680d4052fc5c4d98ad"};t.exports={channel:o,brand:n,cate:i}},62:function(t,e){},79:function(t,e,o){(function(e){"use strict";var n=o(5),i={};t.exports={props:{current:{type:Number,"default":0},page:{type:String,"default":"channel"}},data:function(){return{channel:[]}},created:function(){var t=this;e.ajax({url:"/channel/channel.json"}).then(function(e){200===e.code&&!function(){var o=[];e.data.forEach(function(t){o.push[{name:t.channelName,channel:i[t.channeId]||""}]}),t.channel=o}()})},methods:{changeChannel:function(t){this.current=t,n.$emit("channel.change",this.page,this.channel[t].channel)}}}}).call(e,o(1))},80:function(t,e){"use strict";t.exports={props:["floor"]}},81:function(t,e,o){"use strict";o(62);var n=o(112);t.exports={props:["floor"],components:{swipe:n.Swipe,swipeItem:n.SwipeItem}}},82:function(t,e,o){(function(e){"use strict";var n=o(32),i=o(31),s=o(5);t.exports={data:function(){return{productList:[],productSkn:[]}},props:["floor"],components:{titleFloor:n,productList:i},methods:{getProducts:function(t){var o=this;t.length&&e.ajax({url:"/channel/goods.json",data:{productSkn:t.join(",")}}).then(function(t){o.productList=o.productList.concat(t)})}},created:function(){var t=this,e=50,o=0;this.floor.forEach(function(e){t.productSkn.push(e.id)}),this.getProducts(this.productSkn.slice(o,e)),s.$on("list.paging",function(){o++,t.getProducts(t.productSkn.slice(o*e,(o+1)*e))})}}}).call(e,o(1))},83:function(t,e,o){"use strict";var n=o(1),i=o(4),s=o(5),r=o(44),a=o(107),c=o(106),l=o(111),d=o(32),p=o(110),f=o(108),u={};t.exports={props:{contentCode:{type:String,"default":r.channel.men}},data:function(){return{resources:[]}},components:{focus:a,focusLeftRight:c,titleImage:l,titleFloor:d,recommendContentFive:p,goods:f},watch:{contentCode:function(){this.getResourcesData(),s.$emit("contentCode.change",this.contentCode)}},methods:{getResourcesData:function(){var t=this,e={};this.contentCode&&(e.contentCode=this.contentCode);var o=n.param(e);return u[o]?void(this.resources=u[o]):n.ajax({url:"/channel/resources.json",data:e}).then(function(e){t.resources=e,e.length&&(u[o]=e)}).fail(function(){i("网络错误")})}},created:function(){var t=this;this.getResourcesData(),s.$on("channel.change",function(e,o){t.contentCode=r[e][o]})}}},84:function(t,e){"use strict";t.exports={props:["floor"]}},85:function(t,e){"use strict";t.exports={props:["title"]}},86:function(t,e,o){"use strict";var n=o(32);t.exports={props:["floor"],components:{titleFloor:n}}},88:function(t,e){},89:function(t,e){},90:function(t,e){},91:function(t,e){},92:function(t,e){},93:function(t,e){},94:function(t,e){},95:function(t,e){},97:function(t,e){t.exports=' <div v-if=channel.length class=channel-tab> <div class=channel v-for="(index, item) in channel" v-bind:class="{focus: index === current}" v-on:click=changeChannel(index)> <span class=name>{{item.name | uppercase}}</span> </div> </div> '},98:function(t,e){t.exports=' <div class=focus-left-right> <a v-for="item in floor" href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 250 250"> </a> </div> '},99:function(t,e){t.exports=' <div class=focus> <swipe class="swipe swipe-{{floor.length}}"> <swipe-item v-for="item in floor" v-bind:style="{backgroundColor: item.bgColor}"> <a href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 750 365"> </a> </swipe-item> </swipe> </div> '},100:function(t,e){t.exports=" <div class=goods> <product-list v-bind:data=productList></product-list> </div> "},101:function(t,e){t.exports=' <div class=resources> <template v-for="floor in resources"> <focus v-if="floor.focus && floor.focusType === \'1\'" v-bind:floor=floor.data v-bind:style="{height: \'9.1rem\'}"> </focus> <focus-left-right v-if="floor.focus && floor.focusType === \'2\'" v-bind:floor=floor.data> </focus-left-right> <title-image v-if=floor.titleImage v-bind:floor=floor.data> </title-image> <title-floor v-if=floor.titleFloor v-bind:title=floor.data.title> </title-floor> <recommend-content-five v-if=floor.recommendContentFive v-bind:floor=floor.data.list> </recommend-content-five> <goods v-if=floor.goods v-bind:floor=floor.data> </goods> </template> </div> '},102:function(t,e){t.exports=' <div class=recommend-content-five> <a v-for="item in floor" href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 375 375"> </a> </div> '},103:function(t,e){t.exports=" <div class=floor-header> {{title.name}} <a class=more href={{title.moreUrl}}> {{title.moreName}} </a> </div> "},104:function(t,e){t.exports=' <div class=title-image> <title-floor v-bind:title="{name: floor.title, moreName: floor.moreName, moreUrl: floor.moreUrl}"></title-floor> <a class=image v-bind:href=floor.image.url> <img v-lazy="floor.image.src | resize 750 364"> </a> </div> '},105:function(t,e,o){var n,i;o(88),n=o(79),i=o(97),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},106:function(t,e,o){var n,i;o(89),n=o(80),i=o(98),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},107:function(t,e,o){var n,i;o(90),n=o(81),i=o(99),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},108:function(t,e,o){var n,i;o(91),n=o(82),i=o(100),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},109:function(t,e,o){var n,i;o(92),n=o(83),i=o(101),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},110:function(t,e,o){var n,i;o(93),n=o(84),i=o(102),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},111:function(t,e,o){var n,i;o(95),n=o(86),i=o(104),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},118:function(t,e){"use strict";t.exports={props:{indexList:Array},data:function(){return{items:[]}},watch:{indexList:function(){this.indexList&&(this.items=this.indexList)}},created:function(){if(!this.indexList){for(var t=65;t<91;t++){var e=String.fromCharCode(t);this.items.push({index:e,name:e})}this.items.push({index:"0~9",name:"#"})}}}},134:function(t,e){},146:function(t,e){t.exports=' <ul class=list-box> <li v-for="item in items"><a href=#{{item.index}}>{{item.name}}</a></li> </ul> '},156:function(t,e,o){var n,i;o(134),n=o(118),i=o(146),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},169:function(t,e,o){"use strict";var n=o(44),i=o(38),s=o(105),r=o(109),a=o(291);t.exports={data:function(){return{page:"brand",contentCode:n.brand[i.brand||"men"],channel:i.channel}},components:{tab:s,resources:r,brandList:a}}},170:function(t,e,o){"use strict";var n=o(1),i=o(5),s=o(4),r=o(156);t.exports={props:["channel"],data:function(){return{brandList:[],indexList:[]}},watch:{channel:function(){this.getBrandList()}},methods:{getBrandList:function(){var t=this,e={channel:this.channel};n.ajax({url:"/get-brand-list",data:e}).then(function(e){t.brandList=e.brandList,t.indexList=e.indexList}).fail(function(){s("网络错误")})}},components:{indexList:r},created:function(){var t=this;this.getBrandList(),i.$on("channel.change",function(e,o){t.channel=o})}}},229:function(t,e){},256:function(t,e){t.exports=" <tab v-bind:page=page></tab> <resources v-bind:content-code.sync=contentCode></resources> <brand-list v-bind:channel=channel></brand-list> "},257:function(t,e){t.exports=' <div class=brand-list-box> <div v-for="item in brandList" class=per-brand-box> <div class=index><a href=#{{item.index}} name={{item.index}}>{{item.index}}</a></div> <div class="brand-big-box clearfix"> <div class=brand-box v-for="brand in item.brands"> <a href={{brand.link}}> <div class=brand-logo> <img v-lazy="brand.logo | resize 150 150" alt={{brand.name}}> </div> <span class=brand-name>{{brand.name}}</span> </a> </div> </div> </div> </div> <index-list v-bind:index-list=indexList></index-list> '},290:function(t,e,o){var n,i;n=o(169),i=o(256),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},291:function(t,e,o){var n,i;o(229),n=o(170),i=o(257),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)}});
1 -webpackJsonp([6],{0:function(t,e,o){"use strict";var n=o(2),r=o(18),s=o(291);o(6),n.use(r),new n({el:"#cate-resource",components:{"cate-res":s}})},4:function(t,e,o){(function(e){"use strict";function o(t){var o=void 0,n={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(n,{txt:t}):e.extend(n,t);var r='<div class="tip-box"><div class="tip">'+n.txt+"</div></div>",s=e(".tip-box");s.length&&(o=s.data("timer"),clearTimeout(o),s.remove());var i=e(r).appendTo(document.body);i.data("timer",setTimeout(function(){i.remove()},n.delay))}t.exports=o}).call(e,o(1))},5:function(t,e,o){"use strict";var n=o(2),r=new n;t.exports=r},6:function(t,e,o){"use strict";var n=o(2);n.filter("resize",function(t,e,o,n){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var r={"{width}":e,"{height}":o,"{mode}":n||2};return r[t]}):""}),n.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),n.filter("brandUrl",function(t){return"/brand?domain="+t}),n.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),n.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),o=e.getFullYear()+"-",n=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",r=e.getDate()+" ",s=e.getHours()+":",i=e.getMinutes()+":",a=e.getSeconds();return o+n+r+s+i+a}})},24:function(t,e,o){"use strict";var n=o(5);t.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){n.$emit("list.paging")}}}},28:function(t,e){},30:function(t,e){t.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(t,e,o){var n,r;o(28),n=o(24),r=o(30),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},32:function(t,e,o){var n,r;o(94),n=o(85),r=o(103),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},44:function(t,e){"use strict";var o={men:"9ee58aadd9559d07207fe4a98843eaac",women:"aa8d34c85934c2ccc16e2babd3eb5e47",lifestyle:"3ad8826fc89fb0d023a4cd06a6991219"},n={men:"7317a4701a1d3ddc8d93a5df77a63b75",women:"84313c4b293a1c0aea985aa16a42a6b5",lifestyle:"f2e7142be1d5d622357c44a572390531"},r={men:"7f885e9cab53231cff34ea236f3f1120",women:"a6f9dc00219eb7d08520a18864929a30",lifestyle:"6f7b590ed3844e680d4052fc5c4d98ad"};t.exports={channel:o,brand:n,cate:r}},62:function(t,e){},79:function(t,e,o){(function(e){"use strict";var n=o(5),r={};t.exports={props:{current:{type:Number,"default":0},page:{type:String,"default":"channel"}},data:function(){return{channel:[]}},created:function(){var t=this;e.ajax({url:"/channel/channel.json"}).then(function(e){200===e.code&&!function(){var o=[];e.data.forEach(function(t){o.push[{name:t.channelName,channel:r[t.channeId]||""}]}),t.channel=o}()})},methods:{changeChannel:function(t){this.current=t,n.$emit("channel.change",this.page,this.channel[t].channel)}}}}).call(e,o(1))},80:function(t,e){"use strict";t.exports={props:["floor"]}},81:function(t,e,o){"use strict";o(62);var n=o(112);t.exports={props:["floor"],components:{swipe:n.Swipe,swipeItem:n.SwipeItem}}},82:function(t,e,o){(function(e){"use strict";var n=o(32),r=o(31),s=o(5);t.exports={data:function(){return{productList:[],productSkn:[]}},props:["floor"],components:{titleFloor:n,productList:r},methods:{getProducts:function(t){var o=this;t.length&&e.ajax({url:"/channel/goods.json",data:{productSkn:t.join(",")}}).then(function(t){o.productList=o.productList.concat(t)})}},created:function(){var t=this,e=50,o=0;this.floor.forEach(function(e){t.productSkn.push(e.id)}),this.getProducts(this.productSkn.slice(o,e)),s.$on("list.paging",function(){o++,t.getProducts(t.productSkn.slice(o*e,(o+1)*e))})}}}).call(e,o(1))},83:function(t,e,o){"use strict";var n=o(1),r=o(4),s=o(5),i=o(44),a=o(107),c=o(106),l=o(111),p=o(32),d=o(110),u=o(108),f={};t.exports={props:{contentCode:{type:String,"default":i.channel.men}},data:function(){return{resources:[]}},components:{focus:a,focusLeftRight:c,titleImage:l,titleFloor:p,recommendContentFive:d,goods:u},watch:{contentCode:function(){this.getResourcesData(),s.$emit("contentCode.change",this.contentCode)}},methods:{getResourcesData:function(){var t=this,e={};this.contentCode&&(e.contentCode=this.contentCode);var o=n.param(e);return f[o]?void(this.resources=f[o]):n.ajax({url:"/channel/resources.json",data:e}).then(function(e){t.resources=e,e.length&&(f[o]=e)}).fail(function(){r("网络错误")})}},created:function(){var t=this;this.getResourcesData(),s.$on("channel.change",function(e,o){t.contentCode=i[e][o]})}}},84:function(t,e){"use strict";t.exports={props:["floor"]}},85:function(t,e){"use strict";t.exports={props:["title"]}},86:function(t,e,o){"use strict";var n=o(32);t.exports={props:["floor"],components:{titleFloor:n}}},88:function(t,e){},89:function(t,e){},90:function(t,e){},91:function(t,e){},92:function(t,e){},93:function(t,e){},94:function(t,e){},95:function(t,e){},97:function(t,e){t.exports=' <div v-if=channel.length class=channel-tab> <div class=channel v-for="(index, item) in channel" v-bind:class="{focus: index === current}" v-on:click=changeChannel(index)> <span class=name>{{item.name | uppercase}}</span> </div> </div> '},98:function(t,e){t.exports=' <div class=focus-left-right> <a v-for="item in floor" href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 250 250"> </a> </div> '},99:function(t,e){t.exports=' <div class=focus> <swipe class="swipe swipe-{{floor.length}}"> <swipe-item v-for="item in floor" v-bind:style="{backgroundColor: item.bgColor}"> <a href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 750 365"> </a> </swipe-item> </swipe> </div> '},100:function(t,e){t.exports=" <div class=goods> <product-list v-bind:data=productList></product-list> </div> "},101:function(t,e){t.exports=' <div class=resources> <template v-for="floor in resources"> <focus v-if="floor.focus && floor.focusType === \'1\'" v-bind:floor=floor.data v-bind:style="{height: \'9.1rem\'}"> </focus> <focus-left-right v-if="floor.focus && floor.focusType === \'2\'" v-bind:floor=floor.data> </focus-left-right> <title-image v-if=floor.titleImage v-bind:floor=floor.data> </title-image> <title-floor v-if=floor.titleFloor v-bind:title=floor.data.title> </title-floor> <recommend-content-five v-if=floor.recommendContentFive v-bind:floor=floor.data.list> </recommend-content-five> <goods v-if=floor.goods v-bind:floor=floor.data> </goods> </template> </div> '},102:function(t,e){t.exports=' <div class=recommend-content-five> <a v-for="item in floor" href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 375 375"> </a> </div> '},103:function(t,e){t.exports=" <div class=floor-header> {{title.name}} <a class=more href={{title.moreUrl}}> {{title.moreName}} </a> </div> "},104:function(t,e){t.exports=' <div class=title-image> <title-floor v-bind:title="{name: floor.title, moreName: floor.moreName, moreUrl: floor.moreUrl}"></title-floor> <a class=image v-bind:href=floor.image.url> <img v-lazy="floor.image.src | resize 750 364"> </a> </div> '},105:function(t,e,o){var n,r;o(88),n=o(79),r=o(97),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},106:function(t,e,o){var n,r;o(89),n=o(80),r=o(98),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},107:function(t,e,o){var n,r;o(90),n=o(81),r=o(99),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},108:function(t,e,o){var n,r;o(91),n=o(82),r=o(100),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},109:function(t,e,o){var n,r;o(92),n=o(83),r=o(101),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},110:function(t,e,o){var n,r;o(93),n=o(84),r=o(102),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},111:function(t,e,o){var n,r;o(95),n=o(86),r=o(104),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},171:function(t,e,o){"use strict";var n=o(44),r=o(38),s=o(105),i=o(109),a=o(292);t.exports={data:function(){return{page:"brand",contentCode:n.cate[r.channel||"men"]}},components:{tab:s,resources:i,cateResources:a}}},172:function(t,e){"use strict"},230:function(t,e){},257:function(t,e){t.exports=" <tab v-bind:page=page></tab> <resources v-bind:content-code.sync=contentCode></resources> <cate-resources></cate-resources> "},258:function(t,e){t.exports=' <div class=cate-resource> <ul> <li class=width50 style="background:url(http://img11.static.yhbimg.com/brandLogo/2015/08/04/18/01a6f1a7600ab044d1577dd6c357298fb3.png?imageMogr2/thumbnail/150x150/extent/150x150/background/d2hpdGU=/position/center/quality/80);background-size:100% 100%;background-repeat:no-repeat"> <div>上衣</div> </li> <li class=width50 style="background:url(http://img11.static.yhbimg.com/brandLogo/2015/08/04/18/01a6f1a7600ab044d1577dd6c357298fb3.png?imageMogr2/thumbnail/150x150/extent/150x150/background/d2hpdGU=/position/center/quality/80);background-size:100% 100%;background-repeat:no-repeat"> <div>上衣</div> </li> <li class=width100 style="background:url(http://img10.static.yhbimg.com/yhb-img01/2016/07/22/15/014c3887f1320bf024a8bbc01fef5d2a1a.png?imageView2/2/w/750/h/365);background-size:100% 100%;background-repeat:no-repeat"> <div>全部分类</div> </li> </ul> </div> '},291:function(t,e,o){var n,r;n=o(171),r=o(257),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},292:function(t,e,o){var n,r;o(230),n=o(172),r=o(258),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)}});  
  1 +webpackJsonp([6],{0:function(t,e,o){"use strict";var n=o(2),r=o(18),s=o(292);o(6),n.use(r),new n({el:"#cate-resource",components:{"cate-res":s}})},4:function(t,e,o){(function(e){"use strict";function o(t){var o=void 0,n={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(n,{txt:t}):e.extend(n,t);var r='<div class="tip-box"><div class="tip">'+n.txt+"</div></div>",s=e(".tip-box");s.length&&(o=s.data("timer"),clearTimeout(o),s.remove());var i=e(r).appendTo(document.body);i.data("timer",setTimeout(function(){i.remove()},n.delay))}t.exports=o}).call(e,o(1))},5:function(t,e,o){"use strict";var n=o(2),r=new n;t.exports=r},6:function(t,e,o){"use strict";var n=o(2);n.filter("resize",function(t,e,o,n){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var r={"{width}":e,"{height}":o,"{mode}":n||2};return r[t]}):""}),n.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),n.filter("brandUrl",function(t){return"/brand?domain="+t}),n.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),n.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),o=e.getFullYear()+"-",n=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",r=e.getDate()+" ",s=e.getHours()+":",i=e.getMinutes()+":",a=e.getSeconds();return o+n+r+s+i+a}})},24:function(t,e,o){"use strict";var n=o(5);t.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){n.$emit("list.paging")}}}},28:function(t,e){},30:function(t,e){t.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(t,e,o){var n,r;o(28),n=o(24),r=o(30),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},32:function(t,e,o){var n,r;o(94),n=o(85),r=o(103),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},44:function(t,e){"use strict";var o={men:"9ee58aadd9559d07207fe4a98843eaac",women:"aa8d34c85934c2ccc16e2babd3eb5e47",lifestyle:"3ad8826fc89fb0d023a4cd06a6991219"},n={men:"7317a4701a1d3ddc8d93a5df77a63b75",women:"84313c4b293a1c0aea985aa16a42a6b5",lifestyle:"f2e7142be1d5d622357c44a572390531"},r={men:"7f885e9cab53231cff34ea236f3f1120",women:"a6f9dc00219eb7d08520a18864929a30",lifestyle:"6f7b590ed3844e680d4052fc5c4d98ad"};t.exports={channel:o,brand:n,cate:r}},62:function(t,e){},79:function(t,e,o){(function(e){"use strict";var n=o(5),r={};t.exports={props:{current:{type:Number,"default":0},page:{type:String,"default":"channel"}},data:function(){return{channel:[]}},created:function(){var t=this;e.ajax({url:"/channel/channel.json"}).then(function(e){200===e.code&&!function(){var o=[];e.data.forEach(function(t){o.push[{name:t.channelName,channel:r[t.channeId]||""}]}),t.channel=o}()})},methods:{changeChannel:function(t){this.current=t,n.$emit("channel.change",this.page,this.channel[t].channel)}}}}).call(e,o(1))},80:function(t,e){"use strict";t.exports={props:["floor"]}},81:function(t,e,o){"use strict";o(62);var n=o(112);t.exports={props:["floor"],components:{swipe:n.Swipe,swipeItem:n.SwipeItem}}},82:function(t,e,o){(function(e){"use strict";var n=o(32),r=o(31),s=o(5);t.exports={data:function(){return{productList:[],productSkn:[]}},props:["floor"],components:{titleFloor:n,productList:r},methods:{getProducts:function(t){var o=this;t.length&&e.ajax({url:"/channel/goods.json",data:{productSkn:t.join(",")}}).then(function(t){o.productList=o.productList.concat(t)})}},created:function(){var t=this,e=50,o=0;this.floor.forEach(function(e){t.productSkn.push(e.id)}),this.getProducts(this.productSkn.slice(o,e)),s.$on("list.paging",function(){o++,t.getProducts(t.productSkn.slice(o*e,(o+1)*e))})}}}).call(e,o(1))},83:function(t,e,o){"use strict";var n=o(1),r=o(4),s=o(5),i=o(44),a=o(107),c=o(106),l=o(111),p=o(32),d=o(110),u=o(108),f={};t.exports={props:{contentCode:{type:String,"default":i.channel.men}},data:function(){return{resources:[]}},components:{focus:a,focusLeftRight:c,titleImage:l,titleFloor:p,recommendContentFive:d,goods:u},watch:{contentCode:function(){this.getResourcesData(),s.$emit("contentCode.change",this.contentCode)}},methods:{getResourcesData:function(){var t=this,e={};this.contentCode&&(e.contentCode=this.contentCode);var o=n.param(e);return f[o]?void(this.resources=f[o]):n.ajax({url:"/channel/resources.json",data:e}).then(function(e){t.resources=e,e.length&&(f[o]=e)}).fail(function(){r("网络错误")})}},created:function(){var t=this;this.getResourcesData(),s.$on("channel.change",function(e,o){t.contentCode=i[e][o]})}}},84:function(t,e){"use strict";t.exports={props:["floor"]}},85:function(t,e){"use strict";t.exports={props:["title"]}},86:function(t,e,o){"use strict";var n=o(32);t.exports={props:["floor"],components:{titleFloor:n}}},88:function(t,e){},89:function(t,e){},90:function(t,e){},91:function(t,e){},92:function(t,e){},93:function(t,e){},94:function(t,e){},95:function(t,e){},97:function(t,e){t.exports=' <div v-if=channel.length class=channel-tab> <div class=channel v-for="(index, item) in channel" v-bind:class="{focus: index === current}" v-on:click=changeChannel(index)> <span class=name>{{item.name | uppercase}}</span> </div> </div> '},98:function(t,e){t.exports=' <div class=focus-left-right> <a v-for="item in floor" href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 250 250"> </a> </div> '},99:function(t,e){t.exports=' <div class=focus> <swipe class="swipe swipe-{{floor.length}}"> <swipe-item v-for="item in floor" v-bind:style="{backgroundColor: item.bgColor}"> <a href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 750 365"> </a> </swipe-item> </swipe> </div> '},100:function(t,e){t.exports=" <div class=goods> <product-list v-bind:data=productList></product-list> </div> "},101:function(t,e){t.exports=' <div class=resources> <template v-for="floor in resources"> <focus v-if="floor.focus && floor.focusType === \'1\'" v-bind:floor=floor.data v-bind:style="{height: \'9.1rem\'}"> </focus> <focus-left-right v-if="floor.focus && floor.focusType === \'2\'" v-bind:floor=floor.data> </focus-left-right> <title-image v-if=floor.titleImage v-bind:floor=floor.data> </title-image> <title-floor v-if=floor.titleFloor v-bind:title=floor.data.title> </title-floor> <recommend-content-five v-if=floor.recommendContentFive v-bind:floor=floor.data.list> </recommend-content-five> <goods v-if=floor.goods v-bind:floor=floor.data> </goods> </template> </div> '},102:function(t,e){t.exports=' <div class=recommend-content-five> <a v-for="item in floor" href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 375 375"> </a> </div> '},103:function(t,e){t.exports=" <div class=floor-header> {{title.name}} <a class=more href={{title.moreUrl}}> {{title.moreName}} </a> </div> "},104:function(t,e){t.exports=' <div class=title-image> <title-floor v-bind:title="{name: floor.title, moreName: floor.moreName, moreUrl: floor.moreUrl}"></title-floor> <a class=image v-bind:href=floor.image.url> <img v-lazy="floor.image.src | resize 750 364"> </a> </div> '},105:function(t,e,o){var n,r;o(88),n=o(79),r=o(97),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},106:function(t,e,o){var n,r;o(89),n=o(80),r=o(98),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},107:function(t,e,o){var n,r;o(90),n=o(81),r=o(99),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},108:function(t,e,o){var n,r;o(91),n=o(82),r=o(100),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},109:function(t,e,o){var n,r;o(92),n=o(83),r=o(101),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},110:function(t,e,o){var n,r;o(93),n=o(84),r=o(102),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},111:function(t,e,o){var n,r;o(95),n=o(86),r=o(104),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},171:function(t,e,o){"use strict";var n=o(44),r=o(38),s=o(105),i=o(109),a=o(293);t.exports={data:function(){return{page:"brand",contentCode:n.cate[r.channel||"men"]}},components:{tab:s,resources:i,cateResources:a}}},172:function(t,e){"use strict"},230:function(t,e){},258:function(t,e){t.exports=" <tab v-bind:page=page></tab> <resources v-bind:content-code.sync=contentCode></resources> <cate-resources></cate-resources> "},259:function(t,e){t.exports=' <div class=cate-resource> <ul> <li class=width50 style="background:url(http://img11.static.yhbimg.com/brandLogo/2015/08/04/18/01a6f1a7600ab044d1577dd6c357298fb3.png?imageMogr2/thumbnail/150x150/extent/150x150/background/d2hpdGU=/position/center/quality/80);background-size:100% 100%;background-repeat:no-repeat"> <div>上衣</div> </li> <li class=width50 style="background:url(http://img11.static.yhbimg.com/brandLogo/2015/08/04/18/01a6f1a7600ab044d1577dd6c357298fb3.png?imageMogr2/thumbnail/150x150/extent/150x150/background/d2hpdGU=/position/center/quality/80);background-size:100% 100%;background-repeat:no-repeat"> <div>上衣</div> </li> <li class=width100 style="background:url(http://img10.static.yhbimg.com/yhb-img01/2016/07/22/15/014c3887f1320bf024a8bbc01fef5d2a1a.png?imageView2/2/w/750/h/365);background-size:100% 100%;background-repeat:no-repeat"> <div>全部分类</div> </li> </ul> </div> '},292:function(t,e,o){var n,r;n=o(171),r=o(258),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)},293:function(t,e,o){var n,r;o(230),n=o(172),r=o(259),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),r&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=r)}});
1 -webpackJsonp([19],{0:function(t,a,e){"use strict";var n=e(2),i=e(288);new n({el:"#brand-cate",components:{"brand-cate":i}})},4:function(t,a,e){(function(a){"use strict";function e(t){var e=void 0,n={mask:!1,delay:2e3,txt:""};"string"==typeof t?a.extend(n,{txt:t}):a.extend(n,t);var i='<div class="tip-box"><div class="tip">'+n.txt+"</div></div>",c=a(".tip-box");c.length&&(e=c.data("timer"),clearTimeout(e),c.remove());var s=a(i).appendTo(document.body);s.data("timer",setTimeout(function(){s.remove()},n.delay))}t.exports=e}).call(a,e(1))},168:function(t,a,e){"use strict";var n=e(1),i=e(4);t.exports={props:[],data:function(){return{brandCate:[],cateNavLeftData:[],cateNavRightData:[],topcurrent:0,leftcurrent:0}},methods:{getCateList:function(){var t=this,a={channel:""};n.ajax({url:"/get-cate-list",data:a}).then(function(a){t.brandCate=a,t.cateNavLeftData=t.brandCate[0].ca,t.cateNavRightData=t.cateNavLeftData[0].sub}).fail(function(){i("网络错误")})},cateNavTopFun:function(t){this.topcurrent=t,this.cateNavLeftData=this.brandCate[t].ca,this.cateNavRightData=this.cateNavLeftData[0].sub},cateNavLeftFun:function(t){this.leftcurrent=t,this.cateNavRightData=this.cateNavLeftData[t].sub}},created:function(){this.getCateList()}}},228:function(t,a){},254:function(t,a){t.exports=' <div class=cate-page id=cate-page> <div class="cate-nav clearfix"> <ul> <li v-for="(index, cate) in brandCate" v-on:click=cateNavTopFun(index) v-bind:class="{focus: index === topcurrent}"> <span>{{cate.name}}</span> </li> </ul> </div> <div class="cate-container clearfix"> <div class=content style="height: 522px"> <ul class=primary-level> <li v-for="(index, ca) in cateNavLeftData" v-bind:class="{focus: index === leftcurrent}" class=p-level-item v-on:click=cateNavLeftFun(index)> <a href={{ca.url}}>{{ca.name}}</a> </li> </ul> <div class=sub-level-container> <ul class=sub-level> <li v-for="sub in cateNavRightData"> <a href={{sub.url}}>{{sub.name}}</a> </li> </ul> </div> </div> </div> </div> '},288:function(t,a,e){var n,i;e(228),n=e(168),i=e(254),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)}});  
  1 +webpackJsonp([19],{0:function(t,a,e){"use strict";var n=e(2),i=e(289);new n({el:"#brand-cate",components:{"brand-cate":i}})},4:function(t,a,e){(function(a){"use strict";function e(t){var e=void 0,n={mask:!1,delay:2e3,txt:""};"string"==typeof t?a.extend(n,{txt:t}):a.extend(n,t);var i='<div class="tip-box"><div class="tip">'+n.txt+"</div></div>",c=a(".tip-box");c.length&&(e=c.data("timer"),clearTimeout(e),c.remove());var s=a(i).appendTo(document.body);s.data("timer",setTimeout(function(){s.remove()},n.delay))}t.exports=e}).call(a,e(1))},168:function(t,a,e){"use strict";var n=e(1),i=e(4);t.exports={props:[],data:function(){return{brandCate:[],cateNavLeftData:[],cateNavRightData:[],topcurrent:0,leftcurrent:0}},methods:{getCateList:function(){var t=this,a={channel:""};n.ajax({url:"/get-cate-list",data:a}).then(function(a){t.brandCate=a,t.cateNavLeftData=t.brandCate[0].ca,t.cateNavRightData=t.cateNavLeftData[0].sub}).fail(function(){i("网络错误")})},cateNavTopFun:function(t){this.topcurrent=t,this.cateNavLeftData=this.brandCate[t].ca,this.cateNavRightData=this.cateNavLeftData[0].sub},cateNavLeftFun:function(t){this.leftcurrent=t,this.cateNavRightData=this.cateNavLeftData[t].sub}},created:function(){this.getCateList()}}},228:function(t,a){},255:function(t,a){t.exports=' <div class=cate-page id=cate-page> <div class="cate-nav clearfix"> <ul> <li v-for="(index, cate) in brandCate" v-on:click=cateNavTopFun(index) v-bind:class="{focus: index === topcurrent}"> <span>{{cate.name}}</span> </li> </ul> </div> <div class="cate-container clearfix"> <div class=content style="height: 522px"> <ul class=primary-level> <li v-for="(index, ca) in cateNavLeftData" v-bind:class="{focus: index === leftcurrent}" class=p-level-item v-on:click=cateNavLeftFun(index)> <a href={{ca.url}}>{{ca.name}}</a> </li> </ul> <div class=sub-level-container> <ul class=sub-level> <li v-for="sub in cateNavRightData"> <a href={{sub.url}}>{{sub.name}}</a> </li> </ul> </div> </div> </div> </div> '},289:function(t,a,e){var n,i;e(228),n=e(168),i=e(255),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)}});
1 -webpackJsonp([7],{0:function(e,t,o){"use strict";var n=o(2),r=o(18),s=o(50),i=o(293);o(6),n.use(r),n.use(s),new n({el:"#channel",components:{channel:i}})},4:function(e,t,o){(function(t){"use strict";function o(e){var o=void 0,n={mask:!1,delay:2e3,txt:""};"string"==typeof e?t.extend(n,{txt:e}):t.extend(n,e);var r='<div class="tip-box"><div class="tip">'+n.txt+"</div></div>",s=t(".tip-box");s.length&&(o=s.data("timer"),clearTimeout(o),s.remove());var i=t(r).appendTo(document.body);i.data("timer",setTimeout(function(){i.remove()},n.delay))}e.exports=o}).call(t,o(1))},5:function(e,t,o){"use strict";var n=o(2),r=new n;e.exports=r},6:function(e,t,o){"use strict";var n=o(2);n.filter("resize",function(e,t,o,n){return e?e.replace(/(\{width}|\{height}|\{mode})/g,function(e){var r={"{width}":t,"{height}":o,"{mode}":n||2};return r[e]}):""}),n.filter("clothingGenderIdentity",function(e){var t=null;switch(e){case 1:t="男款";break;case 2:t="女款";break;default:t="通用"}return t}),n.filter("brandUrl",function(e){return"/brand?domain="+e}),n.filter("convertOrderState",function(e){var t="";switch("undefined"==typeof e&&(e=parseInt(e,10)),e){case 0:t="待付款";break;case 1:t="待发货";break;case 2:t="待发货";break;case 3:t="待发货";break;case 4:t="待收货";break;case 5:t="待发货";break;case 6:t="已完成";break;default:t=""}return t}),n.filter("convertTime",function(e){if("undefined"!=typeof e){var t=new Date(1e3*parseFloat(e)),o=t.getFullYear()+"-",n=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",r=t.getDate()+" ",s=t.getHours()+":",i=t.getMinutes()+":",a=t.getSeconds();return o+n+r+s+i+a}})},24:function(e,t,o){"use strict";var n=o(5);e.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){n.$emit("list.paging")}}}},28:function(e,t){},30:function(e,t){e.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(e,t,o){var n,r;o(28),n=o(24),r=o(30),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},32:function(e,t,o){var n,r;o(94),n=o(85),r=o(103),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},44:function(e,t){"use strict";var o={men:"9ee58aadd9559d07207fe4a98843eaac",women:"aa8d34c85934c2ccc16e2babd3eb5e47",lifestyle:"3ad8826fc89fb0d023a4cd06a6991219"},n={men:"7317a4701a1d3ddc8d93a5df77a63b75",women:"84313c4b293a1c0aea985aa16a42a6b5",lifestyle:"f2e7142be1d5d622357c44a572390531"},r={men:"7f885e9cab53231cff34ea236f3f1120",women:"a6f9dc00219eb7d08520a18864929a30",lifestyle:"6f7b590ed3844e680d4052fc5c4d98ad"};e.exports={channel:o,brand:n,cate:r}},62:function(e,t){},79:function(e,t,o){(function(t){"use strict";var n=o(5),r={};e.exports={props:{current:{type:Number,"default":0},page:{type:String,"default":"channel"}},data:function(){return{channel:[]}},created:function(){var e=this;t.ajax({url:"/channel/channel.json"}).then(function(t){200===t.code&&!function(){var o=[];t.data.forEach(function(e){o.push[{name:e.channelName,channel:r[e.channeId]||""}]}),e.channel=o}()})},methods:{changeChannel:function(e){this.current=e,n.$emit("channel.change",this.page,this.channel[e].channel)}}}}).call(t,o(1))},80:function(e,t){"use strict";e.exports={props:["floor"]}},81:function(e,t,o){"use strict";o(62);var n=o(112);e.exports={props:["floor"],components:{swipe:n.Swipe,swipeItem:n.SwipeItem}}},82:function(e,t,o){(function(t){"use strict";var n=o(32),r=o(31),s=o(5);e.exports={data:function(){return{productList:[],productSkn:[]}},props:["floor"],components:{titleFloor:n,productList:r},methods:{getProducts:function(e){var o=this;e.length&&t.ajax({url:"/channel/goods.json",data:{productSkn:e.join(",")}}).then(function(e){o.productList=o.productList.concat(e)})}},created:function(){var e=this,t=50,o=0;this.floor.forEach(function(t){e.productSkn.push(t.id)}),this.getProducts(this.productSkn.slice(o,t)),s.$on("list.paging",function(){o++,e.getProducts(e.productSkn.slice(o*t,(o+1)*t))})}}}).call(t,o(1))},83:function(e,t,o){"use strict";var n=o(1),r=o(4),s=o(5),i=o(44),a=o(107),c=o(106),l=o(111),p=o(32),f=o(110),d=o(108),u={};e.exports={props:{contentCode:{type:String,"default":i.channel.men}},data:function(){return{resources:[]}},components:{focus:a,focusLeftRight:c,titleImage:l,titleFloor:p,recommendContentFive:f,goods:d},watch:{contentCode:function(){this.getResourcesData(),s.$emit("contentCode.change",this.contentCode)}},methods:{getResourcesData:function(){var e=this,t={};this.contentCode&&(t.contentCode=this.contentCode);var o=n.param(t);return u[o]?void(this.resources=u[o]):n.ajax({url:"/channel/resources.json",data:t}).then(function(t){e.resources=t,t.length&&(u[o]=t)}).fail(function(){r("网络错误")})}},created:function(){var e=this;this.getResourcesData(),s.$on("channel.change",function(t,o){e.contentCode=i[t][o]})}}},84:function(e,t){"use strict";e.exports={props:["floor"]}},85:function(e,t){"use strict";e.exports={props:["title"]}},86:function(e,t,o){"use strict";var n=o(32);e.exports={props:["floor"],components:{titleFloor:n}}},88:function(e,t){},89:function(e,t){},90:function(e,t){},91:function(e,t){},92:function(e,t){},93:function(e,t){},94:function(e,t){},95:function(e,t){},97:function(e,t){e.exports=' <div v-if=channel.length class=channel-tab> <div class=channel v-for="(index, item) in channel" v-bind:class="{focus: index === current}" v-on:click=changeChannel(index)> <span class=name>{{item.name | uppercase}}</span> </div> </div> '},98:function(e,t){e.exports=' <div class=focus-left-right> <a v-for="item in floor" href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 250 250"> </a> </div> '},99:function(e,t){e.exports=' <div class=focus> <swipe class="swipe swipe-{{floor.length}}"> <swipe-item v-for="item in floor" v-bind:style="{backgroundColor: item.bgColor}"> <a href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 750 365"> </a> </swipe-item> </swipe> </div> '},100:function(e,t){e.exports=" <div class=goods> <product-list v-bind:data=productList></product-list> </div> "},101:function(e,t){e.exports=' <div class=resources> <template v-for="floor in resources"> <focus v-if="floor.focus && floor.focusType === \'1\'" v-bind:floor=floor.data v-bind:style="{height: \'9.1rem\'}"> </focus> <focus-left-right v-if="floor.focus && floor.focusType === \'2\'" v-bind:floor=floor.data> </focus-left-right> <title-image v-if=floor.titleImage v-bind:floor=floor.data> </title-image> <title-floor v-if=floor.titleFloor v-bind:title=floor.data.title> </title-floor> <recommend-content-five v-if=floor.recommendContentFive v-bind:floor=floor.data.list> </recommend-content-five> <goods v-if=floor.goods v-bind:floor=floor.data> </goods> </template> </div> '},102:function(e,t){e.exports=' <div class=recommend-content-five> <a v-for="item in floor" href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 375 375"> </a> </div> '},103:function(e,t){e.exports=" <div class=floor-header> {{title.name}} <a class=more href={{title.moreUrl}}> {{title.moreName}} </a> </div> "},104:function(e,t){e.exports=' <div class=title-image> <title-floor v-bind:title="{name: floor.title, moreName: floor.moreName, moreUrl: floor.moreUrl}"></title-floor> <a class=image v-bind:href=floor.image.url> <img v-lazy="floor.image.src | resize 750 364"> </a> </div> '},105:function(e,t,o){var n,r;o(88),n=o(79),r=o(97),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},106:function(e,t,o){var n,r;o(89),n=o(80),r=o(98),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},107:function(e,t,o){var n,r;o(90),n=o(81),r=o(99),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},108:function(e,t,o){var n,r;o(91),n=o(82),r=o(100),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},109:function(e,t,o){var n,r;o(92),n=o(83),r=o(101),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},110:function(e,t,o){var n,r;o(93),n=o(84),r=o(102),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},111:function(e,t,o){var n,r;o(95),n=o(86),r=o(104),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},173:function(e,t,o){"use strict";var n=o(38),r=o(44),s=o(5),i=o(105),a=o(109);e.exports={data:function(){return{page:"channel",contentCode:r.channel[n.channel||"men"]}},components:{tab:i,resources:a},created:function(){var e=this;s.$on("contentCode.change",function(t){e.contentCode=t})}}},231:function(e,t){},259:function(e,t){e.exports=" <tab v-bind:page=page></tab> <resources v-bind:content-code=contentCode></resources> "},293:function(e,t,o){var n,r;o(231),n=o(173),r=o(259),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)}});  
  1 +webpackJsonp([7],{0:function(e,t,o){"use strict";var n=o(2),r=o(18),s=o(50),i=o(294);o(6),n.use(r),n.use(s),new n({el:"#channel",components:{channel:i}})},4:function(e,t,o){(function(t){"use strict";function o(e){var o=void 0,n={mask:!1,delay:2e3,txt:""};"string"==typeof e?t.extend(n,{txt:e}):t.extend(n,e);var r='<div class="tip-box"><div class="tip">'+n.txt+"</div></div>",s=t(".tip-box");s.length&&(o=s.data("timer"),clearTimeout(o),s.remove());var i=t(r).appendTo(document.body);i.data("timer",setTimeout(function(){i.remove()},n.delay))}e.exports=o}).call(t,o(1))},5:function(e,t,o){"use strict";var n=o(2),r=new n;e.exports=r},6:function(e,t,o){"use strict";var n=o(2);n.filter("resize",function(e,t,o,n){return e?e.replace(/(\{width}|\{height}|\{mode})/g,function(e){var r={"{width}":t,"{height}":o,"{mode}":n||2};return r[e]}):""}),n.filter("clothingGenderIdentity",function(e){var t=null;switch(e){case 1:t="男款";break;case 2:t="女款";break;default:t="通用"}return t}),n.filter("brandUrl",function(e){return"/brand?domain="+e}),n.filter("convertOrderState",function(e){var t="";switch("undefined"==typeof e&&(e=parseInt(e,10)),e){case 0:t="待付款";break;case 1:t="待发货";break;case 2:t="待发货";break;case 3:t="待发货";break;case 4:t="待收货";break;case 5:t="待发货";break;case 6:t="已完成";break;default:t=""}return t}),n.filter("convertTime",function(e){if("undefined"!=typeof e){var t=new Date(1e3*parseFloat(e)),o=t.getFullYear()+"-",n=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",r=t.getDate()+" ",s=t.getHours()+":",i=t.getMinutes()+":",a=t.getSeconds();return o+n+r+s+i+a}})},24:function(e,t,o){"use strict";var n=o(5);e.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){n.$emit("list.paging")}}}},28:function(e,t){},30:function(e,t){e.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(e,t,o){var n,r;o(28),n=o(24),r=o(30),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},32:function(e,t,o){var n,r;o(94),n=o(85),r=o(103),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},44:function(e,t){"use strict";var o={men:"9ee58aadd9559d07207fe4a98843eaac",women:"aa8d34c85934c2ccc16e2babd3eb5e47",lifestyle:"3ad8826fc89fb0d023a4cd06a6991219"},n={men:"7317a4701a1d3ddc8d93a5df77a63b75",women:"84313c4b293a1c0aea985aa16a42a6b5",lifestyle:"f2e7142be1d5d622357c44a572390531"},r={men:"7f885e9cab53231cff34ea236f3f1120",women:"a6f9dc00219eb7d08520a18864929a30",lifestyle:"6f7b590ed3844e680d4052fc5c4d98ad"};e.exports={channel:o,brand:n,cate:r}},62:function(e,t){},79:function(e,t,o){(function(t){"use strict";var n=o(5),r={};e.exports={props:{current:{type:Number,"default":0},page:{type:String,"default":"channel"}},data:function(){return{channel:[]}},created:function(){var e=this;t.ajax({url:"/channel/channel.json"}).then(function(t){200===t.code&&!function(){var o=[];t.data.forEach(function(e){o.push[{name:e.channelName,channel:r[e.channeId]||""}]}),e.channel=o}()})},methods:{changeChannel:function(e){this.current=e,n.$emit("channel.change",this.page,this.channel[e].channel)}}}}).call(t,o(1))},80:function(e,t){"use strict";e.exports={props:["floor"]}},81:function(e,t,o){"use strict";o(62);var n=o(112);e.exports={props:["floor"],components:{swipe:n.Swipe,swipeItem:n.SwipeItem}}},82:function(e,t,o){(function(t){"use strict";var n=o(32),r=o(31),s=o(5);e.exports={data:function(){return{productList:[],productSkn:[]}},props:["floor"],components:{titleFloor:n,productList:r},methods:{getProducts:function(e){var o=this;e.length&&t.ajax({url:"/channel/goods.json",data:{productSkn:e.join(",")}}).then(function(e){o.productList=o.productList.concat(e)})}},created:function(){var e=this,t=50,o=0;this.floor.forEach(function(t){e.productSkn.push(t.id)}),this.getProducts(this.productSkn.slice(o,t)),s.$on("list.paging",function(){o++,e.getProducts(e.productSkn.slice(o*t,(o+1)*t))})}}}).call(t,o(1))},83:function(e,t,o){"use strict";var n=o(1),r=o(4),s=o(5),i=o(44),a=o(107),c=o(106),l=o(111),p=o(32),f=o(110),d=o(108),u={};e.exports={props:{contentCode:{type:String,"default":i.channel.men}},data:function(){return{resources:[]}},components:{focus:a,focusLeftRight:c,titleImage:l,titleFloor:p,recommendContentFive:f,goods:d},watch:{contentCode:function(){this.getResourcesData(),s.$emit("contentCode.change",this.contentCode)}},methods:{getResourcesData:function(){var e=this,t={};this.contentCode&&(t.contentCode=this.contentCode);var o=n.param(t);return u[o]?void(this.resources=u[o]):n.ajax({url:"/channel/resources.json",data:t}).then(function(t){e.resources=t,t.length&&(u[o]=t)}).fail(function(){r("网络错误")})}},created:function(){var e=this;this.getResourcesData(),s.$on("channel.change",function(t,o){e.contentCode=i[t][o]})}}},84:function(e,t){"use strict";e.exports={props:["floor"]}},85:function(e,t){"use strict";e.exports={props:["title"]}},86:function(e,t,o){"use strict";var n=o(32);e.exports={props:["floor"],components:{titleFloor:n}}},88:function(e,t){},89:function(e,t){},90:function(e,t){},91:function(e,t){},92:function(e,t){},93:function(e,t){},94:function(e,t){},95:function(e,t){},97:function(e,t){e.exports=' <div v-if=channel.length class=channel-tab> <div class=channel v-for="(index, item) in channel" v-bind:class="{focus: index === current}" v-on:click=changeChannel(index)> <span class=name>{{item.name | uppercase}}</span> </div> </div> '},98:function(e,t){e.exports=' <div class=focus-left-right> <a v-for="item in floor" href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 250 250"> </a> </div> '},99:function(e,t){e.exports=' <div class=focus> <swipe class="swipe swipe-{{floor.length}}"> <swipe-item v-for="item in floor" v-bind:style="{backgroundColor: item.bgColor}"> <a href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 750 365"> </a> </swipe-item> </swipe> </div> '},100:function(e,t){e.exports=" <div class=goods> <product-list v-bind:data=productList></product-list> </div> "},101:function(e,t){e.exports=' <div class=resources> <template v-for="floor in resources"> <focus v-if="floor.focus && floor.focusType === \'1\'" v-bind:floor=floor.data v-bind:style="{height: \'9.1rem\'}"> </focus> <focus-left-right v-if="floor.focus && floor.focusType === \'2\'" v-bind:floor=floor.data> </focus-left-right> <title-image v-if=floor.titleImage v-bind:floor=floor.data> </title-image> <title-floor v-if=floor.titleFloor v-bind:title=floor.data.title> </title-floor> <recommend-content-five v-if=floor.recommendContentFive v-bind:floor=floor.data.list> </recommend-content-five> <goods v-if=floor.goods v-bind:floor=floor.data> </goods> </template> </div> '},102:function(e,t){e.exports=' <div class=recommend-content-five> <a v-for="item in floor" href={{item.url}} title={{item.title}}> <img v-lazy="item.src | resize 375 375"> </a> </div> '},103:function(e,t){e.exports=" <div class=floor-header> {{title.name}} <a class=more href={{title.moreUrl}}> {{title.moreName}} </a> </div> "},104:function(e,t){e.exports=' <div class=title-image> <title-floor v-bind:title="{name: floor.title, moreName: floor.moreName, moreUrl: floor.moreUrl}"></title-floor> <a class=image v-bind:href=floor.image.url> <img v-lazy="floor.image.src | resize 750 364"> </a> </div> '},105:function(e,t,o){var n,r;o(88),n=o(79),r=o(97),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},106:function(e,t,o){var n,r;o(89),n=o(80),r=o(98),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},107:function(e,t,o){var n,r;o(90),n=o(81),r=o(99),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},108:function(e,t,o){var n,r;o(91),n=o(82),r=o(100),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},109:function(e,t,o){var n,r;o(92),n=o(83),r=o(101),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},110:function(e,t,o){var n,r;o(93),n=o(84),r=o(102),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},111:function(e,t,o){var n,r;o(95),n=o(86),r=o(104),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)},173:function(e,t,o){"use strict";var n=o(38),r=o(44),s=o(5),i=o(105),a=o(109);e.exports={data:function(){return{page:"channel",contentCode:r.channel[n.channel||"men"]}},components:{tab:i,resources:a},created:function(){var e=this;s.$on("contentCode.change",function(t){e.contentCode=t})}}},231:function(e,t){},260:function(e,t){e.exports=" <tab v-bind:page=page></tab> <resources v-bind:content-code=contentCode></resources> "},294:function(e,t,o){var n,r;o(231),n=o(173),r=o(260),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=r)}});
1 -webpackJsonp([18],{0:function(e,t,r){"use strict";var n=r(2),a=r(18),i=r(294);r(6),n.use(a),new n({el:"#sidebar",components:{sidebar:i}})},6:function(e,t,r){"use strict";var n=r(2);n.filter("resize",function(e,t,r,n){return e?e.replace(/(\{width}|\{height}|\{mode})/g,function(e){var a={"{width}":t,"{height}":r,"{mode}":n||2};return a[e]}):""}),n.filter("clothingGenderIdentity",function(e){var t=null;switch(e){case 1:t="男款";break;case 2:t="女款";break;default:t="通用"}return t}),n.filter("brandUrl",function(e){return"/brand?domain="+e}),n.filter("convertOrderState",function(e){var t="";switch("undefined"==typeof e&&(e=parseInt(e,10)),e){case 0:t="待付款";break;case 1:t="待发货";break;case 2:t="待发货";break;case 3:t="待发货";break;case 4:t="待收货";break;case 5:t="待发货";break;case 6:t="已完成";break;default:t=""}return t}),n.filter("convertTime",function(e){if("undefined"!=typeof e){var t=new Date(1e3*parseFloat(e)),r=t.getFullYear()+"-",n=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",a=t.getDate()+" ",i=t.getHours()+":",s=t.getMinutes()+":",o=t.getSeconds();return r+n+a+i+s+o}})},174:function(e,t,r){(function(t){"use strict";e.exports={data:function(){return{list:[]}},components:{},created:function(){var e=this;t.ajax({url:"/sidebar"}).then(function(t){e.list=t.data})}}}).call(t,r(1))},232:function(e,t){},260:function(e,t){e.exports=' <div class=sidebar> <template v-for="item in list"> <template v-if="item.separativeSign === \'Y\'"> <div class=sep> </div> </template> <a class=item href={{item.sortUrl}}> {{item.sortNameEn}}{{item.sortName}} </a> </template> </div> '},294:function(e,t,r){var n,a;r(232),n=r(174),a=r(260),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),a&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=a)}});  
  1 +webpackJsonp([18],{0:function(e,t,r){"use strict";var n=r(2),a=r(18),i=r(295);r(6),n.use(a),new n({el:"#sidebar",components:{sidebar:i}})},6:function(e,t,r){"use strict";var n=r(2);n.filter("resize",function(e,t,r,n){return e?e.replace(/(\{width}|\{height}|\{mode})/g,function(e){var a={"{width}":t,"{height}":r,"{mode}":n||2};return a[e]}):""}),n.filter("clothingGenderIdentity",function(e){var t=null;switch(e){case 1:t="男款";break;case 2:t="女款";break;default:t="通用"}return t}),n.filter("brandUrl",function(e){return"/brand?domain="+e}),n.filter("convertOrderState",function(e){var t="";switch("undefined"==typeof e&&(e=parseInt(e,10)),e){case 0:t="待付款";break;case 1:t="待发货";break;case 2:t="待发货";break;case 3:t="待发货";break;case 4:t="待收货";break;case 5:t="待发货";break;case 6:t="已完成";break;default:t=""}return t}),n.filter("convertTime",function(e){if("undefined"!=typeof e){var t=new Date(1e3*parseFloat(e)),r=t.getFullYear()+"-",n=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",a=t.getDate()+" ",i=t.getHours()+":",s=t.getMinutes()+":",o=t.getSeconds();return r+n+a+i+s+o}})},174:function(e,t,r){(function(t){"use strict";e.exports={data:function(){return{list:[]}},components:{},created:function(){var e=this;t.ajax({url:"/sidebar"}).then(function(t){e.list=t.data})}}}).call(t,r(1))},232:function(e,t){},261:function(e,t){e.exports=' <div class=sidebar> <template v-for="item in list"> <template v-if="item.separativeSign === \'Y\'"> <div class=sep> </div> </template> <a class=item href={{item.sortUrl}}> {{item.sortNameEn}}{{item.sortName}} </a> </template> </div> '},295:function(e,t,r){var n,a;r(232),n=r(174),a=r(261),e.exports=n||{},e.exports.__esModule&&(e.exports=e.exports["default"]),a&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=a)}});
1 -button{width:30%;height:1.5rem;margin:1%}  
  1 +body{word-break:break-all}button{margin-bottom:.5rem}
1 -webpackJsonp([16],{0:function(t,o,n){"use strict";var e=n(2),i=n(18),c=n(300);new e({el:"#app",components:{appBox:c}}),e.use(i)},4:function(t,o,n){(function(o){"use strict";function n(t){var n=void 0,e={mask:!1,delay:2e3,txt:""};"string"==typeof t?o.extend(e,{txt:t}):o.extend(e,t);var i='<div class="tip-box"><div class="tip">'+e.txt+"</div></div>",c=o(".tip-box");c.length&&(n=c.data("timer"),clearTimeout(n),c.remove());var u=o(i).appendTo(document.body);u.data("timer",setTimeout(function(){u.remove()},e.delay))}t.exports=n}).call(o,n(1))},124:function(t,o,n){"use strict";var e=n(4),i={isApp:/yh_blk/i.test((navigator.userAgent||"").toLowerCase()),data:window.yohoInterfaceData,goTap:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.tab",arguments:t}):e("暂不支持,请在BLK应用中打开")},goLogin:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.login",arguments:t}):e("暂不支持,请在BLK应用中打开")},goLogout:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.loginout",arguments:t}):e("暂不支持,请在BLK应用中打开")},goShopingKey:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.shoppingkey",arguments:t}):e("暂不支持,请在BLK应用中打开")},goShopingCart:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.shopingCart",arguments:t}):e("暂不支持,请在BLK应用中打开")},goAddress:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.address",arguments:t}):e("暂不支持,请在BLK应用中打开")},goImageBrowser:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.imageBrowser",arguments:t}):e("暂不支持,请在BLK应用中打开")},goNewPage:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.newPage",arguments:t}):e("暂不支持,请在BLK应用中打开")},goPay:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.pay",arguments:t}):e("暂不支持,请在BLK应用中打开")},goBack:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.back",arguments:t}):e("暂不支持,请在BLK应用中打开")},goShare:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.share",arguments:t}):e("暂不支持,请在BLK应用中打开")},goSearch:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.search",arguments:t}):e("暂不支持,请在BLK应用中打开")},goSetting:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.setting",arguments:t}):e("暂不支持,请在BLK应用中打开")},addNativeMethod:function(t,o){window.yohoInterface[t]=o}};t.exports=i},180:function(t,o,n){"use strict";var e=n(124);t.exports={data:function(){return{yoho:e}}}},236:function(t,o){},266:function(t,o){t.exports=' <button class=button @click=\'yoho.goTap({"index":2})\'>TAP</button> <button class=button @click=yoho.goLogin()>登录</button> <button class=button @click=yoho.goLogout()>退出登录</button> <button class=button @click=\'yoho.goShopingKey({"shoppingkey":"123456789"})\'>设置ShopingKey</button> <button class=button @click=yoho.goShopingCart()>跳转购物车</button> <button class=button @click=\'yoho.goAddress({"type":"1"})\'>地址选择页面</button> <button class=button @click=\'yoho.goAddress({"type":"2"})\'>地址管理页面</button> <button class=button @click=\'yoho.goImageBrowser({"images":["http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg"], "index": "1"})\'>图片浏览</button> <button class=button @click=\'yoho.goNewPage({"url":"http://m.yohoblk.com"})\'>新页面</button> <button class=button @click=yoho.goPay()>支付</button> <button class=button @click=yoho.goBack()>返回</button> <button class=button @click=\'yoho.goShare({"title":"标题","des":"描述","img":"http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg","url":"http://m.yohoblk.com"})\'>分享</button> <button class=button @click=yoho.goSearch()>搜索</button> <button class=button @click=yoho.goSetting()>设置</button> '},300:function(t,o,n){var e,i;n(236),e=n(180),i=n(266),t.exports=e||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)}});  
  1 +webpackJsonp([16],{0:function(t,o,n){"use strict";var e=n(2),i=n(18),c=n(301);new e({el:"#app",components:{appBox:c}}),e.use(i)},4:function(t,o,n){(function(o){"use strict";function n(t){var n=void 0,e={mask:!1,delay:2e3,txt:""};"string"==typeof t?o.extend(e,{txt:t}):o.extend(e,t);var i='<div class="tip-box"><div class="tip">'+e.txt+"</div></div>",c=o(".tip-box");c.length&&(n=c.data("timer"),clearTimeout(n),c.remove());var u=o(i).appendTo(document.body);u.data("timer",setTimeout(function(){u.remove()},e.delay))}t.exports=n}).call(o,n(1))},124:function(t,o,n){"use strict";var e=n(4),i={isApp:/yh_blk/i.test((navigator.userAgent||"").toLowerCase()),data:window.yohoInterfaceData,goTap:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.tab",arguments:t}):e("暂不支持,请在BLK应用中打开")},goLogin:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.login",arguments:t}):e("暂不支持,请在BLK应用中打开")},goLogout:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.loginout",arguments:t}):e("暂不支持,请在BLK应用中打开")},goShopingKey:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.shoppingkey",arguments:t}):e("暂不支持,请在BLK应用中打开")},goShopingCart:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.shopingCart",arguments:t}):e("暂不支持,请在BLK应用中打开")},goAddress:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.address",arguments:t}):e("暂不支持,请在BLK应用中打开")},goImageBrowser:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.imageBrowser",arguments:t}):e("暂不支持,请在BLK应用中打开")},goNewPage:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.newPage",arguments:t}):e("暂不支持,请在BLK应用中打开")},goPay:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.pay",arguments:t}):e("暂不支持,请在BLK应用中打开")},goBack:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.back",arguments:t}):e("暂不支持,请在BLK应用中打开")},goShare:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.share",arguments:t}):e("暂不支持,请在BLK应用中打开")},goSearch:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.search",arguments:t}):e("暂不支持,请在BLK应用中打开")},goSetting:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.setting",arguments:t}):e("暂不支持,请在BLK应用中打开")},addNativeMethod:function(t,o){window.yohoInterface[t]=o}};t.exports=i},180:function(t,o,n){"use strict";var e=n(124);t.exports={data:function(){return{yoho:e}}}},236:function(t,o){},267:function(t,o){t.exports=' <button class=button @click=\'yoho.goTap({"index":2})\'>TAP</button> <button class=button @click=yoho.goLogin()>登录</button> <button class=button @click=yoho.goLogout()>退出登录</button> <button class=button @click=\'yoho.goShopingKey({"shoppingkey":"123456789"})\'>设置ShopingKey</button> <button class=button @click=yoho.goShopingCart()>跳转购物车</button> <button class=button @click=\'yoho.goAddress({"type":"1"})\'>地址选择页面</button> <button class=button @click=\'yoho.goAddress({"type":"2"})\'>地址管理页面</button> <button class=button @click=\'yoho.goImageBrowser({"images":["http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg"], "index": "1"})\'>图片浏览</button> <button class=button @click=\'yoho.goNewPage({"url":"http://m.yohoblk.com"})\'>新页面</button> <button class=button @click=yoho.goPay()>支付</button> <button class=button @click=yoho.goBack()>返回</button> <button class=button @click=\'yoho.goShare({"title":"标题","des":"描述","img":"http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg","url":"http://m.yohoblk.com"})\'>分享</button> <button class=button @click=yoho.goSearch()>搜索</button> <button class=button @click=yoho.goSetting()>设置</button> '},301:function(t,o,n){var e,i;n(236),e=n(180),i=n(267),t.exports=e||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)}});
1 -.test{color:green;background-image:url("../assets/img/sprite.channel.png?v15625c8a650");background-position:0 0;background-size:1.5rem 1.5rem}.test2{color:blue;background:url('../assets/img/channel/boys.png?v15625c892c8')}.testError{background:#fff}  
  1 +.test{color:green;background-image:url("../assets/img/sprite.channel.png?v15625dd5348");background-position:0 0;background-size:1.5rem 1.5rem}.test2{color:blue;background:url('../assets/img/channel/boys.png?v15625dd4790')}.testError{background:#fff}
This diff could not be displayed because it is too large.
1 -webpackJsonp([12],{0:function(e,t,o){"use strict";var s=o(2),i=o(18),a=o(302);o(6),s.use(i),new s({el:"#exchange",components:{exchange:a}})},6:function(e,t,o){"use strict";var s=o(2);s.filter("resize",function(e,t,o,s){return e?e.replace(/(\{width}|\{height}|\{mode})/g,function(e){var i={"{width}":t,"{height}":o,"{mode}":s||2};return i[e]}):""}),s.filter("clothingGenderIdentity",function(e){var t=null;switch(e){case 1:t="男款";break;case 2:t="女款";break;default:t="通用"}return t}),s.filter("brandUrl",function(e){return"/brand?domain="+e}),s.filter("convertOrderState",function(e){var t="";switch("undefined"==typeof e&&(e=parseInt(e,10)),e){case 0:t="待付款";break;case 1:t="待发货";break;case 2:t="待发货";break;case 3:t="待发货";break;case 4:t="待收货";break;case 5:t="待发货";break;case 6:t="已完成";break;default:t=""}return t}),s.filter("convertTime",function(e){if("undefined"!=typeof e){var t=new Date(1e3*parseFloat(e)),o=t.getFullYear()+"-",s=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",i=t.getDate()+" ",a=t.getHours()+":",n=t.getMinutes()+":",r=t.getSeconds();return o+s+i+a+n+r}})},119:function(e,t,o){(function(t){"use strict";e.exports={props:["imageList","bucket"],data:function(){return{inputId:"input-"+Math.floor(999999999*Math.random())}},methods:{upload:function(e){var o=this,s=new FormData(this.$els.form);s.append("bucket",this.bucket||""),t.ajax({method:"POST",url:"/api/upload/image",data:s,processData:!1,contentType:!1}).then(function(t){e.target.value="",200===t.code?t.data.imagesList.forEach(function(e){o.imageList.push(e)}):alert(t.message)})}}}}).call(t,o(1))},120:function(e,t,o){"use strict";var s=o(159);e.exports={props:["list","data"],computed:{checkedList:function(){return this.list.filter(function(e){return e.checked})}},components:{pruduct:s}}},121:function(e,t,o){"use strict";var s=o(160);e.exports={props:["product","refundData"],components:{reason:s}}},122:function(e,t,o){"use strict";var s=o(157),i=function(e){var t=e.split("/"),o=t[t.length-1].substr(1,1),s="static.yhbimg.com/goodsimg";return e=s+e,"1"===o?"//img11."+e:"//img12."+e};e.exports={props:["product","refundData"],computed:{returnReason:function(){return[{id:0,name:"请选择"}].concat(this.refundData.returnReason)},specialReturnReason:function(){var e=[];return this.refundData.specialReturnReason.forEach(function(t){e.push(t.id)}),e},imageListForShow:function(){var e=[];return this.product.imageList.forEach(function(t,o){e.push({index:o,path:i(t)+"?imageView2/2/w/160/h/160"})}),e}},methods:{showTip:function(){alert(this.refundData.specialNotice.remark)},deleteImage:function(e){this.product.imageList.splice(e,1)}},components:{upload:s}}},135:function(e,t){},136:function(e,t){},137:function(e,t){},138:function(e,t){},147:function(e,t){e.exports=' <div class=upload> <form v-el:form v-on:change=upload> <label class="label-input icon" for={{inputId}}> <input id={{inputId}} type=file name=filename> </label> </form> </div> '},148:function(e,t){e.exports=' <div> <div v-show=checkedList.length class="product-list product-list-checked"> <pruduct v-for="product in list" v-if=product.checked v-bind:product=product v-bind:refund-data=data></pruduct> </div> <div v-show="checkedList.length !== list.length" class=product-list> <pruduct v-for="product in list" v-if=!product.checked v-bind:product=product v-bind:refund-data=data></pruduct> </div> </div> '},149:function(e,t){e.exports=' <div class="product clearfix"> <div class=checkbox> <input type=checkbox v-model=product.checked id=checkbox-{{product.goodsId}}> <label for=checkbox-{{product.goodsId}}></label> </div> <img class=image v-bind:src="product.goodsImage | resize 100 130"> <div class=info> <div class=p-title> {{product.productName}}{{product.productName}}{{product.productName}}{{product.productName}} </div> <div class=meta> <span class=color>颜色: {{product.colorName}}</span> <span class=size>尺码: {{product.sizeName}}</span> </div> </div> <div class=price> &yen;{{product.lastPrice}} <p class=num> x1 </p> </div> </div> <reason v-bind:product=product v-bind:refund-data=refundData></reason> '},150:function(e,t){e.exports=' <div v-if=product.checked class=reason> <div v-if="product.isLimitSkn === \'Y\'" v-on:click=showTip class=tip> <span class="icon icon-love"></span> {{refundData.specialNotice.title}} </div> <div class=select-reason> 退货原因 <span class="icon icon-right"></span> <select v-model=product.reason.id name=reason> <option v-for="reason in returnReason" v-bind:value=reason.id selected="{{reason.id === product.reason.id}}">{{reason.name}}</option> </select> </div> <div class=remark> <textarea v-model=product.remark rows=3 max-length=100 placeholder=退货原因说明></textarea> </div> <div v-show="specialReturnReason.indexOf(product.reason.id) !== -1" class="image-list clearfix"> <div class=image-item v-for="image in imageListForShow"> <span v-on:click=deleteImage(image.index) class="icon icon-close"></span> <img v-bind:src=image.path> </div> <upload v-show="imageListForShow.length < 4" class=image-item v-bind:image-list=product.imageList></upload> </div> </div> '},157:function(e,t,o){var s,i;o(135),s=o(119),i=o(147),e.exports=s||{},e.exports.__esModule&&(e.exports=e.exports["default"]),i&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=i)},158:function(e,t,o){var s,i;o(136),s=o(120),i=o(148),e.exports=s||{},e.exports.__esModule&&(e.exports=e.exports["default"]),i&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=i)},159:function(e,t,o){var s,i;o(137),s=o(121),i=o(149),e.exports=s||{},e.exports.__esModule&&(e.exports=e.exports["default"]),i&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=i)},160:function(e,t,o){var s,i;o(138),s=o(122),i=o(150),e.exports=s||{},e.exports.__esModule&&(e.exports=e.exports["default"]),i&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=i)},182:function(e,t,o){"use strict";var s=o(1),i=o(38),a=o(158);e.exports={data:function(){return{title:"请选择换货商品",goods:[],address:{},delivery:[],deliveryType:null,indexMap:{}}},computed:{selectedGoods:function(){return this.goods.filter(function(e){return e.checked})},unselectedGoods:function(){return this.goods.filter(function(e){return!e.checked})}},created:function(){var e=this;s.ajax({url:"/home/exchange/order",data:{orderId:i.orderId}}).then(function(t){var o=e;t.data&&t.data.goodsList&&(t.data.goodsList.forEach(function(e,t){e.checked=!1,e.reason={id:0},e.imageList=[],o.indexMap[e.productId]=t}),e.goods=t.data.goodsList,e.exchangeData=t.data,e.$set("address",t.data.address))})},methods:{changeAddress:function(){alert("TODO:更换地址")},submit:function(){this.checkSubmitData()||alert("请填写完整退换货信息"),s.ajax({method:"POST",url:"/home/refund/submit",data:this.submitData}).then(function(e){200===e.code?console.log(e):alert(e.message)})}},watch:{"address.areaCode":function(e,t){var o=this;s.get("/home/exchange/delivery",{areaCode:e}).then(function(e){s.each(e.data,function(e,t){if("Y"===t.isDefault)return o.$set("deliveryType",t.id),!1}),o.$set("delivery",e.data)})}},components:{productList:a}}},238:function(e,t){},268:function(e,t){e.exports=' <div class=refund> <div class=title>请选择换货商品</div> <product-list v-bind:list=goods v-bind:data=exchangeData></product-list> <div class="list exchange-info"> <div class="list-item exchange-address" @click=changeAddress> <div class=consignee> <span class=mr50>{{address.consignee}}</span> <span>{{address.mobile}}</span> </div> <p class="address address-region">{{address.area}}</p> <p class="address address-detail">{{address.address}}</p> </div> <div class="list-item exchange-mode"> <span>换货方式</span> <i class="icon icon-right right"></i> <select class=right v-model=deliveryType> <option v-for="mode in delivery" :value=mode.id>{{mode.name}}</option> </select> </div> </div> </div> '},302:function(e,t,o){var s,i;o(238),s=o(182),i=o(268),e.exports=s||{},e.exports.__esModule&&(e.exports=e.exports["default"]),i&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=i)}});  
  1 +webpackJsonp([12],{0:function(e,t,o){"use strict";var s=o(2),i=o(18),a=o(303);o(6),s.use(i),new s({el:"#exchange",components:{exchange:a}})},6:function(e,t,o){"use strict";var s=o(2);s.filter("resize",function(e,t,o,s){return e?e.replace(/(\{width}|\{height}|\{mode})/g,function(e){var i={"{width}":t,"{height}":o,"{mode}":s||2};return i[e]}):""}),s.filter("clothingGenderIdentity",function(e){var t=null;switch(e){case 1:t="男款";break;case 2:t="女款";break;default:t="通用"}return t}),s.filter("brandUrl",function(e){return"/brand?domain="+e}),s.filter("convertOrderState",function(e){var t="";switch("undefined"==typeof e&&(e=parseInt(e,10)),e){case 0:t="待付款";break;case 1:t="待发货";break;case 2:t="待发货";break;case 3:t="待发货";break;case 4:t="待收货";break;case 5:t="待发货";break;case 6:t="已完成";break;default:t=""}return t}),s.filter("convertTime",function(e){if("undefined"!=typeof e){var t=new Date(1e3*parseFloat(e)),o=t.getFullYear()+"-",s=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",i=t.getDate()+" ",a=t.getHours()+":",n=t.getMinutes()+":",r=t.getSeconds();return o+s+i+a+n+r}})},119:function(e,t,o){(function(t){"use strict";e.exports={props:["imageList","bucket"],data:function(){return{inputId:"input-"+Math.floor(999999999*Math.random())}},methods:{upload:function(e){var o=this,s=new FormData(this.$els.form);s.append("bucket",this.bucket||""),t.ajax({method:"POST",url:"/api/upload/image",data:s,processData:!1,contentType:!1}).then(function(t){e.target.value="",200===t.code?t.data.imagesList.forEach(function(e){o.imageList.push(e)}):alert(t.message)})}}}}).call(t,o(1))},120:function(e,t,o){"use strict";var s=o(159);e.exports={props:["list","data"],computed:{checkedList:function(){return this.list.filter(function(e){return e.checked})}},components:{pruduct:s}}},121:function(e,t,o){"use strict";var s=o(160);e.exports={props:["product","refundData"],components:{reason:s}}},122:function(e,t,o){"use strict";var s=o(157),i=function(e){var t=e.split("/"),o=t[t.length-1].substr(1,1),s="static.yhbimg.com/goodsimg";return e=s+e,"1"===o?"//img11."+e:"//img12."+e};e.exports={props:["product","refundData"],computed:{returnReason:function(){return[{id:0,name:"请选择"}].concat(this.refundData.returnReason)},specialReturnReason:function(){var e=[];return this.refundData.specialReturnReason.forEach(function(t){e.push(t.id)}),e},imageListForShow:function(){var e=[];return this.product.imageList.forEach(function(t,o){e.push({index:o,path:i(t)+"?imageView2/2/w/160/h/160"})}),e}},methods:{showTip:function(){alert(this.refundData.specialNotice.remark)},deleteImage:function(e){this.product.imageList.splice(e,1)}},components:{upload:s}}},135:function(e,t){},136:function(e,t){},137:function(e,t){},138:function(e,t){},147:function(e,t){e.exports=' <div class=upload> <form v-el:form v-on:change=upload> <label class="label-input icon" for={{inputId}}> <input id={{inputId}} type=file name=filename> </label> </form> </div> '},148:function(e,t){e.exports=' <div> <div v-show=checkedList.length class="product-list product-list-checked"> <pruduct v-for="product in list" v-if=product.checked v-bind:product=product v-bind:refund-data=data></pruduct> </div> <div v-show="checkedList.length !== list.length" class=product-list> <pruduct v-for="product in list" v-if=!product.checked v-bind:product=product v-bind:refund-data=data></pruduct> </div> </div> '},149:function(e,t){e.exports=' <div class="product clearfix"> <div class=checkbox> <input type=checkbox v-model=product.checked id=checkbox-{{product.goodsId}}> <label for=checkbox-{{product.goodsId}}></label> </div> <img class=image v-bind:src="product.goodsImage | resize 100 130"> <div class=info> <div class=p-title> {{product.productName}}{{product.productName}}{{product.productName}}{{product.productName}} </div> <div class=meta> <span class=color>颜色: {{product.colorName}}</span> <span class=size>尺码: {{product.sizeName}}</span> </div> </div> <div class=price> &yen;{{product.lastPrice}} <p class=num> x1 </p> </div> </div> <reason v-bind:product=product v-bind:refund-data=refundData></reason> '},150:function(e,t){e.exports=' <div v-if=product.checked class=reason> <div v-if="product.isLimitSkn === \'Y\'" v-on:click=showTip class=tip> <span class="icon icon-love"></span> {{refundData.specialNotice.title}} </div> <div class=select-reason> 退货原因 <span class="icon icon-right"></span> <select v-model=product.reason.id name=reason> <option v-for="reason in returnReason" v-bind:value=reason.id selected="{{reason.id === product.reason.id}}">{{reason.name}}</option> </select> </div> <div class=remark> <textarea v-model=product.remark rows=3 max-length=100 placeholder=退货原因说明></textarea> </div> <div v-show="specialReturnReason.indexOf(product.reason.id) !== -1" class="image-list clearfix"> <div class=image-item v-for="image in imageListForShow"> <span v-on:click=deleteImage(image.index) class="icon icon-close"></span> <img v-bind:src=image.path> </div> <upload v-show="imageListForShow.length < 4" class=image-item v-bind:image-list=product.imageList></upload> </div> </div> '},157:function(e,t,o){var s,i;o(135),s=o(119),i=o(147),e.exports=s||{},e.exports.__esModule&&(e.exports=e.exports["default"]),i&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=i)},158:function(e,t,o){var s,i;o(136),s=o(120),i=o(148),e.exports=s||{},e.exports.__esModule&&(e.exports=e.exports["default"]),i&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=i)},159:function(e,t,o){var s,i;o(137),s=o(121),i=o(149),e.exports=s||{},e.exports.__esModule&&(e.exports=e.exports["default"]),i&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=i)},160:function(e,t,o){var s,i;o(138),s=o(122),i=o(150),e.exports=s||{},e.exports.__esModule&&(e.exports=e.exports["default"]),i&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=i)},182:function(e,t,o){"use strict";var s=o(1),i=o(38),a=o(158);e.exports={data:function(){return{title:"请选择换货商品",goods:[],address:{},delivery:[],deliveryType:null,indexMap:{}}},computed:{selectedGoods:function(){return this.goods.filter(function(e){return e.checked})},unselectedGoods:function(){return this.goods.filter(function(e){return!e.checked})}},created:function(){var e=this;s.ajax({url:"/home/exchange/order",data:{orderId:i.orderId}}).then(function(t){var o=e;t.data&&t.data.goodsList&&(t.data.goodsList.forEach(function(e,t){e.checked=!1,e.reason={id:0},e.imageList=[],o.indexMap[e.productId]=t}),e.goods=t.data.goodsList,e.exchangeData=t.data,e.$set("address",t.data.address))})},methods:{changeAddress:function(){alert("TODO:更换地址")},submit:function(){this.checkSubmitData()||alert("请填写完整退换货信息"),s.ajax({method:"POST",url:"/home/refund/submit",data:this.submitData}).then(function(e){200===e.code?console.log(e):alert(e.message)})}},watch:{"address.areaCode":function(e,t){var o=this;s.get("/home/exchange/delivery",{areaCode:e}).then(function(e){s.each(e.data,function(e,t){if("Y"===t.isDefault)return o.$set("deliveryType",t.id),!1}),o.$set("delivery",e.data)})}},components:{productList:a}}},238:function(e,t){},269:function(e,t){e.exports=' <div class=refund> <div class=title>请选择换货商品</div> <product-list v-bind:list=goods v-bind:data=exchangeData></product-list> <div class="list exchange-info"> <div class="list-item exchange-address" @click=changeAddress> <div class=consignee> <span class=mr50>{{address.consignee}}</span> <span>{{address.mobile}}</span> </div> <p class="address address-region">{{address.area}}</p> <p class="address address-detail">{{address.address}}</p> </div> <div class="list-item exchange-mode"> <span>换货方式</span> <i class="icon icon-right right"></i> <select class=right v-model=deliveryType> <option v-for="mode in delivery" :value=mode.id>{{mode.name}}</option> </select> </div> </div> </div> '},303:function(e,t,o){var s,i;o(238),s=o(182),i=o(269),e.exports=s||{},e.exports.__esModule&&(e.exports=e.exports["default"]),i&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=i)}});
1 -webpackJsonp([21],{0:function(t,a,e){"use strict";var i=e(2),n=e(50),s=e(303);i.use(n),new i({el:"#fav-content",components:{favBrandList:s}})},4:function(t,a,e){(function(a){"use strict";function e(t){var e=void 0,i={mask:!1,delay:2e3,txt:""};"string"==typeof t?a.extend(i,{txt:t}):a.extend(i,t);var n='<div class="tip-box"><div class="tip">'+i.txt+"</div></div>",s=a(".tip-box");s.length&&(e=s.data("timer"),clearTimeout(e),s.remove());var l=a(n).appendTo(document.body);l.data("timer",setTimeout(function(){l.remove()},i.delay))}t.exports=e}).call(a,e(1))},183:function(t,a,e){"use strict";var i=e(1),n=e(4);t.exports={props:["brandUrl"],data:function(){return{nullbox:"hide",busy:!1,editmodel:!1,page:0,brandData:[]}},methods:{loadMore:function(){var t=this;this.busy=!0,i.ajax({url:"/home/favorite/favpaging",data:{page:++t.page,tab:"brand"}}).then(function(a){a.isend?t.busy=!0:t.busy=!1,a.list.length&&a.list.forEach(function(a){t.brandData.push(a)}),t.nullbox=t.brandData.length?"hide":""}).fail(function(){n("网络错误")})},editModel:function(t){this.editmodel=t,t||this.hideDelBth()},showDelBtn:function(t){this.hideDelBth();var a=i("#del-"+t),e=a.width();i("#li-"+t).css("transform","translateX(-"+e+"px)")},hideDelBth:function(){this.brandData.forEach(function(t,a){i("#li-"+a).css("transform","translateX(0px)")})},delItem:function(t,a){var e=this;i.ajax({method:"POST",url:"/home/del-favdel",data:{favId:a,type:"brand"}}).then(function(a){200===a.code?(e.brandData.splice(t,1),e.hideDelBth()):n(400===a.code?a.message:"刪除收藏失败")}).fail(function(){n("网络错误")})}}}},269:function(t,a){t.exports=' <div class=fav-type v-infinite-scroll=loadMore() infinite-scroll-disabled=busy infinite-scroll-distance=10> <ul class=fav-brand-list> <li v-for="item in brandData" track-by=$index id=li-{{$index}}> <div class="fav-del-left {{editmodel ? \'delshow\': \'\'}}" @click=showDelBtn($index)> <span class=fav-del-span></span> </div> <a :href=item.link> <div class=fav-img-box> <img :src=item.imgUrl alt=""/> </div> <div class=fav-info-list> <span class=title>{{item.brandName}}</span> <span class=down v-if=item.down>品牌已下架</span> </div> </a> <div class=fav-del-right id=del-{{$index}} @click="delItem($index, item.fav_id)"> <span class=fav-del-btn></span> <br/> <span class=fav-del-txt>删除</span> </div> </li> </ul> <div class="fav-null-box {{ nullbox }}"> <span class=fav-null>您暂无收藏任何品牌</span> <a slot=go-shopping class=go-shopping :href=brandUrl>随便逛逛</a> </div> </div> '},303:function(t,a,e){var i,n;i=e(183),n=e(269),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),n&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=n)}});  
  1 +webpackJsonp([21],{0:function(t,a,e){"use strict";var i=e(2),n=e(50),s=e(304);i.use(n),new i({el:"#fav-content",components:{favBrandList:s}})},4:function(t,a,e){(function(a){"use strict";function e(t){var e=void 0,i={mask:!1,delay:2e3,txt:""};"string"==typeof t?a.extend(i,{txt:t}):a.extend(i,t);var n='<div class="tip-box"><div class="tip">'+i.txt+"</div></div>",s=a(".tip-box");s.length&&(e=s.data("timer"),clearTimeout(e),s.remove());var l=a(n).appendTo(document.body);l.data("timer",setTimeout(function(){l.remove()},i.delay))}t.exports=e}).call(a,e(1))},183:function(t,a,e){"use strict";var i=e(1),n=e(4);t.exports={props:["brandUrl"],data:function(){return{nullbox:"hide",busy:!1,editmodel:!1,page:0,brandData:[]}},methods:{loadMore:function(){var t=this;this.busy=!0,i.ajax({url:"/home/favorite/favpaging",data:{page:++t.page,tab:"brand"}}).then(function(a){a.isend?t.busy=!0:t.busy=!1,a.list.length&&a.list.forEach(function(a){t.brandData.push(a)}),t.nullbox=t.brandData.length?"hide":""}).fail(function(){n("网络错误")})},editModel:function(t){this.editmodel=t,t||this.hideDelBth()},showDelBtn:function(t){this.hideDelBth();var a=i("#del-"+t),e=a.width();i("#li-"+t).css("transform","translateX(-"+e+"px)")},hideDelBth:function(){this.brandData.forEach(function(t,a){i("#li-"+a).css("transform","translateX(0px)")})},delItem:function(t,a){var e=this;i.ajax({method:"POST",url:"/home/del-favdel",data:{favId:a,type:"brand"}}).then(function(a){200===a.code?(e.brandData.splice(t,1),e.hideDelBth()):n(400===a.code?a.message:"刪除收藏失败")}).fail(function(){n("网络错误")})}}}},270:function(t,a){t.exports=' <div class=fav-type v-infinite-scroll=loadMore() infinite-scroll-disabled=busy infinite-scroll-distance=10> <ul class=fav-brand-list> <li v-for="item in brandData" track-by=$index id=li-{{$index}}> <div class="fav-del-left {{editmodel ? \'delshow\': \'\'}}" @click=showDelBtn($index)> <span class=fav-del-span></span> </div> <a :href=item.link> <div class=fav-img-box> <img :src=item.imgUrl alt=""/> </div> <div class=fav-info-list> <span class=title>{{item.brandName}}</span> <span class=down v-if=item.down>品牌已下架</span> </div> </a> <div class=fav-del-right id=del-{{$index}} @click="delItem($index, item.fav_id)"> <span class=fav-del-btn></span> <br/> <span class=fav-del-txt>删除</span> </div> </li> </ul> <div class="fav-null-box {{ nullbox }}"> <span class=fav-null>您暂无收藏任何品牌</span> <a slot=go-shopping class=go-shopping :href=brandUrl>随便逛逛</a> </div> </div> '},304:function(t,a,e){var i,n;i=e(183),n=e(270),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),n&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=n)}});
1 -webpackJsonp([20],{0:function(t,i,e){"use strict";var s=e(2),a=e(50),n=e(304);s.use(a),new s({el:"#fav-content",components:{favProductList:n}})},4:function(t,i,e){(function(i){"use strict";function e(t){var e=void 0,s={mask:!1,delay:2e3,txt:""};"string"==typeof t?i.extend(s,{txt:t}):i.extend(s,t);var a='<div class="tip-box"><div class="tip">'+s.txt+"</div></div>",n=i(".tip-box");n.length&&(e=n.data("timer"),clearTimeout(e),n.remove());var l=i(a).appendTo(document.body);l.data("timer",setTimeout(function(){l.remove()},s.delay))}t.exports=e}).call(i,e(1))},184:function(t,i,e){"use strict";var s=e(1),a=e(4);t.exports={props:["productUrl"],data:function(){return{nullbox:"hide",busy:!1,editmodel:!1,page:0,productData:[]}},methods:{loadMore:function(){var t=this;this.busy=!0,s.ajax({url:"/home/favorite/favpaging",data:{page:++t.page}}).then(function(i){i.isend?t.busy=!0:t.busy=!1,i.list.length&&i.list.forEach(function(i){t.productData.push(i)}),t.nullbox=t.productData.length?"hide":""}).fail(function(){a("网络错误")})},editModel:function(t){this.editmodel=t,t||this.hideDelBth()},showDelBtn:function(t){this.hideDelBth();var i=s("#del-"+t),e=i.width();s("#li-"+t).css("transform","translateX(-"+e+"px)")},hideDelBth:function(){this.productData.forEach(function(t,i){s("#li-"+i).css("transform","translateX(0px)")})},delItem:function(t,i){var e=this;s.ajax({method:"POST",url:"/home/del-favdel",data:{favId:i,type:"product"}}).then(function(i){200===i.code?(e.productData.splice(t,1),e.hideDelBth()):a(400===i.code?i.message:"刪除收藏失败")}).fail(function(){a("网络错误")})}}}},270:function(t,i){t.exports=' <div class=fav-type v-infinite-scroll=loadMore() infinite-scroll-disabled=busy infinite-scroll-distance=10> <ul class=fav-product-list> <li v-for="item in productData" track-by=$index id=li-{{$index}}> <div class="fav-del-left {{editmodel ? \'delshow\': \'\'}}" @click=showDelBtn($index)> <span class=fav-del-span></span> </div> <a :href=item.link> <div class=fav-img-box> <img :src=item.imgUrl alt=""/> </div> <div class=fav-info-list> <span class=title>{{item.title}}</span> <br/> <div class=fav-price> <span class=new-price v-if=item.discountPrice>{{item.discountPrice}}</span> <span class="{{ item.discountPrice ? \'price-underline\' : \'\'}}">{{item.price}}</span> </div> <br/> <div class=save-price> <span class=sell-out v-if="item.sellOut || item.invalidGoods">{{item.sellOut ? \'已售罄\' : \'已下架\'}}</span> </div> </div> </a> <div class=fav-del-right id=del-{{$index}} @click="delItem($index, item.fav_id)"> <span class=fav-del-btn></span> <br/> <span class=fav-del-txt>删除</span> </div> </li> </ul> <div class="fav-null-box {{ nullbox }}"> <span class=fav-null>您暂无收藏任何商品</span> <a slot=go-shopping class=go-shopping :href=productUrl>随便逛逛</a> </div> </div> '},304:function(t,i,e){var s,a;s=e(184),a=e(270),t.exports=s||{},t.exports.__esModule&&(t.exports=t.exports["default"]),a&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=a)}});  
  1 +webpackJsonp([20],{0:function(t,i,e){"use strict";var s=e(2),a=e(50),n=e(305);s.use(a),new s({el:"#fav-content",components:{favProductList:n}})},4:function(t,i,e){(function(i){"use strict";function e(t){var e=void 0,s={mask:!1,delay:2e3,txt:""};"string"==typeof t?i.extend(s,{txt:t}):i.extend(s,t);var a='<div class="tip-box"><div class="tip">'+s.txt+"</div></div>",n=i(".tip-box");n.length&&(e=n.data("timer"),clearTimeout(e),n.remove());var l=i(a).appendTo(document.body);l.data("timer",setTimeout(function(){l.remove()},s.delay))}t.exports=e}).call(i,e(1))},184:function(t,i,e){"use strict";var s=e(1),a=e(4);t.exports={props:["productUrl"],data:function(){return{nullbox:"hide",busy:!1,editmodel:!1,page:0,productData:[]}},methods:{loadMore:function(){var t=this;this.busy=!0,s.ajax({url:"/home/favorite/favpaging",data:{page:++t.page}}).then(function(i){i.isend?t.busy=!0:t.busy=!1,i.list.length&&i.list.forEach(function(i){t.productData.push(i)}),t.nullbox=t.productData.length?"hide":""}).fail(function(){a("网络错误")})},editModel:function(t){this.editmodel=t,t||this.hideDelBth()},showDelBtn:function(t){this.hideDelBth();var i=s("#del-"+t),e=i.width();s("#li-"+t).css("transform","translateX(-"+e+"px)")},hideDelBth:function(){this.productData.forEach(function(t,i){s("#li-"+i).css("transform","translateX(0px)")})},delItem:function(t,i){var e=this;s.ajax({method:"POST",url:"/home/del-favdel",data:{favId:i,type:"product"}}).then(function(i){200===i.code?(e.productData.splice(t,1),e.hideDelBth()):a(400===i.code?i.message:"刪除收藏失败")}).fail(function(){a("网络错误")})}}}},271:function(t,i){t.exports=' <div class=fav-type v-infinite-scroll=loadMore() infinite-scroll-disabled=busy infinite-scroll-distance=10> <ul class=fav-product-list> <li v-for="item in productData" track-by=$index id=li-{{$index}}> <div class="fav-del-left {{editmodel ? \'delshow\': \'\'}}" @click=showDelBtn($index)> <span class=fav-del-span></span> </div> <a :href=item.link> <div class=fav-img-box> <img :src=item.imgUrl alt=""/> </div> <div class=fav-info-list> <span class=title>{{item.title}}</span> <br/> <div class=fav-price> <span class=new-price v-if=item.discountPrice>{{item.discountPrice}}</span> <span class="{{ item.discountPrice ? \'price-underline\' : \'\'}}">{{item.price}}</span> </div> <br/> <div class=save-price> <span class=sell-out v-if="item.sellOut || item.invalidGoods">{{item.sellOut ? \'已售罄\' : \'已下架\'}}</span> </div> </div> </a> <div class=fav-del-right id=del-{{$index}} @click="delItem($index, item.fav_id)"> <span class=fav-del-btn></span> <br/> <span class=fav-del-txt>删除</span> </div> </li> </ul> <div class="fav-null-box {{ nullbox }}"> <span class=fav-null>您暂无收藏任何商品</span> <a slot=go-shopping class=go-shopping :href=productUrl>随便逛逛</a> </div> </div> '},305:function(t,i,e){var s,a;s=e(184),a=e(271),t.exports=s||{},t.exports.__esModule&&(t.exports=t.exports["default"]),a&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=a)}});
1 -webpackJsonp([13],{0:function(t,i,e){"use strict";var s=e(2),n=e(310),o=e(309);new s({el:"#logistics",data:{company_id:"",company_name:"",currentView:"logistics"},components:{logistics:n,logisticsCompany:o},events:{changeView:function(t){this.currentView=t.view,this.company_id=t.company_id,this.company_name=t.company_name}}})},4:function(t,i,e){(function(i){"use strict";function e(t){var e=void 0,s={mask:!1,delay:2e3,txt:""};"string"==typeof t?i.extend(s,{txt:t}):i.extend(s,t);var n='<div class="tip-box"><div class="tip">'+s.txt+"</div></div>",o=i(".tip-box");o.length&&(e=o.data("timer"),clearTimeout(e),o.remove());var a=i(n).appendTo(document.body);a.data("timer",setTimeout(function(){a.remove()},s.delay))}t.exports=e}).call(i,e(1))},118:function(t,i){"use strict";t.exports={props:{indexList:Array},data:function(){return{items:[]}},watch:{indexList:function(){this.indexList&&(this.items=this.indexList)}},created:function(){if(!this.indexList){for(var t=65;t<91;t++){var i=String.fromCharCode(t);this.items.push({index:i,name:i})}this.items.push({index:"0~9",name:"#"})}}}},134:function(t,i){},146:function(t,i){t.exports=' <ul class=list-box> <li v-for="item in items"><a href=#{{item.index}}>{{item.name}}</a></li> </ul> '},156:function(t,i,e){var s,n;e(134),s=e(118),n=e(146),t.exports=s||{},t.exports.__esModule&&(t.exports=t.exports["default"]),n&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=n)},189:function(t,i,e){"use strict";var s=(e(1),e(156));t.exports={props:["company_list"],data:function(){return this.company_list=JSON.parse(this.company_list),{inputname:"",showData:this.company_list}},components:{indexList:s},methods:{search:function(){var t=this.inputname;if(!t)return void(this.showData=this.company_list);var i={};for(var e in this.company_list)this.company_list[e].forEach(function(s){s.company_name.indexOf(t)>-1&&(i[e]||(i[e]=[]),i[e].push(s))});this.showData=i},select:function(t,i){this.$dispatch("changeView",{view:"logistics",company_id:t,company_name:i}),this.inputname="",this.showData=this.company_list}}}},190:function(t,i,e){"use strict";var s=e(1),n=e(4);t.exports={props:["company_id","company_name"],data:function(){return{num:""}},methods:{companylist:function(){this.$dispatch("changeView",{view:"logisticsCompany"})},submit:function(){return this.company_name?this.num&&/^[0-9]*$/.test(this.num)?(s.ajax({method:"POST",url:"/home/save-logistics",data:{company_id:this.company_id,company_name:this.company_name,num:this.num}}).then(function(t){"object"!==s.type(t)&&(t={}),200!==t.code&&n(t.message||"网络出了点问题~")}).fail(function(){n("网络错误")}),!1):(n("请输入正确的快递单号"),!1):(n("请选择快递公司"),!1)}}}},275:function(t,i){t.exports=' <div class=companylist-page> <div class=search-input> <input class=icon type=text placeholder="&#xe608; 搜索快递公司" v-model=inputname @input=search> </div> <div class=company-data> <div class=company-item v-for="item in showData"> <a class=tag :name=$key>{{ $key }}</a> <span v-for="val in item" track-by=id @click="select(val.id, val.company_name)">{{val.company_name}}</span> </div> </div> <index-list style=margin-top:70px></index-list> </div> '},276:function(t,i){t.exports=' <div class=edit-logistics-page> <form class=edit-logistics> <label @click=companylist> 选择快递公司<input class=company-val type=text value={{company_name}} readonly=readonly> <span class="icon icon-right"></span> </label> <label> 快递单号 <input class=num type=number v-model=num> </label> </form> <div class=submit @click=submit>确认</div> </div> '},309:function(t,i,e){var s,n;s=e(189),n=e(275),t.exports=s||{},t.exports.__esModule&&(t.exports=t.exports["default"]),n&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=n)},310:function(t,i,e){var s,n;s=e(190),n=e(276),t.exports=s||{},t.exports.__esModule&&(t.exports=t.exports["default"]),n&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=n)}});  
  1 +webpackJsonp([13],{0:function(t,i,e){"use strict";var s=e(2),n=e(311),o=e(310);new s({el:"#logistics",data:{company_id:"",company_name:"",currentView:"logistics"},components:{logistics:n,logisticsCompany:o},events:{changeView:function(t){this.currentView=t.view,this.company_id=t.company_id,this.company_name=t.company_name}}})},4:function(t,i,e){(function(i){"use strict";function e(t){var e=void 0,s={mask:!1,delay:2e3,txt:""};"string"==typeof t?i.extend(s,{txt:t}):i.extend(s,t);var n='<div class="tip-box"><div class="tip">'+s.txt+"</div></div>",o=i(".tip-box");o.length&&(e=o.data("timer"),clearTimeout(e),o.remove());var a=i(n).appendTo(document.body);a.data("timer",setTimeout(function(){a.remove()},s.delay))}t.exports=e}).call(i,e(1))},118:function(t,i){"use strict";t.exports={props:{indexList:Array},data:function(){return{items:[]}},watch:{indexList:function(){this.indexList&&(this.items=this.indexList)}},created:function(){if(!this.indexList){for(var t=65;t<91;t++){var i=String.fromCharCode(t);this.items.push({index:i,name:i})}this.items.push({index:"0~9",name:"#"})}}}},134:function(t,i){},146:function(t,i){t.exports=' <ul class=list-box> <li v-for="item in items"><a href=#{{item.index}}>{{item.name}}</a></li> </ul> '},156:function(t,i,e){var s,n;e(134),s=e(118),n=e(146),t.exports=s||{},t.exports.__esModule&&(t.exports=t.exports["default"]),n&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=n)},189:function(t,i,e){"use strict";var s=(e(1),e(156));t.exports={props:["company_list"],data:function(){return this.company_list=JSON.parse(this.company_list),{inputname:"",showData:this.company_list}},components:{indexList:s},methods:{search:function(){var t=this.inputname;if(!t)return void(this.showData=this.company_list);var i={};for(var e in this.company_list)this.company_list[e].forEach(function(s){s.company_name.indexOf(t)>-1&&(i[e]||(i[e]=[]),i[e].push(s))});this.showData=i},select:function(t,i){this.$dispatch("changeView",{view:"logistics",company_id:t,company_name:i}),this.inputname="",this.showData=this.company_list}}}},190:function(t,i,e){"use strict";var s=e(1),n=e(4);t.exports={props:["company_id","company_name"],data:function(){return{num:""}},methods:{companylist:function(){this.$dispatch("changeView",{view:"logisticsCompany"})},submit:function(){return this.company_name?this.num&&/^[0-9]*$/.test(this.num)?(s.ajax({method:"POST",url:"/home/save-logistics",data:{company_id:this.company_id,company_name:this.company_name,num:this.num}}).then(function(t){"object"!==s.type(t)&&(t={}),200!==t.code&&n(t.message||"网络出了点问题~")}).fail(function(){n("网络错误")}),!1):(n("请输入正确的快递单号"),!1):(n("请选择快递公司"),!1)}}}},276:function(t,i){t.exports=' <div class=companylist-page> <div class=search-input> <input class=icon type=text placeholder="&#xe608; 搜索快递公司" v-model=inputname @input=search> </div> <div class=company-data> <div class=company-item v-for="item in showData"> <a class=tag :name=$key>{{ $key }}</a> <span v-for="val in item" track-by=id @click="select(val.id, val.company_name)">{{val.company_name}}</span> </div> </div> <index-list style=margin-top:70px></index-list> </div> '},277:function(t,i){t.exports=' <div class=edit-logistics-page> <form class=edit-logistics> <label @click=companylist> 选择快递公司<input class=company-val type=text value={{company_name}} readonly=readonly> <span class="icon icon-right"></span> </label> <label> 快递单号 <input class=num type=number v-model=num> </label> </form> <div class=submit @click=submit>确认</div> </div> '},310:function(t,i,e){var s,n;s=e(189),n=e(276),t.exports=s||{},t.exports.__esModule&&(t.exports=t.exports["default"]),n&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=n)},311:function(t,i,e){var s,n;s=e(190),n=e(277),t.exports=s||{},t.exports.__esModule&&(t.exports=t.exports["default"]),n&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=n)}});
1 -.main-wrap{background:#f6f6f6}.order-detail>div{background:#fff;padding:0 .75rem}.order-detail .order-status{display:flex;height:2rem;line-height:2rem;color:#fff;background:#000}.order-detail .order-status p:first-of-type{flex:1;font-size:.85rem}.order-detail .order-code{padding:.5rem .75rem;margin-bottom:.5rem;border-top:1px solid #eee;border-bottom:1px solid #eee}.order-detail .order-code p:first-of-type{font-size:.85rem;font-weight:700}.order-detail .order-code p:last-of-type{font-size:.7rem;color:#b0b0b0}.order-detail .order-address{position:relative;padding:.5rem .75rem .675rem;margin-bottom:.5rem;border-top:1px solid #eee;word-wrap:break-word}.order-detail .order-address p:first-of-type{font-size:.8rem;font-weight:700}.order-detail .order-address p:first-of-type span{margin-right:1rem}.order-detail .order-address p:last-of-type{font-size:.7rem;color:#b0b0b0}.order-detail .order-address:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:.3rem;background:url('../assets/img/home/order-border.png?v15625c5fea0') repeat-x;border-bottom:1px solid #eee}.order-detail .order-goods{padding-top:.5rem;border-top:1px solid #eee;border-bottom:1px solid #eee}.order-detail .order-goods .goods-info{display:flex;padding:.5rem 0;border-bottom:1px solid #eee}.order-detail .order-goods .goods-info:last-child{border-bottom:0 none}.order-detail .order-goods .img-box{position:relative;width:2.45rem;height:3.25rem;overflow:hidden}.order-detail .order-goods .img-box label{position:absolute;left:0;bottom:0;width:100%;height:.75rem;line-height:.75rem;background:rgba(0,0,0,.2);color:#fff;text-align:center}.order-detail .order-goods .img-box img{width:100%;height:100%}.order-detail .order-goods .goods-detail{flex:1;margin:0 .5rem;font-size:.6rem}.order-detail .order-goods .goods-detail span{margin-right:1rem}.order-detail .order-goods .goods-detail .name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis;height:2.4em;line-height:1.25;overflow:hidden;font-size:.7rem}.order-detail .order-goods .goods-detail .size{color:#b0b0b0}.order-detail .order-goods .goods-price{text-align:right}.order-detail .order-goods .goods-price p:first-of-type{font-size:.7rem}.order-detail .order-goods .goods-price p:last-of-type{font-size:.75rem;color:#b0b0b0}.order-detail .order-amount{padding:.75rem .5rem;margin-bottom:.5rem;border-bottom:1px solid #eee;text-align:right}.order-detail .order-amount li{font-size:.7rem}.order-detail .order-amount li label{display:inline-block;width:3.75rem;text-align:left;color:#b0b0b0}.order-detail .order-amount li span{display:inline-block;width:5rem;text-align:left}.order-detail .order-amount li:last-of-type{font-size:.85rem}.order-detail .order-amount li:last-of-type label{color:#000}.order-detail .order-button{position:fixed;left:0;right:0;bottom:0;z-index:10;padding:.75rem .5rem;border-top:1px solid #eee;text-align:right}.order-detail .order-button button{padding:0 .5rem;height:1.7rem;line-height:1.7rem;color:#000;text-align:center;-webkit-appearance:none;border:0 none;background:#fff;font-size:.7rem}.order-detail .order-button button.black{width:4.8rem;color:#fff;background:#000}.order-detail .order-button button.countdown{color:#fff;background:#000}.order-detail .order-button button.normal{width:4.7rem;padding:0;border:1px solid #000;color:#000}.order-detail .order-button button:focus{outline:none}  
  1 +.main-wrap{background:#f6f6f6}.order-detail>div{background:#fff;padding:0 .75rem}.order-detail .order-status{display:flex;height:2rem;line-height:2rem;color:#fff;background:#000}.order-detail .order-status p:first-of-type{flex:1;font-size:.85rem}.order-detail .order-code{padding:.5rem .75rem;margin-bottom:.5rem;border-top:1px solid #eee;border-bottom:1px solid #eee}.order-detail .order-code p:first-of-type{font-size:.85rem;font-weight:700}.order-detail .order-code p:last-of-type{font-size:.7rem;color:#b0b0b0}.order-detail .order-address{position:relative;padding:.5rem .75rem .675rem;margin-bottom:.5rem;border-top:1px solid #eee;word-wrap:break-word}.order-detail .order-address p:first-of-type{font-size:.8rem;font-weight:700}.order-detail .order-address p:first-of-type span{margin-right:1rem}.order-detail .order-address p:last-of-type{font-size:.7rem;color:#b0b0b0}.order-detail .order-address:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:.3rem;background:url('../assets/img/home/order-border.png?v15625dd5348') repeat-x;border-bottom:1px solid #eee}.order-detail .order-goods{padding-top:.5rem;border-top:1px solid #eee;border-bottom:1px solid #eee}.order-detail .order-goods .goods-info{display:flex;padding:.5rem 0;border-bottom:1px solid #eee}.order-detail .order-goods .goods-info:last-child{border-bottom:0 none}.order-detail .order-goods .img-box{position:relative;width:2.45rem;height:3.25rem;overflow:hidden}.order-detail .order-goods .img-box label{position:absolute;left:0;bottom:0;width:100%;height:.75rem;line-height:.75rem;background:rgba(0,0,0,.2);color:#fff;text-align:center}.order-detail .order-goods .img-box img{width:100%;height:100%}.order-detail .order-goods .goods-detail{flex:1;margin:0 .5rem;font-size:.6rem}.order-detail .order-goods .goods-detail span{margin-right:1rem}.order-detail .order-goods .goods-detail .name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis;height:2.4em;line-height:1.25;overflow:hidden;font-size:.7rem}.order-detail .order-goods .goods-detail .size{color:#b0b0b0}.order-detail .order-goods .goods-price{text-align:right}.order-detail .order-goods .goods-price p:first-of-type{font-size:.7rem}.order-detail .order-goods .goods-price p:last-of-type{font-size:.75rem;color:#b0b0b0}.order-detail .order-amount{padding:.75rem .5rem;margin-bottom:.5rem;border-bottom:1px solid #eee;text-align:right}.order-detail .order-amount li{font-size:.7rem}.order-detail .order-amount li label{display:inline-block;width:3.75rem;text-align:left;color:#b0b0b0}.order-detail .order-amount li span{display:inline-block;width:5rem;text-align:left}.order-detail .order-amount li:last-of-type{font-size:.85rem}.order-detail .order-amount li:last-of-type label{color:#000}.order-detail .order-button{position:fixed;left:0;right:0;bottom:0;z-index:10;padding:.75rem .5rem;border-top:1px solid #eee;text-align:right}.order-detail .order-button button{padding:0 .5rem;height:1.7rem;line-height:1.7rem;color:#000;text-align:center;-webkit-appearance:none;border:0 none;background:#fff;font-size:.7rem}.order-detail .order-button button.black{width:4.8rem;color:#fff;background:#000}.order-detail .order-button button.countdown{color:#fff;background:#000}.order-detail .order-button button.normal{width:4.7rem;padding:0;border:1px solid #000;color:#000}.order-detail .order-button button:focus{outline:none}
1 -webpackJsonp([4],{0:function(t,e,n){"use strict";var r=n(2),o=n(305);n(6),new r({el:"#order-detail",data:{orderCode:document.getElementById("order-code").value},components:{OrderDetail:o}})},3:function(t,e){"use strict";function n(t){return c[t]}function r(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}function o(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function i(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return d.test(t)?t.replace(f,n):t}function a(t){return!t&&0!==t||!(!v(t)||0!==t.length)}function s(t){var e=r({},t);return e._parent=t,e}function u(t,e){return t.path=e,t}function l(t,e){return(t?t+".":"")+e}e.__esModule=!0,e.extend=r,e.indexOf=o,e.escapeExpression=i,e.isEmpty=a,e.createFrame=s,e.blockParams=u,e.appendContextPath=l;var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},f=/[&<>"'`=]/g,d=/[&<>"'`=]/,p=Object.prototype.toString;e.toString=p;var h=function(t){return"function"==typeof t};h(/x/)&&(e.isFunction=h=function(t){return"function"==typeof t&&"[object Function]"===p.call(t)}),e.isFunction=h;var v=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===p.call(t)};e.isArray=v},4:function(t,e,n){(function(e){"use strict";function n(t){var n=void 0,r={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(r,{txt:t}):e.extend(r,t);var o='<div class="tip-box"><div class="tip">'+r.txt+"</div></div>",i=e(".tip-box");i.length&&(n=i.data("timer"),clearTimeout(n),i.remove());var a=e(o).appendTo(document.body);a.data("timer",setTimeout(function(){a.remove()},r.delay))}t.exports=n}).call(e,n(1))},6:function(t,e,n){"use strict";var r=n(2);r.filter("resize",function(t,e,n,r){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var o={"{width}":e,"{height}":n,"{mode}":r||2};return o[t]}):""}),r.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),r.filter("brandUrl",function(t){return"/brand?domain="+t}),r.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),r.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),n=e.getFullYear()+"-",r=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",o=e.getDate()+" ",i=e.getHours()+":",a=e.getMinutes()+":",s=e.getSeconds();return n+r+o+i+a+s}})},7:function(t,e){"use strict";function n(t,e){var o=e&&e.loc,i=void 0,a=void 0;o&&(i=o.start.line,a=o.start.column,t+=" - "+i+":"+a);for(var s=Error.prototype.constructor.call(this,t),u=0;u<r.length;u++)this[r[u]]=s[r[u]];Error.captureStackTrace&&Error.captureStackTrace(this,n),o&&(this.lineNumber=i,this.column=a)}e.__esModule=!0;var r=["description","fileName","lineNumber","message","name","number","stack"];n.prototype=new Error,e["default"]=n,t.exports=e["default"]},8:function(t,e,n){t.exports=!n(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},9:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},11:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},12:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},13:function(t,e,n){var r=n(33),o=n(47),i=n(43),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},14:function(t,e,n){var r=n(26),o=n(21);t.exports=function(t){return r(o(t))}},15:function(t,e,n){t.exports={"default":n(52),__esModule:!0}},16:function(t,e,n){var r=n(9),o=n(10),i=n(56),a=n(22),s="prototype",u=function(t,e,n){var l,c,f,d=t&u.F,p=t&u.G,h=t&u.S,v=t&u.P,m=t&u.B,g=t&u.W,b=p?o:o[e]||(o[e]={}),x=b[s],y=p?r:h?r[e]:(r[e]||{})[s];p&&(n=e);for(l in n)c=!d&&y&&void 0!==y[l],c&&l in b||(f=c?y[l]:n[l],b[l]=p&&"function"!=typeof y[l]?n[l]:m&&c?i(f,r):g&&y[l]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((b.virtual||(b.virtual={}))[l]=f,t&u.R&&x&&!x[l]&&a(x,l,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},17:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},19:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},20:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(51),i=r(o);e["default"]=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i["default"])(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},21:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},22:function(t,e,n){var r=n(13),o=n(35);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},23:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},25:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f={none:{"in":"overlay-in",out:"overlay-out"},fade:{"in":"overlay-fade-in",out:"overlay-fade-out"}},d=function(){function t(e){var n=this;(0,s["default"])(this,t),this.isVisible=!1,this.defaults={className:"overlay",clickToClose:!0,onClose:c.noop,animation:"fade",disableScrolling:!0},this.settings=(0,i["default"])({},this.defaults,e),this.settings.animationClasses={"in":f[this.settings.animation]["in"],out:f[this.settings.animation].out},this.elem=c("<div/>",{"class":this.settings.className}),this.elem.click(function(){n.settings.clickToClose&&n.hide()}),this.settings.disableScrolling&&c(window).on("touchmove",function(t){n.isVisible&&t.preventDefault()})}return(0,l["default"])(t,[{key:"_clearStylesClasses",value:function(){this.elem.removeClass(this.settings.animationClasses["in"]).removeClass(this.settings.animationClasses.out)}},{key:"_cleanupListener",value:function(){this.elem.css({visibility:"hidden"}),this._clearStylesClasses(),this.isVisible=!1,this.elem.detach(),this.elem[0].removeEventListener("webkitTransitionEnd",this._cleanupListener)}},{key:"show",value:function(){0!==this.elem.parent().length||this.isVisible||(this.elem.appendTo("body"),this._clearStylesClasses(),this.elem.css({visibility:"visible"}).show().addClass(this.settings.animationClasses["in"]),this.settings.disableScrolling&&c("body").css({overflow:"hidden"}),this.isVisible=!0)}},{key:"hide",value:function(){var t=this;this.isVisible&&(this._clearStylesClasses(),this.elem[0].addEventListener("webkitTransitionEnd",this._cleanupListener.bind(this)),this.elem.addClass(this.settings.animationClasses.out),this.settings.disableScrolling&&c("body").css({overflow:"auto"}),setTimeout(function(){t._cleanupListener()},100),this.settings.onClose())}}]),t}();t.exports=d},26:function(t,e,n){var r=n(45);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},27:function(t,e,n){var r=n(48),o=n(39);t.exports=Object.keys||function(t){return r(t,o)}},29:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},u.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}e.__esModule=!0,e.HandlebarsEnvironment=o;var i=n(3),a=n(7),s=r(a),u=n(66),l=n(64),c=n(74),f=r(c),d="4.0.5";e.VERSION=d;var p=7;e.COMPILER_REVISION=p;var h={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};e.REVISION_CHANGES=h;var v="[object Object]";o.prototype={constructor:o,logger:f["default"],log:f["default"].log,registerHelper:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple helpers");i.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if(i.toString.call(t)===v)i.extend(this.partials,t);else{if("undefined"==typeof e)throw new s["default"]('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple decorators");i.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var m=f["default"].log;e.log=m,e.createFrame=i.createFrame,e.logger=f["default"]},33:function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},34:function(t,e){e.f={}.propertyIsEnumerable},35:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},36:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},37:function(t,e,n){t.exports=n(63)["default"]},39:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},40:function(t,e){e.f=Object.getOwnPropertySymbols},41:function(t,e,n){var r=n(42)("keys"),o=n(36);t.exports=function(t){return r[t]||(r[t]=o(t))}},42:function(t,e,n){var r=n(9),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},43:function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},45:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},46:function(t,e,n){var r=n(12),o=n(9).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},47:function(t,e,n){t.exports=!n(8)&&!n(11)(function(){return 7!=Object.defineProperty(n(46)("div"),"a",{get:function(){return 7}}).a})},48:function(t,e,n){var r=n(17),o=n(14),i=n(55)(!1),a=n(41)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(l,n)||l.push(n));return l}},49:function(t,e,n){var r=n(21);t.exports=function(t){return Object(r(t))}},51:function(t,e,n){t.exports={"default":n(53),__esModule:!0}},52:function(t,e,n){n(60),t.exports=n(10).Object.assign},53:function(t,e,n){n(61);var r=n(10).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},54:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},55:function(t,e,n){var r=n(14),o=n(59),i=n(58);t.exports=function(t){return function(e,n,a){var s,u=r(e),l=o(u.length),c=i(a,l);if(t&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},56:function(t,e,n){var r=n(54);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},57:function(t,e,n){"use strict";var r=n(27),o=n(40),i=n(34),a=n(49),s=n(26),u=Object.assign;t.exports=!u||n(11)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,c=o.f,f=i.f;u>l;)for(var d,p=s(arguments[l++]),h=c?r(p).concat(c(p)):r(p),v=h.length,m=0;v>m;)f.call(p,d=h[m++])&&(n[d]=p[d]);return n}:u},58:function(t,e,n){var r=n(23),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},59:function(t,e,n){var r=n(23),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},60:function(t,e,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(57)})},61:function(t,e,n){var r=n(16);r(r.S+r.F*!n(8),"Object",{defineProperty:n(13).f})},63:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(){var t=new s.HandlebarsEnvironment;return p.extend(t,s),t.SafeString=l["default"],t.Exception=f["default"],t.Utils=p,t.escapeExpression=p.escapeExpression,t.VM=v,t.template=function(e){return v.template(e,t)},t}e.__esModule=!0;var a=n(29),s=o(a),u=n(77),l=r(u),c=n(7),f=r(c),d=n(3),p=o(d),h=n(76),v=o(h),m=n(75),g=r(m),b=i();b.create=i,g["default"](b),b["default"]=b,e["default"]=b,t.exports=e["default"]},64:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t)}e.__esModule=!0,e.registerDefaultDecorators=o;var i=n(65),a=r(i)},65:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerDecorator("inline",function(t,e,n,o){var i=t;return e.partials||(e.partials={},i=function(o,i){var a=n.partials;n.partials=r.extend({},a,e.partials);var s=t(o,i);return n.partials=a,s}),e.partials[o.args[0]]=o.fn,i})},t.exports=e["default"]},66:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t),u["default"](t),c["default"](t),d["default"](t),h["default"](t),m["default"](t),b["default"](t)}e.__esModule=!0,e.registerDefaultHelpers=o;var i=n(67),a=r(i),s=n(68),u=r(s),l=n(69),c=r(l),f=n(70),d=r(f),p=n(71),h=r(p),v=n(72),m=r(v),g=n(73),b=r(g)},67:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("blockHelperMissing",function(e,n){var o=n.inverse,i=n.fn;if(e===!0)return i(this);if(e===!1||null==e)return o(this);if(r.isArray(e))return e.length>0?(n.ids&&(n.ids=[n.name]),t.helpers.each(e,n)):o(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(e,n)})},t.exports=e["default"]},68:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(3),i=n(7),a=r(i);e["default"]=function(t){t.registerHelper("each",function(t,e){function n(e,n,i){l&&(l.key=e,l.index=n,l.first=0===n,l.last=!!i,c&&(l.contextPath=c+e)),u+=r(t[e],{data:l,blockParams:o.blockParams([t[e],e],[c+e,null])})}if(!e)throw new a["default"]("Must pass iterator to #each");var r=e.fn,i=e.inverse,s=0,u="",l=void 0,c=void 0;if(e.data&&e.ids&&(c=o.appendContextPath(e.data.contextPath,e.ids[0])+"."),o.isFunction(t)&&(t=t.call(this)),e.data&&(l=o.createFrame(e.data)),t&&"object"==typeof t)if(o.isArray(t))for(var f=t.length;s<f;s++)s in t&&n(s,s,s===t.length-1);else{var d=void 0;for(var p in t)t.hasOwnProperty(p)&&(void 0!==d&&n(d,s-1),d=p,s++);void 0!==d&&n(d,s-1,!0)}return 0===s&&(u=i(this)),u})},t.exports=e["default"]},69:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(7),i=r(o);e["default"]=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new i["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e["default"]},70:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("if",function(t,e){return r.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||r.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,n){return t.helpers["if"].call(this,e,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},t.exports=e["default"]},71:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("log",function(){for(var e=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)e.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),e[0]=o,t.log.apply(t,e)})},t.exports=e["default"]},72:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("lookup",function(t,e){return t&&t[e]})},t.exports=e["default"]},73:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("with",function(t,e){r.isFunction(t)&&(t=t.call(this));var n=e.fn;if(r.isEmpty(t))return e.inverse(this);var o=e.data;return e.data&&e.ids&&(o=r.createFrame(e.data),o.contextPath=r.appendContextPath(e.data.contextPath,e.ids[0])),n(t,{data:o,blockParams:r.blockParams([t],[o&&o.contextPath])})})},t.exports=e["default"]},74:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=r.indexOf(o.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=o.lookupLevel(t),"undefined"!=typeof console&&o.lookupLevel(o.level)<=t){var e=o.methodMap[t];console[e]||(e="log");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];console[e].apply(console,r)}}};e["default"]=o,t.exports=e["default"]},75:function(t,e){(function(n){"use strict";e.__esModule=!0,e["default"]=function(t){var e="undefined"!=typeof n?n:window,r=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=r),t}},t.exports=e["default"]}).call(e,function(){return this}())},76:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){var e=t&&t[0]||1,n=g.COMPILER_REVISION;if(e!==n){if(e<n){var r=g.REVISION_CHANGES[n],o=g.REVISION_CHANGES[e];throw new m["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new m["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}}function a(t,e){function n(n,r,o){o.hash&&(r=h.extend({},r,o.hash),o.ids&&(o.ids[0]=!0)),n=e.VM.resolvePartial.call(this,n,r,o);var i=e.VM.invokePartial.call(this,n,r,o);if(null==i&&e.compile&&(o.partials[o.name]=e.compile(n,t.compilerOptions,e),i=o.partials[o.name](r,o)),null!=i){if(o.indent){for(var a=i.split("\n"),s=0,u=a.length;s<u&&(a[s]||s+1!==u);s++)a[s]=o.indent+a[s];i=a.join("\n")}return i}throw new m["default"]("The partial "+o.name+" could not be compiled when running in runtime-only mode")}function r(e){function n(e){return""+t.main(o,e,o.helpers,o.partials,a,u,s)}var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=i.data;r._setup(i),!i.partial&&t.useData&&(a=f(e,a));var s=void 0,u=t.useBlockParams?[]:void 0;return t.useDepths&&(s=i.depths?e!==i.depths[0]?[e].concat(i.depths):i.depths:[e]),(n=d(t.main,n,o,i.depths||[],a,u))(e,i)}if(!e)throw new m["default"]("No environment passed to template");if(!t||!t.main)throw new m["default"]("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var o={strict:function(t,e){if(!(e in t))throw new m["default"]('"'+e+'" not defined in '+t);return t[e]},lookup:function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]&&null!=t[r][e])return t[r][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:h.escapeExpression,invokePartial:n,fn:function(e){var n=t[e];return n.decorator=t[e+"_d"],n},programs:[],program:function(t,e,n,r,o){var i=this.programs[t],a=this.fn(t);return e||o||r||n?i=s(this,t,a,e,n,r,o):i||(i=this.programs[t]=s(this,t,a)),i},data:function(t,e){for(;t&&e--;)t=t._parent;return t},merge:function(t,e){var n=t||e;return t&&e&&t!==e&&(n=h.extend({},e,t)),n},noop:e.VM.noop,compilerInfo:t.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(o.helpers=n.helpers,o.partials=n.partials,o.decorators=n.decorators):(o.helpers=o.merge(n.helpers,e.helpers),t.usePartial&&(o.partials=o.merge(n.partials,e.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=o.merge(n.decorators,e.decorators)))},r._child=function(e,n,r,i){if(t.useBlockParams&&!r)throw new m["default"]("must pass block params");if(t.useDepths&&!i)throw new m["default"]("must pass parent depths");return s(o,e,t[e],n,0,r,i)},r}function s(t,e,n,r,o,i,a){function s(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return a&&e!==a[0]&&(s=[e].concat(a)),n(t,e,t.helpers,t.partials,o.data||r,i&&[o.blockParams].concat(i),s)}return s=d(n,s,t,a,r,i),s.program=e,s.depth=a?a.length:0,s.blockParams=o||0,s}function u(t,e,n){return t?t.call||n.name||(n.name=t,t=n.partials[t]):t="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],t}function l(t,e,n){n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var r=void 0;if(n.fn&&n.fn!==c&&(n.data=g.createFrame(n.data),r=n.data["partial-block"]=n.fn,r.partials&&(n.partials=h.extend({},n.partials,r.partials))),void 0===t&&r&&(t=r),void 0===t)throw new m["default"]("The partial "+n.name+" could not be found");if(t instanceof Function)return t(e,n)}function c(){return""}function f(t,e){return e&&"root"in e||(e=e?g.createFrame(e):{},e.root=t),e}function d(t,e,n,r,o,i){if(t.decorator){var a={};e=t.decorator(e,a,n,r&&r[0],o,i,r),h.extend(e,a)}return e}e.__esModule=!0,e.checkRevision=i,e.template=a,e.wrapProgram=s,e.resolvePartial=u,e.invokePartial=l,e.noop=c;var p=n(3),h=o(p),v=n(7),m=r(v),g=n(29)},77:function(t,e){"use strict";function n(t){this.string=t}e.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},e["default"]=n,t.exports=e["default"]},87:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f=n(96),d=n(25),p=function(){function t(e){var n=this;(0,s["default"])(this,t),this.defaults={isModal:!0,template:f,title:"",text:"",buttons:[{text:"好",handler:function(){n.hide()}}]},this.settings=(0,i["default"])({},this.defaults,e);var r=this.settings.template({title:this.settings.title,text:this.settings.text,buttons:this.settings.buttons});this.elem=c(r);var o=this.elem.find(".button-group").children(),a=this;o.each(function(t){c(this).click(a.settings.buttons[t].handler.bind(a))}),this.overlay=new d({clickToClose:!1})}return(0,l["default"])(t,[{key:"show",value:function(){this.overlay.show(),0===this.elem.parent().length&&this.elem.appendTo("body"),this.elem.css({left:(c(window).width()-this.elem.outerWidth())/2,top:(c(window).height()-this.elem.outerHeight())/2+c(window).scrollTop()}).show().addClass("animation-target")}},{key:"hide",value:function(){this.overlay.hide(),this.elem.detach()}}]),t}();c.extend(p,{alert:function(t,e){var n=new p({text:t,title:e});n.show()},confirm:function(t,e,n){var r=new p({text:t,title:e,buttons:[{text:"取消",handler:function(){this.hide()}},{text:"好",handler:n||c.noop}]});r.show()}}),t.exports=p},96:function(t,e,n){var r=n(37);t.exports=(r["default"]||r).template({1:function(t,e,n,r,o){var i;return' <a href="javascript:void(0);" class="modal-button">'+t.escapeExpression((i=null!=(i=n.text||(null!=e?e.text:e))?i:n.helperMissing,"function"==typeof i?i.call(null!=e?e:{},{name:"text",hash:{},data:o}):i))+"</a>\n"},compiler:[7,">= 4.0.0"],main:function(t,e,n,r,o){var i,a,s=null!=e?e:{},u=n.helperMissing,l="function",c=t.escapeExpression;return'<div class="modal">\n <h2>'+c((a=null!=(a=n.title||(null!=e?e.title:e))?a:u,typeof a===l?a.call(s,{name:"title",hash:{},data:o}):a))+"</h2>\n <p>"+c((a=null!=(a=n.text||(null!=e?e.text:e))?a:u,typeof a===l?a.call(s,{name:"text",hash:{},data:o}):a))+'</p>\n <hr>\n <div class="button-group">\n'+(null!=(i=n.each.call(s,null!=e?e.buttons:e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o}))?i:"")+" </div>\n</div>\n"},useData:!0})},185:function(t,e,n){"use strict";var r=n(1),o=n(4),i=n(87);t.exports={data:function(){return{order:{}}},ready:function(){this.getOrderData()},methods:{getOrderData:function(){var t=this;r.ajax({url:"/home/get-order",data:{orderCode:this.$parent.$data.orderCode}}).then(function(e){e&&t.$set("order",e.data)}).fail(function(){o("网络错误")})},cancelOrder:function(t){i.confirm("订单取消后不能恢复,确认取消订单吗?","",function(){r.ajax({url:"/home/cancel-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.href="/home/orders":o(t.message)}).fail(function(){o("操作失敗")})})},deleteOrder:function(t){i.confirm("确认删除订单?","",function(){r.ajax({url:"/home/delete-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.href="/home/orders":o(t.message)}).fail(function(){o("操作失敗")})})},confirmGoods:function(t){r.ajax({url:"/home/confirm-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.reload():o(t.message)}).fail(function(){o("操作失敗")})},goBuy:function(){location.href=""},seeExpress:function(){location.href=""}}}},271:function(t,e){t.exports=' <div class=order-status> <p>{{order.status | convertOrderState}}</p> <p v-if="order.status == 0">剩余: 订单将被取消</p> </div> <div class=order-address> <p><span>{{order.userName}}</span><span>{{order.phone}}</span></p> <p>{{order.area}} <br>{{order.address}}</p> </div> <div class=order-code> <p>订单号:{{order.orderCode}}</p> <p>下单时间:{{order.createTime | convertTime}}</p> </div> <div class=order-goods> <ul> <li class=goods-info v-for="product in order.orderGoods"> <div class=img-box> <img v-bind:src="product.goodsImage | resize 49 65" alt=""> </div> <div class=goods-detail> <p class=name>{{product.productName}}</p> <p class=size> <span>颜色:{{product.colorName}}</span> <span>尺码:{{product.sizeName}}</span> </p> </div> <div class=goods-price> <p>&yen;{{product.goodsPrice}}</p> <p>×{{product.buyNumber}}</p> </div> </li> </ul> </div> <div class=order-amount> <ul> <li><label>商品:</label><span>{{order.goodsTotalAmount}}</span></li> <li><label>YOHO币:</label><span>{{order.yohoCoinNum}}</span></li> <li><label>运费:</label><span>{{order.shippingCost}}</span></li> <li><label>总计:</label><span>&yen;{{order.paymentAmount}}</span></li> </ul> </div> <div class=order-button> <button v-if="order.status == 0" @click=cancelOrder(order.orderCode)>取消订单</button> <button v-if="order.status == 0 " class=countdown @click=goBuy()>去支付 11:58:12</button> <button v-if="order.status == 4 || order.status == 5 ">查看物流</button> <button v-if="order.status == 4 || order.status == 5 " class=black @click=confirmGoods(order.orderCode)>确认收货</button> <button v-if="order.status == 6" @click=deleteOrder(order,index)>删除订单</button> <button v-if="order.status == 6" class=normal>再次购买</button> </div> '},305:function(t,e,n){var r,o;n(!function(){var t=new Error('Cannot find module "!!./../../../node_modules/extract-text-webpack-plugin/loader.js?{"remove":true}!css?-url!./../../../node_modules/vue-loader/lib/style-rewriter.js!./../../../node_modules/vue-loader/lib/selector.js?type=style&index=0!./order-detail.vue"');throw t.code="MODULE_NOT_FOUND",t}()),r=n(185),o=n(271),t.exports=r||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)}});  
  1 +webpackJsonp([4],{0:function(t,e,n){"use strict";var r=n(2),o=n(306);n(6),new r({el:"#order-detail",data:{orderCode:document.getElementById("order-code").value},components:{OrderDetail:o}})},3:function(t,e){"use strict";function n(t){return c[t]}function r(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}function o(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function i(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return d.test(t)?t.replace(f,n):t}function a(t){return!t&&0!==t||!(!v(t)||0!==t.length)}function s(t){var e=r({},t);return e._parent=t,e}function u(t,e){return t.path=e,t}function l(t,e){return(t?t+".":"")+e}e.__esModule=!0,e.extend=r,e.indexOf=o,e.escapeExpression=i,e.isEmpty=a,e.createFrame=s,e.blockParams=u,e.appendContextPath=l;var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},f=/[&<>"'`=]/g,d=/[&<>"'`=]/,p=Object.prototype.toString;e.toString=p;var h=function(t){return"function"==typeof t};h(/x/)&&(e.isFunction=h=function(t){return"function"==typeof t&&"[object Function]"===p.call(t)}),e.isFunction=h;var v=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===p.call(t)};e.isArray=v},4:function(t,e,n){(function(e){"use strict";function n(t){var n=void 0,r={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(r,{txt:t}):e.extend(r,t);var o='<div class="tip-box"><div class="tip">'+r.txt+"</div></div>",i=e(".tip-box");i.length&&(n=i.data("timer"),clearTimeout(n),i.remove());var a=e(o).appendTo(document.body);a.data("timer",setTimeout(function(){a.remove()},r.delay))}t.exports=n}).call(e,n(1))},6:function(t,e,n){"use strict";var r=n(2);r.filter("resize",function(t,e,n,r){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var o={"{width}":e,"{height}":n,"{mode}":r||2};return o[t]}):""}),r.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),r.filter("brandUrl",function(t){return"/brand?domain="+t}),r.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),r.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),n=e.getFullYear()+"-",r=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",o=e.getDate()+" ",i=e.getHours()+":",a=e.getMinutes()+":",s=e.getSeconds();return n+r+o+i+a+s}})},7:function(t,e){"use strict";function n(t,e){var o=e&&e.loc,i=void 0,a=void 0;o&&(i=o.start.line,a=o.start.column,t+=" - "+i+":"+a);for(var s=Error.prototype.constructor.call(this,t),u=0;u<r.length;u++)this[r[u]]=s[r[u]];Error.captureStackTrace&&Error.captureStackTrace(this,n),o&&(this.lineNumber=i,this.column=a)}e.__esModule=!0;var r=["description","fileName","lineNumber","message","name","number","stack"];n.prototype=new Error,e["default"]=n,t.exports=e["default"]},8:function(t,e,n){t.exports=!n(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},9:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},11:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},12:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},13:function(t,e,n){var r=n(33),o=n(47),i=n(43),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},14:function(t,e,n){var r=n(26),o=n(21);t.exports=function(t){return r(o(t))}},15:function(t,e,n){t.exports={"default":n(52),__esModule:!0}},16:function(t,e,n){var r=n(9),o=n(10),i=n(56),a=n(22),s="prototype",u=function(t,e,n){var l,c,f,d=t&u.F,p=t&u.G,h=t&u.S,v=t&u.P,m=t&u.B,g=t&u.W,b=p?o:o[e]||(o[e]={}),x=b[s],y=p?r:h?r[e]:(r[e]||{})[s];p&&(n=e);for(l in n)c=!d&&y&&void 0!==y[l],c&&l in b||(f=c?y[l]:n[l],b[l]=p&&"function"!=typeof y[l]?n[l]:m&&c?i(f,r):g&&y[l]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((b.virtual||(b.virtual={}))[l]=f,t&u.R&&x&&!x[l]&&a(x,l,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},17:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},19:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},20:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(51),i=r(o);e["default"]=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i["default"])(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},21:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},22:function(t,e,n){var r=n(13),o=n(35);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},23:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},25:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f={none:{"in":"overlay-in",out:"overlay-out"},fade:{"in":"overlay-fade-in",out:"overlay-fade-out"}},d=function(){function t(e){var n=this;(0,s["default"])(this,t),this.isVisible=!1,this.defaults={className:"overlay",clickToClose:!0,onClose:c.noop,animation:"fade",disableScrolling:!0},this.settings=(0,i["default"])({},this.defaults,e),this.settings.animationClasses={"in":f[this.settings.animation]["in"],out:f[this.settings.animation].out},this.elem=c("<div/>",{"class":this.settings.className}),this.elem.click(function(){n.settings.clickToClose&&n.hide()}),this.settings.disableScrolling&&c(window).on("touchmove",function(t){n.isVisible&&t.preventDefault()})}return(0,l["default"])(t,[{key:"_clearStylesClasses",value:function(){this.elem.removeClass(this.settings.animationClasses["in"]).removeClass(this.settings.animationClasses.out)}},{key:"_cleanupListener",value:function(){this.elem.css({visibility:"hidden"}),this._clearStylesClasses(),this.isVisible=!1,this.elem.detach(),this.elem[0].removeEventListener("webkitTransitionEnd",this._cleanupListener)}},{key:"show",value:function(){0!==this.elem.parent().length||this.isVisible||(this.elem.appendTo("body"),this._clearStylesClasses(),this.elem.css({visibility:"visible"}).show().addClass(this.settings.animationClasses["in"]),this.settings.disableScrolling&&c("body").css({overflow:"hidden"}),this.isVisible=!0)}},{key:"hide",value:function(){var t=this;this.isVisible&&(this._clearStylesClasses(),this.elem[0].addEventListener("webkitTransitionEnd",this._cleanupListener.bind(this)),this.elem.addClass(this.settings.animationClasses.out),this.settings.disableScrolling&&c("body").css({overflow:"auto"}),setTimeout(function(){t._cleanupListener()},100),this.settings.onClose())}}]),t}();t.exports=d},26:function(t,e,n){var r=n(45);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},27:function(t,e,n){var r=n(48),o=n(39);t.exports=Object.keys||function(t){return r(t,o)}},29:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},u.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}e.__esModule=!0,e.HandlebarsEnvironment=o;var i=n(3),a=n(7),s=r(a),u=n(66),l=n(64),c=n(74),f=r(c),d="4.0.5";e.VERSION=d;var p=7;e.COMPILER_REVISION=p;var h={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};e.REVISION_CHANGES=h;var v="[object Object]";o.prototype={constructor:o,logger:f["default"],log:f["default"].log,registerHelper:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple helpers");i.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if(i.toString.call(t)===v)i.extend(this.partials,t);else{if("undefined"==typeof e)throw new s["default"]('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple decorators");i.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var m=f["default"].log;e.log=m,e.createFrame=i.createFrame,e.logger=f["default"]},33:function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},34:function(t,e){e.f={}.propertyIsEnumerable},35:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},36:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},37:function(t,e,n){t.exports=n(63)["default"]},39:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},40:function(t,e){e.f=Object.getOwnPropertySymbols},41:function(t,e,n){var r=n(42)("keys"),o=n(36);t.exports=function(t){return r[t]||(r[t]=o(t))}},42:function(t,e,n){var r=n(9),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},43:function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},45:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},46:function(t,e,n){var r=n(12),o=n(9).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},47:function(t,e,n){t.exports=!n(8)&&!n(11)(function(){return 7!=Object.defineProperty(n(46)("div"),"a",{get:function(){return 7}}).a})},48:function(t,e,n){var r=n(17),o=n(14),i=n(55)(!1),a=n(41)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(l,n)||l.push(n));return l}},49:function(t,e,n){var r=n(21);t.exports=function(t){return Object(r(t))}},51:function(t,e,n){t.exports={"default":n(53),__esModule:!0}},52:function(t,e,n){n(60),t.exports=n(10).Object.assign},53:function(t,e,n){n(61);var r=n(10).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},54:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},55:function(t,e,n){var r=n(14),o=n(59),i=n(58);t.exports=function(t){return function(e,n,a){var s,u=r(e),l=o(u.length),c=i(a,l);if(t&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},56:function(t,e,n){var r=n(54);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},57:function(t,e,n){"use strict";var r=n(27),o=n(40),i=n(34),a=n(49),s=n(26),u=Object.assign;t.exports=!u||n(11)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,c=o.f,f=i.f;u>l;)for(var d,p=s(arguments[l++]),h=c?r(p).concat(c(p)):r(p),v=h.length,m=0;v>m;)f.call(p,d=h[m++])&&(n[d]=p[d]);return n}:u},58:function(t,e,n){var r=n(23),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},59:function(t,e,n){var r=n(23),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},60:function(t,e,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(57)})},61:function(t,e,n){var r=n(16);r(r.S+r.F*!n(8),"Object",{defineProperty:n(13).f})},63:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(){var t=new s.HandlebarsEnvironment;return p.extend(t,s),t.SafeString=l["default"],t.Exception=f["default"],t.Utils=p,t.escapeExpression=p.escapeExpression,t.VM=v,t.template=function(e){return v.template(e,t)},t}e.__esModule=!0;var a=n(29),s=o(a),u=n(77),l=r(u),c=n(7),f=r(c),d=n(3),p=o(d),h=n(76),v=o(h),m=n(75),g=r(m),b=i();b.create=i,g["default"](b),b["default"]=b,e["default"]=b,t.exports=e["default"]},64:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t)}e.__esModule=!0,e.registerDefaultDecorators=o;var i=n(65),a=r(i)},65:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerDecorator("inline",function(t,e,n,o){var i=t;return e.partials||(e.partials={},i=function(o,i){var a=n.partials;n.partials=r.extend({},a,e.partials);var s=t(o,i);return n.partials=a,s}),e.partials[o.args[0]]=o.fn,i})},t.exports=e["default"]},66:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t),u["default"](t),c["default"](t),d["default"](t),h["default"](t),m["default"](t),b["default"](t)}e.__esModule=!0,e.registerDefaultHelpers=o;var i=n(67),a=r(i),s=n(68),u=r(s),l=n(69),c=r(l),f=n(70),d=r(f),p=n(71),h=r(p),v=n(72),m=r(v),g=n(73),b=r(g)},67:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("blockHelperMissing",function(e,n){var o=n.inverse,i=n.fn;if(e===!0)return i(this);if(e===!1||null==e)return o(this);if(r.isArray(e))return e.length>0?(n.ids&&(n.ids=[n.name]),t.helpers.each(e,n)):o(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(e,n)})},t.exports=e["default"]},68:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(3),i=n(7),a=r(i);e["default"]=function(t){t.registerHelper("each",function(t,e){function n(e,n,i){l&&(l.key=e,l.index=n,l.first=0===n,l.last=!!i,c&&(l.contextPath=c+e)),u+=r(t[e],{data:l,blockParams:o.blockParams([t[e],e],[c+e,null])})}if(!e)throw new a["default"]("Must pass iterator to #each");var r=e.fn,i=e.inverse,s=0,u="",l=void 0,c=void 0;if(e.data&&e.ids&&(c=o.appendContextPath(e.data.contextPath,e.ids[0])+"."),o.isFunction(t)&&(t=t.call(this)),e.data&&(l=o.createFrame(e.data)),t&&"object"==typeof t)if(o.isArray(t))for(var f=t.length;s<f;s++)s in t&&n(s,s,s===t.length-1);else{var d=void 0;for(var p in t)t.hasOwnProperty(p)&&(void 0!==d&&n(d,s-1),d=p,s++);void 0!==d&&n(d,s-1,!0)}return 0===s&&(u=i(this)),u})},t.exports=e["default"]},69:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(7),i=r(o);e["default"]=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new i["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e["default"]},70:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("if",function(t,e){return r.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||r.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,n){return t.helpers["if"].call(this,e,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},t.exports=e["default"]},71:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("log",function(){for(var e=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)e.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),e[0]=o,t.log.apply(t,e)})},t.exports=e["default"]},72:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("lookup",function(t,e){return t&&t[e]})},t.exports=e["default"]},73:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("with",function(t,e){r.isFunction(t)&&(t=t.call(this));var n=e.fn;if(r.isEmpty(t))return e.inverse(this);var o=e.data;return e.data&&e.ids&&(o=r.createFrame(e.data),o.contextPath=r.appendContextPath(e.data.contextPath,e.ids[0])),n(t,{data:o,blockParams:r.blockParams([t],[o&&o.contextPath])})})},t.exports=e["default"]},74:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=r.indexOf(o.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=o.lookupLevel(t),"undefined"!=typeof console&&o.lookupLevel(o.level)<=t){var e=o.methodMap[t];console[e]||(e="log");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];console[e].apply(console,r)}}};e["default"]=o,t.exports=e["default"]},75:function(t,e){(function(n){"use strict";e.__esModule=!0,e["default"]=function(t){var e="undefined"!=typeof n?n:window,r=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=r),t}},t.exports=e["default"]}).call(e,function(){return this}())},76:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){var e=t&&t[0]||1,n=g.COMPILER_REVISION;if(e!==n){if(e<n){var r=g.REVISION_CHANGES[n],o=g.REVISION_CHANGES[e];throw new m["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new m["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}}function a(t,e){function n(n,r,o){o.hash&&(r=h.extend({},r,o.hash),o.ids&&(o.ids[0]=!0)),n=e.VM.resolvePartial.call(this,n,r,o);var i=e.VM.invokePartial.call(this,n,r,o);if(null==i&&e.compile&&(o.partials[o.name]=e.compile(n,t.compilerOptions,e),i=o.partials[o.name](r,o)),null!=i){if(o.indent){for(var a=i.split("\n"),s=0,u=a.length;s<u&&(a[s]||s+1!==u);s++)a[s]=o.indent+a[s];i=a.join("\n")}return i}throw new m["default"]("The partial "+o.name+" could not be compiled when running in runtime-only mode")}function r(e){function n(e){return""+t.main(o,e,o.helpers,o.partials,a,u,s)}var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=i.data;r._setup(i),!i.partial&&t.useData&&(a=f(e,a));var s=void 0,u=t.useBlockParams?[]:void 0;return t.useDepths&&(s=i.depths?e!==i.depths[0]?[e].concat(i.depths):i.depths:[e]),(n=d(t.main,n,o,i.depths||[],a,u))(e,i)}if(!e)throw new m["default"]("No environment passed to template");if(!t||!t.main)throw new m["default"]("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var o={strict:function(t,e){if(!(e in t))throw new m["default"]('"'+e+'" not defined in '+t);return t[e]},lookup:function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]&&null!=t[r][e])return t[r][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:h.escapeExpression,invokePartial:n,fn:function(e){var n=t[e];return n.decorator=t[e+"_d"],n},programs:[],program:function(t,e,n,r,o){var i=this.programs[t],a=this.fn(t);return e||o||r||n?i=s(this,t,a,e,n,r,o):i||(i=this.programs[t]=s(this,t,a)),i},data:function(t,e){for(;t&&e--;)t=t._parent;return t},merge:function(t,e){var n=t||e;return t&&e&&t!==e&&(n=h.extend({},e,t)),n},noop:e.VM.noop,compilerInfo:t.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(o.helpers=n.helpers,o.partials=n.partials,o.decorators=n.decorators):(o.helpers=o.merge(n.helpers,e.helpers),t.usePartial&&(o.partials=o.merge(n.partials,e.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=o.merge(n.decorators,e.decorators)))},r._child=function(e,n,r,i){if(t.useBlockParams&&!r)throw new m["default"]("must pass block params");if(t.useDepths&&!i)throw new m["default"]("must pass parent depths");return s(o,e,t[e],n,0,r,i)},r}function s(t,e,n,r,o,i,a){function s(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return a&&e!==a[0]&&(s=[e].concat(a)),n(t,e,t.helpers,t.partials,o.data||r,i&&[o.blockParams].concat(i),s)}return s=d(n,s,t,a,r,i),s.program=e,s.depth=a?a.length:0,s.blockParams=o||0,s}function u(t,e,n){return t?t.call||n.name||(n.name=t,t=n.partials[t]):t="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],t}function l(t,e,n){n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var r=void 0;if(n.fn&&n.fn!==c&&(n.data=g.createFrame(n.data),r=n.data["partial-block"]=n.fn,r.partials&&(n.partials=h.extend({},n.partials,r.partials))),void 0===t&&r&&(t=r),void 0===t)throw new m["default"]("The partial "+n.name+" could not be found");if(t instanceof Function)return t(e,n)}function c(){return""}function f(t,e){return e&&"root"in e||(e=e?g.createFrame(e):{},e.root=t),e}function d(t,e,n,r,o,i){if(t.decorator){var a={};e=t.decorator(e,a,n,r&&r[0],o,i,r),h.extend(e,a)}return e}e.__esModule=!0,e.checkRevision=i,e.template=a,e.wrapProgram=s,e.resolvePartial=u,e.invokePartial=l,e.noop=c;var p=n(3),h=o(p),v=n(7),m=r(v),g=n(29)},77:function(t,e){"use strict";function n(t){this.string=t}e.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},e["default"]=n,t.exports=e["default"]},87:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f=n(96),d=n(25),p=function(){function t(e){var n=this;(0,s["default"])(this,t),this.defaults={isModal:!0,template:f,title:"",text:"",buttons:[{text:"好",handler:function(){n.hide()}}]},this.settings=(0,i["default"])({},this.defaults,e);var r=this.settings.template({title:this.settings.title,text:this.settings.text,buttons:this.settings.buttons});this.elem=c(r);var o=this.elem.find(".button-group").children(),a=this;o.each(function(t){c(this).click(a.settings.buttons[t].handler.bind(a))}),this.overlay=new d({clickToClose:!1})}return(0,l["default"])(t,[{key:"show",value:function(){this.overlay.show(),0===this.elem.parent().length&&this.elem.appendTo("body"),this.elem.css({left:(c(window).width()-this.elem.outerWidth())/2,top:(c(window).height()-this.elem.outerHeight())/2+c(window).scrollTop()}).show().addClass("animation-target")}},{key:"hide",value:function(){this.overlay.hide(),this.elem.detach()}}]),t}();c.extend(p,{alert:function(t,e){var n=new p({text:t,title:e});n.show()},confirm:function(t,e,n){var r=new p({text:t,title:e,buttons:[{text:"取消",handler:function(){this.hide()}},{text:"好",handler:n||c.noop}]});r.show()}}),t.exports=p},96:function(t,e,n){var r=n(37);t.exports=(r["default"]||r).template({1:function(t,e,n,r,o){var i;return' <a href="javascript:void(0);" class="modal-button">'+t.escapeExpression((i=null!=(i=n.text||(null!=e?e.text:e))?i:n.helperMissing,"function"==typeof i?i.call(null!=e?e:{},{name:"text",hash:{},data:o}):i))+"</a>\n"},compiler:[7,">= 4.0.0"],main:function(t,e,n,r,o){var i,a,s=null!=e?e:{},u=n.helperMissing,l="function",c=t.escapeExpression;return'<div class="modal">\n <h2>'+c((a=null!=(a=n.title||(null!=e?e.title:e))?a:u,typeof a===l?a.call(s,{name:"title",hash:{},data:o}):a))+"</h2>\n <p>"+c((a=null!=(a=n.text||(null!=e?e.text:e))?a:u,typeof a===l?a.call(s,{name:"text",hash:{},data:o}):a))+'</p>\n <hr>\n <div class="button-group">\n'+(null!=(i=n.each.call(s,null!=e?e.buttons:e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o}))?i:"")+" </div>\n</div>\n"},useData:!0})},185:function(t,e,n){"use strict";var r=n(1),o=n(4),i=n(87);t.exports={data:function(){return{order:{}}},ready:function(){this.getOrderData()},methods:{getOrderData:function(){var t=this;r.ajax({url:"/home/get-order",data:{orderCode:this.$parent.$data.orderCode}}).then(function(e){e&&t.$set("order",e.data)}).fail(function(){o("网络错误")})},cancelOrder:function(t){i.confirm("订单取消后不能恢复,确认取消订单吗?","",function(){r.ajax({url:"/home/cancel-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.href="/home/orders":o(t.message)}).fail(function(){o("操作失敗")})})},deleteOrder:function(t){i.confirm("确认删除订单?","",function(){r.ajax({url:"/home/delete-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.href="/home/orders":o(t.message)}).fail(function(){o("操作失敗")})})},confirmGoods:function(t){r.ajax({url:"/home/confirm-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.reload():o(t.message)}).fail(function(){o("操作失敗")})},goBuy:function(){location.href=""},seeExpress:function(){location.href=""}}}},239:function(t,e){},272:function(t,e){t.exports=' <div class=order-status> <p>{{order.status | convertOrderState}}</p> <p v-if="order.status == 0">剩余: 订单将被取消</p> </div> <div class=order-address> <p><span>{{order.userName}}</span><span>{{order.phone}}</span></p> <p>{{order.area}} <br>{{order.address}}</p> </div> <div class=order-code> <p>订单号:{{order.orderCode}}</p> <p>下单时间:{{order.createTime | convertTime}}</p> </div> <div class=order-goods> <ul> <li class=goods-info v-for="product in order.orderGoods"> <div class=img-box> <img v-bind:src="product.goodsImage | resize 49 65" alt=""> </div> <div class=goods-detail> <p class=name>{{product.productName}}</p> <p class=size> <span>颜色:{{product.colorName}}</span> <span>尺码:{{product.sizeName}}</span> </p> </div> <div class=goods-price> <p>&yen;{{product.goodsPrice}}</p> <p>×{{product.buyNumber}}</p> </div> </li> </ul> </div> <div class=order-amount> <ul> <li><label>商品:</label><span>{{order.goodsTotalAmount}}</span></li> <li><label>YOHO币:</label><span>{{order.yohoCoinNum}}</span></li> <li><label>运费:</label><span>{{order.shippingCost}}</span></li> <li><label>总计:</label><span>&yen;{{order.paymentAmount}}</span></li> </ul> </div> <div class=order-button> <button v-if="order.status == 0" @click=cancelOrder(order.orderCode)>取消订单</button> <button v-if="order.status == 0 " class=countdown @click=goBuy()>去支付 11:58:12</button> <button v-if="order.status == 4 || order.status == 5 ">查看物流</button> <button v-if="order.status == 4 || order.status == 5 " class=black @click=confirmGoods(order.orderCode)>确认收货</button> <button v-if="order.status == 6" @click=deleteOrder(order,index)>删除订单</button> <button v-if="order.status == 6" class=normal>再次购买</button> </div> '},306:function(t,e,n){var r,o;n(239),r=n(185),o=n(272),t.exports=r||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)}});
1 -webpackJsonp([17],{0:function(i,t,e){"use strict";var o=e(2),s=e(306);new o({el:"#order-logistic",data:{company_id:""},components:{"order-logistic":s}})},4:function(i,t,e){(function(t){"use strict";function e(i){var e=void 0,o={mask:!1,delay:2e3,txt:""};"string"==typeof i?t.extend(o,{txt:i}):t.extend(o,i);var s='<div class="tip-box"><div class="tip">'+o.txt+"</div></div>",a=t(".tip-box");a.length&&(e=a.data("timer"),clearTimeout(e),a.remove());var n=t(s).appendTo(document.body);n.data("timer",setTimeout(function(){n.remove()},o.delay))}i.exports=e}).call(t,e(1))},186:function(i,t,e){"use strict";var o=e(1),s=e(38),a=e(4);i.exports={props:[],data:function(){return{logisticDate:[],logo:""}},methods:{getLogisticDate:function(){var i=this,t={orderCode:s.order_code||"",type:s.type||""};o.ajax({url:"/home/get-order-logistic-date",data:t}).then(function(t){i.logisticDate=t,t&&t.logo&&(i.logo=t.logo)}).fail(function(){a("网络错误")})}},created:function(){this.getLogisticDate()}}},239:function(i,t){},272:function(i,t){i.exports=' <div class="logistic-page yoho-page"> <div class=overview> <div class=left> <a href={{logisticDate.url}}> <img class=icon v-bind:src=logo /> </a> </div> <div class=right> <div> <span class=info>物流公司:</span> <span>{{logisticDate.caption}}</span> </div> <div> <span class=info>快递单号:</span> <span>{{logisticDate.express_number}}</span> </div> </div> </div> <div class=title> <span>物流详情</span> </div> <div class=detail> <div class=timeline-box v-for="(index, detail) in logisticDate.express_detail"> <span class=timeline-node></span> <div class=timeline-info> <div class=timeline-info-row> {{detail.accept_address}} </div> <div class=timeline-info-row> {{detail.acceptTime}} </div> </div> </div> </div> </div> '},306:function(i,t,e){var o,s;e(239),o=e(186),s=e(272),i.exports=o||{},i.exports.__esModule&&(i.exports=i.exports["default"]),s&&(("function"==typeof i.exports?i.exports.options||(i.exports.options={}):i.exports).template=s)}});  
  1 +webpackJsonp([17],{0:function(i,t,e){"use strict";var o=e(2),s=e(307);new o({el:"#order-logistic",data:{company_id:""},components:{"order-logistic":s}})},4:function(i,t,e){(function(t){"use strict";function e(i){var e=void 0,o={mask:!1,delay:2e3,txt:""};"string"==typeof i?t.extend(o,{txt:i}):t.extend(o,i);var s='<div class="tip-box"><div class="tip">'+o.txt+"</div></div>",a=t(".tip-box");a.length&&(e=a.data("timer"),clearTimeout(e),a.remove());var n=t(s).appendTo(document.body);n.data("timer",setTimeout(function(){n.remove()},o.delay))}i.exports=e}).call(t,e(1))},186:function(i,t,e){"use strict";var o=e(1),s=e(38),a=e(4);i.exports={props:[],data:function(){return{logisticDate:[],logo:""}},methods:{getLogisticDate:function(){var i=this,t={orderCode:s.order_code||"",type:s.type||""};o.ajax({url:"/home/get-order-logistic-date",data:t}).then(function(t){i.logisticDate=t,t&&t.logo&&(i.logo=t.logo)}).fail(function(){a("网络错误")})}},created:function(){this.getLogisticDate()}}},240:function(i,t){},273:function(i,t){i.exports=' <div class="logistic-page yoho-page"> <div class=overview> <div class=left> <a href={{logisticDate.url}}> <img class=icon v-bind:src=logo /> </a> </div> <div class=right> <div> <span class=info>物流公司:</span> <span>{{logisticDate.caption}}</span> </div> <div> <span class=info>快递单号:</span> <span>{{logisticDate.express_number}}</span> </div> </div> </div> <div class=title> <span>物流详情</span> </div> <div class=detail> <div class=timeline-box v-for="(index, detail) in logisticDate.express_detail"> <span class=timeline-node></span> <div class=timeline-info> <div class=timeline-info-row> {{detail.accept_address}} </div> <div class=timeline-info-row> {{detail.acceptTime}} </div> </div> </div> </div> </div> '},307:function(i,t,e){var o,s;e(240),o=e(186),s=e(273),i.exports=o||{},i.exports.__esModule&&(i.exports=i.exports["default"]),s&&(("function"==typeof i.exports?i.exports.options||(i.exports.options={}):i.exports).template=s)}});
1 -webpackJsonp([3],{0:function(t,e,n){"use strict";var r=n(2),o=n(307),i=n(50);r.use(i),n(6),new r({el:"#home-order-list",data:{type:document.getElementById("order-type").value},components:{Order:o}})},3:function(t,e){"use strict";function n(t){return c[t]}function r(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}function o(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function i(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return d.test(t)?t.replace(f,n):t}function a(t){return!t&&0!==t||!(!v(t)||0!==t.length)}function s(t){var e=r({},t);return e._parent=t,e}function u(t,e){return t.path=e,t}function l(t,e){return(t?t+".":"")+e}e.__esModule=!0,e.extend=r,e.indexOf=o,e.escapeExpression=i,e.isEmpty=a,e.createFrame=s,e.blockParams=u,e.appendContextPath=l;var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},f=/[&<>"'`=]/g,d=/[&<>"'`=]/,p=Object.prototype.toString;e.toString=p;var h=function(t){return"function"==typeof t};h(/x/)&&(e.isFunction=h=function(t){return"function"==typeof t&&"[object Function]"===p.call(t)}),e.isFunction=h;var v=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===p.call(t)};e.isArray=v},4:function(t,e,n){(function(e){"use strict";function n(t){var n=void 0,r={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(r,{txt:t}):e.extend(r,t);var o='<div class="tip-box"><div class="tip">'+r.txt+"</div></div>",i=e(".tip-box");i.length&&(n=i.data("timer"),clearTimeout(n),i.remove());var a=e(o).appendTo(document.body);a.data("timer",setTimeout(function(){a.remove()},r.delay))}t.exports=n}).call(e,n(1))},6:function(t,e,n){"use strict";var r=n(2);r.filter("resize",function(t,e,n,r){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var o={"{width}":e,"{height}":n,"{mode}":r||2};return o[t]}):""}),r.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),r.filter("brandUrl",function(t){return"/brand?domain="+t}),r.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),r.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),n=e.getFullYear()+"-",r=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",o=e.getDate()+" ",i=e.getHours()+":",a=e.getMinutes()+":",s=e.getSeconds();return n+r+o+i+a+s}})},7:function(t,e){"use strict";function n(t,e){var o=e&&e.loc,i=void 0,a=void 0;o&&(i=o.start.line,a=o.start.column,t+=" - "+i+":"+a);for(var s=Error.prototype.constructor.call(this,t),u=0;u<r.length;u++)this[r[u]]=s[r[u]];Error.captureStackTrace&&Error.captureStackTrace(this,n),o&&(this.lineNumber=i,this.column=a)}e.__esModule=!0;var r=["description","fileName","lineNumber","message","name","number","stack"];n.prototype=new Error,e["default"]=n,t.exports=e["default"]},8:function(t,e,n){t.exports=!n(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},9:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},11:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},12:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},13:function(t,e,n){var r=n(33),o=n(47),i=n(43),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},14:function(t,e,n){var r=n(26),o=n(21);t.exports=function(t){return r(o(t))}},15:function(t,e,n){t.exports={"default":n(52),__esModule:!0}},16:function(t,e,n){var r=n(9),o=n(10),i=n(56),a=n(22),s="prototype",u=function(t,e,n){var l,c,f,d=t&u.F,p=t&u.G,h=t&u.S,v=t&u.P,m=t&u.B,g=t&u.W,b=p?o:o[e]||(o[e]={}),y=b[s],x=p?r:h?r[e]:(r[e]||{})[s];p&&(n=e);for(l in n)c=!d&&x&&void 0!==x[l],c&&l in b||(f=c?x[l]:n[l],b[l]=p&&"function"!=typeof x[l]?n[l]:m&&c?i(f,r):g&&x[l]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((b.virtual||(b.virtual={}))[l]=f,t&u.R&&y&&!y[l]&&a(y,l,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},17:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},19:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},20:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(51),i=r(o);e["default"]=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i["default"])(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},21:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},22:function(t,e,n){var r=n(13),o=n(35);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},23:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},25:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f={none:{"in":"overlay-in",out:"overlay-out"},fade:{"in":"overlay-fade-in",out:"overlay-fade-out"}},d=function(){function t(e){var n=this;(0,s["default"])(this,t),this.isVisible=!1,this.defaults={className:"overlay",clickToClose:!0,onClose:c.noop,animation:"fade",disableScrolling:!0},this.settings=(0,i["default"])({},this.defaults,e),this.settings.animationClasses={"in":f[this.settings.animation]["in"],out:f[this.settings.animation].out},this.elem=c("<div/>",{"class":this.settings.className}),this.elem.click(function(){n.settings.clickToClose&&n.hide()}),this.settings.disableScrolling&&c(window).on("touchmove",function(t){n.isVisible&&t.preventDefault()})}return(0,l["default"])(t,[{key:"_clearStylesClasses",value:function(){this.elem.removeClass(this.settings.animationClasses["in"]).removeClass(this.settings.animationClasses.out)}},{key:"_cleanupListener",value:function(){this.elem.css({visibility:"hidden"}),this._clearStylesClasses(),this.isVisible=!1,this.elem.detach(),this.elem[0].removeEventListener("webkitTransitionEnd",this._cleanupListener)}},{key:"show",value:function(){0!==this.elem.parent().length||this.isVisible||(this.elem.appendTo("body"),this._clearStylesClasses(),this.elem.css({visibility:"visible"}).show().addClass(this.settings.animationClasses["in"]),this.settings.disableScrolling&&c("body").css({overflow:"hidden"}),this.isVisible=!0)}},{key:"hide",value:function(){var t=this;this.isVisible&&(this._clearStylesClasses(),this.elem[0].addEventListener("webkitTransitionEnd",this._cleanupListener.bind(this)),this.elem.addClass(this.settings.animationClasses.out),this.settings.disableScrolling&&c("body").css({overflow:"auto"}),setTimeout(function(){t._cleanupListener()},100),this.settings.onClose())}}]),t}();t.exports=d},26:function(t,e,n){var r=n(45);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},27:function(t,e,n){var r=n(48),o=n(39);t.exports=Object.keys||function(t){return r(t,o)}},29:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},u.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}e.__esModule=!0,e.HandlebarsEnvironment=o;var i=n(3),a=n(7),s=r(a),u=n(66),l=n(64),c=n(74),f=r(c),d="4.0.5";e.VERSION=d;var p=7;e.COMPILER_REVISION=p;var h={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};e.REVISION_CHANGES=h;var v="[object Object]";o.prototype={constructor:o,logger:f["default"],log:f["default"].log,registerHelper:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple helpers");i.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if(i.toString.call(t)===v)i.extend(this.partials,t);else{if("undefined"==typeof e)throw new s["default"]('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple decorators");i.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var m=f["default"].log;e.log=m,e.createFrame=i.createFrame,e.logger=f["default"]},33:function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},34:function(t,e){e.f={}.propertyIsEnumerable},35:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},36:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},37:function(t,e,n){t.exports=n(63)["default"]},39:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},40:function(t,e){e.f=Object.getOwnPropertySymbols},41:function(t,e,n){var r=n(42)("keys"),o=n(36);t.exports=function(t){return r[t]||(r[t]=o(t))}},42:function(t,e,n){var r=n(9),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},43:function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},45:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},46:function(t,e,n){var r=n(12),o=n(9).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},47:function(t,e,n){t.exports=!n(8)&&!n(11)(function(){return 7!=Object.defineProperty(n(46)("div"),"a",{get:function(){return 7}}).a})},48:function(t,e,n){var r=n(17),o=n(14),i=n(55)(!1),a=n(41)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(l,n)||l.push(n));return l}},49:function(t,e,n){var r=n(21);t.exports=function(t){return Object(r(t))}},51:function(t,e,n){t.exports={"default":n(53),__esModule:!0}},52:function(t,e,n){n(60),t.exports=n(10).Object.assign},53:function(t,e,n){n(61);var r=n(10).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},54:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},55:function(t,e,n){var r=n(14),o=n(59),i=n(58);t.exports=function(t){return function(e,n,a){var s,u=r(e),l=o(u.length),c=i(a,l);if(t&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},56:function(t,e,n){var r=n(54);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},57:function(t,e,n){"use strict";var r=n(27),o=n(40),i=n(34),a=n(49),s=n(26),u=Object.assign;t.exports=!u||n(11)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,c=o.f,f=i.f;u>l;)for(var d,p=s(arguments[l++]),h=c?r(p).concat(c(p)):r(p),v=h.length,m=0;v>m;)f.call(p,d=h[m++])&&(n[d]=p[d]);return n}:u},58:function(t,e,n){var r=n(23),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},59:function(t,e,n){var r=n(23),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},60:function(t,e,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(57)})},61:function(t,e,n){var r=n(16);r(r.S+r.F*!n(8),"Object",{defineProperty:n(13).f})},63:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(){var t=new s.HandlebarsEnvironment;return p.extend(t,s),t.SafeString=l["default"],t.Exception=f["default"],t.Utils=p,t.escapeExpression=p.escapeExpression,t.VM=v,t.template=function(e){return v.template(e,t)},t}e.__esModule=!0;var a=n(29),s=o(a),u=n(77),l=r(u),c=n(7),f=r(c),d=n(3),p=o(d),h=n(76),v=o(h),m=n(75),g=r(m),b=i();b.create=i,g["default"](b),b["default"]=b,e["default"]=b,t.exports=e["default"]},64:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t)}e.__esModule=!0,e.registerDefaultDecorators=o;var i=n(65),a=r(i)},65:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerDecorator("inline",function(t,e,n,o){var i=t;return e.partials||(e.partials={},i=function(o,i){var a=n.partials;n.partials=r.extend({},a,e.partials);var s=t(o,i);return n.partials=a,s}),e.partials[o.args[0]]=o.fn,i})},t.exports=e["default"]},66:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t),u["default"](t),c["default"](t),d["default"](t),h["default"](t),m["default"](t),b["default"](t)}e.__esModule=!0,e.registerDefaultHelpers=o;var i=n(67),a=r(i),s=n(68),u=r(s),l=n(69),c=r(l),f=n(70),d=r(f),p=n(71),h=r(p),v=n(72),m=r(v),g=n(73),b=r(g)},67:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("blockHelperMissing",function(e,n){var o=n.inverse,i=n.fn;if(e===!0)return i(this);if(e===!1||null==e)return o(this);if(r.isArray(e))return e.length>0?(n.ids&&(n.ids=[n.name]),t.helpers.each(e,n)):o(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(e,n)})},t.exports=e["default"]},68:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(3),i=n(7),a=r(i);e["default"]=function(t){t.registerHelper("each",function(t,e){function n(e,n,i){l&&(l.key=e,l.index=n,l.first=0===n,l.last=!!i,c&&(l.contextPath=c+e)),u+=r(t[e],{data:l,blockParams:o.blockParams([t[e],e],[c+e,null])})}if(!e)throw new a["default"]("Must pass iterator to #each");var r=e.fn,i=e.inverse,s=0,u="",l=void 0,c=void 0;if(e.data&&e.ids&&(c=o.appendContextPath(e.data.contextPath,e.ids[0])+"."),o.isFunction(t)&&(t=t.call(this)),e.data&&(l=o.createFrame(e.data)),t&&"object"==typeof t)if(o.isArray(t))for(var f=t.length;s<f;s++)s in t&&n(s,s,s===t.length-1);else{var d=void 0;for(var p in t)t.hasOwnProperty(p)&&(void 0!==d&&n(d,s-1),d=p,s++);void 0!==d&&n(d,s-1,!0)}return 0===s&&(u=i(this)),u})},t.exports=e["default"]},69:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(7),i=r(o);e["default"]=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new i["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e["default"]},70:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("if",function(t,e){return r.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||r.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,n){return t.helpers["if"].call(this,e,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},t.exports=e["default"]},71:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("log",function(){for(var e=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)e.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),e[0]=o,t.log.apply(t,e)})},t.exports=e["default"]},72:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("lookup",function(t,e){return t&&t[e]})},t.exports=e["default"]},73:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("with",function(t,e){r.isFunction(t)&&(t=t.call(this));var n=e.fn;if(r.isEmpty(t))return e.inverse(this);var o=e.data;return e.data&&e.ids&&(o=r.createFrame(e.data),o.contextPath=r.appendContextPath(e.data.contextPath,e.ids[0])),n(t,{data:o,blockParams:r.blockParams([t],[o&&o.contextPath])})})},t.exports=e["default"]},74:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=r.indexOf(o.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=o.lookupLevel(t),"undefined"!=typeof console&&o.lookupLevel(o.level)<=t){var e=o.methodMap[t];console[e]||(e="log");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];console[e].apply(console,r)}}};e["default"]=o,t.exports=e["default"]},75:function(t,e){(function(n){"use strict";e.__esModule=!0,e["default"]=function(t){var e="undefined"!=typeof n?n:window,r=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=r),t}},t.exports=e["default"]}).call(e,function(){return this}())},76:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){var e=t&&t[0]||1,n=g.COMPILER_REVISION;if(e!==n){if(e<n){var r=g.REVISION_CHANGES[n],o=g.REVISION_CHANGES[e];throw new m["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new m["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}}function a(t,e){function n(n,r,o){o.hash&&(r=h.extend({},r,o.hash),o.ids&&(o.ids[0]=!0)),n=e.VM.resolvePartial.call(this,n,r,o);var i=e.VM.invokePartial.call(this,n,r,o);if(null==i&&e.compile&&(o.partials[o.name]=e.compile(n,t.compilerOptions,e),i=o.partials[o.name](r,o)),null!=i){if(o.indent){for(var a=i.split("\n"),s=0,u=a.length;s<u&&(a[s]||s+1!==u);s++)a[s]=o.indent+a[s];i=a.join("\n")}return i}throw new m["default"]("The partial "+o.name+" could not be compiled when running in runtime-only mode")}function r(e){function n(e){return""+t.main(o,e,o.helpers,o.partials,a,u,s)}var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=i.data;r._setup(i),!i.partial&&t.useData&&(a=f(e,a));var s=void 0,u=t.useBlockParams?[]:void 0;return t.useDepths&&(s=i.depths?e!==i.depths[0]?[e].concat(i.depths):i.depths:[e]),(n=d(t.main,n,o,i.depths||[],a,u))(e,i)}if(!e)throw new m["default"]("No environment passed to template");if(!t||!t.main)throw new m["default"]("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var o={strict:function(t,e){if(!(e in t))throw new m["default"]('"'+e+'" not defined in '+t);return t[e]},lookup:function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]&&null!=t[r][e])return t[r][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:h.escapeExpression,invokePartial:n,fn:function(e){var n=t[e];return n.decorator=t[e+"_d"],n},programs:[],program:function(t,e,n,r,o){var i=this.programs[t],a=this.fn(t);return e||o||r||n?i=s(this,t,a,e,n,r,o):i||(i=this.programs[t]=s(this,t,a)),i},data:function(t,e){for(;t&&e--;)t=t._parent;return t},merge:function(t,e){var n=t||e;return t&&e&&t!==e&&(n=h.extend({},e,t)),n},noop:e.VM.noop,compilerInfo:t.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(o.helpers=n.helpers,o.partials=n.partials,o.decorators=n.decorators):(o.helpers=o.merge(n.helpers,e.helpers),t.usePartial&&(o.partials=o.merge(n.partials,e.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=o.merge(n.decorators,e.decorators)))},r._child=function(e,n,r,i){if(t.useBlockParams&&!r)throw new m["default"]("must pass block params");if(t.useDepths&&!i)throw new m["default"]("must pass parent depths");return s(o,e,t[e],n,0,r,i)},r}function s(t,e,n,r,o,i,a){function s(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return a&&e!==a[0]&&(s=[e].concat(a)),n(t,e,t.helpers,t.partials,o.data||r,i&&[o.blockParams].concat(i),s)}return s=d(n,s,t,a,r,i),s.program=e,s.depth=a?a.length:0,s.blockParams=o||0,s}function u(t,e,n){return t?t.call||n.name||(n.name=t,t=n.partials[t]):t="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],t}function l(t,e,n){n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var r=void 0;if(n.fn&&n.fn!==c&&(n.data=g.createFrame(n.data),r=n.data["partial-block"]=n.fn,r.partials&&(n.partials=h.extend({},n.partials,r.partials))),void 0===t&&r&&(t=r),void 0===t)throw new m["default"]("The partial "+n.name+" could not be found");if(t instanceof Function)return t(e,n)}function c(){return""}function f(t,e){return e&&"root"in e||(e=e?g.createFrame(e):{},e.root=t),e}function d(t,e,n,r,o,i){if(t.decorator){var a={};e=t.decorator(e,a,n,r&&r[0],o,i,r),h.extend(e,a)}return e}e.__esModule=!0,e.checkRevision=i,e.template=a,e.wrapProgram=s,e.resolvePartial=u,e.invokePartial=l,e.noop=c;var p=n(3),h=o(p),v=n(7),m=r(v),g=n(29)},77:function(t,e){"use strict";function n(t){this.string=t}e.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},e["default"]=n,t.exports=e["default"]},87:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f=n(96),d=n(25),p=function(){function t(e){var n=this;(0,s["default"])(this,t),this.defaults={isModal:!0,template:f,title:"",text:"",buttons:[{text:"好",handler:function(){n.hide()}}]},this.settings=(0,i["default"])({},this.defaults,e);var r=this.settings.template({title:this.settings.title,text:this.settings.text,buttons:this.settings.buttons});this.elem=c(r);var o=this.elem.find(".button-group").children(),a=this;o.each(function(t){c(this).click(a.settings.buttons[t].handler.bind(a))}),this.overlay=new d({clickToClose:!1})}return(0,l["default"])(t,[{key:"show",value:function(){this.overlay.show(),0===this.elem.parent().length&&this.elem.appendTo("body"),this.elem.css({left:(c(window).width()-this.elem.outerWidth())/2,top:(c(window).height()-this.elem.outerHeight())/2+c(window).scrollTop()}).show().addClass("animation-target")}},{key:"hide",value:function(){this.overlay.hide(),this.elem.detach()}}]),t}();c.extend(p,{alert:function(t,e){var n=new p({text:t,title:e});n.show()},confirm:function(t,e,n){var r=new p({text:t,title:e,buttons:[{text:"取消",handler:function(){this.hide()}},{text:"好",handler:n||c.noop}]});r.show()}}),t.exports=p},96:function(t,e,n){var r=n(37);t.exports=(r["default"]||r).template({1:function(t,e,n,r,o){var i;return' <a href="javascript:void(0);" class="modal-button">'+t.escapeExpression((i=null!=(i=n.text||(null!=e?e.text:e))?i:n.helperMissing,"function"==typeof i?i.call(null!=e?e:{},{name:"text",hash:{},data:o}):i))+"</a>\n"},compiler:[7,">= 4.0.0"],main:function(t,e,n,r,o){var i,a,s=null!=e?e:{},u=n.helperMissing,l="function",c=t.escapeExpression;return'<div class="modal">\n <h2>'+c((a=null!=(a=n.title||(null!=e?e.title:e))?a:u,typeof a===l?a.call(s,{name:"title",hash:{},data:o}):a))+"</h2>\n <p>"+c((a=null!=(a=n.text||(null!=e?e.text:e))?a:u,typeof a===l?a.call(s,{name:"text",hash:{},data:o}):a))+'</p>\n <hr>\n <div class="button-group">\n'+(null!=(i=n.each.call(s,null!=e?e.buttons:e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o}))?i:"")+" </div>\n</div>\n"},useData:!0})},187:function(t,e,n){"use strict";var r=n(1),o=n(4),i=n(87);t.exports={data:function(){return{page:0,limit:10,type:this.$parent.$data.type,orderList:[],busy:!1}},ready:function(){this.getOrderData()},methods:{getOrderData:function(){var t=this,e=this;this.busy=!0,r.ajax({url:"/home/get-orders",data:{page:++this.page,limit:this.limit,type:this.type}}).then(function(n){200===n.code&&(n.isend?e.busy=!0:e.busy=!1,n.data.orderList.length>0&&t.$set("orderList",n.data.orderList))}).fail(function(){o("网络错误")})},cancelOrder:function(t){i.confirm("订单取消后不能恢复,确认取消订单吗?","",function(){r.ajax({url:"/home/cancel-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.reload():o(t.message)}).fail(function(){o("操作失敗")})})},deleteOrder:function(t,e){var n=this;i.confirm("确认删除订单?","",function(){r.ajax({url:"/home/delete-order",type:"post",data:{orderCode:t.orderCode}}).then(function(t){200===t.code?n.$el.querySelectorAll(".order-item")[e].remove():o(t.message)}).fail(function(){o("操作失敗")})})},confirmGoods:function(t){r.ajax({url:"/home/confirm-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.reload():o(t.message)}).fail(function(){o("操作失敗")})},goBuy:function(){location.href=""},seeExpress:function(){location.href=""}}}},240:function(t,e){},273:function(t,e){t.exports=' <ul v-infinite-scroll=getOrderData() infinite-scroll-disabled=busy infinite-scroll-distance=10> <li class=order-item v-for="(index, order) in orderList"> <div class=order-detail> <div class=order-code> <p>订单号:{{order.orderCode}}</p> <p>{{order.status | convertOrderState}}</p> </div> <div class=order-goods> <div class=goods-info v-for="goods in order.orderGoods"> <div class=img-box> <img v-bind:src="goods.goodsImage | resize 49 65" alt={{goods.productName}}> </div> <div class=goods-detail> <p class=name>{{goods.productName}}</p> <p class=size> <span>颜色:{{goods.colorName}}</span> <span>尺码:{{goods.sizeName}}</span> </p> </div> <div class=goods-price> <p>&yen; {{goods.goodsPrice}}</p> <p>×{{goods.buyNumber}}</p> </div> <a href="/home/order-detail?orderCode={{order.orderCode}}"></a> </div> </div> <div class=order-option> <div class=goods-total>合计: <b>&yen;{{order.amount}}</b></div> <div class=options> <button v-if="order.status === 0" @click=cancelOrder(order.orderCode)>取消订单</button> <button v-if="order.status === 0 " class=countdown @click=goBuy()>去支付 11:58:12</button> <button v-if="order.status === 4 || order.status === 5 ">查看物流</button> <button v-if="order.status === 4 || order.status === 5 " class=black @click=confirmGoods(order.orderCode)>确认收货</button> <button v-if="order.status === 6" @click=deleteOrder(order,index)>删除订单</button> <button v-if="order.status === 6" class=normal>再次购买</button> </div> </div> </div> </li> </ul> '},307:function(t,e,n){var r,o;n(240),r=n(187),o=n(273),t.exports=r||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)}});  
  1 +webpackJsonp([3],{0:function(t,e,n){"use strict";var r=n(2),o=n(308),i=n(50);r.use(i),n(6),new r({el:"#home-order-list",data:{type:document.getElementById("order-type").value},components:{Order:o}})},3:function(t,e){"use strict";function n(t){return c[t]}function r(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}function o(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function i(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return d.test(t)?t.replace(f,n):t}function a(t){return!t&&0!==t||!(!v(t)||0!==t.length)}function s(t){var e=r({},t);return e._parent=t,e}function u(t,e){return t.path=e,t}function l(t,e){return(t?t+".":"")+e}e.__esModule=!0,e.extend=r,e.indexOf=o,e.escapeExpression=i,e.isEmpty=a,e.createFrame=s,e.blockParams=u,e.appendContextPath=l;var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},f=/[&<>"'`=]/g,d=/[&<>"'`=]/,p=Object.prototype.toString;e.toString=p;var h=function(t){return"function"==typeof t};h(/x/)&&(e.isFunction=h=function(t){return"function"==typeof t&&"[object Function]"===p.call(t)}),e.isFunction=h;var v=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===p.call(t)};e.isArray=v},4:function(t,e,n){(function(e){"use strict";function n(t){var n=void 0,r={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(r,{txt:t}):e.extend(r,t);var o='<div class="tip-box"><div class="tip">'+r.txt+"</div></div>",i=e(".tip-box");i.length&&(n=i.data("timer"),clearTimeout(n),i.remove());var a=e(o).appendTo(document.body);a.data("timer",setTimeout(function(){a.remove()},r.delay))}t.exports=n}).call(e,n(1))},6:function(t,e,n){"use strict";var r=n(2);r.filter("resize",function(t,e,n,r){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var o={"{width}":e,"{height}":n,"{mode}":r||2};return o[t]}):""}),r.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),r.filter("brandUrl",function(t){return"/brand?domain="+t}),r.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),r.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),n=e.getFullYear()+"-",r=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",o=e.getDate()+" ",i=e.getHours()+":",a=e.getMinutes()+":",s=e.getSeconds();return n+r+o+i+a+s}})},7:function(t,e){"use strict";function n(t,e){var o=e&&e.loc,i=void 0,a=void 0;o&&(i=o.start.line,a=o.start.column,t+=" - "+i+":"+a);for(var s=Error.prototype.constructor.call(this,t),u=0;u<r.length;u++)this[r[u]]=s[r[u]];Error.captureStackTrace&&Error.captureStackTrace(this,n),o&&(this.lineNumber=i,this.column=a)}e.__esModule=!0;var r=["description","fileName","lineNumber","message","name","number","stack"];n.prototype=new Error,e["default"]=n,t.exports=e["default"]},8:function(t,e,n){t.exports=!n(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},9:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},11:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},12:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},13:function(t,e,n){var r=n(33),o=n(47),i=n(43),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},14:function(t,e,n){var r=n(26),o=n(21);t.exports=function(t){return r(o(t))}},15:function(t,e,n){t.exports={"default":n(52),__esModule:!0}},16:function(t,e,n){var r=n(9),o=n(10),i=n(56),a=n(22),s="prototype",u=function(t,e,n){var l,c,f,d=t&u.F,p=t&u.G,h=t&u.S,v=t&u.P,m=t&u.B,g=t&u.W,b=p?o:o[e]||(o[e]={}),y=b[s],x=p?r:h?r[e]:(r[e]||{})[s];p&&(n=e);for(l in n)c=!d&&x&&void 0!==x[l],c&&l in b||(f=c?x[l]:n[l],b[l]=p&&"function"!=typeof x[l]?n[l]:m&&c?i(f,r):g&&x[l]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((b.virtual||(b.virtual={}))[l]=f,t&u.R&&y&&!y[l]&&a(y,l,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},17:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},19:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},20:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(51),i=r(o);e["default"]=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i["default"])(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},21:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},22:function(t,e,n){var r=n(13),o=n(35);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},23:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},25:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f={none:{"in":"overlay-in",out:"overlay-out"},fade:{"in":"overlay-fade-in",out:"overlay-fade-out"}},d=function(){function t(e){var n=this;(0,s["default"])(this,t),this.isVisible=!1,this.defaults={className:"overlay",clickToClose:!0,onClose:c.noop,animation:"fade",disableScrolling:!0},this.settings=(0,i["default"])({},this.defaults,e),this.settings.animationClasses={"in":f[this.settings.animation]["in"],out:f[this.settings.animation].out},this.elem=c("<div/>",{"class":this.settings.className}),this.elem.click(function(){n.settings.clickToClose&&n.hide()}),this.settings.disableScrolling&&c(window).on("touchmove",function(t){n.isVisible&&t.preventDefault()})}return(0,l["default"])(t,[{key:"_clearStylesClasses",value:function(){this.elem.removeClass(this.settings.animationClasses["in"]).removeClass(this.settings.animationClasses.out)}},{key:"_cleanupListener",value:function(){this.elem.css({visibility:"hidden"}),this._clearStylesClasses(),this.isVisible=!1,this.elem.detach(),this.elem[0].removeEventListener("webkitTransitionEnd",this._cleanupListener)}},{key:"show",value:function(){0!==this.elem.parent().length||this.isVisible||(this.elem.appendTo("body"),this._clearStylesClasses(),this.elem.css({visibility:"visible"}).show().addClass(this.settings.animationClasses["in"]),this.settings.disableScrolling&&c("body").css({overflow:"hidden"}),this.isVisible=!0)}},{key:"hide",value:function(){var t=this;this.isVisible&&(this._clearStylesClasses(),this.elem[0].addEventListener("webkitTransitionEnd",this._cleanupListener.bind(this)),this.elem.addClass(this.settings.animationClasses.out),this.settings.disableScrolling&&c("body").css({overflow:"auto"}),setTimeout(function(){t._cleanupListener()},100),this.settings.onClose())}}]),t}();t.exports=d},26:function(t,e,n){var r=n(45);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},27:function(t,e,n){var r=n(48),o=n(39);t.exports=Object.keys||function(t){return r(t,o)}},29:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},u.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}e.__esModule=!0,e.HandlebarsEnvironment=o;var i=n(3),a=n(7),s=r(a),u=n(66),l=n(64),c=n(74),f=r(c),d="4.0.5";e.VERSION=d;var p=7;e.COMPILER_REVISION=p;var h={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};e.REVISION_CHANGES=h;var v="[object Object]";o.prototype={constructor:o,logger:f["default"],log:f["default"].log,registerHelper:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple helpers");i.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if(i.toString.call(t)===v)i.extend(this.partials,t);else{if("undefined"==typeof e)throw new s["default"]('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple decorators");i.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var m=f["default"].log;e.log=m,e.createFrame=i.createFrame,e.logger=f["default"]},33:function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},34:function(t,e){e.f={}.propertyIsEnumerable},35:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},36:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},37:function(t,e,n){t.exports=n(63)["default"]},39:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},40:function(t,e){e.f=Object.getOwnPropertySymbols},41:function(t,e,n){var r=n(42)("keys"),o=n(36);t.exports=function(t){return r[t]||(r[t]=o(t))}},42:function(t,e,n){var r=n(9),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},43:function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},45:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},46:function(t,e,n){var r=n(12),o=n(9).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},47:function(t,e,n){t.exports=!n(8)&&!n(11)(function(){return 7!=Object.defineProperty(n(46)("div"),"a",{get:function(){return 7}}).a})},48:function(t,e,n){var r=n(17),o=n(14),i=n(55)(!1),a=n(41)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(l,n)||l.push(n));return l}},49:function(t,e,n){var r=n(21);t.exports=function(t){return Object(r(t))}},51:function(t,e,n){t.exports={"default":n(53),__esModule:!0}},52:function(t,e,n){n(60),t.exports=n(10).Object.assign},53:function(t,e,n){n(61);var r=n(10).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},54:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},55:function(t,e,n){var r=n(14),o=n(59),i=n(58);t.exports=function(t){return function(e,n,a){var s,u=r(e),l=o(u.length),c=i(a,l);if(t&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},56:function(t,e,n){var r=n(54);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},57:function(t,e,n){"use strict";var r=n(27),o=n(40),i=n(34),a=n(49),s=n(26),u=Object.assign;t.exports=!u||n(11)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,c=o.f,f=i.f;u>l;)for(var d,p=s(arguments[l++]),h=c?r(p).concat(c(p)):r(p),v=h.length,m=0;v>m;)f.call(p,d=h[m++])&&(n[d]=p[d]);return n}:u},58:function(t,e,n){var r=n(23),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},59:function(t,e,n){var r=n(23),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},60:function(t,e,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(57)})},61:function(t,e,n){var r=n(16);r(r.S+r.F*!n(8),"Object",{defineProperty:n(13).f})},63:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(){var t=new s.HandlebarsEnvironment;return p.extend(t,s),t.SafeString=l["default"],t.Exception=f["default"],t.Utils=p,t.escapeExpression=p.escapeExpression,t.VM=v,t.template=function(e){return v.template(e,t)},t}e.__esModule=!0;var a=n(29),s=o(a),u=n(77),l=r(u),c=n(7),f=r(c),d=n(3),p=o(d),h=n(76),v=o(h),m=n(75),g=r(m),b=i();b.create=i,g["default"](b),b["default"]=b,e["default"]=b,t.exports=e["default"]},64:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t)}e.__esModule=!0,e.registerDefaultDecorators=o;var i=n(65),a=r(i)},65:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerDecorator("inline",function(t,e,n,o){var i=t;return e.partials||(e.partials={},i=function(o,i){var a=n.partials;n.partials=r.extend({},a,e.partials);var s=t(o,i);return n.partials=a,s}),e.partials[o.args[0]]=o.fn,i})},t.exports=e["default"]},66:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t),u["default"](t),c["default"](t),d["default"](t),h["default"](t),m["default"](t),b["default"](t)}e.__esModule=!0,e.registerDefaultHelpers=o;var i=n(67),a=r(i),s=n(68),u=r(s),l=n(69),c=r(l),f=n(70),d=r(f),p=n(71),h=r(p),v=n(72),m=r(v),g=n(73),b=r(g)},67:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("blockHelperMissing",function(e,n){var o=n.inverse,i=n.fn;if(e===!0)return i(this);if(e===!1||null==e)return o(this);if(r.isArray(e))return e.length>0?(n.ids&&(n.ids=[n.name]),t.helpers.each(e,n)):o(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(e,n)})},t.exports=e["default"]},68:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(3),i=n(7),a=r(i);e["default"]=function(t){t.registerHelper("each",function(t,e){function n(e,n,i){l&&(l.key=e,l.index=n,l.first=0===n,l.last=!!i,c&&(l.contextPath=c+e)),u+=r(t[e],{data:l,blockParams:o.blockParams([t[e],e],[c+e,null])})}if(!e)throw new a["default"]("Must pass iterator to #each");var r=e.fn,i=e.inverse,s=0,u="",l=void 0,c=void 0;if(e.data&&e.ids&&(c=o.appendContextPath(e.data.contextPath,e.ids[0])+"."),o.isFunction(t)&&(t=t.call(this)),e.data&&(l=o.createFrame(e.data)),t&&"object"==typeof t)if(o.isArray(t))for(var f=t.length;s<f;s++)s in t&&n(s,s,s===t.length-1);else{var d=void 0;for(var p in t)t.hasOwnProperty(p)&&(void 0!==d&&n(d,s-1),d=p,s++);void 0!==d&&n(d,s-1,!0)}return 0===s&&(u=i(this)),u})},t.exports=e["default"]},69:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(7),i=r(o);e["default"]=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new i["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e["default"]},70:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("if",function(t,e){return r.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||r.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,n){return t.helpers["if"].call(this,e,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},t.exports=e["default"]},71:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("log",function(){for(var e=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)e.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),e[0]=o,t.log.apply(t,e)})},t.exports=e["default"]},72:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("lookup",function(t,e){return t&&t[e]})},t.exports=e["default"]},73:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("with",function(t,e){r.isFunction(t)&&(t=t.call(this));var n=e.fn;if(r.isEmpty(t))return e.inverse(this);var o=e.data;return e.data&&e.ids&&(o=r.createFrame(e.data),o.contextPath=r.appendContextPath(e.data.contextPath,e.ids[0])),n(t,{data:o,blockParams:r.blockParams([t],[o&&o.contextPath])})})},t.exports=e["default"]},74:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=r.indexOf(o.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=o.lookupLevel(t),"undefined"!=typeof console&&o.lookupLevel(o.level)<=t){var e=o.methodMap[t];console[e]||(e="log");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];console[e].apply(console,r)}}};e["default"]=o,t.exports=e["default"]},75:function(t,e){(function(n){"use strict";e.__esModule=!0,e["default"]=function(t){var e="undefined"!=typeof n?n:window,r=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=r),t}},t.exports=e["default"]}).call(e,function(){return this}())},76:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){var e=t&&t[0]||1,n=g.COMPILER_REVISION;if(e!==n){if(e<n){var r=g.REVISION_CHANGES[n],o=g.REVISION_CHANGES[e];throw new m["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new m["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}}function a(t,e){function n(n,r,o){o.hash&&(r=h.extend({},r,o.hash),o.ids&&(o.ids[0]=!0)),n=e.VM.resolvePartial.call(this,n,r,o);var i=e.VM.invokePartial.call(this,n,r,o);if(null==i&&e.compile&&(o.partials[o.name]=e.compile(n,t.compilerOptions,e),i=o.partials[o.name](r,o)),null!=i){if(o.indent){for(var a=i.split("\n"),s=0,u=a.length;s<u&&(a[s]||s+1!==u);s++)a[s]=o.indent+a[s];i=a.join("\n")}return i}throw new m["default"]("The partial "+o.name+" could not be compiled when running in runtime-only mode")}function r(e){function n(e){return""+t.main(o,e,o.helpers,o.partials,a,u,s)}var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=i.data;r._setup(i),!i.partial&&t.useData&&(a=f(e,a));var s=void 0,u=t.useBlockParams?[]:void 0;return t.useDepths&&(s=i.depths?e!==i.depths[0]?[e].concat(i.depths):i.depths:[e]),(n=d(t.main,n,o,i.depths||[],a,u))(e,i)}if(!e)throw new m["default"]("No environment passed to template");if(!t||!t.main)throw new m["default"]("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var o={strict:function(t,e){if(!(e in t))throw new m["default"]('"'+e+'" not defined in '+t);return t[e]},lookup:function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]&&null!=t[r][e])return t[r][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:h.escapeExpression,invokePartial:n,fn:function(e){var n=t[e];return n.decorator=t[e+"_d"],n},programs:[],program:function(t,e,n,r,o){var i=this.programs[t],a=this.fn(t);return e||o||r||n?i=s(this,t,a,e,n,r,o):i||(i=this.programs[t]=s(this,t,a)),i},data:function(t,e){for(;t&&e--;)t=t._parent;return t},merge:function(t,e){var n=t||e;return t&&e&&t!==e&&(n=h.extend({},e,t)),n},noop:e.VM.noop,compilerInfo:t.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(o.helpers=n.helpers,o.partials=n.partials,o.decorators=n.decorators):(o.helpers=o.merge(n.helpers,e.helpers),t.usePartial&&(o.partials=o.merge(n.partials,e.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=o.merge(n.decorators,e.decorators)))},r._child=function(e,n,r,i){if(t.useBlockParams&&!r)throw new m["default"]("must pass block params");if(t.useDepths&&!i)throw new m["default"]("must pass parent depths");return s(o,e,t[e],n,0,r,i)},r}function s(t,e,n,r,o,i,a){function s(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return a&&e!==a[0]&&(s=[e].concat(a)),n(t,e,t.helpers,t.partials,o.data||r,i&&[o.blockParams].concat(i),s)}return s=d(n,s,t,a,r,i),s.program=e,s.depth=a?a.length:0,s.blockParams=o||0,s}function u(t,e,n){return t?t.call||n.name||(n.name=t,t=n.partials[t]):t="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],t}function l(t,e,n){n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var r=void 0;if(n.fn&&n.fn!==c&&(n.data=g.createFrame(n.data),r=n.data["partial-block"]=n.fn,r.partials&&(n.partials=h.extend({},n.partials,r.partials))),void 0===t&&r&&(t=r),void 0===t)throw new m["default"]("The partial "+n.name+" could not be found");if(t instanceof Function)return t(e,n)}function c(){return""}function f(t,e){return e&&"root"in e||(e=e?g.createFrame(e):{},e.root=t),e}function d(t,e,n,r,o,i){if(t.decorator){var a={};e=t.decorator(e,a,n,r&&r[0],o,i,r),h.extend(e,a)}return e}e.__esModule=!0,e.checkRevision=i,e.template=a,e.wrapProgram=s,e.resolvePartial=u,e.invokePartial=l,e.noop=c;var p=n(3),h=o(p),v=n(7),m=r(v),g=n(29)},77:function(t,e){"use strict";function n(t){this.string=t}e.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},e["default"]=n,t.exports=e["default"]},87:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f=n(96),d=n(25),p=function(){function t(e){var n=this;(0,s["default"])(this,t),this.defaults={isModal:!0,template:f,title:"",text:"",buttons:[{text:"好",handler:function(){n.hide()}}]},this.settings=(0,i["default"])({},this.defaults,e);var r=this.settings.template({title:this.settings.title,text:this.settings.text,buttons:this.settings.buttons});this.elem=c(r);var o=this.elem.find(".button-group").children(),a=this;o.each(function(t){c(this).click(a.settings.buttons[t].handler.bind(a))}),this.overlay=new d({clickToClose:!1})}return(0,l["default"])(t,[{key:"show",value:function(){this.overlay.show(),0===this.elem.parent().length&&this.elem.appendTo("body"),this.elem.css({left:(c(window).width()-this.elem.outerWidth())/2,top:(c(window).height()-this.elem.outerHeight())/2+c(window).scrollTop()}).show().addClass("animation-target")}},{key:"hide",value:function(){this.overlay.hide(),this.elem.detach()}}]),t}();c.extend(p,{alert:function(t,e){var n=new p({text:t,title:e});n.show()},confirm:function(t,e,n){var r=new p({text:t,title:e,buttons:[{text:"取消",handler:function(){this.hide()}},{text:"好",handler:n||c.noop}]});r.show()}}),t.exports=p},96:function(t,e,n){var r=n(37);t.exports=(r["default"]||r).template({1:function(t,e,n,r,o){var i;return' <a href="javascript:void(0);" class="modal-button">'+t.escapeExpression((i=null!=(i=n.text||(null!=e?e.text:e))?i:n.helperMissing,"function"==typeof i?i.call(null!=e?e:{},{name:"text",hash:{},data:o}):i))+"</a>\n"},compiler:[7,">= 4.0.0"],main:function(t,e,n,r,o){var i,a,s=null!=e?e:{},u=n.helperMissing,l="function",c=t.escapeExpression;return'<div class="modal">\n <h2>'+c((a=null!=(a=n.title||(null!=e?e.title:e))?a:u,typeof a===l?a.call(s,{name:"title",hash:{},data:o}):a))+"</h2>\n <p>"+c((a=null!=(a=n.text||(null!=e?e.text:e))?a:u,typeof a===l?a.call(s,{name:"text",hash:{},data:o}):a))+'</p>\n <hr>\n <div class="button-group">\n'+(null!=(i=n.each.call(s,null!=e?e.buttons:e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o}))?i:"")+" </div>\n</div>\n"},useData:!0})},187:function(t,e,n){"use strict";var r=n(1),o=n(4),i=n(87);t.exports={data:function(){return{page:0,limit:10,type:this.$parent.$data.type,orderList:[],busy:!1}},ready:function(){this.getOrderData()},methods:{getOrderData:function(){var t=this,e=this;this.busy=!0,r.ajax({url:"/home/get-orders",data:{page:++this.page,limit:this.limit,type:this.type}}).then(function(n){200===n.code&&(n.isend?e.busy=!0:e.busy=!1,n.data.orderList.length>0&&t.$set("orderList",n.data.orderList))}).fail(function(){o("网络错误")})},cancelOrder:function(t){i.confirm("订单取消后不能恢复,确认取消订单吗?","",function(){r.ajax({url:"/home/cancel-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.reload():o(t.message)}).fail(function(){o("操作失敗")})})},deleteOrder:function(t,e){var n=this;i.confirm("确认删除订单?","",function(){r.ajax({url:"/home/delete-order",type:"post",data:{orderCode:t.orderCode}}).then(function(t){200===t.code?n.$el.querySelectorAll(".order-item")[e].remove():o(t.message)}).fail(function(){o("操作失敗")})})},confirmGoods:function(t){r.ajax({url:"/home/confirm-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.reload():o(t.message)}).fail(function(){o("操作失敗")})},goBuy:function(){location.href=""},seeExpress:function(){location.href=""}}}},241:function(t,e){},274:function(t,e){t.exports=' <ul v-infinite-scroll=getOrderData() infinite-scroll-disabled=busy infinite-scroll-distance=10> <li class=order-item v-for="(index, order) in orderList"> <div class=order-detail> <div class=order-code> <p>订单号:{{order.orderCode}}</p> <p>{{order.status | convertOrderState}}</p> </div> <div class=order-goods> <div class=goods-info v-for="goods in order.orderGoods"> <div class=img-box> <img v-bind:src="goods.goodsImage | resize 49 65" alt={{goods.productName}}> </div> <div class=goods-detail> <p class=name>{{goods.productName}}</p> <p class=size> <span>颜色:{{goods.colorName}}</span> <span>尺码:{{goods.sizeName}}</span> </p> </div> <div class=goods-price> <p>&yen; {{goods.goodsPrice}}</p> <p>×{{goods.buyNumber}}</p> </div> <a href="/home/order-detail?orderCode={{order.orderCode}}"></a> </div> </div> <div class=order-option> <div class=goods-total>合计: <b>&yen;{{order.amount}}</b></div> <div class=options> <button v-if="order.status === 0" @click=cancelOrder(order.orderCode)>取消订单</button> <button v-if="order.status === 0 " class=countdown @click=goBuy()>去支付 11:58:12</button> <button v-if="order.status === 4 || order.status === 5 ">查看物流</button> <button v-if="order.status === 4 || order.status === 5 " class=black @click=confirmGoods(order.orderCode)>确认收货</button> <button v-if="order.status === 6" @click=deleteOrder(order,index)>删除订单</button> <button v-if="order.status === 6" class=normal>再次购买</button> </div> </div> </div> </li> </ul> '},308:function(t,e,n){var r,o;n(241),r=n(187),o=n(274),t.exports=r||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)}});
1 -webpackJsonp([10],{0:function(t,e,o){"use strict";var n=o(2),a=o(18),r=o(308);o(6),n.use(a),new n({el:"#refund",components:{refund:r}})},6:function(t,e,o){"use strict";var n=o(2);n.filter("resize",function(t,e,o,n){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var a={"{width}":e,"{height}":o,"{mode}":n||2};return a[t]}):""}),n.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),n.filter("brandUrl",function(t){return"/brand?domain="+t}),n.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),n.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),o=e.getFullYear()+"-",n=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",a=e.getDate()+" ",r=e.getHours()+":",i=e.getMinutes()+":",s=e.getSeconds();return o+n+a+r+i+s}})},10:function(t,e){var o=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=o)},119:function(t,e,o){(function(e){"use strict";t.exports={props:["imageList","bucket"],data:function(){return{inputId:"input-"+Math.floor(999999999*Math.random())}},methods:{upload:function(t){var o=this,n=new FormData(this.$els.form);n.append("bucket",this.bucket||""),e.ajax({method:"POST",url:"/api/upload/image",data:n,processData:!1,contentType:!1}).then(function(e){t.target.value="",200===e.code?e.data.imagesList.forEach(function(t){o.imageList.push(t)}):alert(e.message)})}}}}).call(e,o(1))},120:function(t,e,o){"use strict";var n=o(159);t.exports={props:["list","data"],computed:{checkedList:function(){return this.list.filter(function(t){return t.checked})}},components:{pruduct:n}}},121:function(t,e,o){"use strict";var n=o(160);t.exports={props:["product","refundData"],components:{reason:n}}},122:function(t,e,o){"use strict";var n=o(157),a=function(t){var e=t.split("/"),o=e[e.length-1].substr(1,1),n="static.yhbimg.com/goodsimg";return t=n+t,"1"===o?"//img11."+t:"//img12."+t};t.exports={props:["product","refundData"],computed:{returnReason:function(){return[{id:0,name:"请选择"}].concat(this.refundData.returnReason)},specialReturnReason:function(){var t=[];return this.refundData.specialReturnReason.forEach(function(e){t.push(e.id)}),t},imageListForShow:function(){var t=[];return this.product.imageList.forEach(function(e,o){t.push({index:o,path:a(e)+"?imageView2/2/w/160/h/160"})}),t}},methods:{showTip:function(){alert(this.refundData.specialNotice.remark)},deleteImage:function(t){this.product.imageList.splice(t,1)}},components:{upload:n}}},135:function(t,e){},136:function(t,e){},137:function(t,e){},138:function(t,e){},147:function(t,e){t.exports=' <div class=upload> <form v-el:form v-on:change=upload> <label class="label-input icon" for={{inputId}}> <input id={{inputId}} type=file name=filename> </label> </form> </div> '},148:function(t,e){t.exports=' <div> <div v-show=checkedList.length class="product-list product-list-checked"> <pruduct v-for="product in list" v-if=product.checked v-bind:product=product v-bind:refund-data=data></pruduct> </div> <div v-show="checkedList.length !== list.length" class=product-list> <pruduct v-for="product in list" v-if=!product.checked v-bind:product=product v-bind:refund-data=data></pruduct> </div> </div> '},149:function(t,e){t.exports=' <div class="product clearfix"> <div class=checkbox> <input type=checkbox v-model=product.checked id=checkbox-{{product.goodsId}}> <label for=checkbox-{{product.goodsId}}></label> </div> <img class=image v-bind:src="product.goodsImage | resize 100 130"> <div class=info> <div class=p-title> {{product.productName}}{{product.productName}}{{product.productName}}{{product.productName}} </div> <div class=meta> <span class=color>颜色: {{product.colorName}}</span> <span class=size>尺码: {{product.sizeName}}</span> </div> </div> <div class=price> &yen;{{product.lastPrice}} <p class=num> x1 </p> </div> </div> <reason v-bind:product=product v-bind:refund-data=refundData></reason> '},150:function(t,e){t.exports=' <div v-if=product.checked class=reason> <div v-if="product.isLimitSkn === \'Y\'" v-on:click=showTip class=tip> <span class="icon icon-love"></span> {{refundData.specialNotice.title}} </div> <div class=select-reason> 退货原因 <span class="icon icon-right"></span> <select v-model=product.reason.id name=reason> <option v-for="reason in returnReason" v-bind:value=reason.id selected="{{reason.id === product.reason.id}}">{{reason.name}}</option> </select> </div> <div class=remark> <textarea v-model=product.remark rows=3 max-length=100 placeholder=退货原因说明></textarea> </div> <div v-show="specialReturnReason.indexOf(product.reason.id) !== -1" class="image-list clearfix"> <div class=image-item v-for="image in imageListForShow"> <span v-on:click=deleteImage(image.index) class="icon icon-close"></span> <img v-bind:src=image.path> </div> <upload v-show="imageListForShow.length < 4" class=image-item v-bind:image-list=product.imageList></upload> </div> </div> '},157:function(t,e,o){var n,a;o(135),n=o(119),a=o(147),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),a&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=a)},158:function(t,e,o){var n,a;o(136),n=o(120),a=o(148),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),a&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=a)},159:function(t,e,o){var n,a;o(137),n=o(121),a=o(149),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),a&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=a)},160:function(t,e,o){var n,a;o(138),n=o(122),a=o(150),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),a&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=a)},188:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}var a=o(201),r=n(a),i=o(1),s=o(38),u=o(158);t.exports={data:function(){return{list:[],amount:{},refundData:{}}},computed:{submitData:function(){var t=this,e=[];return this.list.forEach(function(o){o.checked&&e.push({last_price:o.lastPrice,remark:o.remark||"",returned_reason:t.refundData.returnReason[o.reason.id].id+"",evidence_images:o.imageList||[],goods_type:o.goodsTypeId+"",product_skn:o.productSkn,product_skc:o.productSkc,product_sku:o.productSku})}),{order_code:s.orderId,goods:(0,r["default"])(e),payment:(0,r["default"])(this.amount)}}},created:function(){var t=this;i.ajax({url:"/home/refund/order",data:{orderId:s.orderId}}).then(function(e){e.data&&e.data.goodsList&&(e.data.goodsList.forEach(function(t){t.checked=!1,t.reason={id:0},t.imageList=[]}),e.data.returnAmountMode.forEach(function(e){"Y"===e.isDefault&&t.$set("amount.return_amount_mode",e.id)}),t.list=e.data.goodsList,t.refundData=e.data)})},methods:{checkSubmitData:function(){var t=this.submitData;return!!t.order_code&&(!!(2!==this.amount.return_amount_mode||this.amount.bank_name&&this.amount.bank_card&&this.amount.payee_name)&&!!(3!==this.amount.return_amount_mode||this.amount.alipay_account&&this.amount.alipay_name))},submit:function(){this.checkSubmitData()||alert("请填写完整退换货信息"),i.ajax({method:"POST",url:"/home/refund/submit",data:this.submitData}).then(function(t){200===t.code?console.log(t):alert(t.message)})}},components:{productList:u}}},201:function(t,e,o){t.exports={"default":o(205),__esModule:!0}},205:function(t,e,o){var n=o(10),a=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return a.stringify.apply(a,arguments)}},241:function(t,e){},274:function(t,e){t.exports=' <div class=refund> <div class=title>请选择退货商品</div> <product-list v-bind:list=list v-bind:refund-data=refundData></product-list> <div class=return-amount> <div class=return-amount-item> 退款方法 <span class="icon icon-right"></span> <select v-model=amount.return_amount_mode name=amount-mode> <option v-for="mode in refundData.returnAmountMode" v-bind:value=mode.id>{{mode.name}}</option> </select> </div> <template v-if="amount.return_amount_mode === 2"> <div class=return-amount-item> <span class=name>银行</span> <input v-model=amount.bank_name type=text placeholder=请填写银行名称> </div> <div class=return-amount-item> <span class=name>卡号</span> <input v-model=amount.bank_card type=text placeholder=请填写银行卡卡号> </div> <div class=return-amount-item> <span class=name>姓名</span> <input v-model=amount.payee_name type=text placeholder=收款人姓名> </div> </template> <template v-if="amount.return_amount_mode === 3"> <div class=return-amount-item> <span class=name>帐号</span> <input v-model=amount.alipay_account type=text placeholder=请填写支付宝帐号> </div> <div class=return-amount-item> <span class=name>姓名</span> <input v-model=amount.alipay_name type=text placeholder=收款人姓名> </div> </template> </div> <div v-if=refundData.returnAmountInfo class=return-amount-info> {{refundData.returnAmountInfo}} </div> </div> '},308:function(t,e,o){var n,a;o(241),n=o(188),a=o(274),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),a&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=a)}});  
  1 +webpackJsonp([10],{0:function(t,e,o){"use strict";var n=o(2),a=o(18),r=o(309);o(6),n.use(a),new n({el:"#refund",components:{refund:r}})},6:function(t,e,o){"use strict";var n=o(2);n.filter("resize",function(t,e,o,n){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var a={"{width}":e,"{height}":o,"{mode}":n||2};return a[t]}):""}),n.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),n.filter("brandUrl",function(t){return"/brand?domain="+t}),n.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),n.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),o=e.getFullYear()+"-",n=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",a=e.getDate()+" ",r=e.getHours()+":",i=e.getMinutes()+":",s=e.getSeconds();return o+n+a+r+i+s}})},10:function(t,e){var o=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=o)},119:function(t,e,o){(function(e){"use strict";t.exports={props:["imageList","bucket"],data:function(){return{inputId:"input-"+Math.floor(999999999*Math.random())}},methods:{upload:function(t){var o=this,n=new FormData(this.$els.form);n.append("bucket",this.bucket||""),e.ajax({method:"POST",url:"/api/upload/image",data:n,processData:!1,contentType:!1}).then(function(e){t.target.value="",200===e.code?e.data.imagesList.forEach(function(t){o.imageList.push(t)}):alert(e.message)})}}}}).call(e,o(1))},120:function(t,e,o){"use strict";var n=o(159);t.exports={props:["list","data"],computed:{checkedList:function(){return this.list.filter(function(t){return t.checked})}},components:{pruduct:n}}},121:function(t,e,o){"use strict";var n=o(160);t.exports={props:["product","refundData"],components:{reason:n}}},122:function(t,e,o){"use strict";var n=o(157),a=function(t){var e=t.split("/"),o=e[e.length-1].substr(1,1),n="static.yhbimg.com/goodsimg";return t=n+t,"1"===o?"//img11."+t:"//img12."+t};t.exports={props:["product","refundData"],computed:{returnReason:function(){return[{id:0,name:"请选择"}].concat(this.refundData.returnReason)},specialReturnReason:function(){var t=[];return this.refundData.specialReturnReason.forEach(function(e){t.push(e.id)}),t},imageListForShow:function(){var t=[];return this.product.imageList.forEach(function(e,o){t.push({index:o,path:a(e)+"?imageView2/2/w/160/h/160"})}),t}},methods:{showTip:function(){alert(this.refundData.specialNotice.remark)},deleteImage:function(t){this.product.imageList.splice(t,1)}},components:{upload:n}}},135:function(t,e){},136:function(t,e){},137:function(t,e){},138:function(t,e){},147:function(t,e){t.exports=' <div class=upload> <form v-el:form v-on:change=upload> <label class="label-input icon" for={{inputId}}> <input id={{inputId}} type=file name=filename> </label> </form> </div> '},148:function(t,e){t.exports=' <div> <div v-show=checkedList.length class="product-list product-list-checked"> <pruduct v-for="product in list" v-if=product.checked v-bind:product=product v-bind:refund-data=data></pruduct> </div> <div v-show="checkedList.length !== list.length" class=product-list> <pruduct v-for="product in list" v-if=!product.checked v-bind:product=product v-bind:refund-data=data></pruduct> </div> </div> '},149:function(t,e){t.exports=' <div class="product clearfix"> <div class=checkbox> <input type=checkbox v-model=product.checked id=checkbox-{{product.goodsId}}> <label for=checkbox-{{product.goodsId}}></label> </div> <img class=image v-bind:src="product.goodsImage | resize 100 130"> <div class=info> <div class=p-title> {{product.productName}}{{product.productName}}{{product.productName}}{{product.productName}} </div> <div class=meta> <span class=color>颜色: {{product.colorName}}</span> <span class=size>尺码: {{product.sizeName}}</span> </div> </div> <div class=price> &yen;{{product.lastPrice}} <p class=num> x1 </p> </div> </div> <reason v-bind:product=product v-bind:refund-data=refundData></reason> '},150:function(t,e){t.exports=' <div v-if=product.checked class=reason> <div v-if="product.isLimitSkn === \'Y\'" v-on:click=showTip class=tip> <span class="icon icon-love"></span> {{refundData.specialNotice.title}} </div> <div class=select-reason> 退货原因 <span class="icon icon-right"></span> <select v-model=product.reason.id name=reason> <option v-for="reason in returnReason" v-bind:value=reason.id selected="{{reason.id === product.reason.id}}">{{reason.name}}</option> </select> </div> <div class=remark> <textarea v-model=product.remark rows=3 max-length=100 placeholder=退货原因说明></textarea> </div> <div v-show="specialReturnReason.indexOf(product.reason.id) !== -1" class="image-list clearfix"> <div class=image-item v-for="image in imageListForShow"> <span v-on:click=deleteImage(image.index) class="icon icon-close"></span> <img v-bind:src=image.path> </div> <upload v-show="imageListForShow.length < 4" class=image-item v-bind:image-list=product.imageList></upload> </div> </div> '},157:function(t,e,o){var n,a;o(135),n=o(119),a=o(147),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),a&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=a)},158:function(t,e,o){var n,a;o(136),n=o(120),a=o(148),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),a&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=a)},159:function(t,e,o){var n,a;o(137),n=o(121),a=o(149),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),a&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=a)},160:function(t,e,o){var n,a;o(138),n=o(122),a=o(150),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),a&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=a)},188:function(t,e,o){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}var a=o(201),r=n(a),i=o(1),s=o(38),u=o(158);t.exports={data:function(){return{list:[],amount:{},refundData:{}}},computed:{submitData:function(){var t=this,e=[];return this.list.forEach(function(o){o.checked&&e.push({last_price:o.lastPrice,remark:o.remark||"",returned_reason:t.refundData.returnReason[o.reason.id].id+"",evidence_images:o.imageList||[],goods_type:o.goodsTypeId+"",product_skn:o.productSkn,product_skc:o.productSkc,product_sku:o.productSku})}),{order_code:s.orderId,goods:(0,r["default"])(e),payment:(0,r["default"])(this.amount)}}},created:function(){var t=this;i.ajax({url:"/home/refund/order",data:{orderId:s.orderId}}).then(function(e){e.data&&e.data.goodsList&&(e.data.goodsList.forEach(function(t){t.checked=!1,t.reason={id:0},t.imageList=[]}),e.data.returnAmountMode.forEach(function(e){"Y"===e.isDefault&&t.$set("amount.return_amount_mode",e.id)}),t.list=e.data.goodsList,t.refundData=e.data)})},methods:{checkSubmitData:function(){var t=this.submitData;return!!t.order_code&&(!!(2!==this.amount.return_amount_mode||this.amount.bank_name&&this.amount.bank_card&&this.amount.payee_name)&&!!(3!==this.amount.return_amount_mode||this.amount.alipay_account&&this.amount.alipay_name))},submit:function(){this.checkSubmitData()||alert("请填写完整退换货信息"),i.ajax({method:"POST",url:"/home/refund/submit",data:this.submitData}).then(function(t){200===t.code?console.log(t):alert(t.message)})}},components:{productList:u}}},201:function(t,e,o){t.exports={"default":o(205),__esModule:!0}},205:function(t,e,o){var n=o(10),a=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return a.stringify.apply(a,arguments)}},242:function(t,e){},275:function(t,e){t.exports=' <div class=refund> <div class=title>请选择退货商品</div> <product-list v-bind:list=list v-bind:refund-data=refundData></product-list> <div class=return-amount> <div class=return-amount-item> 退款方法 <span class="icon icon-right"></span> <select v-model=amount.return_amount_mode name=amount-mode> <option v-for="mode in refundData.returnAmountMode" v-bind:value=mode.id>{{mode.name}}</option> </select> </div> <template v-if="amount.return_amount_mode === 2"> <div class=return-amount-item> <span class=name>银行</span> <input v-model=amount.bank_name type=text placeholder=请填写银行名称> </div> <div class=return-amount-item> <span class=name>卡号</span> <input v-model=amount.bank_card type=text placeholder=请填写银行卡卡号> </div> <div class=return-amount-item> <span class=name>姓名</span> <input v-model=amount.payee_name type=text placeholder=收款人姓名> </div> </template> <template v-if="amount.return_amount_mode === 3"> <div class=return-amount-item> <span class=name>帐号</span> <input v-model=amount.alipay_account type=text placeholder=请填写支付宝帐号> </div> <div class=return-amount-item> <span class=name>姓名</span> <input v-model=amount.alipay_name type=text placeholder=收款人姓名> </div> </template> </div> <div v-if=refundData.returnAmountInfo class=return-amount-info> {{refundData.returnAmountInfo}} </div> </div> '},309:function(t,e,o){var n,a;o(242),n=o(188),a=o(275),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),a&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=a)}});
1 @charset "utf-8"; 1 @charset "utf-8";
2 -/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}[hidden],template{display:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 1rem}hr{box-sizing:content-box;height:0;overflow:visible}button,input,select,textarea{font:inherit;margin:0}optgroup{font-weight:700}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 .05rem;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-.05rem}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.clearfix:after{content:'';display:block;clear:both}*,:after,:before{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}body,html{width:100%;font-size:.6rem;font-family:Helvetica,Roboto,Heiti SC,黑体,Arial;line-height:1.4}a{outline:none;color:#000;text-decoration:none}input{border:0}ol,ul{list-style:none}:focus{outline:none}.main-wrap{position:relative;margin-right:auto;margin-left:auto;width:100%;max-width:18.75rem}.text-center{text-align:center}.overflow-hidden{overflow:hidden;height:100%}.left,.right{float:right}.hide{display:none}.mr50{margin-right:1.25rem}.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all}.list{list-style:none;margin:0;padding:0;background-color:#fff}.list-item{position:relative;padding:.75rem}.list-item:after{content:"";position:absolute;left:.75rem;bottom:-1px;width:17.25rem;height:0;border-bottom:1px solid #eee;z-index:1}.list-item:last-of-type:after{display:none}@font-face{font-family:iconfont;src:url(../assets/font/iconfont.eot?vqs6e2&v15625c87f40);src:url(../assets/font/iconfont.eot?vqs6e2&v15625c87f40#iefix) format("embedded-opentype"),url(../assets/font/iconfont.ttf?vqs6e2&v15625c88ee0) format("truetype"),url(../assets/font/iconfont.woff?vqs6e2&v15625c892c8) format("woff"),url(../assets/font/iconfont.svg?vqs6e2&v15625c88af8#iconfont) format("svg");font-weight:400;font-style:normal}.icon{font-family:iconfont!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-x:before{content:"\e908"}.icon-delete:before{content:"\e600"}.icon-bag:before{content:"\e601"}.icon-down:before{content:"\e602"}.icon-check:before{content:"\e603"}.icon-love:before{content:"\e604"}.icon-close:before{content:"\e605"}.icon-left:before{content:"\e606"}.icon-right:before{content:"\e607"}.icon-search:before{content:"\e608"}.icon-love-solid:before{content:"\e609"}.icon-yoho-share:before{content:"\e60a"}.icon-filter:before{content:"\e60b"}.icon-focus:before{content:"\e60c"}.icon-focused:before{content:"\e60d"}.icon-share:before{content:"\e60e"}.icon-up:before{content:"\e617"}.icon-notdef:before{content:"\e900"}.icon-wait-cargo:before{content:"\e901"}.icon-wait-pay:before{content:"\e902"}.icon-send-cargo:before{content:"\e903"}.icon-refund-exchange:before{content:"\e904"}.icon-sort-asc:before{content:"\e905"}.icon-sort-desc:before{content:"\e906"}.tip-box{position:fixed;top:50%;left:50%;z-index:1001;transform:translate(-50%,-50%);display:table;max-width:90%;min-height:2.5rem;border-radius:.2rem;text-align:center;font-size:.7rem;color:#fff;background-color:rgba(0,0,0,.7);padding:.25rem .5rem}.tip-box .tip{display:table-cell;vertical-align:middle}.button{display:inline-block;min-width:7.75rem;min-height:2.5rem;border:1px solid #000;background:#fff;color:#000;font-size:.5rem;padding:0 .25rem;-webkit-appearance:button}.button.button-solid{background:#000;color:#fff}.button.button-solid:disabled{background:#b0b0b0;color:#fff}.button.button-round{border-radius:.1rem}.button.button-small{min-width:4.5rem;min-height:1.75rem}.button.button-large{min-width:17.5rem;min-height:2.5rem}.button:disabled{border:1px solid #b0b0b0;color:#b0b0b0}.swiper-container{position:relative;z-index:1;overflow:hidden;margin:0 auto}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column;-webkit-box-orient:vertical;-moz-box-orient:vertical}.swiper-wrapper{position:relative;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;box-sizing:content-box;width:100%;height:100%;-webkit-transition-property:-webkit-transform;transition-property:transform;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-lines:multiple;-moz-box-lines:multiple}.swiper-container-free-mode>.swiper-wrapper{margin:0 auto;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-slide{position:relative;-ms-flex:0 0 auto;flex-shrink:0;width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container .swiper-notification{position:absolute;top:0;left:0;z-index:-1000;opacity:0;pointer-events:none}.swiper-wp8-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;z-index:10;margin-top:-.55rem;width:.675rem;height:1.1rem;background-position:50%;background-size:.675rem 1.1rem;background-repeat:no-repeat;cursor:pointer}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{right:auto;left:.25rem;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23007aff'/%3E%3C/svg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z'/%3E%3C/svg%3E")}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:.25rem;left:auto;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23007aff'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-pagination{position:absolute;z-index:10;text-align:center;-webkit-transition:.3s;transition:.3s;-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-bullet{display:inline-block;width:.2rem;height:.2rem;border-radius:100%;background:#000;opacity:.2}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-white .swiper-pagination-bullet{background:#fff}.swiper-pagination-bullet-active{background:#007aff;opacity:1}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-container-vertical>.swiper-pagination{top:50%;right:.25rem;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination .swiper-pagination-bullet{display:block;margin:.125rem 0}.swiper-container-horizontal>.swiper-pagination{bottom:.25rem;left:0;width:100%}.swiper-container-horizontal>.swiper-pagination .swiper-pagination-bullet{margin:0 .125rem}.swiper-container-3d{-webkit-perspective:30rem;-o-perspective:30rem;perspective:30rem}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;top:0;left:0;z-index:10;width:100%;height:100%;pointer-events:none}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(right,rgba(0,0,0,.5),transparent);background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),transparent);background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),transparent);background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.5),transparent);background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:30rem}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide,.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{visibility:hidden;width:100%;height:100%;-webkit-transform-origin:0 0;transform-origin:0 0;pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{visibility:visible;pointer-events:auto}.swiper-container-cube .swiper-cube-shadow{position:absolute;bottom:0;left:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(1.25rem);filter:blur(1.25rem)}.swiper-container-cube.swiper-container-vertical .swiper-cube-shadow{z-index:0}.swiper-scrollbar{position:relative;border-radius:.25rem;background:rgba(0,0,0,.1);-ms-touch-action:none}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;bottom:.075rem;left:1%;z-index:50;width:98%;height:.125rem}.swiper-container-vertical>.swiper-scrollbar{position:absolute;top:1%;right:.075rem;z-index:50;width:.125rem;height:98%}.swiper-scrollbar-drag{position:relative;top:0;left:0;width:100%;height:100%;border-radius:.25rem;background:rgba(0,0,0,.5)}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-lazy-preloader{position:absolute;top:50%;left:50%;z-index:10;margin-top:-.525rem;margin-left:-.525rem;width:1.05rem;height:1.05rem;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:a 1s steps(12) infinite;animation:a 1s steps(12) infinite}.swiper-lazy-preloader:after{display:block;width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%236c6c6c' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E");background-position:50%;background-size:100%;background-repeat:no-repeat;content:""}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%23fff' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E")}@-webkit-keyframes a{to{-webkit-transform:rotate(1turn)}}@keyframes a{to{transform:rotate(1turn)}}.badge{min-width:.4rem;padding:.075rem .175rem;margin-left:.25rem;margin-right:.25rem;border-radius:249.975rem;font-size:.35rem;line-height:1;text-align:center;white-space:nowrap;background-color:#3790de;color:#fff}.badge-tr{position:absolute;top:-.125rem;right:-.275rem;margin:0}.checkbox,.radio{position:relative;display:inline-block}.checkbox label,.radio label{padding-left:.825rem}.checkbox label:before,.radio label:before{z-index:8;border:2px solid #000;content:""}.checkbox label:after,.radio label:after{position:absolute;top:.15rem;left:.3rem;z-index:9;display:none;width:.2rem;height:.4rem;border:2px solid #fff;border-top:0;border-left:0;content:"";transform:rotate(45deg)}.checkbox input,.checkbox label:before,.radio input,.radio label:before{position:absolute;top:0;left:0;width:.75rem;height:.75rem}.checkbox input,.radio input{z-index:10;opacity:0}.checkbox input:checked~label:before,.radio input:checked~label:before{background:#000}.checkbox input:checked~label:after,.radio input:checked~label:after{display:block}.checkbox input:disabled~label,.radio input:disabled~label{color:#ccc}.checkbox input:disabled~label:before,.radio input:disabled~label:before{border-color:#e4e4e4}.checkbox input:disabled:checked~label:before,.radio input:disabled:checked~label:before{background-color:#e4e4e4}.radio label:before{border-radius:50%}.switch{display:inline-block}.switch input{display:none}.switch input:checked~label{border:.05rem solid #4bd865;box-shadow:inset 0 0 0 .7rem #4bd865}.switch input:checked~label:after{left:1.1rem;box-shadow:0 .125rem .125rem -1px rgba(0,0,0,.2),0 0 0 .05rem #4bd865}.switch input:disabled:checked~label,.switch input:disabled~label{opacity:.6}.switch label{position:relative;display:inline-block;width:2.5rem;height:1.5rem;border:.05rem solid #ddd;border-radius:2499.975rem;background-color:#fff;transition:.3s}.switch label:after{position:absolute;left:0;width:1.4rem;height:1.4rem;border:none;border-radius:50%;background-color:#fff;box-shadow:0 .125rem .125rem -1px rgba(0,0,0,.2),0 0 0 .05rem #ddd;content:"";transition:.4s}.overlay{position:fixed;background:#000;opacity:0;left:0;top:0;width:100%;height:100%;z-index:1000}.overlay-fade-in{opacity:.5;transition:opacity .1s linear}.overlay-fade-out{opacity:0;transition:opacity .1s linear}.overlay-in{opacity:.5}.overlay-in,.overlay-out{transition:opacity .1s linear}.overlay-out{opacity:0}.modal{position:absolute;margin:0 auto;background:#fcfcfc;width:12.8rem;z-index:1001}.modal h2{font-size:.8rem;text-align:center;margin-top:1.25rem;margin-bottom:0}.modal p{font-size:.525rem;text-align:center;margin-top:.5rem;margin-bottom:1.2rem}.modal hr{border:none;border-top:1px solid #e0e0e0;margin:0}.modal .button-group{display:flex;flex-direction:row;justify-content:space-around;align-items:stretch;height:2.2rem}.modal .button-group a.modal-button{flex:1;align-self:center;text-align:center;color:#3790de;font-size:.75rem}.modal .button-group :not(:first-child){border-left:1px solid #e0e0e0}.animation-target{animation:b 1s linear both}@keyframes b{0%{transform:matrix(.5,0,0,.5,0,0)}4.3%{transform:matrix(.757,0,0,.757,0,0)}8.61%{transform:matrix(.939,0,0,.939,0,0)}12.91%{transform:matrix(1.026,0,0,1.026,0,0)}17.22%{transform:matrix(1.047,0,0,1.047,0,0)}28.33%{transform:matrix(1.01,0,0,1.01,0,0)}39.44%{transform:matrix(.997,0,0,.997,0,0)}61.66%{transform:matrix(1,0,0,1,0,0)}83.98%{transform:matrix(1,0,0,1,0,0)}to{transform:matrix(1,0,0,1,0,0)}}@keyframes c{0%{transform:scale(1);opacity:1}45%{transform:scale(.1);opacity:.7}80%{transform:scale(1);opacity:1}}.loading{position:fixed;top:50%;left:50%;margin-top:-.5rem;margin-left:-1.5rem;width:3.2rem;height:1rem;z-index:1001}.loading>div{display:inline-block;margin:.1rem;width:.75rem;height:.75rem;border-radius:100%;background:#fff}.loading>div:nth-child(1){animation:c .75s .12s infinite cubic-bezier(.2,.68,.18,1.08)}.loading>div:nth-child(2){animation:c .75s .24s infinite cubic-bezier(.2,.68,.18,1.08)}.loading>div:nth-child(3){animation:c .75s .36s infinite cubic-bezier(.2,.68,.18,1.08)}.example.color{display:inline-block;width:.45rem;height:.45rem;border:1px solid #999}.example.color.black{background:#000}.example.color.white{background:#fff}.example.color.red{background:#ff081c}.example.color.green{background:#1ed96c}.example.color.grey{background:#b0b0b0}.example.color.blue{background:#3790de}.my-page{color:#444;background:#f0f0f0}.my-page a{color:#000}.my-page .user-info{display:block;position:relative;padding:0 .75rem;color:#000;font-size:.85rem;line-height:3.45rem;height:11.725rem;text-align:center;background:url(../assets/img/home/header-bg.png?v15625c8a650);background-size:cover}.my-page .user-info .user-avatar{display:inline-block;position:relative;top:2.25rem;width:5rem;height:5rem;border-radius:50%;border:.15rem solid #a7a8a9;background:url(../assets/img/home/user-icon.png?v15625c8a650);background-size:100%}.my-page .user-info .username{display:inline-block;padding:0 .4rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:.8rem;max-width:6.5rem}.my-page .login-btn{display:inline-block;top:1rem;left:4.85rem;width:6.1rem;height:2.05rem;line-height:2.05rem;color:#fff;border:.1rem solid #fff;margin:3.75rem auto}.my-page .my-order{margin-bottom:.75rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.my-page .my-order .order-title{display:block;padding:0 .725rem;font-size:.85rem;line-height:2.2rem}.my-page .my-order .order-title .read-order{color:#b0b0b0;font-size:.75rem;float:right}.my-page .my-order .order-title.highlight{background:#eee}.my-page .my-order .order-type{padding:.5rem .75rem;text-align:center;border-top:1px solid #e0e0e0}.my-page .my-order .order-type .icon{font-size:1.125rem}.my-page .my-order .order-type .type-item{position:relative;float:left;color:#444;font-size:.6rem;line-height:1.5;width:4.25rem}.my-page .my-order .order-type .type-item .num{position:absolute;top:-.875rem;right:.5rem;width:1.8rem;height:1.8rem;font-size:.85rem;line-height:1.8rem;color:#fff;background:#f03d35;text-align:center;border-radius:50%;transform:scale(.5)}.my-page .my-order .order-type .type-item.highlight{background:#eee}.my-page .group-list{margin-bottom:.75rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.my-page .group-list .list-item{display:block;position:relative;padding:0 .75rem;font-size:.85rem;line-height:2.25rem;overflow:hidden}.my-page .group-list .list-item.highlight{background:#eee}.my-page .group-list .list-item:after{content:"";position:absolute;right:0;bottom:0;width:100%;height:0;border-top:1px solid #f0f0f0}.my-page .group-list .list-item:last-child:after{content:none}.my-page .group-list .icon{margin-right:.125rem;font-size:.85rem;vertical-align:top}.my-page .group-list .num{color:#b0b0b0;float:right}.help,.help ul{overflow:hidden;width:100%;height:auto}.help ul{display:block;margin:0;padding-left:0;border-top:1px solid #e0e0e0}.help ul li{float:right;overflow:hidden;width:100%;height:2rem;border-bottom:1px solid #e0e0e0;color:#444;list-style:none;font-size:.7rem;line-height:2.1rem}.help ul li a:visited{color:#444}.help ul li span{float:left;overflow:hidden;padding-left:5%;width:90%;height:100%}.help ul li i{color:#e0e0e0}.help ul li:last-of-type{border-bottom:none}.help .iconfont{color:#fff}.help-detail-page{margin-right:.75rem;margin-left:.75rem}.yoho-suggest-sub-page{width:100%;height:100%;background:#f6f6f6}.yoho-suggest-sub-page .suggest-sub-form{background:#fff;width:100%}.yoho-suggest-sub-page .suggest-sub-form #suggest-textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:100%;height:10.5rem;max-height:6.375rem;min-height:6.375rem;padding:.75rem;font-size:.65rem;line-height:1.2rem;color:#000;display:block;background:#fff;border:none;outline:none;resize:none}.yoho-suggest-sub-page #submit-button{width:2.5rem;height:1rem;border:1px solid #e0e0e0}.yoho-favorite-page{width:100%;height:auto}.yoho-favorite-page .fav-content .fav-type{display:block}.yoho-favorite-page .fav-content .fav-product-list{padding-left:.5rem;list-style:none}.yoho-favorite-page .fav-content .fav-product-list li{height:5.125rem;overflow:hidden;margin-top:.5rem}.yoho-favorite-page .fav-content .fav-product-list .fav-del-left{display:none;float:left;width:1.25rem;height:100%}.yoho-favorite-page .fav-content .fav-product-list .fav-del-left .fav-del-span{display:inline-block;width:.875rem;height:.875rem;margin-right:.375rem;margin-top:2rem;background:url(../assets/img/home/fav/fav-del.png?v15625c8a650);background-size:100%}.yoho-favorite-page .fav-content .fav-product-list .delshow{display:block}.yoho-favorite-page .fav-content .fav-product-list .fav-del-right{position:absolute;top:0;right:-3.15rem;background:#ff3b30;width:3.15rem;height:5rem;text-align:center}.yoho-favorite-page .fav-content .fav-product-list .fav-del-right .fav-del-btn{display:inline-block;width:.875rem;height:1.075rem;margin-top:1.25rem;background:url(../assets/img/home/fav/fav-del-btn.png?v15625c8a650);background-size:100%}.yoho-favorite-page .fav-content .fav-product-list .fav-del-right .fav-del-txt{font-size:.6rem;color:#fff}.yoho-favorite-page .fav-content .fav-product-list .fav-img-box{width:3.8rem;height:5.075rem;float:left;margin-right:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-img-box img{display:block;overflow:hidden;width:100%;height:100%}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list{color:#444;font-size:.6rem;border-bottom:1px solid #e0e0e0;padding-bottom:.5rem;margin-right:.125rem;height:5.075rem;overflow:hidden;position:relative}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .title{width:10.75rem;text-overflow:ellipsis;font-size:.7rem;margin:0}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .fav-price{margin-top:.5rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .new-price{color:#d1021c;font-size:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .price-underline{text-decoration:line-through;margin-left:.375rem;color:#b0b0b0;font-size:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .save-price{position:absolute;bottom:.5rem;left:0;width:100%;min-height:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .sell-out{float:right;padding:.125rem .45rem;color:#b0b0b0;border-radius:.5rem;font-size:.55rem}.yoho-favorite-page .fav-content .fav-null{font-size:.55rem;color:#444;display:block;margin-top:2.5rem;text-align:center}.yoho-favorite-page .fav-content .fav-null:before{content:"";display:block;width:4.7rem;height:4.275rem;background:url(../assets/img/home/fav/fav-null.png?v15625c8a650);background-size:100% 100%;margin:0 auto 1.125rem}.yoho-favorite-page .fav-content .go-shopping{width:11.8rem;height:2.2rem;line-height:2.2rem;margin:2rem auto 0;background:#444;text-align:center;color:#fff;display:block;font-size:.65rem;border-radius:.2rem}.yoho-favorite-brand-page{width:100%;height:auto}.yoho-favorite-brand-page .fav-content .fav-type{display:block}.yoho-favorite-brand-page .fav-content .fav-brand-list{padding-left:.5rem;list-style:none}.yoho-favorite-brand-page .fav-content .fav-brand-list li{height:3.375rem;overflow:hidden;margin-top:.5rem;border-bottom:1px solid #e0e0e0}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-left{display:none;float:left;width:1.25rem;height:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-left .fav-del-span{display:inline-block;width:.875rem;height:.875rem;margin-right:.375rem;margin-top:1.25rem;background:url(../assets/img/home/fav/fav-del.png?v15625c8a650);background-size:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .delshow{display:block}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-right{position:absolute;top:0;right:-3.15rem;background:#ff3b30;width:3.15rem;height:3.125rem;text-align:center}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-right .fav-del-btn{display:inline-block;width:.875rem;height:1.075rem;margin-top:.75rem;background:url(../assets/img/home/fav/fav-del-btn.png?v15625c8a650);background-size:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-right .fav-del-txt{font-size:.6rem;color:#fff}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-img-box{width:4rem;height:3.125rem;float:left;margin-right:.6rem}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-img-box img{display:block;overflow:hidden;width:100%;height:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-info-list{color:#444;font-size:.6rem;padding-bottom:.25rem;margin-right:.25rem;margin-top:.875rem;height:2.5rem;overflow:hidden;position:relative}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-info-list .title{width:10.75rem;color:#b0b0b0;text-overflow:ellipsis;font-size:.85rem;margin:0}.yoho-favorite-brand-page .fav-content .fav-brand-list span.down{float:right;padding:.125rem .45rem;color:#fffefe;background:#b0b0b0;border-radius:.5rem;font-size:.55rem}.yoho-favorite-brand-page .fav-content .fav-null{font-size:.55rem;color:#444;display:block;margin-top:2.5rem;text-align:center}.yoho-favorite-brand-page .fav-content .fav-null:before{content:"";display:block;width:4.7rem;height:4.275rem;background:url(../assets/img/home/fav/fav-null.png?v15625c8a650);background-size:100% 100%;margin:0 auto 1.125rem}.yoho-favorite-brand-page .fav-content .go-shopping{width:11.8rem;height:2.2rem;line-height:2.2rem;margin:2rem auto 0;background:#444;text-align:center;color:#fff;display:block;font-size:.65rem;border-radius:.2rem}.about-us{width:100%;height:100%;background:#fff}.about-us .description{top:30%;width:10.275rem;height:1.875rem;background:url(../assets/img/home/about-us-tip.png?v15625c8a268) no-repeat;background-size:100%}.about-us .description,.about-us .icon-container{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.about-us .icon-container{top:43%}.about-us .blk-icon{background:url(../assets/img/home/app-icon.png?v15625c8a268) no-repeat;width:4.5rem;height:4.5rem}.about-us .blk-icon,.about-us .icon-label{left:0;right:0;margin-left:auto;margin-right:auto}.about-us .icon-label{margin-top:.25rem;font-size:.75rem}.about-us p{text-align:center;font-size:.6rem;font-family:BrownStd Regular}.yoho-coin{background:#f6f6f6;padding-top:.5rem}.yoho-coin .coin-total{padding:.875rem 0;background:#fff;text-align:center}.yoho-coin .coin-total p:first-child{font-size:.85rem}.yoho-coin .coin-total p:nth-child(2){font-size:1.95rem;color:#4a90e2;line-height:2rem}.yoho-coin .coin-total p:last-child{color:#b0b0b0;font-size:.7rem}.yoho-coin .coin-detail{margin-top:1rem}.yoho-coin .coin-detail>p:first-child{padding:0 .75rem;font-size:.7rem;color:#b0b0b0}.yoho-coin .coin-detail .coin-detail-list{padding:0 .75rem;background:#fff;border-top:1px solid #eee;border-bottom:1px solid #eee}.yoho-coin .coin-detail .coin-detail-list li{display:flex;padding:.5rem 0;border-bottom:1px solid #eee}.yoho-coin .coin-detail .coin-detail-list li:last-child{border-bottom:0 none}.yoho-coin .coin-detail .coin-detail-list .coin-source{flex:1}.yoho-coin .coin-detail .coin-detail-list .coin-source p{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis;height:1.2em;line-height:1.25;overflow:hidden;font-size:.85rem;margin-right:1.5rem}.yoho-coin .coin-detail .coin-detail-list .coin-source time{display:block;margin-top:.125rem;font-size:.7rem;color:#b0b0b0}.yoho-coin .coin-detail .coin-detail-list .coin-num{font-size:.85rem;line-height:2.3rem}.logistics-page{width:100%}.logistics-page .edit-logistics-page{width:100%;color:#d0d0d0}.logistics-page .edit-logistics-page .edit-logistics{display:inline-block;margin-top:.5rem;padding:0 .75rem;width:100%;background:#fff;font-size:.75rem;line-height:2.2rem}.logistics-page .edit-logistics-page .edit-logistics label{display:block;position:relative;color:#000;font-size:.85rem;border-bottom:1px solid #e0e0e0}.logistics-page .edit-logistics-page .edit-logistics label .company-val{direction:rtl;margin-right:.25rem}.logistics-page .edit-logistics-page .edit-logistics label .icon{margin-top:.675rem;margin-right:.25rem;float:right}.logistics-page .edit-logistics-page .edit-logistics label:last-of-type:after{content:none}.logistics-page .edit-logistics-page .edit-logistics input{position:absolute;top:0;right:1rem;width:9rem;height:2.15rem;color:#444;padding:0;border:none;-webkit-appearance:none}.logistics-page .edit-logistics-page .edit-logistics .num{width:11rem;text-align:right}.logistics-page .edit-logistics-page .submit{position:fixed;bottom:.5rem;width:92%;margin:0 4%;height:2.5rem;color:#fff;background:#000;text-align:center;font-size:.7rem;line-height:2.5rem}.logistics-page .edit-logistics-page .submit.highlight{background:rgba(0,0,0,.6)}.logistics-page .companylist-page{width:100%;color:#d0d0d0}.logistics-page .companylist-page .search-input{position:relative;text-align:center;padding:.4rem;border-bottom:1px solid #e6e6e6}.logistics-page .companylist-page .search-input input{height:1.4rem;width:100%;padding-left:.625rem;border-radius:.5rem;font-size:.55rem;color:#b0b0b0;background:#eee;border:none}.logistics-page .companylist-page .search-input input::-webkit-input-placeholder{text-align:center}.logistics-page .companylist-page .search-input input:-ms-input-placeholder{text-align:center}.logistics-page .companylist-page .company-data{color:#000;margin-left:.75rem}.logistics-page .companylist-page .company-data .company-item .tag{height:1.25rem;line-height:1.25rem;font-size:.85rem;border-bottom:1px solid #f3f3f3}.logistics-page .companylist-page .company-data .company-item span{display:block;height:2.25rem;line-height:2.25rem;font-size:.85rem;border-bottom:1px solid #f3f3f3}  
  2 +/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}[hidden],template{display:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 1rem}hr{box-sizing:content-box;height:0;overflow:visible}button,input,select,textarea{font:inherit;margin:0}optgroup{font-weight:700}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 .05rem;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-.05rem}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.clearfix:after{content:'';display:block;clear:both}*,:after,:before{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}body,html{width:100%;font-size:.6rem;font-family:Helvetica,Roboto,Heiti SC,黑体,Arial;line-height:1.4}a{outline:none;color:#000;text-decoration:none}input{border:0}ol,ul{list-style:none}:focus{outline:none}.main-wrap{position:relative;margin-right:auto;margin-left:auto;width:100%;max-width:18.75rem}.text-center{text-align:center}.overflow-hidden{overflow:hidden;height:100%}.left,.right{float:right}.hide{display:none}.mr50{margin-right:1.25rem}.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all}.list{list-style:none;margin:0;padding:0;background-color:#fff}.list-item{position:relative;padding:.75rem}.list-item:after{content:"";position:absolute;left:.75rem;bottom:-1px;width:17.25rem;height:0;border-bottom:1px solid #eee;z-index:1}.list-item:last-of-type:after{display:none}@font-face{font-family:iconfont;src:url(../assets/font/iconfont.eot?vqs6e2&v15625dd2c38);src:url(../assets/font/iconfont.eot?vqs6e2&v15625dd2c38#iefix) format("embedded-opentype"),url(../assets/font/iconfont.ttf?vqs6e2&v15625dd3bd8) format("truetype"),url(../assets/font/iconfont.woff?vqs6e2&v15625dd3fc0) format("woff"),url(../assets/font/iconfont.svg?vqs6e2&v15625dd37f0#iconfont) format("svg");font-weight:400;font-style:normal}.icon{font-family:iconfont!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-x:before{content:"\e908"}.icon-delete:before{content:"\e600"}.icon-bag:before{content:"\e601"}.icon-down:before{content:"\e602"}.icon-check:before{content:"\e603"}.icon-love:before{content:"\e604"}.icon-close:before{content:"\e605"}.icon-left:before{content:"\e606"}.icon-right:before{content:"\e607"}.icon-search:before{content:"\e608"}.icon-love-solid:before{content:"\e609"}.icon-yoho-share:before{content:"\e60a"}.icon-filter:before{content:"\e60b"}.icon-focus:before{content:"\e60c"}.icon-focused:before{content:"\e60d"}.icon-share:before{content:"\e60e"}.icon-up:before{content:"\e617"}.icon-notdef:before{content:"\e900"}.icon-wait-cargo:before{content:"\e901"}.icon-wait-pay:before{content:"\e902"}.icon-send-cargo:before{content:"\e903"}.icon-refund-exchange:before{content:"\e904"}.icon-sort-asc:before{content:"\e905"}.icon-sort-desc:before{content:"\e906"}.tip-box{position:fixed;top:50%;left:50%;z-index:1001;transform:translate(-50%,-50%);display:table;max-width:90%;min-height:2.5rem;border-radius:.2rem;text-align:center;font-size:.7rem;color:#fff;background-color:rgba(0,0,0,.7);padding:.25rem .5rem}.tip-box .tip{display:table-cell;vertical-align:middle}.button{display:inline-block;min-width:7.75rem;min-height:2.5rem;border:1px solid #000;background:#fff;color:#000;font-size:.5rem;padding:0 .25rem;-webkit-appearance:button}.button.button-solid{background:#000;color:#fff}.button.button-solid:disabled{background:#b0b0b0;color:#fff}.button.button-round{border-radius:.1rem}.button.button-small{min-width:4.5rem;min-height:1.75rem}.button.button-large{min-width:17.5rem;min-height:2.5rem}.button:disabled{border:1px solid #b0b0b0;color:#b0b0b0}.swiper-container{position:relative;z-index:1;overflow:hidden;margin:0 auto}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column;-webkit-box-orient:vertical;-moz-box-orient:vertical}.swiper-wrapper{position:relative;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;box-sizing:content-box;width:100%;height:100%;-webkit-transition-property:-webkit-transform;transition-property:transform;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-lines:multiple;-moz-box-lines:multiple}.swiper-container-free-mode>.swiper-wrapper{margin:0 auto;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-slide{position:relative;-ms-flex:0 0 auto;flex-shrink:0;width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container .swiper-notification{position:absolute;top:0;left:0;z-index:-1000;opacity:0;pointer-events:none}.swiper-wp8-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;z-index:10;margin-top:-.55rem;width:.675rem;height:1.1rem;background-position:50%;background-size:.675rem 1.1rem;background-repeat:no-repeat;cursor:pointer}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{right:auto;left:.25rem;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23007aff'/%3E%3C/svg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z'/%3E%3C/svg%3E")}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:.25rem;left:auto;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23007aff'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-pagination{position:absolute;z-index:10;text-align:center;-webkit-transition:.3s;transition:.3s;-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-bullet{display:inline-block;width:.2rem;height:.2rem;border-radius:100%;background:#000;opacity:.2}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-white .swiper-pagination-bullet{background:#fff}.swiper-pagination-bullet-active{background:#007aff;opacity:1}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-container-vertical>.swiper-pagination{top:50%;right:.25rem;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination .swiper-pagination-bullet{display:block;margin:.125rem 0}.swiper-container-horizontal>.swiper-pagination{bottom:.25rem;left:0;width:100%}.swiper-container-horizontal>.swiper-pagination .swiper-pagination-bullet{margin:0 .125rem}.swiper-container-3d{-webkit-perspective:30rem;-o-perspective:30rem;perspective:30rem}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;top:0;left:0;z-index:10;width:100%;height:100%;pointer-events:none}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(right,rgba(0,0,0,.5),transparent);background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),transparent);background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),transparent);background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.5),transparent);background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:30rem}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide,.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{visibility:hidden;width:100%;height:100%;-webkit-transform-origin:0 0;transform-origin:0 0;pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{visibility:visible;pointer-events:auto}.swiper-container-cube .swiper-cube-shadow{position:absolute;bottom:0;left:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(1.25rem);filter:blur(1.25rem)}.swiper-container-cube.swiper-container-vertical .swiper-cube-shadow{z-index:0}.swiper-scrollbar{position:relative;border-radius:.25rem;background:rgba(0,0,0,.1);-ms-touch-action:none}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;bottom:.075rem;left:1%;z-index:50;width:98%;height:.125rem}.swiper-container-vertical>.swiper-scrollbar{position:absolute;top:1%;right:.075rem;z-index:50;width:.125rem;height:98%}.swiper-scrollbar-drag{position:relative;top:0;left:0;width:100%;height:100%;border-radius:.25rem;background:rgba(0,0,0,.5)}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-lazy-preloader{position:absolute;top:50%;left:50%;z-index:10;margin-top:-.525rem;margin-left:-.525rem;width:1.05rem;height:1.05rem;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:a 1s steps(12) infinite;animation:a 1s steps(12) infinite}.swiper-lazy-preloader:after{display:block;width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%236c6c6c' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E");background-position:50%;background-size:100%;background-repeat:no-repeat;content:""}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%23fff' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E")}@-webkit-keyframes a{to{-webkit-transform:rotate(1turn)}}@keyframes a{to{transform:rotate(1turn)}}.badge{min-width:.4rem;padding:.075rem .175rem;margin-left:.25rem;margin-right:.25rem;border-radius:249.975rem;font-size:.35rem;line-height:1;text-align:center;white-space:nowrap;background-color:#3790de;color:#fff}.badge-tr{position:absolute;top:-.125rem;right:-.275rem;margin:0}.checkbox,.radio{position:relative;display:inline-block}.checkbox label,.radio label{padding-left:.825rem}.checkbox label:before,.radio label:before{z-index:8;border:2px solid #000;content:""}.checkbox label:after,.radio label:after{position:absolute;top:.15rem;left:.3rem;z-index:9;display:none;width:.2rem;height:.4rem;border:2px solid #fff;border-top:0;border-left:0;content:"";transform:rotate(45deg)}.checkbox input,.checkbox label:before,.radio input,.radio label:before{position:absolute;top:0;left:0;width:.75rem;height:.75rem}.checkbox input,.radio input{z-index:10;opacity:0}.checkbox input:checked~label:before,.radio input:checked~label:before{background:#000}.checkbox input:checked~label:after,.radio input:checked~label:after{display:block}.checkbox input:disabled~label,.radio input:disabled~label{color:#ccc}.checkbox input:disabled~label:before,.radio input:disabled~label:before{border-color:#e4e4e4}.checkbox input:disabled:checked~label:before,.radio input:disabled:checked~label:before{background-color:#e4e4e4}.radio label:before{border-radius:50%}.switch{display:inline-block}.switch input{display:none}.switch input:checked~label{border:.05rem solid #4bd865;box-shadow:inset 0 0 0 .7rem #4bd865}.switch input:checked~label:after{left:1.1rem;box-shadow:0 .125rem .125rem -1px rgba(0,0,0,.2),0 0 0 .05rem #4bd865}.switch input:disabled:checked~label,.switch input:disabled~label{opacity:.6}.switch label{position:relative;display:inline-block;width:2.5rem;height:1.5rem;border:.05rem solid #ddd;border-radius:2499.975rem;background-color:#fff;transition:.3s}.switch label:after{position:absolute;left:0;width:1.4rem;height:1.4rem;border:none;border-radius:50%;background-color:#fff;box-shadow:0 .125rem .125rem -1px rgba(0,0,0,.2),0 0 0 .05rem #ddd;content:"";transition:.4s}.overlay{position:fixed;background:#000;opacity:0;left:0;top:0;width:100%;height:100%;z-index:1000}.overlay-fade-in{opacity:.5;transition:opacity .1s linear}.overlay-fade-out{opacity:0;transition:opacity .1s linear}.overlay-in{opacity:.5}.overlay-in,.overlay-out{transition:opacity .1s linear}.overlay-out{opacity:0}.modal{position:absolute;margin:0 auto;background:#fcfcfc;width:12.8rem;z-index:1001}.modal h2{font-size:.8rem;text-align:center;margin-top:1.25rem;margin-bottom:0}.modal p{font-size:.525rem;text-align:center;margin-top:.5rem;margin-bottom:1.2rem}.modal hr{border:none;border-top:1px solid #e0e0e0;margin:0}.modal .button-group{display:flex;flex-direction:row;justify-content:space-around;align-items:stretch;height:2.2rem}.modal .button-group a.modal-button{flex:1;align-self:center;text-align:center;color:#3790de;font-size:.75rem}.modal .button-group :not(:first-child){border-left:1px solid #e0e0e0}.animation-target{animation:b 1s linear both}@keyframes b{0%{transform:matrix(.5,0,0,.5,0,0)}4.3%{transform:matrix(.757,0,0,.757,0,0)}8.61%{transform:matrix(.939,0,0,.939,0,0)}12.91%{transform:matrix(1.026,0,0,1.026,0,0)}17.22%{transform:matrix(1.047,0,0,1.047,0,0)}28.33%{transform:matrix(1.01,0,0,1.01,0,0)}39.44%{transform:matrix(.997,0,0,.997,0,0)}61.66%{transform:matrix(1,0,0,1,0,0)}83.98%{transform:matrix(1,0,0,1,0,0)}to{transform:matrix(1,0,0,1,0,0)}}@keyframes c{0%{transform:scale(1);opacity:1}45%{transform:scale(.1);opacity:.7}80%{transform:scale(1);opacity:1}}.loading{position:fixed;top:50%;left:50%;margin-top:-.5rem;margin-left:-1.5rem;width:3.2rem;height:1rem;z-index:1001}.loading>div{display:inline-block;margin:.1rem;width:.75rem;height:.75rem;border-radius:100%;background:#fff}.loading>div:nth-child(1){animation:c .75s .12s infinite cubic-bezier(.2,.68,.18,1.08)}.loading>div:nth-child(2){animation:c .75s .24s infinite cubic-bezier(.2,.68,.18,1.08)}.loading>div:nth-child(3){animation:c .75s .36s infinite cubic-bezier(.2,.68,.18,1.08)}.example.color{display:inline-block;width:.45rem;height:.45rem;border:1px solid #999}.example.color.black{background:#000}.example.color.white{background:#fff}.example.color.red{background:#ff081c}.example.color.green{background:#1ed96c}.example.color.grey{background:#b0b0b0}.example.color.blue{background:#3790de}.my-page{color:#444;background:#f0f0f0}.my-page a{color:#000}.my-page .user-info{display:block;position:relative;padding:0 .75rem;color:#000;font-size:.85rem;line-height:3.45rem;height:11.725rem;text-align:center;background:url(../assets/img/home/header-bg.png?v15625dd5348);background-size:cover}.my-page .user-info .user-avatar{display:inline-block;position:relative;top:2.25rem;width:5rem;height:5rem;border-radius:50%;border:.15rem solid #a7a8a9;background:url(../assets/img/home/user-icon.png?v15625dd5348);background-size:100%}.my-page .user-info .username{display:inline-block;padding:0 .4rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:.8rem;max-width:6.5rem}.my-page .login-btn{display:inline-block;top:1rem;left:4.85rem;width:6.1rem;height:2.05rem;line-height:2.05rem;color:#fff;border:.1rem solid #fff;margin:3.75rem auto}.my-page .my-order{margin-bottom:.75rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.my-page .my-order .order-title{display:block;padding:0 .725rem;font-size:.85rem;line-height:2.2rem}.my-page .my-order .order-title .read-order{color:#b0b0b0;font-size:.75rem;float:right}.my-page .my-order .order-title.highlight{background:#eee}.my-page .my-order .order-type{padding:.5rem .75rem;text-align:center;border-top:1px solid #e0e0e0}.my-page .my-order .order-type .icon{font-size:1.125rem}.my-page .my-order .order-type .type-item{position:relative;float:left;color:#444;font-size:.6rem;line-height:1.5;width:4.25rem}.my-page .my-order .order-type .type-item .num{position:absolute;top:-.875rem;right:.5rem;width:1.8rem;height:1.8rem;font-size:.85rem;line-height:1.8rem;color:#fff;background:#f03d35;text-align:center;border-radius:50%;transform:scale(.5)}.my-page .my-order .order-type .type-item.highlight{background:#eee}.my-page .group-list{margin-bottom:.75rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.my-page .group-list .list-item{display:block;position:relative;padding:0 .75rem;font-size:.85rem;line-height:2.25rem;overflow:hidden}.my-page .group-list .list-item.highlight{background:#eee}.my-page .group-list .list-item:after{content:"";position:absolute;right:0;bottom:0;width:100%;height:0;border-top:1px solid #f0f0f0}.my-page .group-list .list-item:last-child:after{content:none}.my-page .group-list .icon{margin-right:.125rem;font-size:.85rem;vertical-align:top}.my-page .group-list .num{color:#b0b0b0;float:right}.help,.help ul{overflow:hidden;width:100%;height:auto}.help ul{display:block;margin:0;padding-left:0;border-top:1px solid #e0e0e0}.help ul li{float:right;overflow:hidden;width:100%;height:2rem;border-bottom:1px solid #e0e0e0;color:#444;list-style:none;font-size:.7rem;line-height:2.1rem}.help ul li a:visited{color:#444}.help ul li span{float:left;overflow:hidden;padding-left:5%;width:90%;height:100%}.help ul li i{color:#e0e0e0}.help ul li:last-of-type{border-bottom:none}.help .iconfont{color:#fff}.help-detail-page{margin-right:.75rem;margin-left:.75rem}.yoho-suggest-sub-page{width:100%;height:100%;background:#f6f6f6}.yoho-suggest-sub-page .suggest-sub-form{background:#fff;width:100%}.yoho-suggest-sub-page .suggest-sub-form #suggest-textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:100%;height:10.5rem;max-height:6.375rem;min-height:6.375rem;padding:.75rem;font-size:.65rem;line-height:1.2rem;color:#000;display:block;background:#fff;border:none;outline:none;resize:none}.yoho-suggest-sub-page #submit-button{width:2.5rem;height:1rem;border:1px solid #e0e0e0}.yoho-favorite-page{width:100%;height:auto}.yoho-favorite-page .fav-content .fav-type{display:block}.yoho-favorite-page .fav-content .fav-product-list{padding-left:.5rem;list-style:none}.yoho-favorite-page .fav-content .fav-product-list li{height:5.125rem;overflow:hidden;margin-top:.5rem}.yoho-favorite-page .fav-content .fav-product-list .fav-del-left{display:none;float:left;width:1.25rem;height:100%}.yoho-favorite-page .fav-content .fav-product-list .fav-del-left .fav-del-span{display:inline-block;width:.875rem;height:.875rem;margin-right:.375rem;margin-top:2rem;background:url(../assets/img/home/fav/fav-del.png?v15625dd5730);background-size:100%}.yoho-favorite-page .fav-content .fav-product-list .delshow{display:block}.yoho-favorite-page .fav-content .fav-product-list .fav-del-right{position:absolute;top:0;right:-3.15rem;background:#ff3b30;width:3.15rem;height:5rem;text-align:center}.yoho-favorite-page .fav-content .fav-product-list .fav-del-right .fav-del-btn{display:inline-block;width:.875rem;height:1.075rem;margin-top:1.25rem;background:url(../assets/img/home/fav/fav-del-btn.png?v15625dd5348);background-size:100%}.yoho-favorite-page .fav-content .fav-product-list .fav-del-right .fav-del-txt{font-size:.6rem;color:#fff}.yoho-favorite-page .fav-content .fav-product-list .fav-img-box{width:3.8rem;height:5.075rem;float:left;margin-right:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-img-box img{display:block;overflow:hidden;width:100%;height:100%}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list{color:#444;font-size:.6rem;border-bottom:1px solid #e0e0e0;padding-bottom:.5rem;margin-right:.125rem;height:5.075rem;overflow:hidden;position:relative}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .title{width:10.75rem;text-overflow:ellipsis;font-size:.7rem;margin:0}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .fav-price{margin-top:.5rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .new-price{color:#d1021c;font-size:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .price-underline{text-decoration:line-through;margin-left:.375rem;color:#b0b0b0;font-size:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .save-price{position:absolute;bottom:.5rem;left:0;width:100%;min-height:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .sell-out{float:right;padding:.125rem .45rem;color:#b0b0b0;border-radius:.5rem;font-size:.55rem}.yoho-favorite-page .fav-content .fav-null{font-size:.55rem;color:#444;display:block;margin-top:2.5rem;text-align:center}.yoho-favorite-page .fav-content .fav-null:before{content:"";display:block;width:4.7rem;height:4.275rem;background:url(../assets/img/home/fav/fav-null.png?v15625dd5730);background-size:100% 100%;margin:0 auto 1.125rem}.yoho-favorite-page .fav-content .go-shopping{width:11.8rem;height:2.2rem;line-height:2.2rem;margin:2rem auto 0;background:#444;text-align:center;color:#fff;display:block;font-size:.65rem;border-radius:.2rem}.yoho-favorite-brand-page{width:100%;height:auto}.yoho-favorite-brand-page .fav-content .fav-type{display:block}.yoho-favorite-brand-page .fav-content .fav-brand-list{padding-left:.5rem;list-style:none}.yoho-favorite-brand-page .fav-content .fav-brand-list li{height:3.375rem;overflow:hidden;margin-top:.5rem;border-bottom:1px solid #e0e0e0}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-left{display:none;float:left;width:1.25rem;height:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-left .fav-del-span{display:inline-block;width:.875rem;height:.875rem;margin-right:.375rem;margin-top:1.25rem;background:url(../assets/img/home/fav/fav-del.png?v15625dd5730);background-size:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .delshow{display:block}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-right{position:absolute;top:0;right:-3.15rem;background:#ff3b30;width:3.15rem;height:3.125rem;text-align:center}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-right .fav-del-btn{display:inline-block;width:.875rem;height:1.075rem;margin-top:.75rem;background:url(../assets/img/home/fav/fav-del-btn.png?v15625dd5348);background-size:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-right .fav-del-txt{font-size:.6rem;color:#fff}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-img-box{width:4rem;height:3.125rem;float:left;margin-right:.6rem}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-img-box img{display:block;overflow:hidden;width:100%;height:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-info-list{color:#444;font-size:.6rem;padding-bottom:.25rem;margin-right:.25rem;margin-top:.875rem;height:2.5rem;overflow:hidden;position:relative}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-info-list .title{width:10.75rem;color:#b0b0b0;text-overflow:ellipsis;font-size:.85rem;margin:0}.yoho-favorite-brand-page .fav-content .fav-brand-list span.down{float:right;padding:.125rem .45rem;color:#fffefe;background:#b0b0b0;border-radius:.5rem;font-size:.55rem}.yoho-favorite-brand-page .fav-content .fav-null{font-size:.55rem;color:#444;display:block;margin-top:2.5rem;text-align:center}.yoho-favorite-brand-page .fav-content .fav-null:before{content:"";display:block;width:4.7rem;height:4.275rem;background:url(../assets/img/home/fav/fav-null.png?v15625dd5730);background-size:100% 100%;margin:0 auto 1.125rem}.yoho-favorite-brand-page .fav-content .go-shopping{width:11.8rem;height:2.2rem;line-height:2.2rem;margin:2rem auto 0;background:#444;text-align:center;color:#fff;display:block;font-size:.65rem;border-radius:.2rem}.about-us{width:100%;height:100%;background:#fff}.about-us .description{top:30%;width:10.275rem;height:1.875rem;background:url(../assets/img/home/about-us-tip.png?v15625dd4f60) no-repeat;background-size:100%}.about-us .description,.about-us .icon-container{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.about-us .icon-container{top:43%}.about-us .blk-icon{background:url(../assets/img/home/app-icon.png?v15625dd5348) no-repeat;width:4.5rem;height:4.5rem}.about-us .blk-icon,.about-us .icon-label{left:0;right:0;margin-left:auto;margin-right:auto}.about-us .icon-label{margin-top:.25rem;font-size:.75rem}.about-us p{text-align:center;font-size:.6rem;font-family:BrownStd Regular}.yoho-coin{background:#f6f6f6;padding-top:.5rem}.yoho-coin .coin-total{padding:.875rem 0;background:#fff;text-align:center}.yoho-coin .coin-total p:first-child{font-size:.85rem}.yoho-coin .coin-total p:nth-child(2){font-size:1.95rem;color:#4a90e2;line-height:2rem}.yoho-coin .coin-total p:last-child{color:#b0b0b0;font-size:.7rem}.yoho-coin .coin-detail{margin-top:1rem}.yoho-coin .coin-detail>p:first-child{padding:0 .75rem;font-size:.7rem;color:#b0b0b0}.yoho-coin .coin-detail .coin-detail-list{padding:0 .75rem;background:#fff;border-top:1px solid #eee;border-bottom:1px solid #eee}.yoho-coin .coin-detail .coin-detail-list li{display:flex;padding:.5rem 0;border-bottom:1px solid #eee}.yoho-coin .coin-detail .coin-detail-list li:last-child{border-bottom:0 none}.yoho-coin .coin-detail .coin-detail-list .coin-source{flex:1}.yoho-coin .coin-detail .coin-detail-list .coin-source p{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis;height:1.2em;line-height:1.25;overflow:hidden;font-size:.85rem;margin-right:1.5rem}.yoho-coin .coin-detail .coin-detail-list .coin-source time{display:block;margin-top:.125rem;font-size:.7rem;color:#b0b0b0}.yoho-coin .coin-detail .coin-detail-list .coin-num{font-size:.85rem;line-height:2.3rem}.logistics-page{width:100%}.logistics-page .edit-logistics-page{width:100%;color:#d0d0d0}.logistics-page .edit-logistics-page .edit-logistics{display:inline-block;margin-top:.5rem;padding:0 .75rem;width:100%;background:#fff;font-size:.75rem;line-height:2.2rem}.logistics-page .edit-logistics-page .edit-logistics label{display:block;position:relative;color:#000;font-size:.85rem;border-bottom:1px solid #e0e0e0}.logistics-page .edit-logistics-page .edit-logistics label .company-val{direction:rtl;margin-right:.25rem}.logistics-page .edit-logistics-page .edit-logistics label .icon{margin-top:.675rem;margin-right:.25rem;float:right}.logistics-page .edit-logistics-page .edit-logistics label:last-of-type:after{content:none}.logistics-page .edit-logistics-page .edit-logistics input{position:absolute;top:0;right:1rem;width:9rem;height:2.15rem;color:#444;padding:0;border:none;-webkit-appearance:none}.logistics-page .edit-logistics-page .edit-logistics .num{width:11rem;text-align:right}.logistics-page .edit-logistics-page .submit{position:fixed;bottom:.5rem;width:92%;margin:0 4%;height:2.5rem;color:#fff;background:#000;text-align:center;font-size:.7rem;line-height:2.5rem}.logistics-page .edit-logistics-page .submit.highlight{background:rgba(0,0,0,.6)}.logistics-page .companylist-page{width:100%;color:#d0d0d0}.logistics-page .companylist-page .search-input{position:relative;text-align:center;padding:.4rem;border-bottom:1px solid #e6e6e6}.logistics-page .companylist-page .search-input input{height:1.4rem;width:100%;padding-left:.625rem;border-radius:.5rem;font-size:.55rem;color:#b0b0b0;background:#eee;border:none}.logistics-page .companylist-page .search-input input::-webkit-input-placeholder{text-align:center}.logistics-page .companylist-page .search-input input:-ms-input-placeholder{text-align:center}.logistics-page .companylist-page .company-data{color:#000;margin-left:.75rem}.logistics-page .companylist-page .company-data .company-item .tag{height:1.25rem;line-height:1.25rem;font-size:.85rem;border-bottom:1px solid #f3f3f3}.logistics-page .companylist-page .company-data .company-item span{display:block;height:2.25rem;line-height:2.25rem;font-size:.85rem;border-bottom:1px solid #f3f3f3}
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
1 -webpackJsonp([14],{0:function(t,e,a){"use strict";var o=a(2),s=a(298),i={type:"brand",data:[{id:1,name:"红色"},{id:2,name:"红色"},{id:3,name:"红色"}],val:3};new o({el:"#filter-sub",data:function(){return{type:i.type,data:i.data,val:i.val}},components:{filterSub:s}})},177:function(t,e,a){"use strict";var o=a(1);t.exports={props:{val:Number,data:{coerce:function(t){var e={};o.each(t,function(t){var a=t.alif;e.hasOwnProperty(a)||(e[a]=[]),e[a].push(t)})}}},methods:{select:function(t){this.val=t}}}},178:function(t,e,a){"use strict";var o=a(297),s=a(299);t.exports={props:["type","data","val"],components:{brandFilter:o,normalFilter:s},watch:{val:function(t,e){console.log("type: "+this.type+", value: "+t)}}}},179:function(t,e){"use strict";t.exports={props:["data","type","val"],computed:{},methods:{toggleCheck:function(t){this.val=t}}}},235:function(t,e){},263:function(t,e){t.exports=' <div class=filter-detail> <div class=item @click="select(\'\')"> <div class=item-inner>所有品牌</div> </div> <dl v-for="(key, brands) in data"> <dt class=index id={{key}}>{{key}}</dt> <dd class=item v-for="brand in brands" :class="{\'active\': brand.id === val}" @click=select(brand.id)> <div class=item-inner>{{brand.name}}</div> </dd> </dl> </div> '},264:function(t,e){t.exports=" <div> <brand-filter v-if=\"type === 'brand'\" :data=data :val.sync=val></brand-filter> <normal-filter v-else :data=data :val.sync=val> </normal-filter> </div> "},265:function(t,e){t.exports=' <div class=filter-detail> <div class=item v-for="item in data" :class="{active: item.id === val}" @click=toggleCheck(item.id)> <div class=item-inner> {{item.name}} </div> </div> <slot></slot> </div> '},297:function(t,e,a){var o,s;o=a(177),s=a(263),t.exports=o||{},t.exports.__esModule&&(t.exports=t.exports["default"]),s&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=s)},298:function(t,e,a){var o,s;a(235),o=a(178),s=a(264),t.exports=o||{},t.exports.__esModule&&(t.exports=t.exports["default"]),s&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=s)},299:function(t,e,a){var o,s;o=a(179),s=a(265),t.exports=o||{},t.exports.__esModule&&(t.exports=t.exports["default"]),s&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=s)}});  
  1 +webpackJsonp([14],{0:function(t,e,a){"use strict";var o=a(2),s=a(299),i={type:"brand",data:[{id:1,name:"红色"},{id:2,name:"红色"},{id:3,name:"红色"}],val:3};new o({el:"#filter-sub",data:function(){return{type:i.type,data:i.data,val:i.val}},components:{filterSub:s}})},177:function(t,e,a){"use strict";var o=a(1);t.exports={props:{val:Number,data:{coerce:function(t){var e={};o.each(t,function(t){var a=t.alif;e.hasOwnProperty(a)||(e[a]=[]),e[a].push(t)})}}},methods:{select:function(t){this.val=t}}}},178:function(t,e,a){"use strict";var o=a(298),s=a(300);t.exports={props:["type","data","val"],components:{brandFilter:o,normalFilter:s},watch:{val:function(t,e){console.log("type: "+this.type+", value: "+t)}}}},179:function(t,e){"use strict";t.exports={props:["data","type","val"],computed:{},methods:{toggleCheck:function(t){this.val=t}}}},235:function(t,e){},264:function(t,e){t.exports=' <div class=filter-detail> <div class=item @click="select(\'\')"> <div class=item-inner>所有品牌</div> </div> <dl v-for="(key, brands) in data"> <dt class=index id={{key}}>{{key}}</dt> <dd class=item v-for="brand in brands" :class="{\'active\': brand.id === val}" @click=select(brand.id)> <div class=item-inner>{{brand.name}}</div> </dd> </dl> </div> '},265:function(t,e){t.exports=" <div> <brand-filter v-if=\"type === 'brand'\" :data=data :val.sync=val></brand-filter> <normal-filter v-else :data=data :val.sync=val> </normal-filter> </div> "},266:function(t,e){t.exports=' <div class=filter-detail> <div class=item v-for="item in data" :class="{active: item.id === val}" @click=toggleCheck(item.id)> <div class=item-inner> {{item.name}} </div> </div> <slot></slot> </div> '},298:function(t,e,a){var o,s;o=a(177),s=a(264),t.exports=o||{},t.exports.__esModule&&(t.exports=t.exports["default"]),s&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=s)},299:function(t,e,a){var o,s;a(235),o=a(178),s=a(265),t.exports=o||{},t.exports.__esModule&&(t.exports=t.exports["default"]),s&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=s)},300:function(t,e,a){var o,s;o=a(179),s=a(266),t.exports=o||{},t.exports.__esModule&&(t.exports=t.exports["default"]),s&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=s)}});
1 -webpackJsonp([8],{0:function(t,e,s){"use strict";var i=s(2),o=s(1),r=s(315);o(function(){var t=function(){return[{txt:"默认",val:1},{txt:"最新",val:2},{type:"updown",txt:"价格",val:[3,4]},{type:"updown",txt:"折扣",val:[5,6]}]},e=new i(r);e.sortConfig=t()})},4:function(t,e,s){(function(e){"use strict";function s(t){var s=void 0,i={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(i,{txt:t}):e.extend(i,t);var o='<div class="tip-box"><div class="tip">'+i.txt+"</div></div>",r=e(".tip-box");r.length&&(s=r.data("timer"),clearTimeout(s),r.remove());var n=e(o).appendTo(document.body);n.data("timer",setTimeout(function(){n.remove()},i.delay))}t.exports=s}).call(e,s(1))},5:function(t,e,s){"use strict";var i=s(2),o=new i;t.exports=o},6:function(t,e,s){"use strict";var i=s(2);i.filter("resize",function(t,e,s,i){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var o={"{width}":e,"{height}":s,"{mode}":i||2};return o[t]}):""}),i.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),i.filter("brandUrl",function(t){return"/brand?domain="+t}),i.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),i.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),s=e.getFullYear()+"-",i=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",o=e.getDate()+" ",r=e.getHours()+":",n=e.getMinutes()+":",a=e.getSeconds();return s+i+o+r+n+a}})},24:function(t,e,s){"use strict";var i=s(5);t.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){i.$emit("list.paging")}}}},28:function(t,e){},30:function(t,e){t.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(t,e,s){var i,o;s(28),i=s(24),o=s(30),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},113:function(t,e){"use strict";t.exports={props:{on:Boolean}}},114:function(t,e,s){"use strict";var i=s(1),o=s(5);t.exports={props:{config:Object},data:function(){return{params:{},selected:{}}},watch:{},methods:{clearVals:function(){this.$set("params",{})},setCateParams:function(t,e){this.$set("params."+t,e)},okAction:function(){o.$emit("filter.change",{val:this.params,ref:this._uid})},entrySub:function(t){o.$emit("filter.sub.show",{val:t,ref:this._uid})}},filters:{unifyTxt:function(t,e){var s="",o=[],r=i.noop;return i.isArray(t)&&(r=function(t,s){o.push(s[e+"Name"])}),i.each(t,r),s=o.join(",")},txt:function(t){var e={color:"Color颜色",gender:"Gender性别",size:"Size尺寸",brand:"Brand品牌",priceRange:"Price价格",groupSort:"Category品类",discount:"Sale折扣"};return e[t]||""}}}},115:function(t,e,s){"use strict";var i=(s(1),s(5)),o=s(154),r=s(155);t.exports={props:{config:Array,val:Number},components:{simple:o,updown:r},methods:{},watch:{val:function(t,e){i.$emit("sort.change",{val:t,ref:this._uid})}}}},116:function(t,e){"use strict";t.exports={props:["txt","val"],computed:{active:function(){if(this.val===this.$parent.val)return"active"}},methods:{click:function(){this.$parent.val=this.val}}}},117:function(t,e){"use strict";t.exports={props:{txt:String,vals:Array},data:function(){return{}},computed:{active:function(){var t=this.vals.indexOf(this.$parent.val);if(t>=0)return{active:!0}}},methods:{clickHandler:function(){var t=this.vals.indexOf(this.$parent.val);t===-1?this.$parent.val=this.vals[0]:(t=0===t?1:0,this.$parent.val=this.vals[t])}}}},130:function(t,e){},131:function(t,e){},132:function(t,e){},133:function(t,e){},141:function(t,e){t.exports=" <div class=drawer :class=\"{'drawer-open': on }\" v-show=on> <div class=drawer-main v-el:main> <slot></slot> </div> </div> "},142:function(t,e){t.exports=' <div class=filter> <div class=filter-actions> <a href=javascript:; class=filter-action @click=clearVals>清空</a> <button class="button button-small filter-action" @click=okAction>确定</button> </div> <div class=filter-params> <ul class=filter-cates> <li class=filter-cate v-for="classify in config" @click=entrySub($key)> <i class="icon icon-right right"></i> <span class=filter-cate-label>{{$key | txt }}</span> <span class=filter-cate-val>{{params[$key] | unifyTxt $key }}</span> </li> </ul> </div> </div> '},143:function(t,e){t.exports=' <ul class="sort-navs clearfix"> <template v-for="item in config"> <simple v-if="(item.type || \'simple\') === \'simple\'" :txt=item.txt :val=item.val> </simple> <updown v-if="item.type === \'updown\'" :txt=item.txt :vals=item.val> </updown> </template> </ul> '},144:function(t,e){t.exports=" <li class=sort-item :class=active @click=click> <span class=sort-name>{{txt}}</span> </li> "},145:function(t,e){t.exports=' <li class=sort-item :class=active @click=clickHandler> <span class=sort-name>{{txt}}</span> <span class=sort-icon> <i class="icon icon-sort-asc" :class="{active: $parent.val === vals[0]}"></i> <i class="icon icon-sort-desc" :class="{active: $parent.val === vals[1]}"></i> </span> </li> '},151:function(t,e,s){var i,o;s(130),i=s(113),o=s(141),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},152:function(t,e,s){var i,o;s(131),i=s(114),o=s(142),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},153:function(t,e,s){var i,o;s(132),i=s(115),o=s(143),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},154:function(t,e,s){var i,o;i=s(116),o=s(144),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},155:function(t,e,s){var i,o;s(133),i=s(117),o=s(145),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},194:function(t,e,s){(function(e,i){"use strict";var o=s(2),r=s(18),n=s(50),a=s(5),c=s(4),l=s(153),p=s(31),u=s(151),f=s(152);o.use(r),o.use(n),s(6),t.exports={el:"#product-list",data:function(){return{sortConfig:e.sortConfig,filterConfig:e.filterConfig,url:"search",sort:null,filter:{},page:0,totalPage:null,productList:[],inSearching:!1}},components:{list:p,sort:l,filter:f,drawer:u},methods:{search:function(){var t=this,e=this.page+1;this.inSearching||this.page&&e>this.totalPage||(this.inSearching=!0,console.log(e),i.post(this.url,{sort:this.sort,filter:this.filter,page:e}).done(function(e){200===e.code&&(t.page=e.data.page,t.totalPage=e.data.pageTotal,t.$set("productList",t.productList.concat(e.data.productList)))}).fail(function(t){c("网络出错~")}).always(function(){t.inSearching=!1}))},openFilterSub:function(t){console.log("TODO: open filter sub",t)},research:function(){this.page=0,this.$set("productList",[]),this.search()}},watch:{sort:function(){this.research()},filter:function(){this.research()}},created:function(){var t=this;a.$on("list.paging",function(){t.search()}),a.$on("sort.change",function(e){var s=e.val;console.log(s),t.sort=s}),a.$on("filter.change",function(e){var s=e.val;console.log(s),t.filter=s,t.$refs.drawer.on=!1}),a.$on("filter.sub.show",function(e){var s=e.val;t.openFilterSub(s)}),this.search()}}}).call(e,function(){return this}(),s(1))},246:function(t,e){},281:function(t,e){t.exports=" <div> <sort :config=sortConfig :val=sort> </sort> <list :data=productList></list> <drawer v-ref:drawer> <filter :config=filterConfig></filter> </drawer> </div> "},315:function(t,e,s){var i,o;s(246),i=s(194),o=s(281),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)}});  
  1 +webpackJsonp([8],{0:function(t,e,s){"use strict";var i=s(2),o=s(1),r=s(316);o(function(){var t=function(){return[{txt:"默认",val:1},{txt:"最新",val:2},{type:"updown",txt:"价格",val:[3,4]},{type:"updown",txt:"折扣",val:[5,6]}]},e=new i(r);e.sortConfig=t()})},4:function(t,e,s){(function(e){"use strict";function s(t){var s=void 0,i={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(i,{txt:t}):e.extend(i,t);var o='<div class="tip-box"><div class="tip">'+i.txt+"</div></div>",r=e(".tip-box");r.length&&(s=r.data("timer"),clearTimeout(s),r.remove());var n=e(o).appendTo(document.body);n.data("timer",setTimeout(function(){n.remove()},i.delay))}t.exports=s}).call(e,s(1))},5:function(t,e,s){"use strict";var i=s(2),o=new i;t.exports=o},6:function(t,e,s){"use strict";var i=s(2);i.filter("resize",function(t,e,s,i){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var o={"{width}":e,"{height}":s,"{mode}":i||2};return o[t]}):""}),i.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),i.filter("brandUrl",function(t){return"/brand?domain="+t}),i.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),i.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),s=e.getFullYear()+"-",i=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",o=e.getDate()+" ",r=e.getHours()+":",n=e.getMinutes()+":",a=e.getSeconds();return s+i+o+r+n+a}})},24:function(t,e,s){"use strict";var i=s(5);t.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){i.$emit("list.paging")}}}},28:function(t,e){},30:function(t,e){t.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(t,e,s){var i,o;s(28),i=s(24),o=s(30),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},113:function(t,e){"use strict";t.exports={props:{on:Boolean}}},114:function(t,e,s){"use strict";var i=s(1),o=s(5);t.exports={props:{config:Object},data:function(){return{params:{},selected:{}}},watch:{},methods:{clearVals:function(){this.$set("params",{})},setCateParams:function(t,e){this.$set("params."+t,e)},okAction:function(){o.$emit("filter.change",{val:this.params,ref:this._uid})},entrySub:function(t){o.$emit("filter.sub.show",{val:t,ref:this._uid})}},filters:{unifyTxt:function(t,e){var s="",o=[],r=i.noop;return i.isArray(t)&&(r=function(t,s){o.push(s[e+"Name"])}),i.each(t,r),s=o.join(",")},txt:function(t){var e={color:"Color颜色",gender:"Gender性别",size:"Size尺寸",brand:"Brand品牌",priceRange:"Price价格",groupSort:"Category品类",discount:"Sale折扣"};return e[t]||""}}}},115:function(t,e,s){"use strict";var i=(s(1),s(5)),o=s(154),r=s(155);t.exports={props:{config:Array,val:Number},components:{simple:o,updown:r},methods:{},watch:{val:function(t,e){i.$emit("sort.change",{val:t,ref:this._uid})}}}},116:function(t,e){"use strict";t.exports={props:["txt","val"],computed:{active:function(){if(this.val===this.$parent.val)return"active"}},methods:{click:function(){this.$parent.val=this.val}}}},117:function(t,e){"use strict";t.exports={props:{txt:String,vals:Array},data:function(){return{}},computed:{active:function(){var t=this.vals.indexOf(this.$parent.val);if(t>=0)return{active:!0}}},methods:{clickHandler:function(){var t=this.vals.indexOf(this.$parent.val);t===-1?this.$parent.val=this.vals[0]:(t=0===t?1:0,this.$parent.val=this.vals[t])}}}},130:function(t,e){},131:function(t,e){},132:function(t,e){},133:function(t,e){},141:function(t,e){t.exports=" <div class=drawer :class=\"{'drawer-open': on }\" v-show=on> <div class=drawer-main v-el:main> <slot></slot> </div> </div> "},142:function(t,e){t.exports=' <div class=filter> <div class=filter-actions> <a href=javascript:; class=filter-action @click=clearVals>清空</a> <button class="button button-small filter-action" @click=okAction>确定</button> </div> <div class=filter-params> <ul class=filter-cates> <li class=filter-cate v-for="classify in config" @click=entrySub($key)> <i class="icon icon-right right"></i> <span class=filter-cate-label>{{$key | txt }}</span> <span class=filter-cate-val>{{params[$key] | unifyTxt $key }}</span> </li> </ul> </div> </div> '},143:function(t,e){t.exports=' <ul class="sort-navs clearfix"> <template v-for="item in config"> <simple v-if="(item.type || \'simple\') === \'simple\'" :txt=item.txt :val=item.val> </simple> <updown v-if="item.type === \'updown\'" :txt=item.txt :vals=item.val> </updown> </template> </ul> '},144:function(t,e){t.exports=" <li class=sort-item :class=active @click=click> <span class=sort-name>{{txt}}</span> </li> "},145:function(t,e){t.exports=' <li class=sort-item :class=active @click=clickHandler> <span class=sort-name>{{txt}}</span> <span class=sort-icon> <i class="icon icon-sort-asc" :class="{active: $parent.val === vals[0]}"></i> <i class="icon icon-sort-desc" :class="{active: $parent.val === vals[1]}"></i> </span> </li> '},151:function(t,e,s){var i,o;s(130),i=s(113),o=s(141),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},152:function(t,e,s){var i,o;s(131),i=s(114),o=s(142),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},153:function(t,e,s){var i,o;s(132),i=s(115),o=s(143),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},154:function(t,e,s){var i,o;i=s(116),o=s(144),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},155:function(t,e,s){var i,o;s(133),i=s(117),o=s(145),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},194:function(t,e,s){(function(e,i){"use strict";var o=s(2),r=s(18),n=s(50),a=s(5),c=s(4),l=s(153),p=s(31),u=s(151),f=s(152);o.use(r),o.use(n),s(6),t.exports={el:"#product-list",data:function(){return{sortConfig:e.sortConfig,filterConfig:e.filterConfig,url:"search",sort:null,filter:{},page:0,totalPage:null,productList:[],inSearching:!1}},components:{list:p,sort:l,filter:f,drawer:u},methods:{search:function(){var t=this,e=this.page+1;this.inSearching||this.page&&e>this.totalPage||(this.inSearching=!0,console.log(e),i.post(this.url,{sort:this.sort,filter:this.filter,page:e}).done(function(e){200===e.code&&(t.page=e.data.page,t.totalPage=e.data.pageTotal,t.$set("productList",t.productList.concat(e.data.productList)))}).fail(function(t){c("网络出错~")}).always(function(){t.inSearching=!1}))},openFilterSub:function(t){console.log("TODO: open filter sub",t)},research:function(){this.page=0,this.$set("productList",[]),this.search()}},watch:{sort:function(){this.research()},filter:function(){this.research()}},created:function(){var t=this;a.$on("list.paging",function(){t.search()}),a.$on("sort.change",function(e){var s=e.val;console.log(s),t.sort=s}),a.$on("filter.change",function(e){var s=e.val;console.log(s),t.filter=s,t.$refs.drawer.on=!1}),a.$on("filter.sub.show",function(e){var s=e.val;t.openFilterSub(s)}),this.search()}}}).call(e,function(){return this}(),s(1))},247:function(t,e){},282:function(t,e){t.exports=" <div> <sort :config=sortConfig :val=sort> </sort> <list :data=productList></list> <drawer v-ref:drawer> <filter :config=filterConfig></filter> </drawer> </div> "},316:function(t,e,s){var i,o;s(247),i=s(194),o=s(282),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)}});
1 -webpackJsonp([11],{0:function(t,e,s){"use strict";var i=s(2),o=s(1),a=s(316);o(function(){var t=function(){return[{txt:"默认",val:1},{txt:"最新",val:2},{type:"updown",txt:"价格",val:[3,4]},{type:"updown",txt:"折扣",val:[5,6]}]},e=new i(a);e.$set("sortConfig",t())})},4:function(t,e,s){(function(e){"use strict";function s(t){var s=void 0,i={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(i,{txt:t}):e.extend(i,t);var o='<div class="tip-box"><div class="tip">'+i.txt+"</div></div>",a=e(".tip-box");a.length&&(s=a.data("timer"),clearTimeout(s),a.remove());var n=e(o).appendTo(document.body);n.data("timer",setTimeout(function(){n.remove()},i.delay))}t.exports=s}).call(e,s(1))},5:function(t,e,s){"use strict";var i=s(2),o=new i;t.exports=o},6:function(t,e,s){"use strict";var i=s(2);i.filter("resize",function(t,e,s,i){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var o={"{width}":e,"{height}":s,"{mode}":i||2};return o[t]}):""}),i.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),i.filter("brandUrl",function(t){return"/brand?domain="+t}),i.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),i.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),s=e.getFullYear()+"-",i=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",o=e.getDate()+" ",a=e.getHours()+":",n=e.getMinutes()+":",r=e.getSeconds();return s+i+o+a+n+r}})},24:function(t,e,s){"use strict";var i=s(5);t.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){i.$emit("list.paging")}}}},28:function(t,e){},30:function(t,e){t.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(t,e,s){var i,o;s(28),i=s(24),o=s(30),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},115:function(t,e,s){"use strict";var i=(s(1),s(5)),o=s(154),a=s(155);t.exports={props:{config:Array,val:Number},components:{simple:o,updown:a},methods:{},watch:{val:function(t,e){i.$emit("sort.change",{val:t,ref:this._uid})}}}},116:function(t,e){"use strict";t.exports={props:["txt","val"],computed:{active:function(){if(this.val===this.$parent.val)return"active"}},methods:{click:function(){this.$parent.val=this.val}}}},117:function(t,e){"use strict";t.exports={props:{txt:String,vals:Array},data:function(){return{}},computed:{active:function(){var t=this.vals.indexOf(this.$parent.val);if(t>=0)return{active:!0}}},methods:{clickHandler:function(){var t=this.vals.indexOf(this.$parent.val);t===-1?this.$parent.val=this.vals[0]:(t=0===t?1:0,this.$parent.val=this.vals[t])}}}},132:function(t,e){},133:function(t,e){},143:function(t,e){t.exports=' <ul class="sort-navs clearfix"> <template v-for="item in config"> <simple v-if="(item.type || \'simple\') === \'simple\'" :txt=item.txt :val=item.val> </simple> <updown v-if="item.type === \'updown\'" :txt=item.txt :vals=item.val> </updown> </template> </ul> '},144:function(t,e){t.exports=" <li class=sort-item :class=active @click=click> <span class=sort-name>{{txt}}</span> </li> "},145:function(t,e){t.exports=' <li class=sort-item :class=active @click=clickHandler> <span class=sort-name>{{txt}}</span> <span class=sort-icon> <i class="icon icon-sort-asc" :class="{active: $parent.val === vals[0]}"></i> <i class="icon icon-sort-desc" :class="{active: $parent.val === vals[1]}"></i> </span> </li> '},153:function(t,e,s){var i,o;s(132),i=s(115),o=s(143),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},154:function(t,e,s){var i,o;i=s(116),o=s(144),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},155:function(t,e,s){var i,o;s(133),i=s(117),o=s(145),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},195:function(t,e,s){(function(e,i){"use strict";var o=s(2),a=s(18),n=s(50),r=s(38),c=s(5),p=s(4),l=s(153),u=s(31);o.use(a),o.use(n),s(6),t.exports={el:"#product-search",data:function(){return{sortConfig:e.sortConfig,filterConfig:e.filterConfig,url:"/product/search.json",sort:null,query:r.query,page:0,totalPage:null,productList:[],inSearching:!1}},computed:{empty:function(){return 0!==this.page&&!this.productList.length}},components:{list:u,sort:l},methods:{search:function(){var t=this,e=this.page+1;this.inSearching||this.page&&e>this.totalPage||(this.inSearching=!0,console.log(e),i.get(this.url,{order:this.sort,query:this.query,page:e}).done(function(e){200===e.code&&(t.page=e.data.page,t.totalPage=e.data.pageTotal,t.$set("productList",t.productList.concat(e.data.productList)))}).fail(function(t){p("网络出错~")}).always(function(){t.inSearching=!1}))},research:function(){this.page=0,this.$set("productList",[]),this.search()}},watch:{sort:function(){this.research()}},created:function(){var t=this;c.$on("list.paging",function(){t.search()}),c.$on("sort.change",function(e){var s=e.val;t.sort=s}),this.search()}}}).call(e,function(){return this}(),s(1))},247:function(t,e){},282:function(t,e){t.exports=' <div> <template v-if=productList.length> <sort :config=sortConfig :val=sort> </sort> <list :data=productList></list> </template> <div class=empty-tip v-if=empty> <i class="icon icon-search"></i> <p class=empty-tip-cn>未找到相关商品</p> <p class=empty-tip-en>Did not find the relevant goods</p> </div> </div> '},316:function(t,e,s){var i,o;s(247),i=s(195),o=s(282),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)}});  
  1 +webpackJsonp([11],{0:function(t,e,s){"use strict";var i=s(2),o=s(1),a=s(317);o(function(){var t=function(){return[{txt:"默认",val:1},{txt:"最新",val:2},{type:"updown",txt:"价格",val:[3,4]},{type:"updown",txt:"折扣",val:[5,6]}]},e=new i(a);e.$set("sortConfig",t())})},4:function(t,e,s){(function(e){"use strict";function s(t){var s=void 0,i={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(i,{txt:t}):e.extend(i,t);var o='<div class="tip-box"><div class="tip">'+i.txt+"</div></div>",a=e(".tip-box");a.length&&(s=a.data("timer"),clearTimeout(s),a.remove());var n=e(o).appendTo(document.body);n.data("timer",setTimeout(function(){n.remove()},i.delay))}t.exports=s}).call(e,s(1))},5:function(t,e,s){"use strict";var i=s(2),o=new i;t.exports=o},6:function(t,e,s){"use strict";var i=s(2);i.filter("resize",function(t,e,s,i){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var o={"{width}":e,"{height}":s,"{mode}":i||2};return o[t]}):""}),i.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),i.filter("brandUrl",function(t){return"/brand?domain="+t}),i.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),i.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),s=e.getFullYear()+"-",i=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",o=e.getDate()+" ",a=e.getHours()+":",n=e.getMinutes()+":",r=e.getSeconds();return s+i+o+a+n+r}})},24:function(t,e,s){"use strict";var i=s(5);t.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){i.$emit("list.paging")}}}},28:function(t,e){},30:function(t,e){t.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(t,e,s){var i,o;s(28),i=s(24),o=s(30),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},115:function(t,e,s){"use strict";var i=(s(1),s(5)),o=s(154),a=s(155);t.exports={props:{config:Array,val:Number},components:{simple:o,updown:a},methods:{},watch:{val:function(t,e){i.$emit("sort.change",{val:t,ref:this._uid})}}}},116:function(t,e){"use strict";t.exports={props:["txt","val"],computed:{active:function(){if(this.val===this.$parent.val)return"active"}},methods:{click:function(){this.$parent.val=this.val}}}},117:function(t,e){"use strict";t.exports={props:{txt:String,vals:Array},data:function(){return{}},computed:{active:function(){var t=this.vals.indexOf(this.$parent.val);if(t>=0)return{active:!0}}},methods:{clickHandler:function(){var t=this.vals.indexOf(this.$parent.val);t===-1?this.$parent.val=this.vals[0]:(t=0===t?1:0,this.$parent.val=this.vals[t])}}}},132:function(t,e){},133:function(t,e){},143:function(t,e){t.exports=' <ul class="sort-navs clearfix"> <template v-for="item in config"> <simple v-if="(item.type || \'simple\') === \'simple\'" :txt=item.txt :val=item.val> </simple> <updown v-if="item.type === \'updown\'" :txt=item.txt :vals=item.val> </updown> </template> </ul> '},144:function(t,e){t.exports=" <li class=sort-item :class=active @click=click> <span class=sort-name>{{txt}}</span> </li> "},145:function(t,e){t.exports=' <li class=sort-item :class=active @click=clickHandler> <span class=sort-name>{{txt}}</span> <span class=sort-icon> <i class="icon icon-sort-asc" :class="{active: $parent.val === vals[0]}"></i> <i class="icon icon-sort-desc" :class="{active: $parent.val === vals[1]}"></i> </span> </li> '},153:function(t,e,s){var i,o;s(132),i=s(115),o=s(143),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},154:function(t,e,s){var i,o;i=s(116),o=s(144),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},155:function(t,e,s){var i,o;s(133),i=s(117),o=s(145),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)},195:function(t,e,s){(function(e,i){"use strict";var o=s(2),a=s(18),n=s(50),r=s(38),c=s(5),p=s(4),l=s(153),u=s(31);o.use(a),o.use(n),s(6),t.exports={el:"#product-search",data:function(){return{sortConfig:e.sortConfig,filterConfig:e.filterConfig,url:"/product/search.json",sort:null,query:r.query,page:0,totalPage:null,productList:[],inSearching:!1}},computed:{empty:function(){return 0!==this.page&&!this.productList.length}},components:{list:u,sort:l},methods:{search:function(){var t=this,e=this.page+1;this.inSearching||this.page&&e>this.totalPage||(this.inSearching=!0,console.log(e),i.get(this.url,{order:this.sort,query:this.query,page:e}).done(function(e){200===e.code&&(t.page=e.data.page,t.totalPage=e.data.pageTotal,t.$set("productList",t.productList.concat(e.data.productList)))}).fail(function(t){p("网络出错~")}).always(function(){t.inSearching=!1}))},research:function(){this.page=0,this.$set("productList",[]),this.search()}},watch:{sort:function(){this.research()}},created:function(){var t=this;c.$on("list.paging",function(){t.search()}),c.$on("sort.change",function(e){var s=e.val;t.sort=s}),this.search()}}}).call(e,function(){return this}(),s(1))},248:function(t,e){},283:function(t,e){t.exports=' <div> <template v-if=productList.length> <sort :config=sortConfig :val=sort> </sort> <list :data=productList></list> </template> <div class=empty-tip v-if=empty> <i class="icon icon-search"></i> <p class=empty-tip-cn>未找到相关商品</p> <p class=empty-tip-en>Did not find the relevant goods</p> </div> </div> '},317:function(t,e,s){var i,o;s(248),i=s(195),o=s(283),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)}});
1 -webpackJsonp([15],{0:function(e,t,r){"use strict";var o=r(2),n=r(18),s=r(318);r(6),o.use(n),new o({el:"#share",components:{shareBox:s}})},6:function(e,t,r){"use strict";var o=r(2);o.filter("resize",function(e,t,r,o){return e?e.replace(/(\{width}|\{height}|\{mode})/g,function(e){var n={"{width}":t,"{height}":r,"{mode}":o||2};return n[e]}):""}),o.filter("clothingGenderIdentity",function(e){var t=null;switch(e){case 1:t="男款";break;case 2:t="女款";break;default:t="通用"}return t}),o.filter("brandUrl",function(e){return"/brand?domain="+e}),o.filter("convertOrderState",function(e){var t="";switch("undefined"==typeof e&&(e=parseInt(e,10)),e){case 0:t="待付款";break;case 1:t="待发货";break;case 2:t="待发货";break;case 3:t="待发货";break;case 4:t="待收货";break;case 5:t="待发货";break;case 6:t="已完成";break;default:t=""}return t}),o.filter("convertTime",function(e){if("undefined"!=typeof e){var t=new Date(1e3*parseFloat(e)),r=t.getFullYear()+"-",o=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",n=t.getDate()+" ",s=t.getHours()+":",a=t.getMinutes()+":",i=t.getSeconds();return r+o+n+s+a+i}})},196:function(e,t){"use strict";e.exports={data:function(){return{close:!1}},methods:{closeBottom:function(){this.close=!0}}}},197:function(e,t,r){"use strict";var o=r(317);e.exports={data:function(){return{brandName:"COLORMAD",brandBg:"http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg",brandIntro:"COLORMAD坚持女性的时尚美丽不应为牺牲健康为代价,以健康,时尚,科技为理念,研发健康无伤害的新概念甲油。"}},components:{shareBottom:o}}},248:function(e,t){},249:function(e,t){},283:function(e,t){e.exports=' <div class="share-bottom clearfix" v-bind:class="{ \'hidden\': close }"> <span class="icon close" @click=closeBottom()>&#xe609;</span> <img v-lazy=""> <a href=javascript:; class=new-user>新用户送千元礼包</a> <a href=http://m.yohoblk.com class=download>立即下载</a> </div> '},284:function(e,t){e.exports=' <div class=brand-share> <div class=brand-top-box v-bind:style="{ \'background-image\': `url(${brandBg})` }"></div> <div class=brand-title>{{ brandName }}</div> <div class=brand-intro>{{ brandIntro }}</div> <div class=tip>进入 BLK 选购潮品</div> <div class=arrow>i</div> <img v-lazy="brandBg | resize 752 365"> </div> <share-bottom></share-bottom> '},317:function(e,t,r){var o,n;r(248),o=r(196),n=r(283),e.exports=o||{},e.exports.__esModule&&(e.exports=e.exports["default"]),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)},318:function(e,t,r){var o,n;r(249),o=r(197),n=r(284),e.exports=o||{},e.exports.__esModule&&(e.exports=e.exports["default"]),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});  
  1 +webpackJsonp([15],{0:function(e,t,r){"use strict";var o=r(2),n=r(18),s=r(319);r(6),o.use(n),new o({el:"#share",components:{shareBox:s}})},6:function(e,t,r){"use strict";var o=r(2);o.filter("resize",function(e,t,r,o){return e?e.replace(/(\{width}|\{height}|\{mode})/g,function(e){var n={"{width}":t,"{height}":r,"{mode}":o||2};return n[e]}):""}),o.filter("clothingGenderIdentity",function(e){var t=null;switch(e){case 1:t="男款";break;case 2:t="女款";break;default:t="通用"}return t}),o.filter("brandUrl",function(e){return"/brand?domain="+e}),o.filter("convertOrderState",function(e){var t="";switch("undefined"==typeof e&&(e=parseInt(e,10)),e){case 0:t="待付款";break;case 1:t="待发货";break;case 2:t="待发货";break;case 3:t="待发货";break;case 4:t="待收货";break;case 5:t="待发货";break;case 6:t="已完成";break;default:t=""}return t}),o.filter("convertTime",function(e){if("undefined"!=typeof e){var t=new Date(1e3*parseFloat(e)),r=t.getFullYear()+"-",o=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",n=t.getDate()+" ",s=t.getHours()+":",a=t.getMinutes()+":",i=t.getSeconds();return r+o+n+s+a+i}})},196:function(e,t){"use strict";e.exports={data:function(){return{close:!1}},methods:{closeBottom:function(){this.close=!0}}}},197:function(e,t,r){"use strict";var o=r(318);e.exports={data:function(){return{brandName:"COLORMAD",brandBg:"http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg",brandIntro:"COLORMAD坚持女性的时尚美丽不应为牺牲健康为代价,以健康,时尚,科技为理念,研发健康无伤害的新概念甲油。"}},components:{shareBottom:o}}},249:function(e,t){},250:function(e,t){},284:function(e,t){e.exports=' <div class="share-bottom clearfix" v-bind:class="{ \'hidden\': close }"> <span class="icon close" @click=closeBottom()>&#xe609;</span> <img v-lazy=""> <a href=javascript:; class=new-user>新用户送千元礼包</a> <a href=http://m.yohoblk.com class=download>立即下载</a> </div> '},285:function(e,t){e.exports=' <div class=brand-share> <div class=brand-top-box v-bind:style="{ \'background-image\': `url(${brandBg})` }"></div> <div class=brand-title>{{ brandName }}</div> <div class=brand-intro>{{ brandIntro }}</div> <div class=tip>进入 BLK 选购潮品</div> <div class=arrow>i</div> <img v-lazy="brandBg | resize 752 365"> </div> <share-bottom></share-bottom> '},318:function(e,t,r){var o,n;r(249),o=r(196),n=r(284),e.exports=o||{},e.exports.__esModule&&(e.exports=e.exports["default"]),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)},319:function(e,t,r){var o,n;r(250),o=r(197),n=r(285),e.exports=o||{},e.exports.__esModule&&(e.exports=e.exports["default"]),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});
1 -webpackJsonp([9],{0:function(t,o,e){"use strict";var n=e(2),i=e(18),s=e(50),r=e(319);n.use(i),n.use(s),new n({el:"#shop",components:{shopBox:r}})},4:function(t,o,e){(function(o){"use strict";function e(t){var e=void 0,n={mask:!1,delay:2e3,txt:""};"string"==typeof t?o.extend(n,{txt:t}):o.extend(n,t);var i='<div class="tip-box"><div class="tip">'+n.txt+"</div></div>",s=o(".tip-box");s.length&&(e=s.data("timer"),clearTimeout(e),s.remove());var r=o(i).appendTo(document.body);r.data("timer",setTimeout(function(){r.remove()},n.delay))}t.exports=e}).call(o,e(1))},5:function(t,o,e){"use strict";var n=e(2),i=new n;t.exports=i},6:function(t,o,e){"use strict";var n=e(2);n.filter("resize",function(t,o,e,n){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var i={"{width}":o,"{height}":e,"{mode}":n||2};return i[t]}):""}),n.filter("clothingGenderIdentity",function(t){var o=null;switch(t){case 1:o="男款";break;case 2:o="女款";break;default:o="通用"}return o}),n.filter("brandUrl",function(t){return"/brand?domain="+t}),n.filter("convertOrderState",function(t){var o="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:o="待付款";break;case 1:o="待发货";break;case 2:o="待发货";break;case 3:o="待发货";break;case 4:o="待收货";break;case 5:o="待发货";break;case 6:o="已完成";break;default:o=""}return o}),n.filter("convertTime",function(t){if("undefined"!=typeof t){var o=new Date(1e3*parseFloat(t)),e=o.getFullYear()+"-",n=(o.getMonth()+1<10?"0"+(o.getMonth()+1):o.getMonth()+1)+"-",i=o.getDate()+" ",s=o.getHours()+":",r=o.getMinutes()+":",a=o.getSeconds();return e+n+i+s+r+a}})},24:function(t,o,e){"use strict";var n=e(5);t.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){n.$emit("list.paging")}}}},28:function(t,o){},30:function(t,o){t.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(t,o,e){var n,i;e(28),n=e(24),i=e(30),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},113:function(t,o){"use strict";t.exports={props:{on:Boolean}}},114:function(t,o,e){"use strict";var n=e(1),i=e(5);t.exports={props:{config:Object},data:function(){return{params:{},selected:{}}},watch:{},methods:{clearVals:function(){this.$set("params",{})},setCateParams:function(t,o){this.$set("params."+t,o)},okAction:function(){i.$emit("filter.change",{val:this.params,ref:this._uid})},entrySub:function(t){i.$emit("filter.sub.show",{val:t,ref:this._uid})}},filters:{unifyTxt:function(t,o){var e="",i=[],s=n.noop;return n.isArray(t)&&(s=function(t,e){i.push(e[o+"Name"])}),n.each(t,s),e=i.join(",")},txt:function(t){var o={color:"Color颜色",gender:"Gender性别",size:"Size尺寸",brand:"Brand品牌",priceRange:"Price价格",groupSort:"Category品类",discount:"Sale折扣"};return o[t]||""}}}},124:function(t,o,e){"use strict";var n=e(4),i={isApp:/yh_blk/i.test((navigator.userAgent||"").toLowerCase()),data:window.yohoInterfaceData,goTap:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.tab",arguments:t}):n("暂不支持,请在BLK应用中打开")},goLogin:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.login",arguments:t}):n("暂不支持,请在BLK应用中打开")},goLogout:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.loginout",arguments:t}):n("暂不支持,请在BLK应用中打开")},goShopingKey:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.shoppingkey",arguments:t}):n("暂不支持,请在BLK应用中打开")},goShopingCart:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.shopingCart",arguments:t}):n("暂不支持,请在BLK应用中打开")},goAddress:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.address",arguments:t}):n("暂不支持,请在BLK应用中打开")},goImageBrowser:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.imageBrowser",arguments:t}):n("暂不支持,请在BLK应用中打开")},goNewPage:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.newPage",arguments:t}):n("暂不支持,请在BLK应用中打开")},goPay:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.pay",arguments:t}):n("暂不支持,请在BLK应用中打开")},goBack:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.back",arguments:t}):n("暂不支持,请在BLK应用中打开")},goShare:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.share",arguments:t}):n("暂不支持,请在BLK应用中打开")},goSearch:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.search",arguments:t}):n("暂不支持,请在BLK应用中打开")},goSetting:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.setting",arguments:t}):n("暂不支持,请在BLK应用中打开")},addNativeMethod:function(t,o){window.yohoInterface[t]=o}};t.exports=i},130:function(t,o){},131:function(t,o){},141:function(t,o){t.exports=" <div class=drawer :class=\"{'drawer-open': on }\" v-show=on> <div class=drawer-main v-el:main> <slot></slot> </div> </div> "},142:function(t,o){t.exports=' <div class=filter> <div class=filter-actions> <a href=javascript:; class=filter-action @click=clearVals>清空</a> <button class="button button-small filter-action" @click=okAction>确定</button> </div> <div class=filter-params> <ul class=filter-cates> <li class=filter-cate v-for="classify in config" @click=entrySub($key)> <i class="icon icon-right right"></i> <span class=filter-cate-label>{{$key | txt }}</span> <span class=filter-cate-val>{{params[$key] | unifyTxt $key }}</span> </li> </ul> </div> </div> '},151:function(t,o,e){var n,i;e(130),n=e(113),i=e(141),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},152:function(t,o,e){var n,i;e(131),n=e(114),i=e(142),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},198:function(t,o,e){(function(o){"use strict";var n=e(1),i=e(38),s=e(5),r=e(4),a=e(321),c=e(320),p=e(31),f=e(151),u=e(152);e(6),t.exports={data:function(){return{domain:i.domain,shareData:{},shopInfo:{},sortConfig:o.sortConfig,filterConfig:o.filterConfig,url:"/product/get-brand-shop-goods",sort:"",filter:{},page:0,totalPage:3,productList:[],inSearching:!1}},watch:{domain:function(){this.getShopInfo()},sort:function(){this.research()},filter:function(){this.research()}},methods:{getShopInfo:function(){var t=this;n.get({url:"/product/get-shop-info",data:{domain:this.domain}}).done(function(o){o?(t.shopInfo=o,t.shopInfo.showBrandInfo=!0,t.shareData={title:o.brandName,link:"/brand-share?domain="+t.domain,img:o.brandBg}):t.shopInfo.showBrandInfo=!1}).fail(function(){r("网络错误")})},getProductList:function(){var t=this,o={};n.ajax({url:this.url,data:o}).done(function(o){t.productList=o.data.productList}).fail(function(){r("网络错误")})},search:function(){var t=this,o=this;this.inSearching||this.page&&this.page+1>this.totalPage||(this.inSearching=!0,this.page++,n.post(this.url,{sort:this.sort,filter:this.filter,page:this.page}).done(function(o){t.productList=o.data.productList}).fail(function(t){o.page--,console.log(t)}).always(function(){o.inSearching=!1}))},openFilterSub:function(){console.log("TODO: open filter sub")},research:function(){this.page=0,this.$set("productList",[]),this.search()}},components:{topBar:a,shopTop:c,goodsList:p,drawer:f,filter:u},created:function(){this.getShopInfo(),s.$on("list.paging",function(){this.search()}),s.$on("sort.change",function(t){var o=t.val;console.log(o),this.sort=o}),s.$on("filter.change",function(t){var o=t.val;console.log(o),this.filter=o,this.$refs.drawer.on=!1}),s.$on("filter.sub.show",function(t){var o=t.val;this.openFilterSub(o)})}}}).call(o,function(){return this}())},199:function(t,o){"use strict";t.exports={props:{shopInfo:{type:Object}},data:function(){return{showMore:!1}},methods:{introTrans:function(){this.showMore=this.showMore!==!0}}}},200:function(t,o,e){"use strict";var n=e(124),i=e(1),s=e(4);t.exports={props:{shareData:{type:Object}},methods:{goShare:function(){n.goShare(this.shareData,function(){},function(){})},goBack:function(){n.goBack({},function(){},function(){})},collectShop:function(){var t=this,o={shopId:this.shareData.shopId,isFav:this.shareData.isFav};i.post({url:"/collect-shop",data:o}).done(function(o){200===o.code?t.shareData.isFav=t.shareData.isFav!==!0:s("网络错误")}).fail(function(){s("网络错误")})},showFilter:function(){}}}},250:function(t,o){},251:function(t,o){},285:function(t,o){t.exports=" <top-bar v-bind:share-data=shareData></top-bar> <shop-top v-bind:shop-info=shopInfo></shop-top> <goods-list v-bind:data=productList></goods-list> <drawer v-ref:drawer> <filter :config.once=filterConfig></filter> </drawer> "},286:function(t,o){t.exports=' <div v-if=shopInfo.showBrandInfo class=brand-top-box v-bind:style="{ \'background-image\': `url(${shopInfo.brandBg})` }"> <div class=brand-bottom> <img v-if=shopInfo.showBrandLogo v-lazy=brandIntro.brandLogo alt="{{ shopInfo.brandName }}"> <div v-else class=brand-title>{{ shopInfo.brandName }}</div> <hr> <div v-show=showMore transition=brand-intro v-bind:class="{ \'brand-short\': !showMore }">{{ shopInfo.brandIntro }}</div> </div> <div v-if=!showMore class="showmore expand" @click=introTrans()><span class=icon>&#xe602;</span></div> <div v-else class="showmore collapse" @click=introTrans()><span class=icon>&#xe617;</span></div> </div> '},287:function(t,o){t.exports=' <div class="top-box clearfix"> <span class="icon back" @click=goBack()>&#xe606;</span> <div class=right> <span class=icon v-bind:class="{\'favorite\': shareData.isFav}" @click=collectShop()>&#xe609;</span> <span class="icon share" @click=goShare()>&#xe60e;</span> <span class="icon filter" @click=showFilter()>&#xe60b;</span> </div> </div> '},319:function(t,o,e){var n,i;n=e(198),i=e(285),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},320:function(t,o,e){var n,i;e(250),n=e(199),i=e(286),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},321:function(t,o,e){var n,i;e(251),n=e(200),i=e(287),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)}});  
  1 +webpackJsonp([9],{0:function(t,o,e){"use strict";var n=e(2),i=e(18),s=e(50),r=e(320);n.use(i),n.use(s),new n({el:"#shop",components:{shopBox:r}})},4:function(t,o,e){(function(o){"use strict";function e(t){var e=void 0,n={mask:!1,delay:2e3,txt:""};"string"==typeof t?o.extend(n,{txt:t}):o.extend(n,t);var i='<div class="tip-box"><div class="tip">'+n.txt+"</div></div>",s=o(".tip-box");s.length&&(e=s.data("timer"),clearTimeout(e),s.remove());var r=o(i).appendTo(document.body);r.data("timer",setTimeout(function(){r.remove()},n.delay))}t.exports=e}).call(o,e(1))},5:function(t,o,e){"use strict";var n=e(2),i=new n;t.exports=i},6:function(t,o,e){"use strict";var n=e(2);n.filter("resize",function(t,o,e,n){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var i={"{width}":o,"{height}":e,"{mode}":n||2};return i[t]}):""}),n.filter("clothingGenderIdentity",function(t){var o=null;switch(t){case 1:o="男款";break;case 2:o="女款";break;default:o="通用"}return o}),n.filter("brandUrl",function(t){return"/brand?domain="+t}),n.filter("convertOrderState",function(t){var o="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:o="待付款";break;case 1:o="待发货";break;case 2:o="待发货";break;case 3:o="待发货";break;case 4:o="待收货";break;case 5:o="待发货";break;case 6:o="已完成";break;default:o=""}return o}),n.filter("convertTime",function(t){if("undefined"!=typeof t){var o=new Date(1e3*parseFloat(t)),e=o.getFullYear()+"-",n=(o.getMonth()+1<10?"0"+(o.getMonth()+1):o.getMonth()+1)+"-",i=o.getDate()+" ",s=o.getHours()+":",r=o.getMinutes()+":",a=o.getSeconds();return e+n+i+s+r+a}})},24:function(t,o,e){"use strict";var n=e(5);t.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){n.$emit("list.paging")}}}},28:function(t,o){},30:function(t,o){t.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(t,o,e){var n,i;e(28),n=e(24),i=e(30),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},113:function(t,o){"use strict";t.exports={props:{on:Boolean}}},114:function(t,o,e){"use strict";var n=e(1),i=e(5);t.exports={props:{config:Object},data:function(){return{params:{},selected:{}}},watch:{},methods:{clearVals:function(){this.$set("params",{})},setCateParams:function(t,o){this.$set("params."+t,o)},okAction:function(){i.$emit("filter.change",{val:this.params,ref:this._uid})},entrySub:function(t){i.$emit("filter.sub.show",{val:t,ref:this._uid})}},filters:{unifyTxt:function(t,o){var e="",i=[],s=n.noop;return n.isArray(t)&&(s=function(t,e){i.push(e[o+"Name"])}),n.each(t,s),e=i.join(",")},txt:function(t){var o={color:"Color颜色",gender:"Gender性别",size:"Size尺寸",brand:"Brand品牌",priceRange:"Price价格",groupSort:"Category品类",discount:"Sale折扣"};return o[t]||""}}}},124:function(t,o,e){"use strict";var n=e(4),i={isApp:/yh_blk/i.test((navigator.userAgent||"").toLowerCase()),data:window.yohoInterfaceData,goTap:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.tab",arguments:t}):n("暂不支持,请在BLK应用中打开")},goLogin:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.login",arguments:t}):n("暂不支持,请在BLK应用中打开")},goLogout:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.loginout",arguments:t}):n("暂不支持,请在BLK应用中打开")},goShopingKey:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.shoppingkey",arguments:t}):n("暂不支持,请在BLK应用中打开")},goShopingCart:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.shopingCart",arguments:t}):n("暂不支持,请在BLK应用中打开")},goAddress:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.address",arguments:t}):n("暂不支持,请在BLK应用中打开")},goImageBrowser:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.imageBrowser",arguments:t}):n("暂不支持,请在BLK应用中打开")},goNewPage:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.newPage",arguments:t}):n("暂不支持,请在BLK应用中打开")},goPay:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.pay",arguments:t}):n("暂不支持,请在BLK应用中打开")},goBack:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.back",arguments:t}):n("暂不支持,请在BLK应用中打开")},goShare:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.share",arguments:t}):n("暂不支持,请在BLK应用中打开")},goSearch:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.search",arguments:t}):n("暂不支持,请在BLK应用中打开")},goSetting:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.setting",arguments:t}):n("暂不支持,请在BLK应用中打开")},addNativeMethod:function(t,o){window.yohoInterface[t]=o}};t.exports=i},130:function(t,o){},131:function(t,o){},141:function(t,o){t.exports=" <div class=drawer :class=\"{'drawer-open': on }\" v-show=on> <div class=drawer-main v-el:main> <slot></slot> </div> </div> "},142:function(t,o){t.exports=' <div class=filter> <div class=filter-actions> <a href=javascript:; class=filter-action @click=clearVals>清空</a> <button class="button button-small filter-action" @click=okAction>确定</button> </div> <div class=filter-params> <ul class=filter-cates> <li class=filter-cate v-for="classify in config" @click=entrySub($key)> <i class="icon icon-right right"></i> <span class=filter-cate-label>{{$key | txt }}</span> <span class=filter-cate-val>{{params[$key] | unifyTxt $key }}</span> </li> </ul> </div> </div> '},151:function(t,o,e){var n,i;e(130),n=e(113),i=e(141),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},152:function(t,o,e){var n,i;e(131),n=e(114),i=e(142),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},198:function(t,o,e){(function(o){"use strict";var n=e(1),i=e(38),s=e(5),r=e(4),a=e(322),c=e(321),p=e(31),f=e(151),u=e(152);e(6),t.exports={data:function(){return{domain:i.domain,shareData:{},shopInfo:{},sortConfig:o.sortConfig,filterConfig:o.filterConfig,url:"/product/get-brand-shop-goods",sort:"",filter:{},page:0,totalPage:3,productList:[],inSearching:!1}},watch:{domain:function(){this.getShopInfo()},sort:function(){this.research()},filter:function(){this.research()}},methods:{getShopInfo:function(){var t=this;n.get({url:"/product/get-shop-info",data:{domain:this.domain}}).done(function(o){o?(t.shopInfo=o,t.shopInfo.showBrandInfo=!0,t.shareData={title:o.brandName,link:"/brand-share?domain="+t.domain,img:o.brandBg}):t.shopInfo.showBrandInfo=!1}).fail(function(){r("网络错误")})},getProductList:function(){var t=this,o={};n.ajax({url:this.url,data:o}).done(function(o){t.productList=o.data.productList}).fail(function(){r("网络错误")})},search:function(){var t=this,o=this;this.inSearching||this.page&&this.page+1>this.totalPage||(this.inSearching=!0,this.page++,n.post(this.url,{sort:this.sort,filter:this.filter,page:this.page}).done(function(o){t.productList=o.data.productList}).fail(function(t){o.page--,console.log(t)}).always(function(){o.inSearching=!1}))},openFilterSub:function(){console.log("TODO: open filter sub")},research:function(){this.page=0,this.$set("productList",[]),this.search()}},components:{topBar:a,shopTop:c,goodsList:p,drawer:f,filter:u},created:function(){this.getShopInfo(),s.$on("list.paging",function(){this.search()}),s.$on("sort.change",function(t){var o=t.val;console.log(o),this.sort=o}),s.$on("filter.change",function(t){var o=t.val;console.log(o),this.filter=o,this.$refs.drawer.on=!1}),s.$on("filter.sub.show",function(t){var o=t.val;this.openFilterSub(o)})}}}).call(o,function(){return this}())},199:function(t,o){"use strict";t.exports={props:{shopInfo:{type:Object}},data:function(){return{showMore:!1}},methods:{introTrans:function(){this.showMore=this.showMore!==!0}}}},200:function(t,o,e){"use strict";var n=e(124),i=e(1),s=e(4);t.exports={props:{shareData:{type:Object}},methods:{goShare:function(){n.goShare(this.shareData,function(){},function(){})},goBack:function(){n.goBack({},function(){},function(){})},collectShop:function(){var t=this,o={shopId:this.shareData.shopId,isFav:this.shareData.isFav};i.post({url:"/collect-shop",data:o}).done(function(o){200===o.code?t.shareData.isFav=t.shareData.isFav!==!0:s("网络错误")}).fail(function(){s("网络错误")})},showFilter:function(){}}}},251:function(t,o){},252:function(t,o){},286:function(t,o){t.exports=" <top-bar v-bind:share-data=shareData></top-bar> <shop-top v-bind:shop-info=shopInfo></shop-top> <goods-list v-bind:data=productList></goods-list> <drawer v-ref:drawer> <filter :config.once=filterConfig></filter> </drawer> "},287:function(t,o){t.exports=' <div v-if=shopInfo.showBrandInfo class=brand-top-box v-bind:style="{ \'background-image\': `url(${shopInfo.brandBg})` }"> <div class=brand-bottom> <img v-if=shopInfo.showBrandLogo v-lazy=brandIntro.brandLogo alt="{{ shopInfo.brandName }}"> <div v-else class=brand-title>{{ shopInfo.brandName }}</div> <hr> <div v-show=showMore transition=brand-intro v-bind:class="{ \'brand-short\': !showMore }">{{ shopInfo.brandIntro }}</div> </div> <div v-if=!showMore class="showmore expand" @click=introTrans()><span class=icon>&#xe602;</span></div> <div v-else class="showmore collapse" @click=introTrans()><span class=icon>&#xe617;</span></div> </div> '},288:function(t,o){t.exports=' <div class="top-box clearfix"> <span class="icon back" @click=goBack()>&#xe606;</span> <div class=right> <span class=icon v-bind:class="{\'favorite\': shareData.isFav}" @click=collectShop()>&#xe609;</span> <span class="icon share" @click=goShare()>&#xe60e;</span> <span class="icon filter" @click=showFilter()>&#xe60b;</span> </div> </div> '},320:function(t,o,e){var n,i;n=e(198),i=e(286),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},321:function(t,o,e){var n,i;e(251),n=e(199),i=e(287),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},322:function(t,o,e){var n,i;e(252),n=e(200),i=e(288),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)}});
@@ -15,10 +15,12 @@ @@ -15,10 +15,12 @@
15 <button class="button" @click='yoho.goSetting()'>设置</button> 15 <button class="button" @click='yoho.goSetting()'>设置</button>
16 </template> 16 </template>
17 <style> 17 <style>
  18 + body {
  19 + word-break: break-all;
  20 + }
  21 +
18 button { 22 button {
19 - width: 30%;  
20 - height: 60px;  
21 - margin: 1%; 23 + margin-bottom: 20px;
22 } 24 }
23 </style> 25 </style>
24 <script> 26 <script>