(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["otherpages/member/footprint/footprint"],{"08c8":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=s(e("4c22"));function s(t){return t&&t.__esModule?t:{default:t}}var i=function(){Promise.all([e.e("common/vendor"),e.e("components/ns-goods-item/ns-goods-item-row")]).then(function(){return resolve(e("7c7c"))}.bind(null,e)).catch(e.oe)},r=function(){Promise.all([e.e("common/vendor"),e.e("components/ns-show-toast/ns-show-toast")]).then(function(){return resolve(e("f505"))}.bind(null,e)).catch(e.oe)},a={components:{nsGoodsItemRow:i,nsShowToast:r},data:function(){return{goodsList:[],current:-1}},onLoad:function(){},onShow:function(){this.$langConfig.refresh()},mixins:[o.default],methods:{getListData:function(t){var n=this;this.$api.sendRequest({url:"/api/goodsbrowse/page",data:{page:t.num,page_size:t.size},success:function(e){var o=[],s=e.message;0==e.code&&e.data?o=e.data.list:n.$util.showToast({title:s}),t.endSuccess(o.length),1==t.num&&(n.goodsList=[]),n.goodsList=n.goodsList.concat(o),n.$refs.loadingCover&&n.$refs.loadingCover.hide()},fail:function(e){t.endErr(),n.$refs.loadingCover&&n.$refs.loadingCover.hide()}})},toDetail:function(t){var n={sku_id:t.sku_id};this.$util.redirectTo("/pages/goods/detail/detail",n)},longpress:function(t){this.current=t},deleteFootprint:function(t){var n=this;this.$api.sendRequest({url:"/api/goodsbrowse/delete",data:{id:this.goodsList[t].id},success:function(e){e.code>=0?n.goodsList.splice(t,1):n.$util.showToast({title:e.message})}})},imageError:function(t){this.goodsList[t].sku_image=this.$util.getDefaultImage().default_goods_img,this.$forceUpdate()}}};n.default=a},"17db":function(t,n,e){"use strict";e.r(n);var o=e("85cb"),s=e("6d2c");for(var i in s)"default"!==i&&function(t){e.d(n,t,(function(){return s[t]}))}(i);e("777ee");var r,a=e("f0c5"),c=Object(a["a"])(s["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],r);n["default"]=c.exports},"5cf5":function(t,n,e){"use strict";(function(t){e("6b76");o(e("66fd"));var n=o(e("17db"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},"6d2c":function(t,n,e){"use strict";e.r(n);var o=e("08c8"),s=e.n(o);for(var i in o)"default"!==i&&function(t){e.d(n,t,(function(){return o[t]}))}(i);n["default"]=s.a},"777ee":function(t,n,e){"use strict";var o=e("c247"),s=e.n(o);s.a},"85cb":function(t,n,e){"use strict";var o={nsEmpty:function(){return e.e("components/ns-empty/ns-empty").then(e.bind(null,"211f"))},loadingCover:function(){return e.e("components/loading-cover/loading-cover").then(e.bind(null,"cd2f"))},nsShowToast:function(){return Promise.all([e.e("common/vendor"),e.e("components/ns-show-toast/ns-show-toast")]).then(e.bind(null,"f505"))}},s=function(){var t=this,n=t.$createElement,e=(t._self._c,t.$lang("emptyTpis"));t.$mp.data=Object.assign({},{$root:{m0:e}})},i=[];e.d(n,"b",(function(){return s})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return o}))},c247:function(t,n,e){}},[["5cf5","common/runtime","common/vendor"]]]);