(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_shopping/shopping/productSalesList"],{897:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var r=o(t(898));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},898:function(e,n,t){"use strict";t.r(n);var o=t(899),r=t(901);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);t(903);var a,c=t(34),s=Object(c["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],a);s.options.__file="pages_shopping/shopping/productSalesList.vue",n["default"]=s.exports},899:function(e,n,t){"use strict";t.r(n);var o=t(900);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},900:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return o}));try{o={mescrollBody:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/mescroll-uni/components/mescroll-body/mescroll-body")]).then(t.bind(null,1051))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var r=function(){var e=this,n=e.$createElement,t=(e._self._c,1==e.showType?e.__map(e.dataList,(function(n,t){var o=e.__get_orig(n),r=n.price.toFixed(2);return{$orig:o,g0:r}})):null),o=2==e.showType?e.__map(e.dataList,(function(n,t){var o=e.__get_orig(n),r=n.price.toFixed(2),i=n.otPrice.toFixed(2);return{$orig:o,g1:r,g2:i}})):null;e.$mp.data=Object.assign({},{$root:{l0:t,l1:o}})},i=!1,a=[];r._withStripped=!0},901:function(e,n,t){"use strict";t.r(n);var o=t(902),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=r.a},902:function(e,n,t){"use strict";(function(e){var o=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=t(229),i=o(t(230)),a={mixins:[i.default],data:function(){return{showType:1,form:{salesOrder:"desc"},mescroll:null,upOption:{onScroll:!0,use:!0,page:{num:0,size:10},noMoreSize:10,empty:{icon:"/static/images/no_data.png",tip:"暂无数据"},textNoMore:"已经到底了"},dataList:[]}},onLoad:function(e){},methods:{mescrollInit:function(e){this.mescroll=e},downCallback:function(e){e.resetUpScroll()},upCallback:function(n){var t=this;this.form.page=n.num,this.form.pageSize=n.size,(0,r.getProducts)(this.form).then((function(o){200==o.code?(1==n.num?t.dataList=o.data.list:t.dataList=t.dataList.concat(o.data.list),t.mescroll.endBySize(o.data.list.length,o.data.total)):(e.showToast({icon:"none",title:"请求失败"}),t.dataList=null,t.mescroll.endErr())}))},showDetail:function(n){e.navigateTo({url:"/pages/shopping/productDetails?productId="+n.productId})}}};n.default=a}).call(this,t(2)["default"])},903:function(e,n,t){"use strict";t.r(n);var o=t(904),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=r.a},904:function(e,n,t){}},[[897,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages_shopping/shopping/productSalesList.js.map