(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-collect_coupons-index~pages-activity-combination_details-index~pages-activity-goods_s~caef05d4"],{"23ab":function(n,e,t){"use strict";t.r(e);var o=t("5201"),i=t("5544");for(var a in i)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(a);t("587c");var r=t("828b"),c=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,"3715fc7d",null,!1,o["a"],void 0);e["default"]=c.exports},"472d":function(n,e,t){var o=t("c328");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[n.i,o,""]]),o.locals&&(n.exports=o.locals);var i=t("967d").default;i("6df37699",o,!0,{sourceMap:!1,shadowMode:!1})},5201:function(n,e,t){"use strict";t.d(e,"b",(function(){return o})),t.d(e,"c",(function(){return i})),t.d(e,"a",(function(){}));var o=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("v-uni-view",{staticClass:"easy-loadimage",attrs:{id:n.uid}},[n.loadImg&&!n.isLoadError?t("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:n.showImg,expression:"showImg"}],staticClass:"origin-img",class:{"no-transition":!n.openTransition,"show-transition":n.showTransition&&n.openTransition},attrs:{src:n.imageSrc,mode:"aspectFill"},on:{load:function(e){arguments[0]=e=n.$handleEvent(e),n.handleImgLoad.apply(void 0,arguments)},error:function(e){arguments[0]=e=n.$handleEvent(e),n.handleImgError.apply(void 0,arguments)}}}):n.isLoadError?t("v-uni-view",{staticClass:"loadfail-img",style:{"background-image":"url("+n.domain+"/static/images/loadfail.png)"}}):n._e(),t("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!n.showImg&&!n.isLoadError,expression:"!showImg&&!isLoadError"}],class:["loading-img","spin-circle",n.loadingMode],style:{"background-image":"url("+n.domain+"/static/images/loading.gif)"}})],1)},i=[]},5544:function(n,e,t){"use strict";t.r(e);var o=t("57aa"),i=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(a);e["default"]=i.a},"57aa":function(n,e,t){"use strict";t("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("5c47"),t("a1c1"),t("c9b5"),t("bf0f"),t("ab80"),t("64aa");var o=t("c25d"),i=t("aa10");function a(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(n){var e=16*Math.random()|0,t="x"==n?e:3&e|8;return t.toString(16)}))}var r={props:{imageSrc:{type:String},mode:{type:String},loadingMode:{type:String,default:"looming-gray"},openTransition:{type:Boolean,default:!0},viewHeight:{type:Number,default:function(){return uni.getSystemInfoSync().windowHeight}}},data:function(){var n=this;return{domain:i.HTTP_REQUEST_URL,uid:"uid-"+a(),loadImg:!1,showImg:!1,isLoadError:!1,borderLoaded:0,showTransition:!1,scrollFn:(0,o.throttle)((function(){if(!n.loadImg&&!n.isLoadError){var e=n.uid,t=uni.createSelectorQuery().in(n);t.select("#"+e).boundingClientRect((function(e){e&&e.top-n.viewHeight<0&&(n.loadImg=!!n.imageSrc,n.isLoadError=!n.loadImg)})).exec()}}),200)}},methods:{init:function(){this.$nextTick(this.onScroll)},handleBorderLoad:function(){this.borderLoaded=1},handleBorderError:function(){this.borderLoaded=2},handleImgLoad:function(n){var e=this;this.showImg=!0,setTimeout((function(){e.showTransition=!0}),50)},handleImgError:function(n){this.isLoadError=!0},onScroll:function(){this.scrollFn()}},mounted:function(){this.init(),uni.$on("scroll",this.scrollFn),this.onScroll()},beforeDestroy:function(){uni.$off("scroll",this.scrollFn)}};e.default=r},"587c":function(n,e,t){"use strict";var o=t("472d"),i=t.n(o);i.a},c25d:function(n,e,t){"use strict";t("6a54");var o=t("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ActionSheet=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#000000";return new Promise((function(t,o){uni.showActionSheet({itemList:n,itemColor:e,success:function(n){t(n.tapIndex)},fail:function(n){o(n.errMsg)}})}))},e.Authorize=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scope.userInfo";return new Promise((function(e,t){uni.authorize({scope:n,success:function(n){e(n)},fail:function(n){t(n)}})}))},e.GetUserInfo=function(){return new Promise((function(n,e){uni.getUserInfo({success:function(e){n(e)},fail:function(n){e(n)}})}))},e.Loading=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"正在加载...",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};uni.showLoading((0,a.default)({title:n,mask:!0},e))},e.Modal=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"提示",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"这是一个模态弹窗!";return new Promise((function(t,o){uni.showModal({title:n,content:e,success:function(n){n.confirm&&t(),n.cancel&&o()}})}))},e.ScrollTo=function(n){uni.pageScrollTo({scrollTop:n,duration:300})},e.Toast=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,i=(0,a.default)({title:n,duration:o,position:"center",mask:!0,icon:e||"none"},t);uni.showToast(i)},e.chooseImage=function(n){return new Promise((function(e,t){uni.chooseImage({count:n,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(n){e(n)},fail:function(n){t(n)}})}))},e.clearStorage=function(){try{uni.clearStorageSync()}catch(n){throw new Error("处理失败")}},e.convertObj=r,e.formatDate=c,e.getQuarterStartDate=function(){var n=new Date(d,function(){var n=0;u<3&&(n=0);28&&(n=9);return n}(),1);return c(n,"yyyy-MM-dd")},e.getStorage=function(n){var e=uni.getStorageSync(n);try{"number"!=typeof JSON.parse(e)&&(e=JSON.parse(e))}catch(t){}return e},e.hideLoading=function(){try{uni.hideLoading()}catch(n){throw new Error("处理失败")}},e.navigateBack=function(n){uni.navigateBack({delta:n})},e.navigateTo=function(n,e,t){var o=e,i="navigateTo";switch(o=t?o+"?"+r(t):o,n){case 1:i="navigateTo";break;case 2:i="redirectTo";break;case 3:i="reLaunch";break;case 4:i="switchTab";break;default:i="navigateTo";break}uni[i]({url:o,animationType:"slide-in-right",animationDuration:200})},e.pathToBase64=function(n){return new Promise((function(e,t){if("object"===("undefined"===typeof window?"undefined":(0,i.default)(window))&&"document"in window){if("function"===typeof FileReader){var o=new XMLHttpRequest;return o.open("GET",n,!0),o.responseType="blob",o.onload=function(){if(200===this.status){var n=new FileReader;n.onload=function(n){e(n.target.result)},n.onerror=t,n.readAsDataURL(this.response)}},o.onerror=t,void o.send()}var a=document.createElement("canvas"),r=a.getContext("2d"),c=new Image;return c.onload=function(){a.width=c.width,a.height=c.height,r.drawImage(c,0,0),e(a.toDataURL()),a.height=a.width=0},c.onerror=t,void(c.src=n)}"object"!==("undefined"===typeof plus?"undefined":(0,i.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,i.default)(wx))&&wx.canIUse("getFileSystemManager")?wx.getFileSystemManager().readFile({filePath:n,encoding:"base64",success:function(n){e("data:image/png;base64,"+n.data)},fail:function(n){t(n)}}):t(new Error("not support")):plus.io.resolveLocalFileSystemURL(getLocalFilePath(n),(function(n){n.file((function(n){var o=new plus.io.FileReader;o.onload=function(n){e(n.target.result)},o.onerror=function(n){t(n)},o.readAsDataURL(n)}),(function(n){t(n)}))}),(function(n){t(n)}))}))},e.removeStorage=function(n){n&&uni.removeStorageSync(n)},e.serialize=function(n){if(null!=n&&""!=n)try{return JSON.parse(JSON.stringify(n))}catch(e){return n instanceof Array?[]:{}}return n},e.setStorage=function(n,e){if("string"==typeof e)return uni.setStorageSync(n,e),e;uni.setStorageSync(n,JSON.stringify(e))},e.showMonthFirstDay=function(){var n=(new Date).setDate(1);return c(new Date(n).getTime(),"yyyy-MM-dd")},e.showWeekFirstDay=function(){var n=new Date,e=n.getDay()||7;return n.setDate(n.getDate()-e+1),c(n,"yyyy-MM-dd")},e.throttle=function(n,e){var t,o;e=e||200;return function(){for(var i=this,a=arguments.length,r=new Array(a),c=0;c