(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-usercenter-mypublish-mypublish"],{"186d":function(n,t,e){"use strict";e.r(t);var i=e("995b"),a=e("c883");for(var s in a)["default"].indexOf(s)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(s);e("4794");var o,c=e("f0c5"),r=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"612c8226",null,!1,i["a"],o);t["default"]=r.exports},4794:function(n,t,e){"use strict";var i=e("746f4"),a=e.n(i);a.a},"51ea":function(n,t,e){"use strict";var i=e("4ea4");e("99af"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(e("21d6")),s=i(e("fd42")),o={mixins:[a.default],components:{MescrollBody:s.default},data:function(){return{mescroll:null,downOption:{},upOption:{page:{size:10},noMoreSize:5,empty:{tip:"暂无相关数据"}},params:{tokenhead:"",token:""},productlist:[]}},onShow:function(){},onLoad:function(){var n=this;uni.getStorage({key:"token",success:function(t){n.params.token=t.data}}),uni.getStorage({key:"tokenhead",success:function(t){n.params.tokenhead=t.data}})},methods:{mescrollInit:function(n){this.mescroll=n},downCallback:function(){this.mescroll.resetUpScroll()},upCallback:function(n){var t=this,e=n.num,i=n.size;this.params=Object.assign(this.params,{pageNum:e,pageSize:i});var a=this.params.tokenhead+this.params.token;console.log("thetoken",a),this.$api.http.get(this.config.apiBaseurl+"/pre/own",{header:{Authorization:a}}).then((function(e){console.log("1111111111",e),e.data.code,console.log(e);var i=e.data.data.list,a=i.length,s=e.data.data.total;1==n.num&&(t.mescrollList=[]),t.mescrollList=t.mescrollList.concat(i),console.log("this.mescrollList",JSON.parse(JSON.stringify(t.mescrollList))),t.mescroll.endBySize(a,s)})).catch((function(n){t.mescroll.endErr(),console.log(n)}))},productclick:function(n){uni.navigateTo({url:"/pages/product/product?product=".concat(n)})}}};t.default=o},"746f4":function(n,t,e){var i=e("a6dc");"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=e("4f06").default;a("c50c8cd2",i,!0,{sourceMap:!1,shadowMode:!1})},"995b":function(n,t,e){"use strict";var i;e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return s})),e.d(t,"a",(function(){return i}));var a=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",{staticClass:"pages"},[e("mescroll-body",{ref:"mescrollRef",staticClass:"wrap",attrs:{down:n.downOption,up:n.upOption},on:{init:function(t){arguments[0]=t=n.$handleEvent(t),n.mescrollInit.apply(void 0,arguments)},down:function(t){arguments[0]=t=n.$handleEvent(t),n.downCallback.apply(void 0,arguments)},up:function(t){arguments[0]=t=n.$handleEvent(t),n.upCallback.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"product-wrap"},n._l(n.productlist,(function(t,i){return e("v-uni-view",{key:i,staticClass:"product-item",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.productclick.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"product-item-img-wrap"},[e("v-uni-image",{staticClass:"product-item-img",attrs:{src:t.img,mode:"widthFix"}})],1),e("v-uni-view",{staticClass:"product-item-info"},[e("v-uni-view",{staticClass:"product-item-til"},[n._v(n._s(t.title))]),e("v-uni-view",{staticClass:"product-item-brand"},[n._v(n._s(t.brand)),t.postage?e("v-uni-text",{staticClass:"postage"},[n._v("包邮")]):n._e()],1),e("v-uni-view",{staticClass:"product-item-addr"},[n._v(n._s(t.addr))]),e("v-uni-view",{staticClass:"product-item-price"},[e("v-uni-text",{staticClass:"rmb"},[n._v("¥")]),e("v-uni-text",{staticClass:"price"},[n._v(n._s(t.price))]),n._v("/ "+n._s(t.unit))],1)],1)],1)})),1)],1)],1)},s=[]},a6dc:function(n,t,e){var i=e("24fb");t=i(!1),t.push([n.i,'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* @import url("./mypublish.css"); */',""]),n.exports=t},c883:function(n,t,e){"use strict";e.r(t);var i=e("51ea"),a=e.n(i);for(var s in i)["default"].indexOf(s)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(s);t["default"]=a.a}}]);