(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f7b7ad6e"],{"65cb":function(t,o,e){"use strict";e("e2ef")},"8d6b":function(t,o,e){"use strict";var n=function(){var t=this,o=t._self._c;return o("div",{ref:"mescroll",staticClass:"mescroll"},[o("div",[t._t("default")],2)])},s=[],l=e("f868"),i=e.n(l),r=(e("f2fd"),{name:"MeScrollVue",data:function(){return{mescroll:null,lastScrollTop:0,lastBounce:null}},props:{up:Object,down:Object},mounted:function(){this.mescroll=new i.a(this.$refs.mescroll,{up:this.up,down:this.down}),this.$emit("init",this.mescroll)},methods:{beforeRouteEnter(){this.mescroll&&(this.lastScrollTop&&(this.mescroll.setScrollTop(this.lastScrollTop),setTimeout(()=>{this.mescroll.setTopBtnFadeDuration(0)},16)),null!=this.lastBounce&&this.mescroll.setBounce(this.lastBounce))},beforeRouteLeave(){this.mescroll&&(this.lastScrollTop=this.mescroll.getScrollTop(),this.mescroll.hideTopBtn(0),this.lastBounce=this.mescroll.optUp.isBounce,this.mescroll.setBounce(!0))}}}),a=r,p=e("2877"),c=Object(p["a"])(a,n,s,!1,null,null,null);o["a"]=c.exports},"9e2a":function(t,o,e){"use strict";e.d(o,"b",(function(){return s})),e.d(o,"d",(function(){return l})),e.d(o,"a",(function(){return i})),e.d(o,"c",(function(){return r}));var n=e("b775");function s(t){return Object(n["a"])({url:"/mobile/activity/read",method:"post",data:t})}function l(t){return Object(n["a"])({url:"/mobile/activity/getAlbum",method:"post",data:t})}function i(t){return Object(n["a"])({url:"/mobile/activity/activityCollor",method:"post",data:t})}function r(t){return Object(n["a"])({url:"/mobile/share/activityRead",method:"post",data:t})}},e2ef:function(t,o,e){},e333:function(t,o,e){"use strict";e.r(o);var n=function(){var t=this,o=t._self._c;return o("div",{staticClass:"albumPage",style:{"padding-top":t.safeHeight+44+"px"}},[o("div",{staticClass:"navModule",style:{"padding-top":t.safeHeight+"px"}},[o("div",{staticClass:"navigation"},[o("van-icon",{staticClass:"navBack",attrs:{color:"#333333",name:"arrow-left",size:"25px"},on:{click:t.backPageFun}}),o("span",{staticClass:"navTitle font32 color333 fontw700"},[t._v(t._s(t.titleStr))])],1)]),o("mescroll-vue",{ref:"wordListBox",staticClass:"customerBoxmescroll",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[o("div",{staticClass:"albumBox"},t._l(t.albumArr,(function(e,n){return o("div",{key:n,class:{mr0:(n+1)%2==0},on:{click:function(o){return t.viewAlbum(n)}}},[o("img",{staticStyle:{"object-fit":"cover"},attrs:{src:e.url,width:"100%",height:"100%",alt:""}})])})),0),o("nonedata",{attrs:{len:t.albumArr.length,datashow:t.datashow}})],1),o("xqloading",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]})],1)},s=[],l=(e("14d9"),e("5880")),i=e("9e2a"),r=e("8d6b"),a={components:{MescrollVue:r["a"]},data(){return{loadFlag:!1,datashow:!1,avtivityId:"",scrollPosition:0,titleStr:"活动相册",albumArr:[],mescroll:null,mescrollDown:{},mescrollUp:{auto:!1,callback:this.getFuncList,onScroll:this.onScroll,page:{num:0,size:10},htmlLoading:"",htmlNodata:"没有更多数据了~",noMoreSize:5,toTop:{warpId:"QAndAPage",src:"https://o.nczyzs.com/xcx/aaa/backtop.png",offset:1e3}}}},computed:{...Object(l["mapState"])({safeHeight:t=>t.safeHeight})},mounted(){this.avtivityId=this.$route.query.aid,this.mescroll.resetUpScroll()},activated(){this.avtivityId!=this.$route.query.aid&&this.mescroll.resetUpScroll()},methods:{...Object(l["mapMutations"])(["setAlbum"]),onScroll(t,o,e){this.scrollPosition=o},backPageFun(){this.$router.go(-1)},viewAlbum(t){this.setAlbum(this.albumArr),this.$router.push({path:"/preview",query:{index:t}})},mescrollInit(t){this.mescroll=t},getFuncList(t,o){const e=this;let n={page:t.num,limit:10,type:0,id:this.avtivityId};1==t.num?(this.loadFlag=!0,this.datashow=!1):this.$toast.loading({message:"加载中...",forbidClick:!0,duration:0}),Object(i["d"])(n).then(n=>{"0"==n.data.code&&(1===t.num&&(e.albumArr=[],o.scrollTo(0,300)),e.albumArr=e.albumArr.concat(n.data.data),e.$nextTick(()=>{o.endSuccess(n.data.data.length)})),this.loadFlag=!1,this.datashow=!0,this.$toast.clear()})}}},p=a,c=(e("65cb"),e("2877")),u=Object(c["a"])(p,n,s,!1,null,"5ec765f7",null);o["default"]=u.exports},f2fd:function(t,o,e){},f868:function(t,o,e){var n,s;(function(l,i){n=i,s="function"===typeof n?n.call(o,e,o,t):n,void 0===s||(t.exports=s)})(0,(function(){var t=function(t,o){var e=this;if(e.version="1.4.0",e.isScrollBody=!t||"body"===t,e.scrollDom=e.isScrollBody?document.body:e.getDomById(t),e.scrollDom){e.options=o||{};var n=navigator.userAgent,s=!!n.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),l="undefined"===typeof window.orientation,i=n.indexOf("Android")>-1||n.indexOf("Adr")>-1;e.os={ios:s,pc:l,android:i},e.isDownScrolling=!1,e.isUpScrolling=!1;var r=e.options.down&&e.options.down.callback;e.initDownScroll(),e.initUpScroll(),setTimeout((function(){e.optDown.use&&e.optDown.auto&&r&&(e.optDown.autoShowLoading?e.triggerDownScroll():e.optDown.callback&&e.optDown.callback(e)),e.optUp.use&&e.optUp.auto&&!e.isUpAutoLoad&&e.triggerUpScroll()}),30)}};return t.prototype.extendDownScroll=function(o){t.extend(o,{use:!0,auto:!0,autoShowLoading:!1,isLock:!1,isBoth:!1,offset:80,inOffsetRate:1,outOffsetRate:.2,bottomOffset:20,minAngle:45,hardwareClass:"mescroll-hardware",mustToTop:!1,warpId:null,warpClass:"mescroll-downwarp",resetClass:"mescroll-downwarp-reset",textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",htmlContent:'
',inited:function(t,o){t.downTipDom=o.getElementsByClassName("downwarp-tip")[0],t.downProgressDom=o.getElementsByClassName("downwarp-progress")[0]},inOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textInOffset),t.downProgressDom&&t.downProgressDom.classList.remove("mescroll-rotate")},outOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textOutOffset)},onMoving:function(t,o,e){if(t.downProgressDom){var n=360*o;t.downProgressDom.style.webkitTransform="rotate("+n+"deg)",t.downProgressDom.style.transform="rotate("+n+"deg)"}},beforeLoading:function(t,o){return!1},showLoading:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textLoading),t.downProgressDom&&t.downProgressDom.classList.add("mescroll-rotate")},afterLoading:function(t){return 0},callback:function(t){t.resetUpScroll()}})},t.prototype.extendUpScroll=function(o){var e=this.os.pc;t.extend(o,{use:!0,auto:!0,isLock:!1,isBoth:!1,isBounce:!0,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:100,toTop:{warpId:null,src:null,html:null,offset:1e3,warpClass:"mescroll-totop",showClass:"mescroll-fade-in",hideClass:"mescroll-fade-out",fadeDuration:.5,duration:300,supportTap:!1,btnClick:null},loadFull:{use:!1,delay:500},empty:{warpId:null,icon:null,tip:"暂无相关数据~",btntext:"",btnClick:null,supportTap:!1},clearId:null,clearEmptyId:null,hardwareClass:"mescroll-hardware",warpId:null,warpClass:"mescroll-upwarp",htmlLoading:'加载中..
',htmlNodata:'-- END --
',inited:function(t,o){},showLoading:function(t,o){o.innerHTML=t.optUp.htmlLoading},showNoMore:function(t,o){o.innerHTML=t.optUp.htmlNodata},onScroll:null,scrollbar:{use:e,barClass:"mescroll-bar"},lazyLoad:{use:!1,attr:"imgurl",showClass:"mescroll-lazy-in",delay:500,offset:200}})},t.extend=function(o,e){if(!o)return e;for(var n in e)null==o[n]?o[n]=e[n]:"object"===typeof o[n]&&t.extend(o[n],e[n]);return o},t.prototype.initDownScroll=function(){var t=this;if(t.optDown=t.options.down||{},t.extendDownScroll(t.optDown),t.touchstartEvent=function(o){t.isScrollTo&&t.preventDefault(o),t.startPoint=t.getPoint(o),t.lastPoint=t.startPoint,t.maxTouchmoveY=t.getBodyHeight()-t.optDown.bottomOffset,t.inTouchend=!1;var e=t.getScrollTop();t.isKeepTop=0===e,t.os.pc&&e<=0&&(t.scrollDom.addEventListener("mousemove",t.touchmoveEvent,{passive:!1}),document.ondragstart=function(){return!1})},t.scrollDom.addEventListener("mousedown",t.touchstartEvent),t.scrollDom.addEventListener("touchstart",t.touchstartEvent),t.touchmoveEvent=function(o){if(t.startPoint){var e=t.getScrollTop();e>0&&(t.isKeepTop=!1);var n=t.getPoint(o),s=n.y-t.startPoint.y;if(s>0){if(e<=0&&(t.preventDefault(o),t.optDown.use&&!t.inTouchend&&!t.isDownScrolling&&!t.optDown.isLock&&(!t.isUpScrolling||t.isUpScrolling&&t.optUp.isBoth))){if(t.optDown.mustToTop&&!t.isKeepTop)return;var l=Math.abs(t.lastPoint.x-n.x),i=Math.abs(t.lastPoint.y-n.y),r=Math.sqrt(l*l+i*i);if(0!==r){var a=Math.asin(i/r)/Math.PI*180;if(a'+o.tip+"
"),o.btntext&&(s+=''+o.btntext+"
"),t.emptyDom=document.createElement("div"),t.emptyDom.className="mescroll-empty",t.emptyDom.innerHTML=s,n.appendChild(t.emptyDom),o.btnClick){var l=t.emptyDom.getElementsByClassName("empty-btn")[0];o.supportTap?l.addEventListener("tap",(function(e){e.stopPropagation(),t.preventDefault(e),o.btnClick()})):l.onclick=function(){o.btnClick()}}}}},t.prototype.removeEmpty=function(){this.removeChild(this.emptyDom)},t.prototype.showTopBtn=function(t){if(!this.topBtnShow){this.topBtnShow=!0;var o,e=this,n=e.optUp.toTop;if(null==e.toTopBtn)n.html?(e.toTopBtn=document.createElement("div"),e.toTopBtn.innerHTML=n.html):(e.toTopBtn=document.createElement("img"),e.toTopBtn.src=n.src),e.toTopBtn.className=n.warpClass,n.supportTap?e.toTopBtn.addEventListener("tap",(function(t){t.stopPropagation(),e.preventDefault(t);var o=n.btnClick&&n.btnClick();!0!==o&&e.scrollTo(0,e.optUp.toTop.duration)})):e.toTopBtn.onclick=function(){var t=n.btnClick&&n.btnClick();!0!==t&&e.scrollTo(0,e.optUp.toTop.duration)},n.warpId&&(o=e.getDomById(n.warpId)),o||(o=document.body),o.appendChild(e.toTopBtn);e.toTopBtn.classList.remove(n.hideClass),e.toTopBtn.classList.add(n.showClass),e.setTopBtnFadeDuration(t)}},t.prototype.hideTopBtn=function(t){this.topBtnShow&&this.toTopBtn&&(this.topBtnShow=!1,this.toTopBtn.classList.remove(this.optUp.toTop.showClass),this.toTopBtn.classList.add(this.optUp.toTop.hideClass),this.setTopBtnFadeDuration(t))},t.prototype.setTopBtnFadeDuration=function(t){if(this.toTopBtn){var o=(null!=t?t:this.optUp.toTop.fadeDuration)+"s";this.toTopBtn.style.animationDuration=o,this.toTopBtn.style.webkitAnimationDuration=o}},t.prototype.scrollTo=function(t,o){var e=this,n=e.getScrollTop(),s=t;if(s>0){var l=e.getScrollHeight()-e.getClientHeight();s>l&&(s=l)}else s=0;e.isScrollTo=!0,e.scrollDom.style.webkitOverflowScrolling="auto",e.getStep(n,s,(function(t){e.setScrollTop(t),t===s&&(e.scrollDom.style.webkitOverflowScrolling="touch",e.isScrollTo=!1)}),o)},t.prototype.getStep=function(t,o,e,n,s){var l=o-t;if(0!==n&&0!==l){n=n||300,s=s||30;var i=n/s,r=l/i,a=0,p=window.setInterval((function(){a