You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
16 KiB
1 line
16 KiB
9 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-collect_coupons-index~pages-activity-combination_details-index~pages-activity-goods_s~f686ea80"],{"12a3":function(n,e,t){n.exports=t.p+"static/img/loading.659e6ad3.gif"},"1de5":function(n,e,t){"use strict";n.exports=function(n,e){return e||(e={}),n=n&&n.__esModule?n.default:n,"string"!==typeof n?n:(/^['"].*['"]$/.test(n)&&(n=n.slice(1,-1)),e.hash&&(n+=e.hash),/["'() \t\n]/.test(n)||e.needQuotes?'"'.concat(n.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):n)}},3288:function(n,e,t){"use strict";t.r(e);var i=t("544e"),o=t.n(i);for(var a in i)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(a);e["default"]=o.a},"544e":function(n,e,t){"use strict";t("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("ac1f"),t("5319"),t("d401"),t("d3b7"),t("25f0"),t("a9e3");var i=t("a5eb");function o(){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 a={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{uid:"uid-"+o(),loadImg:!1,showImg:!1,isLoadError:!1,borderLoaded:0,showTransition:!1,scrollFn:(0,i.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=a},"57c2":function(n,e){n.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAANc0lEQVR4Xu1dfZAcRRV/by53XgLEmOO2u+cSlI+ofAhiUMGoASQQvsKXBOSjSlHkQ7DACAVqmYAlShUGFISIaEpF/ABEEL9AhEIBg5ACIYgoBIjZeb2bIBgR8G77WQ2Xqnje7EzPzGb3dvr9O++97v71b9/Mdr9+jeCl1AhgqUfvBw+eACUngSeAJ0DJESj58H0E8AQoOQIlH76PAJ4AJUeg5MP3EcAToOQIlHz4PgJ4ApQcgZIP30cAT4CSI1Dy4fsI4AlQcgRKPnwfATwBSo5AyYfvI4AnQMkRKPnwc0UArfURxpjdgiDYiZkHuwVLKeU+RYylXq8f0mg0FhXhaxwfETM/hIiPSylvydpGJgJorQUAXM7MR2dtuEPtnlm2bNl2S5YsMXn7V6/Xw0ajsTavnzT2iPggIh5bqVT+lkZ/Ux1nAtRqNWmMiVwbmgD6LyHiLkKIp4roKxFxEX5cfPT19U2bPn36Cy42zgTQWt/NzO9zaWSC6O4npbyjiL4S0cMAsGsRvhx9LJdSnuRi40QAIloAADe7NDBBdE+WUl5TRF+11t9l5hOL8JXRx3FSyh+ktXUiQBRF5yLixWmdTwQ9Zl6slLqwiL4S0RcA4HNF+Mrh4xop5clp7Z0IQETXAcCH0jqfAHpXSCnPLKKfRGRBv7oIXzl9rJZSbpfWhysB7gSAvROcrwKAetoOtFFPSymPLaJ9rfUBxpi9ivDVxMcgIs4FgJ2T2pFSpp7X1Iq2USJKIsCq3t7ehQMDA48lddI/d0dg/fr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