| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"0010":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-badge",props:{type:{type:String,default:"error"},size:{type:String,default:"default"},isDot:{type:Boolean,default:!1},count:{type:[Number,String]},overflowCount:{type:Number,default:99},showZero:{type:Boolean,default:!1},offset:{type:Array,default:function(){return[20,20]}},absolute:{type:Boolean,default:!0},fontSize:{type:[String,Number],default:"24"},color:{type:String,default:"#ffffff"},bgColor:{type:String,default:""},isCenter:{type:Boolean,default:!1}},computed:{boxStyle:function(){var t={};return this.isCenter?(t.top=0,t.right=0,t.transform="translateY(-50%) translateX(50%)"):(t.top=this.offset[0]+"rpx",t.right=this.offset[1]+"rpx",t.transform="translateY(0) translateX(0)"),"mini"==this.size&&(t.transform=t.transform+" scale(0.8)"),t},showText:function(){return this.isDot?"":this.count>this.overflowCount?"".concat(this.overflowCount,"+"):this.count},show:function(){return 0!=this.count||0!=this.showZero}}};e.default=n},"03dd3":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-view[data-v-16db4ed7],\nuni-scroll-view[data-v-16db4ed7]{-webkit-box-sizing:border-box;box-sizing:border-box}[data-v-16db4ed7]::-webkit-scrollbar,[data-v-16db4ed7]::-webkit-scrollbar,[data-v-16db4ed7]::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}.u-scroll-box[data-v-16db4ed7]{position:relative}uni-scroll-view[data-v-16db4ed7] ::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}.u-scroll-view[data-v-16db4ed7]{width:100%;white-space:nowrap;position:relative}.u-tab-item[data-v-16db4ed7]{position:relative;display:inline-block;text-align:center;-webkit-transition-property:background-color,color;transition-property:background-color,color}.u-tab-bar[data-v-16db4ed7]{position:absolute;bottom:0}.u-tabs-scorll-flex[data-v-16db4ed7]{\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}',""]),t.exports=e},"05d7":function(t,e,i){"use strict";var n=i("5cbb"),a=i.n(n);a.a},"0a48":function(t,e,i){var n=i("c531");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("88ed04fe",n,!0,{sourceMap:!1,shadowMode:!1})},"0e13":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.u-line[data-v-41421f68]{vertical-align:middle}',""]),t.exports=e},"12e6":function(t,e,i){"use strict";var n=i("4ea4");i("a9e3"),i("ac1f"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),r={name:"u-tabs",props:{isScroll:{type:Boolean,default:!0},list:{type:Array,default:function(){return[]}},current:{type:[Number,String],default:0},height:{type:[String,Number],default:80},fontSize:{type:[String,Number],default:30},duration:{type:[String,Number],default:.5},activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#303133"},barWidth:{type:[String,Number],default:40},barHeight:{type:[String,Number],default:6},gutter:{type:[String,Number],default:30},bgColor:{type:String,default:"#ffffff"},name:{type:String,default:"name"},count:{type:String,default:"count"},offset:{type:Array,default:function(){return[5,20]}},bold:{type:Boolean,default:!0},activeItemStyle:{type:Object,default:function(){return{}}},showBar:{type:Boolean,default:!0},barStyle:{type:Object,default:function(){return{}}},itemWidth:{type:[Number,String],default:"auto"}},data:function(){return{scrollLeft:0,tabQueryInfo:[],componentWidth:0,scrollBarLeft:0,parentLeft:0,id:this.$u.guid(),currentIndex:this.current,barFirstTimeMove:!0}},watch:{list:function(t,e){var i=this;t.length!==e.length&&(this.currentIndex=0),this.$nextTick((function(){i.init()}))},current:{immediate:!0,handler:function(t,e){var i=this;this.$nextTick((function(){i.currentIndex=t,i.scrollByIndex()}))}}},computed:{tabBarStyle:function(){var t={width:this.barWidth+"rpx",transform:"translate(".concat(this.scrollBarLeft,"px, -100%)"),"transition-duration":"".concat(this.barFirstTimeMove?0:this.duration,"s"),"background-color":this.activeColor,height:this.barHeight+"rpx",opacity:this.barFirstTimeMove?0:1,"border-radius":"".concat(this.barHeight/2,"px")};return Object.assign(t,this.barStyle),t},tabItemStyle:function(){var t=this;return function(e){var i={height:t.height+"rpx","line-height":t.height+"rpx","font-size":t.fontSize+"rpx","transition-duration":"".concat(t.duration,"s"),padding:t.isScroll?"0 ".concat(t.gutter,"rpx"):"",flex:t.isScroll?"auto":"1",width:t.$u.addUnit(t.itemWidth)};return e==t.currentIndex&&t.bold&&(i.fontWeight="bold"),e==t.currentIndex?(i.color=t.activeColor,i=Object.assign(i,t.activeItemStyle)):i.color=t.inactiveColor,i}}},methods:{init:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$uGetRect("#"+t.id);case 2:i=e.sent,t.parentLeft=i.left,t.componentWidth=i.width,t.getTabRect();case 6:case"end":return e.stop()}}),e)})))()},clickTab:function(t){t!=this.currentIndex&&this.$emit("change",t)},getTabRect:function(){for(var t=uni.createSelectorQuery().in(this),e=0;e<this.list.length;e++)t.select("#u-tab-item-".concat(e)).fields({size:!0,rect:!0});t.exec(function(t){this.tabQueryInfo=t,this.scrollByIndex()}.bind(this))},scrollByIndex:function(){var t=this,e=this.tabQueryInfo[this.currentIndex];if(e){var i=e.width,n=e.left-this.parentLeft,a=n-(this.componentWidth-i)/2;this.scrollLeft=a<0?0:a;var r=e.left+e.width/2-this.parentLeft;this.scrollBarLeft=r-uni.upx2px(this.barWidth)/2,1==this.barFirstTimeMove&&setTimeout((function(){t.barFirstTimeMove=!1}),100)}}},mounted:function(){this.init()}};e.default=r},"141a":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAiCAYAAACnSgJKAAAFXElEQVRYR6XXe4zcVRUH8M+Z2S5gAbWkrS2oPApaGzW0QLS27GyBFiEiRkT9RxKjaEKJUf8piWJFE3wkGLUQgxATNQQLCWgiWFq6D+sqVLBR0ApKWi1Vi1St9LXdnWvundnpdDfbzq4n2WSze+/53vP6nu8vtFlar2qOpUIPLpacJzlLmIkuHMS/sAPP4peGbYiVdrf76fT3yAfTet3mWI1P4yzJy8JTkufwIl7BiHCKMEvyBry1+ZN9PCrcGj1+0ylwPhdpyCzDfoYL8X11dxu0Ndaqn8hR6vMaXCt8BgslN0ev75zo3tj/I/W5X3i/5Iro1d/pxWPK1adLxQ8lHxAu6jQDkfodws6oedN0gMfupAFXSX4qrI0eX+zEVwZP5WByiwFf6yTd4x2nvtKUPymlC1+JHrdMDbxx+g/CvcKjNtt+vIekLU5zxLtwnYoPS15VPPwf4O0Pzh3+PP4m+S+OULr9DLxeOEdSmRDhlMGT/aI0y0rJdWXcOrMRDKn4nrrFuHk6kf/dYQtilf2l/IPeom6JuvOF+cJphWSSg8JeYafwjPBkLC+kI/X7OO6eDnhuuKfwsei1rbOgG6fSBjN1l4jX4qTpgTd8/S5q3tYanw3m6LY3euX0NsAaxHK2KKS0Au/Bq1sPnnLNc9zJN4VHomZjE+QmYZ1QL+lmtDQcM8ZlJtPujyXz8c7pRP5C1JzX7jQN6pHcITkTpzYXSyakl/EXqdR8yCEb4kp706D3qnt4OuAZ9+sO+Hxc5fBUal6ytNnbVTxAadBpk0x/1PR2Ap4GzTbqMuGDzbpXm/ceLF0/ar+6XS73YkQp2URKaNErf5I8G72ubUZzmYrbm2neV1Zqo+azJeeIUo5OLPdLnqB+FffHpX47dmmM21+wxwVx/dEXpj6fEMddj3knNJyGbUbtVLVH3UF1VV2FbudJFgiLJSsLM7JR1epY7rkGeBhWd3X02nRM0z3uTBXzCsmkMsN3lL3NfbrcFsv8sZPQSyYz6w9aYdRXhfNVrTi61RTxcJ/kTjVPRDS33dH5zqLhIdwTtcJm07K03inmeBr72sHbnf0DT0h+X2RUxT7J+4pq4UtRc+u0kMcC6fcLLB0D/7dkOVYJH2rWaOLGalzO222N5K7oLUKkY0u/MtfBkvYb8qUMntflYSMWxeVyxA0KrVis7gJRmuZ0YRkuakP6Jx6W9JthmyN2Rm8Rmi1Lm5yhYoGKJbgC7y7837RIA9ZJbiqs1YjogXYuHzuYBtwuWVOas7HHs5Qeb3msDggVqbDieCrO53O2Tm5E3udk4QdFkTTsJckjKoaM2K5SHvWKKNIoq9QbJRtV3CC5mrLHxwhmshJkn4/hQV0GjBTFNLfo9pLqAddIPkupfevvE7yFb0WPT7Xu5ZU600J1Z6t7bZOIRiT7VMrHxPPR46+t8xstNMOTeV9MAElbzHfEpcIlwrnqrS+Wea3VmTyOL6sZGD+Sk4WeMpsMWEPJYBYnx4lwnJdWzY/9e45sc5Phdqh6yYhDqqoqTpfMVbUpltmdtlhkxDPt1ydP7+Tg90h+reKjkotPGEC4M3qsLpH3+wj+0+yxiWmfNG0DviAVqXRj1Hy39Eme20Plw3KR5I2YReH04WaT7lZ3b/Ta3qp5o8GzKp49lcgvLBFnx8nnnOSuWFoUTseWNluiYh3eIflRx+Al0j6fFL7dnPGsYjPX9+FpM+xof0xJ88+9Tt2bpZKda3BJ86VbdbtySuDNkcwZuK3JVu3znXVgJpgD5XHhVGkCyezCN+yxLq43PGXwVu0eM1+3VUU0sqgoWsfMef4Q2SX8GVslA/YYatcM/wNezvtRgnjn+gAAAABJRU5ErkJggg=="},"1c2f":function(t,e,i){"use strict";var n=i("dd81"),a=i.n(n);a.a},"1d36":function(t,e,i){"use strict";i.r(e);var n=i("0010"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"1de5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},2475:function(t,e,i){"use strict";i.r(e);var n=i("d9b9"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},2629:function(t,e,i){"use strict";i.r(e);var n=i("5fee"),a=i("ce9e");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("1c2f");var o,d=i("f0c5"),c=Object(d["a"])(a["default"],n["b"],n["c"],!1,null,"41421f68",null,!1,n["a"],o);e["default"]=c.exports},3153:function(t,e,i){"use strict";i.r(e);var n=i("8609"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"318f":function(t,e,i){"use strict";i.r(e);var n=i("12e6"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"330a":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uLine:i("2629").default,uLoading:i("7b68").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-load-more-wrap",style:{backgroundColor:t.bgColor,marginBottom:t.marginBottom+"rpx",marginTop:t.marginTop+"rpx",height:t.$u.addUnit(t.height)}},[i("u-line",{attrs:{color:"#d4d4d4",length:"50"}}),i("v-uni-view",{staticClass:"u-load-more-inner",class:"loadmore"==t.status||"nomore"==t.status?"u-more":""},[i("v-uni-view",{staticClass:"u-loadmore-icon-wrap"},[i("u-loading",{staticClass:"u-loadmore-icon",attrs:{color:t.iconColor,mode:"circle"==t.iconType?"circle":"flower",show:"loading"==t.status&&t.icon}})],1),i("v-uni-view",{staticClass:"u-line-1",class:["nomore"==t.status&&1==t.isDot?"u-dot-text":"u-more-text"],style:[t.loadTextStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.loadMore.apply(void 0,arguments)}}},[t._v(t._s(t.showText))])],1),i("u-line",{attrs:{color:"#d4d4d4",length:"50"}})],1)},r=[]},3740:function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-loadmore",props:{bgColor:{type:String,default:"transparent"},icon:{type:Boolean,default:!0},fontSize:{type:String,default:"28"},color:{type:String,default:"#606266"},status:{type:String,default:"loadmore"},iconType:{type:String,default:"circle"},loadText:{type:Object,default:function(){return{loadmore:"加载更多",loading:"正在加载...",nomore:"没有更多了"}}},isDot:{type:Boolean,default:!1},iconColor:{type:String,default:"#b7b7b7"},marginTop:{type:[String,Number],default:0},marginBottom:{type:[String,Number],default:0},height:{type:[String,Number],default:"auto"}},data:function(){return{dotText:"●"}},computed:{loadTextStyle:function(){return{color:this.color,fontSize:this.fontSize+"rpx",position:"relative",zIndex:1,backgroundColor:this.bgColor}},cricleStyle:function(){return{borderColor:"#e5e5e5 #e5e5e5 #e5e5e5 ".concat(this.circleColor)}},flowerStyle:function(){return{}},showText:function(){var t="";return t="loadmore"==this.status?this.loadText.loadmore:"loading"==this.status?this.loadText.loading:"nomore"==this.status&&this.isDot?this.dotText:this.loadText.nomore,t}},methods:{loadMore:function(){"loadmore"==this.status&&this.$emit("loadmore")}}};e.default=n},3901:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uTabs:i("8289").default,uLoadmore:i("8b32").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"container"},[n("v-uni-view",{staticClass:"carousel-section"},[n("v-uni-view",{staticClass:"titleNview-placing"}),n("v-uni-swiper",{staticClass:"carousel",attrs:{autoplay:"true",duration:"400",interval:"5000"}},t._l(t.carouselList,(function(e,i){return n("v-uni-swiper-item",{key:i,staticClass:"carousel-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.bannerNavToUrl(e)}}},[n("v-uni-image",{attrs:{src:e.pic}})],1)})),1)],1),n("u-tabs",{attrs:{list:t.typeList,"active-color":"#4E6CFF",name:"name","bg-color":"transparent",current:t.typeIndex},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeType.apply(void 0,arguments)}}}),n("v-uni-swiper",{staticClass:"list-box",style:{height:t.swiperHeight+"px"},attrs:{current:t.typeIndex},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.listChange.apply(void 0,arguments)}}},t._l(t.typeList,(function(e){return n("v-uni-swiper-item",[n("v-uni-view",{staticClass:"guess-section"},t._l(e.list,(function(e,a){return n("v-uni-view",{key:a,staticClass:"guess-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.navToDetailPage(e)}}},[n("v-uni-view",{staticClass:"image-wrapper"},[n("v-uni-image",{attrs:{src:e.image,mode:"scaleToFill"}})],1),n("v-uni-text",{staticClass:"title clamp2 margin-c-20"},[t._v(t._s(e.store_name))]),n("v-uni-view",{staticClass:"cmy-hr"}),n("v-uni-view",{staticClass:"price margin-c-20 flex"},[n("v-uni-view",[n("v-uni-image",{staticClass:"iconJf",attrs:{src:i("141a"),mode:"widthFix"}}),t._v(t._s(e.price))],1),n("v-uni-view",{staticClass:"font-size-sm"},[n("v-uni-text",{staticClass:"font-color-gray"},[t._v(t._s(e.sales)+"人购买")])],1)],1)],1)})),1),n("u-loadmore",{attrs:{status:e.load}})],1)})),1)],1)},r=[]},3973:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getProducts=r,e.goodsDetail=o,e.getBargainList=d,e.cartAdd=c,e.collectAdd=l,e.collectDel=s,e.searchKeyword=u,e.groomList=f,e.seckillGoods=g,e.groupGoods=b,e.getCategoryList=p,e.getCombinationList=h,e.getCombinationLisRemove=m,e.getCombinationLisPink=v,e.getCombinationPoster=w,e.getSeckillClass=y,e.getSeckillList=x,e.reply_config=I,e.reply_list=k;var a=n(i("0cb8"));function r(t){return(0,a.default)({url:"/api/products",method:"get",data:t})}function o(t,e){return(0,a.default)({url:"/api/product/detail/"+e,method:"get",data:t})}function d(t){return(0,a.default)({url:"/api/bargain/list",method:"get",data:t})}function c(t){return(0,a.default)({url:"/api/cart/add",method:"post",data:t})}function l(t){return(0,a.default)({url:"/api/collect/add",method:"post",data:t})}function s(t){return(0,a.default)({url:"/api/collect/del",method:"post",data:t})}function u(t){return(0,a.default)({url:"/api/search/keyword",method:"get",data:t})}function f(t,e){return(0,a.default)({url:"/api/groom/list/"+e,method:"get",data:t})}function g(t,e){return(0,a.default)({url:"/api/seckill/detail/"+e,method:"get",data:t})}function b(t,e){return(0,a.default)({url:"/api/combination/detail/"+e,method:"get",data:t})}function p(t){return(0,a.default)({url:"/api/category",method:"get",data:t})}function h(t){return(0,a.default)({url:"/api/combination/list",method:"get",data:t})}function m(t,e){return(0,a.default)({url:"/api/combination/remove"+e,method:"get",data:t})}function v(t,e){return(0,a.default)({url:"/api/combination/pink/"+e,method:"get",data:t})}function w(t){return(0,a.default)({url:"/api/combination/poster",method:"post",data:t})}function y(t){return(0,a.default)({url:"/api/seckill/index",method:"get",data:t})}function x(t,e){return(0,a.default)({url:"/api/seckill/list/"+e,method:"get",data:t})}function I(t,e){return(0,a.default)({url:"/api/reply/config/"+e,method:"get",data:t})}function k(t,e){return(0,a.default)({url:"/api/reply/list/"+e,method:"get",data:t})}},"3b01":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.u-badge[data-v-ad34868a]{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;line-height:%?24?%;padding:%?4?% %?8?%;border-radius:%?100?%;z-index:9}.u-badge--bg--primary[data-v-ad34868a]{background-color:#2979ff}.u-badge--bg--error[data-v-ad34868a]{background-color:#fa3534}.u-badge--bg--success[data-v-ad34868a]{background-color:#19be6b}.u-badge--bg--info[data-v-ad34868a]{background-color:#909399}.u-badge--bg--warning[data-v-ad34868a]{background-color:#f90}.u-badge-dot[data-v-ad34868a]{height:%?16?%;width:%?16?%;border-radius:%?100?%;line-height:1}.u-badge-mini[data-v-ad34868a]{-webkit-transform:scale(.8);transform:scale(.8);-webkit-transform-origin:center center;transform-origin:center center}.u-info[data-v-ad34868a]{background-color:#909399;color:#fff}',""]),t.exports=e},"4ac4":function(t,e,i){"use strict";var n=i("0a48"),a=i.n(n);a.a},"4d85":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.u-load-more-wrap[data-v-31a51fa6]{\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.u-load-more-inner[data-v-31a51fa6]{\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0 %?12?%}.u-more[data-v-31a51fa6]{position:relative;\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.u-dot-text[data-v-31a51fa6]{font-size:%?28?%}.u-loadmore-icon-wrap[data-v-31a51fa6]{margin-right:%?8?%}.u-loadmore-icon[data-v-31a51fa6]{\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}',""]),t.exports=e},"547e":function(t,e,i){var n=i("24fb"),a=i("1de5"),r=i("d1d2");e=n(!1);var o=a(r);e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */.f-header .tit[data-v-7c44cb3e]{font-size:%?34?%;color:#303133;line-height:1;font-weight:700}.f-header .tit-box[data-v-7c44cb3e]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}\n/*功能栏左侧小图标*/.f-header .f-left-icon[data-v-7c44cb3e]{height:%?34?%;width:%?8?%;background-image:-webkit-gradient(linear,left top,right top,from(#fbeb77),to(#f8dd4f));background-image:-webkit-linear-gradient(left,#fbeb77,#f8dd4f);background-image:linear-gradient(90deg,#fbeb77,#f8dd4f);margin-right:%?10?%;border-radius:%?10?%}uni-page-body[data-v-7c44cb3e]{background:#f7f8f7}.m-t[data-v-7c44cb3e]{margin-top:%?16?%}.list-box[data-v-7c44cb3e]{margin-top:%?30?%}\n/* 头部 轮播图 */.carousel-section[data-v-7c44cb3e]{position:relative;padding-top:10px;overflow:hidden;background:url('+o+") no-repeat;background-size:100% 100%}.carousel-section .titleNview-placing[data-v-7c44cb3e]{height:0;padding-top:44px;-webkit-box-sizing:content-box;box-sizing:initial}.carousel-section .titleNview-background[data-v-7c44cb3e]{position:absolute;top:0;left:0;width:100%;height:%?426?%;-webkit-transition:.4s;transition:.4s}.carousel-section .carousel[data-v-7c44cb3e]{width:%?680?%;height:%?340?%;margin:0 auto}.carousel-section .carousel .carousel-item[data-v-7c44cb3e]{width:100%;height:100%;overflow:hidden}.carousel-section .carousel uni-image[data-v-7c44cb3e]{width:100%;height:100%;border-radius:%?15?%}\n/*公用边框样式*/.guess-section .icon[data-v-7c44cb3e]{margin-right:%?10?%;display:inline-block;padding:%?2?% %?10?%;border:%?1?% solid #fd5b23;color:#fd5b23;line-height:1;font-size:%?28?%;border-radius:%?10?%}.f-header[data-v-7c44cb3e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:%?92?%;padding:%?6?% %?30?% %?8?%}.f-header uni-image[data-v-7c44cb3e]{-webkit-flex-shrink:0;flex-shrink:0;width:%?80?%;height:%?80?%;margin-right:%?20?%}.f-header .iconenter[data-v-7c44cb3e]{font-size:%?34?%;color:#909399}.f-header .iconfont[data-v-7c44cb3e]{font-size:%?22?%}\n/* 商品列表 */.guess-section[data-v-7c44cb3e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;padding:0 %?30?%}.guess-section .guess-item[data-v-7c44cb3e]{overflow:hidden;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;width:48%;margin-bottom:4%;border-radius:%?15?%;background-color:#fff;-webkit-box-shadow:%?0?% %?0?% %?10?% %?10?% #f3f3f3;box-shadow:%?0?% %?0?% %?10?% %?10?% #f3f3f3}.guess-section .guess-item[data-v-7c44cb3e]:nth-child(2n + 1){margin-right:4%}.guess-section .image-wrapper[data-v-7c44cb3e]{width:100%;height:%?330?%;border-radius:3px;overflow:hidden}.guess-section .image-wrapper uni-image[data-v-7c44cb3e]{width:100%;height:100%;opacity:1}.guess-section .title[data-v-7c44cb3e]{padding-top:%?10?%;font-size:%?28?%;color:#303133;font-weight:700;line-height:1.5}.guess-section .price[data-v-7c44cb3e]{font-size:%?32?%;color:#f8dd4f;font-weight:700;line-height:1;line-height:%?80?%}.guess-section .price .iconJf[data-v-7c44cb3e]{width:%?23?%;margin-right:%?5?%}.guess-section .detail[data-v-7c44cb3e]{line-height:1}.guess-section .tip[data-v-7c44cb3e]{color:#fff;background-color:#fd5b23;line-height:1.5;font-size:%?24?%;padding-left:%?20?%}.list-box-h[data-v-7c44cb3e]{height:%?1550?%}.row[data-v-7c44cb3e]{border-radius:%?15?%;margin:%?25?%;height:%?155?%;overflow:hidden;background-color:#fff;padding-right:%?25?%}.row .list-interval[data-v-7c44cb3e]{border:1px dashed #ebeef5;height:100%}.row .list-interval .top[data-v-7c44cb3e],\n.row .list-interval .bottom[data-v-7c44cb3e]{border-radius:%?100?%;width:%?30?%;height:%?30?%;position:absolute;background-color:#f8f8f8;right:%?-15?%}.row .list-interval .top[data-v-7c44cb3e]{top:%?-18?%}.row .list-interval .bottom[data-v-7c44cb3e]{bottom:%?-18?%}.row .list-money[data-v-7c44cb3e]{height:100%;min-width:%?155?%;text-align:center}.row .list-money uni-image[data-v-7c44cb3e]{height:100%;width:%?20?%}.row .list-money .list-money-text[data-v-7c44cb3e]{-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;padding:0 %?25?%}.row .list-money .list-money-text .tit[data-v-7c44cb3e]{text-align:center;padding:%?15?% %?0?%;font-size:%?55?%;color:#dd524d;font-weight:700}.row .list-money .list-money-text .tit.noAction[data-v-7c44cb3e]{color:#909399}.row .list-money .list-money-text .price[data-v-7c44cb3e]{padding-bottom:%?25?%;color:#909399}.row .row_list_right[data-v-7c44cb3e]{min-width:%?200?%;padding-left:%?25?%;line-height:1}.row .row_list_right .right_time[data-v-7c44cb3e]{padding:%?10?% %?0?%;color:#909399;font-size:%?24?%}.row .row_list_right .right_top[data-v-7c44cb3e]{margin:%?15?% 0}.row .row_list_right .right_top .right_name[data-v-7c44cb3e]{font-size:%?28?%;color:#bc253a;font-weight:700}.row .row_list_right .right_top .right_title[data-v-7c44cb3e]{font-size:%?28?%;color:%?28?%;font-weight:700}.row .row_list_right .right_top .right_title.noAction[data-v-7c44cb3e]{color:#909399}.row .right_use[data-v-7c44cb3e]{margin:%?15?% 0;padding:%?10?%;width:%?160?%;text-align:center;color:#fff;background-color:#bc253a;border-radius:%?50?%;font-size:%?24?%}.row .right_use.noAction[data-v-7c44cb3e]{background-color:#909399}.row .iconlocation[data-v-7c44cb3e]{font-size:%?36?%;color:#909399}body.?%PAGE?%[data-v-7c44cb3e]{background:#f7f8f7}",""]),t.exports=e},"5cbb":function(t,e,i){var n=i("4d85");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("22059b30",n,!0,{sourceMap:!1,shadowMode:!1})},"5d1a":function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.orderData=r,e.getUserInfo=o,e.spreadBanner=d,e.shopList=c,e.getAddressList=l,e.addressEdit=s,e.addressDel=u,e.setAddressDefault=f,e.getCartList=g,e.getCartNum=b,e.cartDel=p,e.getcollectList=h,e.delcollect=m,e.spread_people=v,e.transfer=w,e.orderVerific=y;var a=n(i("0cb8"));function r(t){return(0,a.default)({url:"/api/order/data",method:"get",data:t})}function o(t){return(0,a.default)({url:"/api/userinfo",method:"get",data:t})}function d(t){return(0,a.default)({url:"/api/spread/banner",method:"get",data:t})}function c(t){return(0,a.default)({url:"/api/store_list",method:"get",data:t})}function l(t){return(0,a.default)({url:"/api/address/list",method:"get",data:t})}function s(t){return(0,a.default)({url:"/api/address/edit",method:"post",data:t})}function u(t){return(0,a.default)({url:"/api/address/del",method:"post",data:t})}function f(t){return(0,a.default)({url:"/api/address/default/set",method:"post",data:t})}function g(t){return(0,a.default)({url:"/api/cart/list",method:"get",data:t})}function b(t){return(0,a.default)({url:"/api/cart/num",method:"post",data:t})}function p(t){return(0,a.default)({url:"/api/cart/del",method:"post",data:t})}function h(t){return(0,a.default)({url:"/api/collect/user",method:"get",data:t})}function m(t){return(0,a.default)({url:"/api/collect/del",method:"post",data:t})}function v(t){return(0,a.default)({url:"/api/spread/people",method:"post",data:t})}function w(t){return(0,a.default)({url:"/api/transfer",method:"post",data:t})}function y(t){return(0,a.default)({url:"/api/order/order_verific",method:"post",data:t})}},"5fee":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-line",style:[t.lineStyle]})},r=[]},"6a51":function(t,e,i){var n=i("3b01");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("7a36e637",n,!0,{sourceMap:!1,shadowMode:!1})},"7b68":function(t,e,i){"use strict";i.r(e);var n=i("fe37"),a=i("3153");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("4ac4");var o,d=i("f0c5"),c=Object(d["a"])(a["default"],n["b"],n["c"],!1,null,"7d05529f",null,!1,n["a"],o);e["default"]=c.exports},8289:function(t,e,i){"use strict";i.r(e);var n=i("f49e"),a=i("318f");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("dfbd");var o,d=i("f0c5"),c=Object(d["a"])(a["default"],n["b"],n["c"],!1,null,"16db4ed7",null,!1,n["a"],o);e["default"]=c.exports},8609:function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-loading",props:{mode:{type:String,default:"circle"},color:{type:String,default:"#c7c7c7"},size:{type:[String,Number],default:"34"},show:{type:Boolean,default:!0}},computed:{cricleStyle:function(){var t={};return t.width=this.size+"rpx",t.height=this.size+"rpx","circle"==this.mode&&(t.borderColor="#e4e4e4 #e4e4e4 #e4e4e4 ".concat(this.color?this.color:"#c7c7c7")),t}}};e.default=n},8651:function(t,e,i){"use strict";var n=i("6a51"),a=i.n(n);a.a},"8b32":function(t,e,i){"use strict";i.r(e);var n=i("330a"),a=i("a7f3");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("05d7");var o,d=i("f0c5"),c=Object(d["a"])(a["default"],n["b"],n["c"],!1,null,"31a51fa6",null,!1,n["a"],o);e["default"]=c.exports},"8c87":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-line",props:{color:{type:String,default:"#e4e7ed"},length:{type:String,default:"100%"},direction:{type:String,default:"row"},hairLine:{type:Boolean,default:!0},margin:{type:String,default:"0"},borderStyle:{type:String,default:"solid"}},computed:{lineStyle:function(){var t={};return t.margin=this.margin,"row"==this.direction?(t.borderBottomWidth="1px",t.borderBottomStyle=this.borderStyle,t.width=this.$u.addUnit(this.length),this.hairLine&&(t.transform="scaleY(0.5)")):(t.borderLeftWidth="1px",t.borderLeftStyle=this.borderStyle,t.height=this.$u.addUnit(this.length),this.hairLine&&(t.transform="scaleX(0.5)")),t.borderColor=this.color,t}}};e.default=n},"9f04":function(t,e,i){"use strict";i.r(e);var n=i("e838"),a=i("1d36");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("8651");var o,d=i("f0c5"),c=Object(d["a"])(a["default"],n["b"],n["c"],!1,null,"ad34868a",null,!1,n["a"],o);e["default"]=c.exports},a346:function(t,e,i){var n=i("547e");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("49f2e532",n,!0,{sourceMap:!1,shadowMode:!1})},a7f3:function(t,e,i){"use strict";i.r(e);var n=i("3740"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},c531:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.u-loading-circle[data-v-7d05529f]{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;vertical-align:middle;width:%?28?%;height:%?28?%;background:0 0;border-radius:50%;border:2px solid;border-color:#e5e5e5 #e5e5e5 #e5e5e5 #8f8d8e;-webkit-animation:u-circle-data-v-7d05529f 1s linear infinite;animation:u-circle-data-v-7d05529f 1s linear infinite}.u-loading-flower[data-v-7d05529f]{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:a 1s steps(12) infinite;animation:u-flower-data-v-7d05529f 1s steps(12) infinite;background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;background-size:100%}@-webkit-keyframes u-flower-data-v-7d05529f{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes u-flower-data-v-7d05529f{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes u-circle-data-v-7d05529f{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),t.exports=e},c596:function(t,e,i){"use strict";var n=i("a346"),a=i.n(n);a.a},ca3d:function(t,e,i){"use strict";i.r(e);var n=i("3901"),a=i("2475");for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("c596");var o,d=i("f0c5"),c=Object(d["a"])(a["default"],n["b"],n["c"],!1,null,"7c44cb3e",null,!1,n["a"],o);e["default"]=c.exports},ce9e:function(t,e,i){"use strict";i.r(e);var n=i("8c87"),a=i.n(n);for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},d1d2:function(t,e,i){t.exports=i.p+"static/img/indexBg.4d158e9c.png"},d9b9:function(t,e,i){"use strict";var n=i("4ea4");i("99af"),i("c975"),i("d81d"),i("ac1f"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("1da1")),r=n(i("5530")),o=i("e1d3"),d=(i("5d1a"),i("6e1f"),i("2f62")),c=i("3973"),l={data:function(){return{shareShow:!1,pageProportion:0,swiperHeight:0,swiperLength:0,carouselList:[],page:1,limit:5,typeList:[{}],typeIndex:0}},computed:(0,r.default)({},(0,d.mapState)("user",["hasLogin","userInfo"])),onLoad:function(t){t.spread&&uni.setStorageSync("spread",t.spread),this.init()},onPullDownRefresh:function(){this.init()},onNavigationBarSearchInputClicked:function(t){this.clickSearch()},onReachBottom:function(){this.getProducts(this.typeList[this.typeIndex])},methods:{init:function(){this.loadData(),this.getType(),this.getBl()},getBl:function(){var t=this;t.$nextTick((function(){uni.createSelectorQuery().select(".container").fields({size:!0},(function(e){t.pageProportion=e.width/750})).exec()}))},getlistHeight:function(t){var e=this,i=Math.ceil(t.length/2);e.swiperHeight=Math.ceil(520*e.pageProportion*i+30)},changeType:function(t){console.log(t,"dianji"),this.typeIndex=t;var e=this.typeList[this.typeIndex];e.loding||this.getProducts(e)},listChange:function(t){if(t.detail.current!=this.typeIndex){this.typeIndex=t.detail.current;var e=this.typeList[this.typeIndex];e.loding||this.getProducts(e)}},navToDetailPages:function(t){var e=t.product_id;uni.navigateTo({url:"/pages/product/product?id="+e})},getType:function(){var t=this,e=this;(0,c.getCategoryList)({}).then((function(i){var n=i.data;e.typeList=n.map((function(t){return{name:t.cate_name,id:t.id,page:1,limit:10,list:[],load:"loadmore",isLoding:!1}})),e.getProducts(t.typeList[t.typeIndex])})).catch((function(t){console.log(t)}))},getProducts:function(t){var e=this;"nomore"!=t.load&&"loading"!=t.load&&(t.isLoding||(t.isLoding=!0),t.load="loading",(0,c.getProducts)({cid:t.id,page:t.page,limit:t.limit}).then((function(i){t.list=t.list.concat(i.data),t.list.length==t.limit?(t.page++,t.load="loadmore"):t.load="nomore",e.getlistHeight(t.list)})).catch((function(t){console.log(t)})))},clickSearch:function(){uni.navigateTo({url:"/pages/product/search"})},loadData:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:(0,o.loadIndexs)({}).then((function(e){var i=e.data;i.info;t.carouselList=i.banner,t.swiperLength=t.carouselList.length,t.menusList=i.menus,uni.stopPullDownRefresh()})).catch((function(t){uni.stopPullDownRefresh()}));case 1:case"end":return e.stop()}}),e)})))()},navToDetailPage:function(t){var e=t.id;uni.navigateTo({url:"/pages/product/product?id="+e})},bannerNavToUrl:function(t){t.wap_url.indexOf("http")>0&&(window.location.href=t.wap_url),uni.navigateTo({url:t.wap_url})}}};e.default=l},dd81:function(t,e,i){var n=i("0e13");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("5050ed65",n,!0,{sourceMap:!1,shadowMode:!1})},dfbd:function(t,e,i){"use strict";var n=i("e594"),a=i.n(n);a.a},e1d3:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.groom4=r,e.groom1=o,e.groom3=d,e.loadIndexs=c;var a=n(i("0cb8"));function r(t){return(0,a.default)({url:"/api/groom/list/4",method:"get",data:t})}function o(t){return(0,a.default)({url:"/api/groom/list/1",method:"get",data:t})}function d(t){return(0,a.default)({url:"/api/groom/list/3",method:"get",data:t})}function c(t){return(0,a.default)({url:"/api/index",method:"get",data:t})}},e594:function(t,e,i){var n=i("03dd3");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("4d29f2f0",n,!0,{sourceMap:!1,shadowMode:!1})},e838:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.show?i("v-uni-view",{staticClass:"u-badge",class:[t.isDot?"u-badge-dot":"","mini"==t.size?"u-badge-mini":"",t.type?"u-badge--bg--"+t.type:""],style:[{top:t.offset[0]+"rpx",right:t.offset[1]+"rpx",fontSize:t.fontSize+"rpx",position:t.absolute?"absolute":"static",color:t.color,backgroundColor:t.bgColor},t.boxStyle]},[t._v(t._s(t.showText))]):t._e()},r=[]},f49e:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uBadge:i("9f04").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-tabs",style:{background:t.bgColor}},[i("v-uni-view",{attrs:{id:t.id}},[i("v-uni-scroll-view",{staticClass:"u-scroll-view",attrs:{"scroll-x":!0,"scroll-left":t.scrollLeft,"scroll-with-animation":!0}},[i("v-uni-view",{staticClass:"u-scroll-box",class:{"u-tabs-scorll-flex":!t.isScroll}},[t._l(t.list,(function(e,n){return i("v-uni-view",{key:n,staticClass:"u-tab-item u-line-1",style:[t.tabItemStyle(n)],attrs:{id:"u-tab-item-"+n},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickTab(n)}}},[i("u-badge",{attrs:{count:e[t.count]||e["count"]||0,offset:t.offset,size:"mini"}}),t._v(t._s(e[t.name]||e["name"]))],1)})),t.showBar?i("v-uni-view",{staticClass:"u-tab-bar",style:[t.tabBarStyle]}):t._e()],2)],1)],1)],1)},r=[]},fe37:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.show?i("v-uni-view",{staticClass:"u-loading",class:"circle"==t.mode?"u-loading-circle":"u-loading-flower",style:[t.cricleStyle]}):t._e()},r=[]}}]);
|