require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_tool/goods/brand"],{"0fc3":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={components:{uniGrid:function(){e.e("components/uni-grid/uni-grid").then(function(){return resolve(e("d59a"))}.bind(null,e)).catch(e.oe)},uniGridItem:function(){e.e("components/uni-grid-item/uni-grid-item").then(function(){return resolve(e("03c5"))}.bind(null,e)).catch(e.oe)},nsAdv:function(){e.e("components/ns-adv/ns-adv").then(function(){return resolve(e("8289"))}.bind(null,e)).catch(e.oe)}},data:function(){return{brandList:[],siteId:0}},onLoad:function(n){n.site_id&&(this.siteId=n.site_id)},onShow:function(){},methods:{change:function(n){this.$util.redirectTo("/pages/goods/list",{brand_id:this.brandList[n.detail.index].brand_id})},getBrandList:function(n){var t=this;this.$api.sendRequest({url:"/api/goodsbrand/page",data:{page_size:n.size,page:n.num,site_id:this.siteId},success:function(e){var i=[],o=e.message;0==e.code&&e.data?i=e.data.list:t.$util.showToast({title:o}),n.endSuccess(i.length),1==n.num&&(t.brandList=[]),t.brandList=t.brandList.concat(i),t.$refs.loadingCover&&t.$refs.loadingCover.hide()},fail:function(){n.endErr(),this.$refs.loadingCover&&this.$refs.loadingCover.hide()}})}},onShareAppMessage:function(n){return{title:"你想要的大牌都在这里",path:"/pages_tool/goods/brand",success:function(n){},fail:function(n){}}}};t.default=i},1731:function(n,t,e){"use strict";e.r(t);var i=e("0fc3"),o=e.n(i);for(var r in i)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(r);t["default"]=o.a},5837:function(n,t,e){},"5a88":function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){return i}));var i={nsAdv:function(){return e.e("components/ns-adv/ns-adv").then(e.bind(null,"8289"))},uniGrid:function(){return e.e("components/uni-grid/uni-grid").then(e.bind(null,"d59a"))},uniGridItem:function(){return e.e("components/uni-grid-item/uni-grid-item").then(e.bind(null,"03c5"))},nsEmpty:function(){return e.e("components/ns-empty/ns-empty").then(e.bind(null,"a84f"))},loadingCover:function(){return e.e("components/loading-cover/loading-cover").then(e.bind(null,"0773"))}},o=function(){var n=this,t=n.$createElement,e=(n._self._c,n.brandList.length),i=e>0?n.__map(n.brandList,(function(t,e){var i=n.__get_orig(t),o=n.$util.img(t.image_url);return{$orig:i,g1:o}})):null,o=n.brandList.length;n.$mp.data=Object.assign({},{$root:{g0:e,l0:i,g2:o}})},r=[]},"5fd2":function(n,t,e){"use strict";(function(n,t){var i=e("47a9");e("1dee");i(e("3240"));var o=i(e("a306"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(o.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},a306:function(n,t,e){"use strict";e.r(t);var i=e("5a88"),o=e("1731");for(var r in o)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(r);e("ca04");var u=e("828b"),a=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=a.exports},ca04:function(n,t,e){"use strict";var i=e("5837"),o=e.n(i);o.a}},[["5fd2","common/runtime","common/vendor"]]]);