require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_user/user/userTuiProduct"],{569:function(e,t,n){"use strict";(function(e,t){var r=n(4);n(26);r(n(25));var o=r(n(570));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n(1)["default"],n(2)["createPage"])},570:function(e,t,n){"use strict";n.r(t);var r=n(571),o=n(573);for(var c in o)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(c);n(575);var a,i=n(34),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],a);s.options.__file="pages_user/user/userTuiProduct.vue",t["default"]=s.exports},571:function(e,t,n){"use strict";n.r(t);var r=n(572);n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(t,"components",(function(){return r["components"]}))},572:function(e,t,n){"use strict";var r;n.r(t),n.d(t,"render",(function(){return o})),n.d(t,"staticRenderFns",(function(){return a})),n.d(t,"recyclableRender",(function(){return c})),n.d(t,"components",(function(){return r}));try{r={mescrollBody:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/mescroll-uni/components/mescroll-body/mescroll-body")]).then(n.bind(null,1025))}}}catch(i){if(-1===i.message.indexOf("Cannot find module")||-1===i.message.indexOf(".vue"))throw i;console.error(i.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var o=function(){var e=this,t=e.$createElement,n=(e._self._c,e.__map(e.dataList,(function(t,n){var r=e.__get_orig(t),o=t.price.toFixed(2),c=t.brokerage.toFixed(2);return{$orig:r,g0:o,g1:c}})));e.$mp.data=Object.assign({},{$root:{l0:n}})},c=!1,a=[];o._withStripped=!0},573:function(e,t,n){"use strict";n.r(t);var r=n(574),o=n.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=o.a},574:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(229),c=r(n(230)),a={mixins:[c.default],data:function(){return{cateId:0,cates:[],searchKey:"",mescroll:null,upOption:{onScroll:!0,use:!0,page:{num:0,size:10},noMoreSize:10,empty:{icon:"/static/images/no_data.png",tip:"暂无数据"}},dataList:[]}},onLoad:function(e){this.cates=this.utils.getDict("storeProductTuiCate")},methods:{choseCate:function(e){this.cateId=e.dictValue,this.mescroll.resetUpScroll()},goSearch:function(e){this.searchKey=e.detail.value,this.mescroll.resetUpScroll()},mescrollInit:function(e){this.mescroll=e},downCallback:function(e){e.resetUpScroll()},upCallback:function(t){var n=this,r={tuiCateId:this.cateId,productName:this.searchKey,page:t.num,pageSize:t.size};(0,o.getStoreProductAttrValueList)(r).then((function(r){200==r.code?(1==t.num?n.dataList=r.data.list:n.dataList=n.dataList.concat(r.data.list),n.mescroll.endBySize(r.data.list.length,r.data.total)):(e.showToast({icon:"none",title:"请求失败"}),n.dataList=null,n.mescroll.endErr())}))},showDetail:function(t){e.navigateTo({url:"/pages/shopping/productDetails?productId="+t.productId})}}};t.default=a}).call(this,n(2)["default"])},575:function(e,t,n){"use strict";n.r(t);var r=n(576),o=n.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=o.a},576:function(e,t,n){}},[[569,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages_user/user/userTuiProduct.js.map