hz-zhhq-app/unpackage/dist/build/web/static/js/pages-prize-prize.45556961.js

3 lines
70 KiB
JavaScript
Raw Normal View History

2025-01-22 10:53:47 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-prize-prize"],{"00ff":function(t,e,n){var a=n("66d0");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("967d").default;o("626fa18d",a,!0,{sourceMap:!1,shadowMode:!1})},"0b85":function(t,e,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(n("9b1b"));n("64aa"),n("bf0f"),n("2797"),n("5c47"),n("a1c1");var i={name:"uniTransition",props:{show:{type:Boolean,default:!1},modeClass:{type:Array,default:function(){return[]}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}}},data:function(){return{isShow:!1,transform:"",ani:{in:"",active:""}}},watch:{show:{handler:function(t){t?this.open():this.close()},immediate:!0}},computed:{stylesObject:function(){var t=(0,o.default)((0,o.default)({},this.styles),{},{"transition-duration":this.duration/1e3+"s"}),e="";for(var n in t){var a=this.toLine(n);e+=a+":"+t[n]+";"}return e}},created:function(){},methods:{change:function(){this.$emit("click",{detail:this.isShow})},open:function(){var t=this;for(var e in clearTimeout(this.timer),this.isShow=!0,this.transform="",this.ani.in="",this.getTranfrom(!1))"opacity"===e?this.ani.in="fade-in":this.transform+="".concat(this.getTranfrom(!1)[e]," ");this.$nextTick((function(){setTimeout((function(){t._animation(!0)}),50)}))},close:function(t){clearTimeout(this.timer),this._animation(!1)},_animation:function(t){var e=this,n=this.getTranfrom(t);for(var a in this.transform="",n)"opacity"===a?this.ani.in="fade-".concat(t?"out":"in"):this.transform+="".concat(n[a]," ");this.timer=setTimeout((function(){t||(e.isShow=!1),e.$emit("change",{detail:e.isShow})}),this.duration)},getTranfrom:function(t){var e={transform:""};return this.modeClass.forEach((function(n){switch(n){case"fade":e.opacity=t?1:0;break;case"slide-top":e.transform+="translateY(".concat(t?"0":"-100%",") ");break;case"slide-right":e.transform+="translateX(".concat(t?"0":"100%",") ");break;case"slide-bottom":e.transform+="translateY(".concat(t?"0":"100%",") ");break;case"slide-left":e.transform+="translateX(".concat(t?"0":"-100%",") ");break;case"zoom-in":e.transform+="scale(".concat(t?1:.8,") ");break;case"zoom-out":e.transform+="scale(".concat(t?1:1.2,") ");break}})),e},_modeClassArr:function(t){var e=this.modeClass;if("string"!==typeof e){var n="";return e.forEach((function(e){n+=e+"-"+t+","})),n.substr(0,n.length-1)}return e+"-"+t},toLine:function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}}};e.default=i},1599:function(t,e,n){var a=n("ccf1");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("967d").default;o("88f6bdc6",a,!0,{sourceMap:!1,shadowMode:!1})},"1cd8":function(t,e,n){var a=n("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */@font-face{font-family:iconfont;src:url(/static/ttf/iconfont.eot?t=1564651597095);\n /* IE9 */src:url(/static/ttf/iconfont.eot?t=1564651597095#iefix) format("embedded-opentype"),url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABhMAAsAAAAAKtgAABf+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCIFgq/aLMaATYCJAOBHAtQAAQgBYRtB4MlG28jM5KzWniiKJWLJvs/JHAyxrKAq9GKoqBGzCLTaMPhKOFZHqNlFow4Nu21gxh5J5+e4BTeRVEr6h2OGsb/tUrXahFVV9Ye9cGHJEWTh2K//529Ys++mE0nkVRDMUvdeiKkxaYzPM3pv3d3CUnuLrlLHIkR2g7SIDqoJCRYNXgFs3qoIBoqEArbqEOowAwGbKs4FVVqTlP5ApO0+TmATJ/nZs8jCTgMB7aNSks0k3nzj3dHYx3OZZ94rCPMoxyhR4X59pJeIdfQCIWc8rN+aT7wP5hTk5J2DykwsJ3CEMBQ2DhwyPnYX+lrCBaDdpFzQ3ZsxoA7UBtY5qnSu+w8U4Wo/6faaiWieFQ5iTgdFM1C0fHoivmyWc/I8mJpk8Yi2UsSeUSSTIihqCh5FJW0USbapKwl5rurQ51C0/cHMVfJSPmf0ti4m9o3ts+Fq8B838EiyrjOR3jND3Fuqs7XJzDYcSVuHD94gaUimgvEF3z/EqtXqTJ0CV1Fo7hopYItgKErGpENzFf66eMfeLCAQl0CEfrk3c039AmKy+qUpe1qUJeO4eBilLhCRXFdWRfXQNnSK0oOKqsKov/m9lTGSb7kk/GgNIK3AHoTTWGWpEy1H1gmaii8uCcBmtSxrNdEE7ePWDNcuSXWhLzspAlNeRJAb2zeohWVJeum9h05dOzEgi2rt/b/yFu2qTUzmNMYKZS2TeyordlwYNc
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
e.default=function(){return t};var t={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},r="function"==typeof Symbol?Symbol:{},c=r.iterator||"@@iterator",f=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(N){d=function(t,e,n){return t[e]=n}}function u(t,e,n,a){var o=e&&e.prototype instanceof b?e:b,r=Object.create(o.prototype),c=new S(a||[]);return i(r,"_invoke",{value:w(t,n,c)}),r}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(N){return{type:"throw",arg:N}}}t.wrap=u;var v={};function b(){}function p(){}function h(){}var m={};d(m,c,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==n&&o.call(y,c)&&(m=y);var A=h.prototype=b.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){var n;i(this,"_invoke",{value:function(i,r){function c(){return new e((function(n,c){(function n(i,r,c,f){var s=l(t[i],t,r);if("throw"!==s.type){var d=s.arg,u=d.value;return u&&"object"==(0,a.default)(u)&&o.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,c,f)}),(function(t){n("throw",t,c,f)})):e.resolve(u).then((function(t){d.value=t,c(d)}),(function(t){return n("throw",t,c,f)}))}f(s.arg)})(i,r,n,c)}))}return n=n?n.then(c,c):c()}})}function w(t,e,n){var a="suspendedStart";return function(o,i){if("executing"===a)throw new Error("Generator is already running");if("completed"===a){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var r=n.delegate;if(r){var c=P(r,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===a)throw a="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a="executing";var f=l(t,e,n);if("normal"===f.type){if(a=n.done?"completed":"suspendedYield",f.arg===v)continue;return{value:f.arg,done:n.done}}"throw"===f.type&&(a="completed",n.method="throw",n.arg=f.arg)}}}function P(t,e){var n=e.method,a=t.iterator[n];if(void 0===a)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,P(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=l(a,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function q(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(q,this),this.reset(!0)}function T(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=h,i(A,"constructor",{value:h,configurable:!0}),i(h,"constructor",{value:p,configurable:!0}),p.displayName=d(h,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,d(t,s,"GeneratorFunction")),t.prototype=Object.create(A),t},t.awrap=function(t){return{__await:t}},x(k.prototype),d(k.prototype,f,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,a,o,i){void 0===i&&(i=Promise);var r=new k(u(e,n,a,o),i);return t.isGeneratorFunction(n)?r:r.next().then((function(t){return t.do