You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
3.4 KiB
1 lines
3.4 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["package1/index/fireGoods"],{"1bc5":function(t,e,n){"use strict";n.r(e);var i=n("5b53"),u=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=u.a},2560:function(t,e,n){"use strict";n.r(e);var i=n("d771"),u=n("1bc5");for(var r in u)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(r);n("9678");var o=n("828b"),c=Object(o["a"])(u["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=c.exports},"5b53":function(t,e,n){"use strict";var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=i(n("af34")),r={data:function(){return{range:[],status:"loadmore",fireList:[],pageNum:1,pages:1,indexList:[],bigImg:[],swiperDotIndex:0}},onShow:function(){this.getMonth(),this.getFireList()},onReachBottom:function(){this.pageNum>=this.pages||(this.status="loading",this.pageNum++,this.getFireList())},methods:{lunbochange:function(t){this.current=t.detail.current},getFireList:function(){var t=this;this.tui.request("/app/product/getShareList","POST",{categoryId:"",searchStr:"",pageNum:this.pageNum,pageSize:"10",sortField:"totalSold",startDate:this.range[0],endDate:this.range[1]},!1,!1).then((function(e){200==e.code?(t.status="nomore",1==t.pages?t.fireList=e.result.records:t.fireList=[].concat((0,u.default)(t.fireList),(0,u.default)(e.result.records)),t.pages=e.result.pages):t.tui.toast(e.message)})).catch((function(t){}))},searchList:function(t){this.pageNum=1,this.fireList=[],this.getFireList()},getMonth:function(){var t=new Date,e=t.getFullYear().toString(),n=t.getMonth()+1<10?"0"+(t.getMonth()+1).toString():(t.getMonth()+1).toString(),i=t.getDate()<10?"0"+t.getDate().toString():t.getDate().toString(),u=e+"-"+n+"-"+i,r=e+"-"+n+"-01";this.range=[r,u]},largeImg:function(t){if(null==t.productPicture&&null==t.productPictures||""==t.productPicture&&""==t.productPictures||null==t.productPicture&&""==t.productPictures||""==t.productPicture&&null==t.productPictures)this.tui.toast("暂无可展示的图片",300);else{if(this.bigImg=[],null!=t.productPicture){var e={productPicture:t.productPicture};this.bigImg.push(e)}if(null!=t.productPictures)for(var n=0;n<t.productPictures.length;n++)this.bigImg.push(t.productPictures[n]);this.$refs.imgPopup.open()}}}};e.default=r},"7a96":function(t,e,n){"use strict";(function(t,e){var i=n("47a9");n("7859");i(n("3240"));var u=i(n("2560"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(u.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},9678:function(t,e,n){"use strict";var i=n("ae03"),u=n.n(i);u.a},ae03:function(t,e,n){},d771:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={uniDatetimePicker:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker")]).then(n.bind(null,"4632"))},uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(n.bind(null,"6bbb6"))},uLoadmore:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-loadmore/u-loadmore")]).then(n.bind(null,"9fc5"))},uniPopup:function(){return n.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(n.bind(null,"2864"))}},u=function(){var t=this.$createElement;this._self._c},r=[]}},[["7a96","common/runtime","common/vendor"]]]);
|