webpackJsonp([50],{GlIC:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("lC5x"),n=a.n(r),m=a("J0Oq"),i=a.n(m),o=a("WSiR"),s=a("Rrai"),u=a("l/JR"),d={name:"img-list",components:{vNav:o.a,photoAlbum:s.default},data:function(){return{api:{getOneMemberAlbum:"/api-member/getOneMemberAlbum"},navpath:[{name:"首页",path:""},{name:"会员详情",path:""},{name:"相册",path:""}],from:"",memberId:"",folderId:""}},created:function(){var e=this;return i()(n.a.mark(function t(){var a,r,m,i;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.$route.query.from,r=e.$route.query.memberId,m=e.$route.query.folderId,e.from=a,e.memberId=r,e.folderId=m,t.next=8,e.getImgList();case 8:i=e.folderData.filter(function(e){return e.id===m}),e.navpath[2]={name:"相册",path:"/photo-album?memberId="+r+"&from="+a},i.length>0&&e.navpath.push({name:i[0].name,path:""}),t.t0=a,t.next="0"===t.t0?14:"1"===t.t0?16:18;break;case 14:return e.navpath[1]={name:"会员详情",path:"/wechatmemberDetail?memberId="+r},t.abrupt("break",19);case 16:return e.navpath[1]={name:"会员详情",path:"/wechatTotalDetail?memberId="+r},t.abrupt("break",19);case 18:e.navpath.splice(1,1);case 19:case"end":return t.stop()}},t,e)}))()},methods:{getImgList:function(){var e=this;return u.a.get(this.api.getOneMemberAlbum+"/"+this.memberId).then(function(t){var a=t.data,r=a.code,n=a.message,m=a.data;m=m||[],200===r?e.folderData=m.slice():e.$message.error(n)})}}},c={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"page-content"},[t("v-nav",{attrs:{navpath:this.navpath}}),this._v(" "),t("photo-album",{attrs:{"member-id":this.memberId,"folder-id":this.folderId}}),this._v(" "),t("vue-gic-footer",{staticStyle:{"padding-bottom":"80px"}})],1)},staticRenderFns:[]};var h=a("C7Lr")(d,c,!1,function(e){a("kx4U")},"data-v-0b0802d6",null);t.default=h.exports},kx4U:function(e,t){}});