(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-product"],{"00ca":function(t,e,i){var n=i("b54a");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("4f06").default;r("1ea265b4",n,!0,{sourceMap:!1,shadowMode:!1})},"0546":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={uIcon:i("20c2").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.show?i("v-uni-view",{staticClass:"u-empty",style:{marginTop:t.marginTop+"rpx"}},[i("u-icon",{attrs:{name:t.src?t.src:"empty-"+t.mode,"custom-style":t.iconStyle,label:t.text?t.text:t.icons[t.mode],"label-pos":"bottom","label-color":t.color,"label-size":t.fontSize,size:t.iconSize,color:t.iconColor,"margin-top":"14"}}),i("v-uni-view",{staticClass:"u-slot-wrap"},[t._t("bottom")],2)],1):t._e()},a=[]},"0551":function(t,e,i){"use strict";i("a15b"),i("d81d"),i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-checkbox",props:{name:{type:[String,Number],default:""},shape:{type:String,default:""},value:{type:Boolean,default:!1},disabled:{type:[String,Boolean],default:""},labelDisabled:{type:[String,Boolean],default:""},activeColor:{type:String,default:""},iconSize:{type:[String,Number],default:""},labelSize:{type:[String,Number],default:""},size:{type:[String,Number],default:""}},data:function(){return{parentDisabled:!1,newParams:{}}},created:function(){this.parent=this.$u.$parent.call(this,"u-checkbox-group"),this.parent&&this.parent.children.push(this)},computed:{isDisabled:function(){return""!==this.disabled?this.disabled:!!this.parent&&this.parent.disabled},isLabelDisabled:function(){return""!==this.labelDisabled?this.labelDisabled:!!this.parent&&this.parent.labelDisabled},checkboxSize:function(){return this.size?this.size:this.parent?this.parent.size:34},checkboxIconSize:function(){return this.iconSize?this.iconSize:this.parent?this.parent.iconSize:20},elActiveColor:function(){return this.activeColor?this.activeColor:this.parent?this.parent.activeColor:"primary"},elShape:function(){return this.shape?this.shape:this.parent?this.parent.shape:"square"},iconStyle:function(){var t={};return this.elActiveColor&&this.value&&!this.isDisabled&&(t.borderColor=this.elActiveColor,t.backgroundColor=this.elActiveColor),t.width=this.$u.addUnit(this.checkboxSize),t.height=this.$u.addUnit(this.checkboxSize),t},iconColor:function(){return this.value?"#ffffff":"transparent"},iconClass:function(){var t=[];return t.push("u-checkbox__icon-wrap--"+this.elShape),1==this.value&&t.push("u-checkbox__icon-wrap--checked"),this.isDisabled&&t.push("u-checkbox__icon-wrap--disabled"),this.value&&this.isDisabled&&t.push("u-checkbox__icon-wrap--disabled--checked"),t.join(" ")},checkboxStyle:function(){var t={};return this.parent&&this.parent.width&&(t.width=this.parent.width,t.flex="0 0 ".concat(this.parent.width)),this.parent&&this.parent.wrap&&(t.width="100%",t.flex="0 0 100%"),t}},methods:{onClickLabel:function(){this.isLabelDisabled||this.isDisabled||this.setValue()},toggle:function(){this.isDisabled||this.setValue()},emitEvent:function(){var t=this;this.$emit("change",{value:!this.value,name:this.name}),setTimeout((function(){t.parent&&t.parent.emitEvent&&t.parent.emitEvent()}),80)},setValue:function(){var t=0;if(this.parent&&this.parent.children&&this.parent.children.map((function(e){e.value&&t++})),1==this.value)this.emitEvent(),this.$emit("input",!this.value);else{if(this.parent&&t>=this.parent.max)return this.$u.toast("最多可选".concat(this.parent.max,"项"));this.emitEvent(),this.$emit("input",!this.value)}}}};e.default=n},"120d":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 r=n(i("1da1")),a={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,r.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;euni.upx2px(this.top)}},data:function(){return{opacity:0,uZIndex:-1}},methods:{backToTop:function(){uni.pageScrollTo({scrollTop:0,duration:this.duration})}}};e.default=n},"24d3":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"fa-search",props:{mode:{type:Number,default:1},radius:{type:String,default:"60"},placeholder:{type:String,default:"请输入关键词搜索"},custom:{type:Boolean,default:!1}},data:function(){return{active:!1,inputVal:"",isDelShow:!1,isFocus:!1}},watch:{inputVal:function(t){this.isDelShow=!!t}},methods:{focus:function(){this.active=!0},blur:function(){this.isFocus=!1,this.inputVal||(this.active=!1)},clear:function(){this.inputVal="",this.active=!1},getFocus:function(){this.isFocus=!0},search:function(t){this.custom?this.$emit("change",t.detail.value):this.$Router.push({path:"/pages/search/search",query:{keyword:t.detail.value}})}}};e.default=n},2780:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\r\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \r\n */.search[data-v-538e29d4]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:%?28?%;background:#fff}.search .content[data-v-538e29d4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:100%;height:%?70?%;background-color:#f2f2f2;overflow:hidden;-webkit-transition:all .2s linear;transition:all .2s linear;-webkit-border-radius:30px;border-radius:30px;padding:0 %?30?%}.search .content .content-box[data-v-538e29d4]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.search .content .content-box.center[data-v-538e29d4]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.search .content .content-box .input[data-v-538e29d4]{width:100%;max-width:100%;line-height:%?60?%;font-size:%?30?%;height:%?60?%;background-color:#f2f2f2;-webkit-transition:all .2s linear;transition:all .2s linear}.search .content .content-box .input.center[data-v-538e29d4]{width:%?250?%}.search .content .content-box .input.sub[data-v-538e29d4]{width:auto;color:grey}',""]),t.exports=e},"2c25":function(t,e,i){"use strict";var n=i("add1"),r=i.n(n);r.a},"316d":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={uIcon:i("20c2").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-back-top",class:["u-back-top--mode--"+t.mode],style:[{bottom:t.bottom+"rpx",right:t.right+"rpx",borderRadius:"circle"==t.mode?"10000rpx":"8rpx",zIndex:t.uZIndex,opacity:t.opacity},t.customStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.backToTop.apply(void 0,arguments)}}},[t.$slots.default||t.$slots.$default?t._t("default"):i("v-uni-view",{staticClass:"u-back-top__content"},[i("u-icon",{attrs:{name:t.icon,"custom-style":t.iconStyle},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.backToTop.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"u-back-top__content__tips"},[t._v(t._s(t.tips))])],1)],2)},a=[]},"33e2":function(t,e,i){var n=i("a605");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("4f06").default;r("efb5bec6",n,!0,{sourceMap:!1,shadowMode:!1})},"396a":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\r\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \r\n */.orderby-select uni-image[data-v-a962202c]{width:%?40?%;height:%?40?%}.fa-select-list[data-v-a962202c]{background-color:#fff}.fa-select-list .list .item[data-v-a962202c]{background-color:#eee;padding:%?10?% %?30?%;-webkit-border-radius:%?100?%;border-radius:%?100?%;margin-right:%?15?%;color:#909399}.fa-popup[data-v-a962202c]{height:100%;background-color:#f7f7f7}.fa-popup .fa-scroll-view[data-v-a962202c]{height:calc(100% - %?100?%)}.fa-popup .footer[data-v-a962202c]{background-color:#fff;height:%?100?%;line-height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex;width:100%;text-align:center}',""]),t.exports=e},"3aa4":function(t,e,i){var n=i("f28c");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("4f06").default;r("0da5a1f5",n,!0,{sourceMap:!1,shadowMode:!1})},"3e8b":function(t,e,i){"use strict";var n=i("ca0e"),r=i.n(n);r.a},"40a3":function(t,e,i){"use strict";i.r(e);var n=i("88c4"),r=i("d6d1");for(var a in r)"default"!==a&&function(t){i.d(e,t,(function(){return r[t]}))}(a);i("5106");var o,s=i("f0c5"),c=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"a962202c",null,!1,n["a"],o);e["default"]=c.exports},"44e6":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={faNavbar:i("ab99").default,faSearch:i("63cf").default,faOrderbySelect:i("40a3").default,uTabs:i("5281").default,uImage:i("5a0d").default,uEmpty:i("efab").default,uLoadmore:i("db99").default,uBackTop:i("4e1d").default,faTabbar:i("e681").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("fa-navbar",{attrs:{title:t.vuex_table_title||"产品"}}),t.is_show?i("v-uni-view",{staticClass:"u-p-20 u-bg-white u-flex u-col-center"},[i("v-uni-view",{staticClass:"u-flex-1"},[i("fa-search",{attrs:{mode:2}})],1),t.is_order?i("v-uni-view",{staticClass:"u-p-l-15 u-p-r-5 u-flex u-col-center"},[i("fa-orderby-select",{attrs:{filterList:t.filterList,orderList:t.orderList,multiple:!0},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.goOrderBy.apply(void 0,arguments)}}})],1):t._e()],1):t._e(),t.isTab?i("v-uni-view",{staticClass:"u-border-top"},[i("u-tabs",{attrs:{list:t.tabList,"bar-width":t.tabwidth,"active-color":t.theme.bgColor,name:"title","is-scroll":!0,current:t.current},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.change.apply(void 0,arguments)}}})],1):t._e(),i("v-uni-view",{staticClass:"u-flex u-flex-wrap u-p-30"},t._l(t.archivesList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"product-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goDetail(e.id)}}},[i("u-image",{attrs:{width:"100%","border-radius":"8",height:"210",src:e.image}}),i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.title))])],1)})),1),t.is_empty?i("v-uni-view",{staticClass:"u-m-t-60 u-p-t-60"},[i("u-empty",{attrs:{text:"暂无内容展示",mode:"list"}})],1):t._e(),t.archivesList.length?i("v-uni-view",{staticClass:"u-p-b-30"},[i("u-loadmore",{attrs:{"bg-color":"#f4f6f8",status:t.status}})],1):t._e(),i("u-back-top",{attrs:{"scroll-top":t.scrollTop,"icon-style":{color:t.theme.bgColor},"custom-style":{backgroundColor:t.lightColor}}}),i("fa-tabbar")],1)},a=[]},"4e1d":function(t,e,i){"use strict";i.r(e);var n=i("316d"),r=i("76b9");for(var a in r)"default"!==a&&function(t){i.d(e,t,(function(){return r[t]}))}(a);i("f919");var o,s=i("f0c5"),c=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"feb04766",null,!1,n["a"],o);e["default"]=c.exports},5106:function(t,e,i){"use strict";var n=i("8663"),r=i.n(n);r.a},5281:function(t,e,i){"use strict";i.r(e);var n=i("fbdf"),r=i("7e64");for(var a in r)"default"!==a&&function(t){i.d(e,t,(function(){return r[t]}))}(a);i("2c25");var o,s=i("f0c5"),c=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"49860387",null,!1,n["a"],o);e["default"]=c.exports},"5ca9":function(t,e,i){"use strict";i.r(e);var n=i("7520"),r=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=r.a},"5cb6":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\r\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \r\n */uni-view[data-v-49860387],\r\nuni-scroll-view[data-v-49860387]{-webkit-box-sizing:border-box;box-sizing:border-box}[data-v-49860387]::-webkit-scrollbar,[data-v-49860387]::-webkit-scrollbar,[data-v-49860387]::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}.u-scroll-box[data-v-49860387]{position:relative}uni-scroll-view[data-v-49860387] ::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}.u-scroll-view[data-v-49860387]{width:100%;white-space:nowrap;position:relative}.u-tab-item[data-v-49860387]{position:relative;display:inline-block;text-align:center;-webkit-transition-property:background-color,color;transition-property:background-color,color}.u-tab-bar[data-v-49860387]{position:absolute;bottom:0}.u-tabs-scorll-flex[data-v-49860387]{\r\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\r\n-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}',""]),t.exports=e},"629a":function(t,e,i){"use strict";i.r(e);var n=i("ae39"),r=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=r.a},"63cf":function(t,e,i){"use strict";i.r(e);var n=i("8445"),r=i("23cf");for(var a in r)"default"!==a&&function(t){i.d(e,t,(function(){return r[t]}))}(a);i("3e8b");var o,s=i("f0c5"),c=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"538e29d4",null,!1,n["a"],o);e["default"]=c.exports},7520:function(t,e,i){"use strict";var n=i("4ea4");i("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(i("2909")),a=n(i("5530"));i("96cf");var o=n(i("1da1")),s={computed:{is_order:function(){return this.filterList.length>0||this.orderList.length>0}},data:function(){return{tabwidth:40,current:0,status:"nomore",page:1,channel_id:0,filterList:[],orderList:[],archivesList:[],has_more:!1,scrollTop:0,is_update:!1,is_show:!1,params:{},query:{},isTab:!1,tabList:[],is_empty:!1,channel:{}}},onLoad:function(t){var e=this.$Route.query;"{}"==JSON.stringify(e)&&(e=t),e&&"{}"!=JSON.stringify(e)?this.params=e:this.params={channel:-1,model:-1,menu_index:2},this.getCategory(),this.getArchives()},onShow:function(){},methods:{change:function(t){this.tabwidth=30*this.$util.strlen(this.tabList[t].title),this.current=t,this.channel_id=this.tabList[t].id,this.is_update=!0,this.page=1,this.getArchives()},goOrderBy:function(t){this.page=1,this.is_update=!0,this.query=t,this.getArchives()},getArchives:function(){var t=(0,o.default)(regeneratorRuntime.mark((function t(){var e,i,n,o,s,c,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=(0,a.default)((0,a.default)({page:this.page},this.params),this.query),this.channel_id&&(e.channel=this.channel_id),t.next=4,this.$api.getArchives(e);case 4:if(i=t.sent,this.status="nomore",uni.stopPullDownRefresh(),i.code){t.next=10;break}return this.$u.toast(i.msg),t.abrupt("return");case 10:n=i.data,o=n.filterList,s=n.orderList,c=n.pageList,u=n.channel,this.filterList=o,this.orderList=s,this.channel=u,this.is_update&&(this.archivesList=[],this.is_update=!1),this.is_show=!0,this.has_more=c.current_page