Commit bce90790 by 曾经

no message

parent cd797bb1
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>game-h5</title><link rel="stylesheet" href="//at.alicdn.com/t/font_2844902_uelk5f2sikk.css"><link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"><link href="css/chunk-02699ff0.f474007f.css" rel="prefetch"><link href="css/chunk-02af9ba3.9efe9e40.css" rel="prefetch"><link href="css/chunk-109d5dec.85b8a6a4.css" rel="prefetch"><link href="css/chunk-27dfcc10.23ca7775.css" rel="prefetch"><link href="css/chunk-33b673b0.767bbfee.css" rel="prefetch"><link href="css/chunk-3608022b.668360ed.css" rel="prefetch"><link href="css/chunk-3d0f1fa0.18f3a96a.css" rel="prefetch"><link href="css/chunk-497026b0.fd6bba20.css" rel="prefetch"><link href="css/chunk-5a091a97.7055b0a4.css" rel="prefetch"><link href="css/chunk-6e7c771d.1b504777.css" rel="prefetch"><link href="css/chunk-71639305.f21c9ef5.css" rel="prefetch"><link href="css/chunk-77d56e4a.b8b4143c.css" rel="prefetch"><link href="css/chunk-978cfcd0.d87b1781.css" rel="prefetch"><link href="js/chunk-02699ff0.988c3d10.js" rel="prefetch"><link href="js/chunk-02af9ba3.4b11854b.js" rel="prefetch"><link href="js/chunk-109d5dec.3c85b6c4.js" rel="prefetch"><link href="js/chunk-27dfcc10.4bf9164d.js" rel="prefetch"><link href="js/chunk-33b673b0.26d66f23.js" rel="prefetch"><link href="js/chunk-3566c97c.c257a7f2.js" rel="prefetch"><link href="js/chunk-3608022b.807970b5.js" rel="prefetch"><link href="js/chunk-3d0f1fa0.86ace5b7.js" rel="prefetch"><link href="js/chunk-497026b0.1a121b49.js" rel="prefetch"><link href="js/chunk-4aa552e1.0bdef039.js" rel="prefetch"><link href="js/chunk-5a091a97.d6a41c63.js" rel="prefetch"><link href="js/chunk-6e7c771d.501f9492.js" rel="prefetch"><link href="js/chunk-71639305.5c02bf63.js" rel="prefetch"><link href="js/chunk-72be1171.dce6850f.js" rel="prefetch"><link href="js/chunk-77d56e4a.769d1496.js" rel="prefetch"><link href="js/chunk-978cfcd0.1aa29d89.js" rel="prefetch"><link href="js/app.e7a516ec.js" rel="preload" as="script"><link href="js/chunk-vendors.37f2d3ab.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but game-h5 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/axios/0.18.0/index.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js"></script><script src="https://unpkg.com/element-ui/lib/index.js"></script><script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script><script src="js/chunk-vendors.37f2d3ab.js"></script><script src="js/app.e7a516ec.js"></script></body></html> <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>game-h5</title><link rel="stylesheet" href="//at.alicdn.com/t/font_2844902_uelk5f2sikk.css"><link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"><link href="css/chunk-02699ff0.f474007f.css" rel="prefetch"><link href="css/chunk-02af9ba3.9efe9e40.css" rel="prefetch"><link href="css/chunk-109d5dec.85b8a6a4.css" rel="prefetch"><link href="css/chunk-27dfcc10.23ca7775.css" rel="prefetch"><link href="css/chunk-33b673b0.767bbfee.css" rel="prefetch"><link href="css/chunk-3608022b.668360ed.css" rel="prefetch"><link href="css/chunk-3d0f1fa0.18f3a96a.css" rel="prefetch"><link href="css/chunk-497026b0.fd6bba20.css" rel="prefetch"><link href="css/chunk-5a091a97.7055b0a4.css" rel="prefetch"><link href="css/chunk-6e7c771d.1b504777.css" rel="prefetch"><link href="css/chunk-71639305.f21c9ef5.css" rel="prefetch"><link href="css/chunk-77d56e4a.b8b4143c.css" rel="prefetch"><link href="css/chunk-978cfcd0.d87b1781.css" rel="prefetch"><link href="js/chunk-02699ff0.b36ba7a2.js" rel="prefetch"><link href="js/chunk-02af9ba3.e2947c85.js" rel="prefetch"><link href="js/chunk-109d5dec.425d3300.js" rel="prefetch"><link href="js/chunk-27dfcc10.c093b642.js" rel="prefetch"><link href="js/chunk-33b673b0.26d66f23.js" rel="prefetch"><link href="js/chunk-3566c97c.576fe036.js" rel="prefetch"><link href="js/chunk-3608022b.072a8fbf.js" rel="prefetch"><link href="js/chunk-3d0f1fa0.86ace5b7.js" rel="prefetch"><link href="js/chunk-497026b0.1a121b49.js" rel="prefetch"><link href="js/chunk-4aa552e1.0bdef039.js" rel="prefetch"><link href="js/chunk-5a091a97.b17aeb4a.js" rel="prefetch"><link href="js/chunk-6e7c771d.501f9492.js" rel="prefetch"><link href="js/chunk-71639305.e417e9da.js" rel="prefetch"><link href="js/chunk-72be1171.dce6850f.js" rel="prefetch"><link href="js/chunk-77d56e4a.769d1496.js" rel="prefetch"><link href="js/chunk-978cfcd0.1aa29d89.js" rel="prefetch"><link href="js/app.e6736cd6.js" rel="preload" as="script"><link href="js/chunk-vendors.37f2d3ab.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but game-h5 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/axios/0.18.0/index.min.js"></script><script src="//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js"></script><script src="https://unpkg.com/element-ui/lib/index.js"></script><script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script><script src="js/chunk-vendors.37f2d3ab.js"></script><script src="js/app.e6736cd6.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(e){function n(n){for(var t,u,o=n[0],h=n[1],i=n[2],l=0,f=[];l<o.length;l++)u=o[l],Object.prototype.hasOwnProperty.call(r,u)&&r[u]&&f.push(r[u][0]),r[u]=0;for(t in h)Object.prototype.hasOwnProperty.call(h,t)&&(e[t]=h[t]);d&&d(n);while(f.length)f.shift()();return a.push.apply(a,i||[]),c()}function c(){for(var e,n=0;n<a.length;n++){for(var c=a[n],t=!0,u=1;u<c.length;u++){var o=c[u];0!==r[o]&&(t=!1)}t&&(a.splice(n--,1),e=h(h.s=c[0]))}return e}var t={},u={app:0},r={app:0},a=[];function o(e){return h.p+"js/"+({}[e]||e)+"."+{"chunk-3566c97c":"c257a7f2","chunk-4aa552e1":"0bdef039","chunk-72be1171":"dce6850f","chunk-02699ff0":"988c3d10","chunk-02af9ba3":"4b11854b","chunk-109d5dec":"3c85b6c4","chunk-27dfcc10":"4bf9164d","chunk-33b673b0":"26d66f23","chunk-3608022b":"807970b5","chunk-497026b0":"1a121b49","chunk-5a091a97":"d6a41c63","chunk-71639305":"5c02bf63","chunk-3d0f1fa0":"86ace5b7","chunk-6e7c771d":"501f9492","chunk-77d56e4a":"769d1496","chunk-978cfcd0":"1aa29d89"}[e]+".js"}function h(n){if(t[n])return t[n].exports;var c=t[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,h),c.l=!0,c.exports}h.e=function(e){var n=[],c={"chunk-02699ff0":1,"chunk-02af9ba3":1,"chunk-109d5dec":1,"chunk-27dfcc10":1,"chunk-33b673b0":1,"chunk-3608022b":1,"chunk-497026b0":1,"chunk-5a091a97":1,"chunk-71639305":1,"chunk-3d0f1fa0":1,"chunk-6e7c771d":1,"chunk-77d56e4a":1,"chunk-978cfcd0":1};u[e]?n.push(u[e]):0!==u[e]&&c[e]&&n.push(u[e]=new Promise((function(n,c){for(var t="css/"+({}[e]||e)+"."+{"chunk-3566c97c":"31d6cfe0","chunk-4aa552e1":"31d6cfe0","chunk-72be1171":"31d6cfe0","chunk-02699ff0":"f474007f","chunk-02af9ba3":"9efe9e40","chunk-109d5dec":"85b8a6a4","chunk-27dfcc10":"23ca7775","chunk-33b673b0":"767bbfee","chunk-3608022b":"668360ed","chunk-497026b0":"fd6bba20","chunk-5a091a97":"7055b0a4","chunk-71639305":"f21c9ef5","chunk-3d0f1fa0":"18f3a96a","chunk-6e7c771d":"1b504777","chunk-77d56e4a":"b8b4143c","chunk-978cfcd0":"d87b1781"}[e]+".css",r=h.p+t,a=document.getElementsByTagName("link"),o=0;o<a.length;o++){var i=a[o],l=i.getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(l===t||l===r))return n()}var f=document.getElementsByTagName("style");for(o=0;o<f.length;o++){i=f[o],l=i.getAttribute("data-href");if(l===t||l===r)return n()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=n,d.onerror=function(n){var t=n&&n.target&&n.target.src||r,a=new Error("Loading CSS chunk "+e+" failed.\n("+t+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=t,delete u[e],d.parentNode.removeChild(d),c(a)},d.href=r;var p=document.getElementsByTagName("head")[0];p.appendChild(d)})).then((function(){u[e]=0})));var t=r[e];if(0!==t)if(t)n.push(t[2]);else{var a=new Promise((function(n,c){t=r[e]=[n,c]}));n.push(t[2]=a);var i,l=document.createElement("script");l.charset="utf-8",l.timeout=120,h.nc&&l.setAttribute("nonce",h.nc),l.src=o(e);var f=new Error;i=function(n){l.onerror=l.onload=null,clearTimeout(d);var c=r[e];if(0!==c){if(c){var t=n&&("load"===n.type?"missing":n.type),u=n&&n.target&&n.target.src;f.message="Loading chunk "+e+" failed.\n("+t+": "+u+")",f.name="ChunkLoadError",f.type=t,f.request=u,c[1](f)}r[e]=void 0}};var d=setTimeout((function(){i({type:"timeout",target:l})}),12e4);l.onerror=l.onload=i,document.head.appendChild(l)}return Promise.all(n)},h.m=e,h.c=t,h.d=function(e,n,c){h.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},h.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.t=function(e,n){if(1&n&&(e=h(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(h.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)h.d(c,t,function(n){return e[n]}.bind(null,t));return c},h.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return h.d(n,"a",n),n},h.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},h.p="",h.oe=function(e){throw console.error(e),e};var i=window["webpackJsonp"]=window["webpackJsonp"]||[],l=i.push.bind(i);i.push=n,i=i.slice();for(var f=0;f<i.length;f++)n(i[f]);var d=l;a.push([0,"chunk-vendors"]),c()})({0:function(e,n,c){e.exports=c("56d7")},"56d7":function(e,n,c){"use strict";c.r(n);c("e260"),c("e6cf"),c("cca6"),c("a79d");var t=c("8bbf"),u=c.n(t),r=function(){var e=this,n=e.$createElement,c=e._self._c||n;return c("div",{attrs:{id:"app"}},[c("router-view")],1)},a=[],o={name:"App"},h=o,i=c("2877"),l=Object(i["a"])(h,r,a,!1,null,null,null),f=l.exports,d=c("cebe"),p=c.n(d),b=(c("d3b7"),c("3ca3"),c("ddb0"),c("6389")),s=c.n(b);u.a.use(s.a);var k=[{path:"/",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-4aa552e1")]).then(c.bind(null,"6e78"))}},{path:"/cmh/1",name:"猜盲盒",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-71639305"),c.e("chunk-6e7c771d")]).then(c.bind(null,"28b8"))}},{path:"/cmh/1/rule",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-978cfcd0")]).then(c.bind(null,"e214"))},name:"游戏规则"},{path:"/cmh/1/my-reward",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-02699ff0")]).then(c.bind(null,"393a"))},name:"我的奖品"},{path:"/cmh/1/support",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-3608022b")]).then(c.bind(null,"95c8"))},name:"助力拆盲盒"},{path:"/cmh/2",name:"猜盲盒",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-71639305"),c.e("chunk-77d56e4a")]).then(c.bind(null,"a893"))}},{path:"/cmh/2/rule",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-33b673b0")]).then(c.bind(null,"0f3e"))},name:"游戏规则"},{path:"/cmh/2/my-reward",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-5a091a97")]).then(c.bind(null,"415c"))},name:"我的奖品"},{path:"/cmh/2/support",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-02af9ba3")]).then(c.bind(null,"5f60"))},name:"助力拆盲盒"},{path:"/cmh/3",name:"猜盲盒",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-71639305"),c.e("chunk-3d0f1fa0")]).then(c.bind(null,"c2c8"))}},{path:"/cmh/3/rule",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-497026b0")]).then(c.bind(null,"3b16"))},name:"游戏规则"},{path:"/cmh/3/my-reward",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-109d5dec")]).then(c.bind(null,"14ab"))},name:"我的奖品"},{path:"/cmh/3/support",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-27dfcc10")]).then(c.bind(null,"a4fa"))},name:"助力拆盲盒"}],m=new s.a({base:"/",routes:k}),v=m;u.a.config.productionTip=!1,u.a.prototype.axios=p.a,u.a.prototype.axios.defaults.withCredentials=!0,new u.a({router:v,render:function(e){return e(f)}}).$mount("#app")},6389:function(e,n){e.exports=VueRouter},"8bbf":function(e,n){e.exports=Vue},cebe:function(e,n){e.exports=axios}}); (function(e){function n(n){for(var t,u,o=n[0],h=n[1],i=n[2],l=0,f=[];l<o.length;l++)u=o[l],Object.prototype.hasOwnProperty.call(r,u)&&r[u]&&f.push(r[u][0]),r[u]=0;for(t in h)Object.prototype.hasOwnProperty.call(h,t)&&(e[t]=h[t]);d&&d(n);while(f.length)f.shift()();return a.push.apply(a,i||[]),c()}function c(){for(var e,n=0;n<a.length;n++){for(var c=a[n],t=!0,u=1;u<c.length;u++){var o=c[u];0!==r[o]&&(t=!1)}t&&(a.splice(n--,1),e=h(h.s=c[0]))}return e}var t={},u={app:0},r={app:0},a=[];function o(e){return h.p+"js/"+({}[e]||e)+"."+{"chunk-3566c97c":"576fe036","chunk-4aa552e1":"0bdef039","chunk-72be1171":"dce6850f","chunk-02699ff0":"b36ba7a2","chunk-02af9ba3":"e2947c85","chunk-109d5dec":"425d3300","chunk-27dfcc10":"c093b642","chunk-33b673b0":"26d66f23","chunk-3608022b":"072a8fbf","chunk-497026b0":"1a121b49","chunk-5a091a97":"b17aeb4a","chunk-71639305":"e417e9da","chunk-3d0f1fa0":"86ace5b7","chunk-6e7c771d":"501f9492","chunk-77d56e4a":"769d1496","chunk-978cfcd0":"1aa29d89"}[e]+".js"}function h(n){if(t[n])return t[n].exports;var c=t[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,h),c.l=!0,c.exports}h.e=function(e){var n=[],c={"chunk-02699ff0":1,"chunk-02af9ba3":1,"chunk-109d5dec":1,"chunk-27dfcc10":1,"chunk-33b673b0":1,"chunk-3608022b":1,"chunk-497026b0":1,"chunk-5a091a97":1,"chunk-71639305":1,"chunk-3d0f1fa0":1,"chunk-6e7c771d":1,"chunk-77d56e4a":1,"chunk-978cfcd0":1};u[e]?n.push(u[e]):0!==u[e]&&c[e]&&n.push(u[e]=new Promise((function(n,c){for(var t="css/"+({}[e]||e)+"."+{"chunk-3566c97c":"31d6cfe0","chunk-4aa552e1":"31d6cfe0","chunk-72be1171":"31d6cfe0","chunk-02699ff0":"f474007f","chunk-02af9ba3":"9efe9e40","chunk-109d5dec":"85b8a6a4","chunk-27dfcc10":"23ca7775","chunk-33b673b0":"767bbfee","chunk-3608022b":"668360ed","chunk-497026b0":"fd6bba20","chunk-5a091a97":"7055b0a4","chunk-71639305":"f21c9ef5","chunk-3d0f1fa0":"18f3a96a","chunk-6e7c771d":"1b504777","chunk-77d56e4a":"b8b4143c","chunk-978cfcd0":"d87b1781"}[e]+".css",r=h.p+t,a=document.getElementsByTagName("link"),o=0;o<a.length;o++){var i=a[o],l=i.getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(l===t||l===r))return n()}var f=document.getElementsByTagName("style");for(o=0;o<f.length;o++){i=f[o],l=i.getAttribute("data-href");if(l===t||l===r)return n()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=n,d.onerror=function(n){var t=n&&n.target&&n.target.src||r,a=new Error("Loading CSS chunk "+e+" failed.\n("+t+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=t,delete u[e],d.parentNode.removeChild(d),c(a)},d.href=r;var p=document.getElementsByTagName("head")[0];p.appendChild(d)})).then((function(){u[e]=0})));var t=r[e];if(0!==t)if(t)n.push(t[2]);else{var a=new Promise((function(n,c){t=r[e]=[n,c]}));n.push(t[2]=a);var i,l=document.createElement("script");l.charset="utf-8",l.timeout=120,h.nc&&l.setAttribute("nonce",h.nc),l.src=o(e);var f=new Error;i=function(n){l.onerror=l.onload=null,clearTimeout(d);var c=r[e];if(0!==c){if(c){var t=n&&("load"===n.type?"missing":n.type),u=n&&n.target&&n.target.src;f.message="Loading chunk "+e+" failed.\n("+t+": "+u+")",f.name="ChunkLoadError",f.type=t,f.request=u,c[1](f)}r[e]=void 0}};var d=setTimeout((function(){i({type:"timeout",target:l})}),12e4);l.onerror=l.onload=i,document.head.appendChild(l)}return Promise.all(n)},h.m=e,h.c=t,h.d=function(e,n,c){h.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},h.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.t=function(e,n){if(1&n&&(e=h(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(h.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var t in e)h.d(c,t,function(n){return e[n]}.bind(null,t));return c},h.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return h.d(n,"a",n),n},h.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},h.p="",h.oe=function(e){throw console.error(e),e};var i=window["webpackJsonp"]=window["webpackJsonp"]||[],l=i.push.bind(i);i.push=n,i=i.slice();for(var f=0;f<i.length;f++)n(i[f]);var d=l;a.push([0,"chunk-vendors"]),c()})({0:function(e,n,c){e.exports=c("56d7")},"56d7":function(e,n,c){"use strict";c.r(n);c("e260"),c("e6cf"),c("cca6"),c("a79d");var t=c("8bbf"),u=c.n(t),r=function(){var e=this,n=e.$createElement,c=e._self._c||n;return c("div",{attrs:{id:"app"}},[c("router-view")],1)},a=[],o={name:"App"},h=o,i=c("2877"),l=Object(i["a"])(h,r,a,!1,null,null,null),f=l.exports,d=c("cebe"),p=c.n(d),b=(c("d3b7"),c("3ca3"),c("ddb0"),c("6389")),s=c.n(b);u.a.use(s.a);var k=[{path:"/",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-4aa552e1")]).then(c.bind(null,"6e78"))}},{path:"/cmh/1",name:"猜盲盒",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-71639305"),c.e("chunk-6e7c771d")]).then(c.bind(null,"28b8"))}},{path:"/cmh/1/rule",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-978cfcd0")]).then(c.bind(null,"e214"))},name:"游戏规则"},{path:"/cmh/1/my-reward",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-02699ff0")]).then(c.bind(null,"393a"))},name:"我的奖品"},{path:"/cmh/1/support",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-3608022b")]).then(c.bind(null,"95c8"))},name:"助力拆盲盒"},{path:"/cmh/2",name:"猜盲盒",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-71639305"),c.e("chunk-77d56e4a")]).then(c.bind(null,"a893"))}},{path:"/cmh/2/rule",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-33b673b0")]).then(c.bind(null,"0f3e"))},name:"游戏规则"},{path:"/cmh/2/my-reward",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-5a091a97")]).then(c.bind(null,"415c"))},name:"我的奖品"},{path:"/cmh/2/support",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-02af9ba3")]).then(c.bind(null,"5f60"))},name:"助力拆盲盒"},{path:"/cmh/3",name:"猜盲盒",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-71639305"),c.e("chunk-3d0f1fa0")]).then(c.bind(null,"c2c8"))}},{path:"/cmh/3/rule",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-497026b0")]).then(c.bind(null,"3b16"))},name:"游戏规则"},{path:"/cmh/3/my-reward",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-109d5dec")]).then(c.bind(null,"14ab"))},name:"我的奖品"},{path:"/cmh/3/support",component:function(){return Promise.all([c.e("chunk-3566c97c"),c.e("chunk-72be1171"),c.e("chunk-27dfcc10")]).then(c.bind(null,"a4fa"))},name:"助力拆盲盒"}],m=new s.a({base:"/",routes:k}),v=m;u.a.config.productionTip=!1,u.a.prototype.axios=p.a,u.a.prototype.axios.defaults.withCredentials=!0,new u.a({router:v,render:function(e){return e(f)}}).$mount("#app")},6389:function(e,n){e.exports=VueRouter},"8bbf":function(e,n){e.exports=Vue},cebe:function(e,n){e.exports=axios}});
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-02699ff0"],{"057f":function(t,e,n){var r=n("c6b6"),a=n("fc6a"),i=n("241c").f,o=n("4dae"),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return o(c)}};t.exports.f=function(t){return c&&"Window"==r(t)?s(t):i(a(t))}},"0cb2":function(t,e,n){var r=n("e330"),a=n("7b0b"),i=Math.floor,o=r("".charAt),c=r("".replace),s=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,l,d){var b=n+t.length,p=r.length,h=f;return void 0!==l&&(l=a(l),h=u),c(d,h,(function(a,c){var u;switch(o(c,0)){case"$":return"$";case"&":return t;case"`":return s(e,0,n);case"'":return s(e,b);case"<":u=l[s(c,1,-1)];break;default:var f=+c;if(0===f)return a;if(f>p){var d=i(f/10);return 0===d?a:d<=p?void 0===r[d-1]?o(c,1):r[d-1]+o(c,1):a}u=r[f-1]}return void 0===u?"":u}))}},"159b":function(t,e,n){var r=n("da84"),a=n("fdbc"),i=n("785a"),o=n("17c2"),c=n("9112"),s=function(t){if(t&&t.forEach!==o)try{c(t,"forEach",o)}catch(e){t.forEach=o}};for(var u in a)a[u]&&s(r[u]&&r[u].prototype);s(i)},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,a=n("a640"),i=a("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"393a":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"box"},[t._m(0),r("div",{staticClass:"content"},[r("div",{staticClass:"content-cell"},[t._m(1),t.list&&t.list.length?r("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.loadData,expression:"loadData"}],staticClass:"infinite-list",style:{height:t.windowHeight-50-20-34-10+"px"}},t._l(t.list,(function(e){return r("div",{key:e,staticClass:"reward-item-box"},[r("div",{staticClass:"reward-item",on:{click:function(n){return t.toRewardDetail(e)}}},[r("div",{staticClass:"reward-img-box"},[r("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),r("div",{staticClass:"reward-info"},[r("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),r("div",{staticClass:"reward-condition"},[t._v(t._s(e.prizeDesc||""))]),r("div",{staticClass:"reward-time"},[t._v(t._s(t._f("formatDate")(e.prizeTime)))])])])])})),0):t.haveLoad?r("div",{staticClass:"empty-box",style:{height:t.windowHeight-50-20-34-10+"px"}},[r("img",{staticClass:"empty-img",attrs:{src:n("736f"),mode:"widthFix"}}),r("div",{staticClass:"title"},[t._v("这里空空如也")]),r("div",{staticClass:"subtitle"},[t._v(" 还没有获得任何奖品哦~赶紧拆盲盒赢取好礼吧! ")]),r("div",{staticClass:"play-btn",on:{click:t.toPlay}},[t._v("去拆盲盒")])]):t._e()])])])},a=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"page-bg"},[r("img",{staticClass:"bg-img",attrs:{src:n("4de3"),mode:"widthFix"}})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cell-top"},[n("div",{staticClass:"iconfont icon-duobianxing"}),n("div",{staticClass:"title"},[t._v("我的奖品")]),n("div",{staticClass:"iconfont icon-duobianxing"})])}],i=n("5530"),o=n("1da1"),c=(n("96cf"),n("99af"),n("ac1f"),n("5319"),n("2934")),s=n("b843"),u=c["a"].getMyReward,f={components:{},data:function(){return{list:[],pageSize:20,currentPage:1,totalCount:0}},created:function(){document.title="我的奖品",this.manager=new s["a"](this),this.windowHeight=window.innerHeight,this.reloadData()},methods:{reloadData:function(){this.currentPage=1,this.totalCount=0,this.loadData()},loadData:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t.list.length>=t.totalCount&&0!=t.totalCount)){e.next=2;break}return e.abrupt("return");case 2:return n=t.$route.query,e.next=5,u(Object(i["a"])(Object(i["a"])({},n),{},{currentPage:t.currentPage,pageSize:t.pageSize}));case 5:r=e.sent,t.haveLoad=!0,t.totalCount=r.totalCount,a=t.list||[],a=1==t.currentPage?r.result||[]:a.concat(r.result||[]),t.currentPage++,t.list=a;case 12:case"end":return e.stop()}}),e)})))()},toRewardDetail:function(t){switch(+t.prizeType){case 0:break;case 1:this.manager.toIntegralDetail();break;case 2:this.manager.toCouponList();break;case 3:break;default:break}},toPlay:function(){this.$router.replace({path:"/",query:this.$route.query})}},filters:{formatDate:function(t){if(!t)return"--";var e=new Date(t);return e.getFullYear()+"年"+(e.getMonth()+1)+"月"+e.getDate()+"日"}}},l=f,d=(n("87c5"),n("2877")),b=Object(d["a"])(l,r,a,!1,null,"3f57141c",null);e["default"]=b.exports},"3d87":function(t,e,n){var r=n("4930");t.exports=r&&!!Symbol["for"]&&!!Symbol.keyFor},"428f":function(t,e,n){var r=n("da84");t.exports=r},"4dae":function(t,e,n){var r=n("da84"),a=n("23cb"),i=n("07fa"),o=n("8418"),c=r.Array,s=Math.max;t.exports=function(t,e,n){for(var r=i(t),u=a(e,r),f=a(void 0===n?r:n,r),l=c(s(f-u,0)),d=0;u<f;u++,d++)o(l,d,t[u]);return l.length=d,l}},"4de3":function(t,e,n){t.exports=n.p+"img/rulebg.c076f3ae.png"},"4de4":function(t,e,n){"use strict";var r=n("23e7"),a=n("b727").filter,i=n("1dde"),o=i("filter");r({target:"Array",proto:!0,forced:!o},{filter:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},5319:function(t,e,n){"use strict";var r=n("2ba4"),a=n("c65b"),i=n("e330"),o=n("d784"),c=n("d039"),s=n("825a"),u=n("1626"),f=n("5926"),l=n("50c4"),d=n("577e"),b=n("1d80"),p=n("8aa5"),h=n("dc4a"),v=n("0cb2"),m=n("14c3"),g=n("b622"),w=g("replace"),y=Math.max,x=Math.min,O=i([].concat),k=i([].push),P=i("".indexOf),C=i("".slice),j=function(t){return void 0===t?t:String(t)},I=function(){return"$0"==="a".replace(/./,"$0")}(),S=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),$=!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));o("replace",(function(t,e,n){var i=S?"$":"$0";return[function(t,n){var r=b(this),i=void 0==t?void 0:h(t,w);return i?a(i,t,r,n):a(e,d(r),t,n)},function(t,a){var o=s(this),c=d(t);if("string"==typeof a&&-1===P(a,i)&&-1===P(a,"$<")){var b=n(e,o,c,a);if(b.done)return b.value}var h=u(a);h||(a=d(a));var g=o.global;if(g){var w=o.unicode;o.lastIndex=0}var I=[];while(1){var S=m(o,c);if(null===S)break;if(k(I,S),!g)break;var $=d(S[0]);""===$&&(o.lastIndex=p(c,l(o.lastIndex),w))}for(var _="",D=0,E=0;E<I.length;E++){S=I[E];for(var R=d(S[0]),L=y(x(f(S.index),c.length),0),N=[],T=1;T<S.length;T++)k(N,j(S[T]));var q=S.groups;if(h){var M=O([R],N,L,c);void 0!==q&&k(M,q);var z=d(r(a,void 0,M))}else z=v(R,c,L,N,q,a);L>=D&&(_+=C(c,D,L)+z,D=L+R.length)}return _+C(c,D)}]}),!$||!I||S)},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n("b64b"),n("a4d3"),n("4de4"),n("d3b7"),n("e439"),n("159b"),n("dbb4");function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},"57b9":function(t,e,n){var r=n("c65b"),a=n("d066"),i=n("b622"),o=n("cb2d");t.exports=function(){var t=a("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,c=i("toPrimitive");e&&!e[c]&&o(e,c,(function(t){return r(n,this)}),{arity:1})}},"5a47":function(t,e,n){var r=n("23e7"),a=n("4930"),i=n("d039"),o=n("7418"),c=n("7b0b"),s=!a||i((function(){o.f(1)}));r({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(t){var e=o.f;return e?e(c(t)):[]}})},"736f":function(t,e,n){t.exports=n.p+"img/mould_01_fail_pic.c6ecf7b9.png"},"746f":function(t,e,n){var r=n("428f"),a=n("1a2d"),i=n("e538"),o=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});a(e,t)||o(e,t,{value:i.f(t)})}},"87c5":function(t,e,n){"use strict";n("b84c")},"99af":function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("d039"),o=n("e8b5"),c=n("861d"),s=n("7b0b"),u=n("07fa"),f=n("8418"),l=n("65f0"),d=n("1dde"),b=n("b622"),p=n("2d00"),h=b("isConcatSpreadable"),v=9007199254740991,m="Maximum allowed index exceeded",g=a.TypeError,w=p>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),y=d("concat"),x=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:o(t)},O=!w||!y;r({target:"Array",proto:!0,arity:1,forced:O},{concat:function(t){var e,n,r,a,i,o=s(this),c=l(o,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(i=-1===e?o:arguments[e],x(i)){if(a=u(i),d+a>v)throw g(m);for(n=0;n<a;n++,d++)n in i&&f(c,d,i[n])}else{if(d>=v)throw g(m);f(c,d++,i)}return c.length=d,c}})},a4d3:function(t,e,n){n("d9f5"),n("b4f8"),n("c513"),n("e9c4"),n("5a47")},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},b4f8:function(t,e,n){var r=n("23e7"),a=n("d066"),i=n("1a2d"),o=n("577e"),c=n("5692"),s=n("3d87"),u=c("string-to-symbol-registry"),f=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=o(t);if(i(u,e))return u[e];var n=a("Symbol")(e);return u[e]=n,f[n]=e,n}})},b64b:function(t,e,n){var r=n("23e7"),a=n("7b0b"),i=n("df75"),o=n("d039"),c=o((function(){i(1)}));r({target:"Object",stat:!0,forced:c},{keys:function(t){return i(a(t))}})},b843:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n("1da1"),a=(n("96cf"),n("d3b7"),n("99af"),n("e9c4"),n("d81d"),n("2934")),i=a["a"].validGame,o=a["a"].getGameRule,c=a["a"].gamePlay,s=a["a"].getGameNumberPolling,u="/pages/member-center/member-center/member-center-index",f="/pages/game/game-h5",l="/pages/open-card/open-card/open-card",d="/pages/access-2-h5/h5-share/h5-share",b="/pages/points-mall/points-detail/points-detail",p="/pages/member-center/coupon/coupon-list/coupon-list";function h(t){var e,n=this;t&&(e=t),this.init=function(t){e=t};var a=function(t){e.alertOptions=t},h=function(){e.alertOptions={}},v=function(){return new Promise((function(t,n){var r=e.$route.query;+r.isAttest?t():(n(),a({show:!0,content:"成为会员才可参与游戏哦~\n快认证成为会员赢好礼吧!",buttonList:[{text:"立即认证",click:function(){h(),x()}}],cancel:function(){h()}}))}))},m=function(){return new Promise((function(t,n){var r=e.game,i="无法参与游戏";switch(+r.status){case 0:i="游戏还没开始,请耐心等待,\n去其他地方先逛逛吧~";break;case 1:return void t();case 2:i="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 3:i="来晚一步,游戏已下架,\n去其它地方看看吧~";break;default:break}n(),a({show:!0,content:i,buttonList:[{text:"前往会员中心",click:function(){h(),O()}}],cancel:function(){h()}})}))},g=function(){return new Promise((function(t){i(e.$route.query).then(t).catch((function(){a({show:!0,title:"很遗憾",content:"您暂无权限参加本次游戏,详情请查看游戏规则",buttonList:[{text:"查看规则",click:function(){h(),n.toGameRule()}}],cancel:function(){h()}})}))}))},w=function(){return new Promise((function(t,n){c(e.$route.query).then(t).catch((function(t){n(t);var r="",i="",o=[{text:"前往会员中心",click:function(){h(),O()}}];switch(console.log("res-----\x3e",t),+t.code){case 2001:r="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 2002:r="游戏还没开始,请耐心等待,\n去其他地方看看吧~";break;case 2003:i="很遗憾",r="您暂无权限参加本次游戏,\n详情请查看游戏规则",o=[{text:"查看规则",click:function(){h(),e.toGameRule()}}];break;case 2004:r="游戏次数已达上限,\n去其他地方看看吧~";break;case 2005:i="游戏剩余次数已用完",r="每邀请".concat(e.shareConditionObj.inviteNum,"位好友助力即可获得").concat(e.shareConditionObj.value,"次游戏机会哦~"),o=[{text:"分享好友",click:function(){e.shareWx(),h()}},{text:"分享朋友圈",click:function(){e.sharePyq(),h()}}];break;case 2006:r="当前积分不足,\n去先去获取些积分吧~",o=[{text:"立即获取积分",click:function(){h(),window.wx.miniProgram.navigateTo({url:"/"+e.rule.dumpPath})}}];break;case 2007:r="今日免费次数已用完,\n明早继续";break;case 2008:r="免费游戏次数已达上限,\n去其他地方看看吧~";break;default:r=t.message||"系统异常",o=[];break}(i||r)&&a({show:!0,title:i,content:r,buttonList:o,cancel:function(){h()}})}))}))};this.play=function(){return m().then(v).then(g).then((function(){return w()}))},this.checkAttest=v;var y,x=function(){var t=e.$route.query,n=l,r={type:2,data:{path:"".concat(f,"?gameId=").concat(t.gameId,"&enterpriseId=").concat(t.enterpriseId,"&shareMemberId=").concat(t.shareMemberId||"","&isFrom=openCard")}};n+="?intent="+encodeURIComponent(JSON.stringify(r)),window.wx.miniProgram.navigateTo({url:n})},O=function(){window.wx.miniProgram.reLaunch({url:u})};this.shareWx=function(t){var e="".concat(d,"?shareOptions=").concat(encodeURIComponent(JSON.stringify(t)),"&content=邀好友助力加参与游戏次数,赢好礼&confirmText=立即分享");window.wx.miniProgram.navigateTo({url:e})},this.support=Object(r["a"])(regeneratorRuntime.mark((function t(){var n,r,i,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$route.query,2!=e.helpDetail.helpStatus){t.next=4;break}return a({show:!0,content:"您已助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 4:if(n.memberId!=n.shareMemberId){t.next=7;break}return a({show:!0,content:"无法为自己助力,赶快邀请好友助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 7:return t.next=9,o({gameId:n.gameId,enterpriseId:n.enterpriseId});case 9:i=t.sent,c=i.gameRuleConditionList||[],c.map((function(t){var e=JSON.parse(t.conditionJson);11!=+e.type&&12!=+e.type||(r=e)})),11==r.type?+n.isAttest?a({show:!0,content:"很遗憾,您已成为会员,无法助力好友,可立即参与游戏,赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}):a({show:!0,content:"仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),x()}}],cancel:function(){h()}}):12==r.type&&e.sharePyq(r);case 13:case"end":return t.stop()}}),t)})));var k=function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$route.query,t.next=3,s({gameId:n.gameId,enterpriseId:n.enterpriseId,memberId:n.memberId});case 3:r=t.sent,e.playNumberObj.playNumber=r;case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return this.startPolling=function(){y=setInterval((function(){k()}),1e4)},this.stopPolling=function(){clearInterval(y)},this.toIntegralDetail=function(){window.wx.miniProgram.navigateTo({url:b})},this.toCouponList=function(){window.wx.miniProgram.navigateTo({url:p})},this}},b84c:function(t,e,n){},c513:function(t,e,n){var r=n("23e7"),a=n("1a2d"),i=n("d9b5"),o=n("0d51"),c=n("5692"),s=n("3d87"),u=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!i(t))throw TypeError(o(t)+" is not a symbol");if(a(u,t))return u[t]}})},d9f5:function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("c65b"),o=n("e330"),c=n("c430"),s=n("83ab"),u=n("4930"),f=n("d039"),l=n("1a2d"),d=n("3a9b"),b=n("825a"),p=n("fc6a"),h=n("a04b"),v=n("577e"),m=n("5c6c"),g=n("7c73"),w=n("df75"),y=n("241c"),x=n("057f"),O=n("7418"),k=n("06cf"),P=n("9bf2"),C=n("37e8"),j=n("d1e7"),I=n("cb2d"),S=n("5692"),$=n("f772"),_=n("d012"),D=n("90e3"),E=n("b622"),R=n("e538"),L=n("746f"),N=n("57b9"),T=n("d44e"),q=n("69f3"),M=n("b727").forEach,z=$("hidden"),F="Symbol",G="prototype",A=q.set,J=q.getterFor(F),H=Object[G],U=a.Symbol,W=U&&U[G],Q=a.TypeError,Y=a.QObject,B=k.f,K=P.f,V=x.f,X=j.f,Z=o([].push),tt=S("symbols"),et=S("op-symbols"),nt=S("wks"),rt=!Y||!Y[G]||!Y[G].findChild,at=s&&f((function(){return 7!=g(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=B(H,e);r&&delete H[e],K(t,e,n),r&&t!==H&&K(H,e,r)}:K,it=function(t,e){var n=tt[t]=g(W);return A(n,{type:F,tag:t,description:e}),s||(n.description=e),n},ot=function(t,e,n){t===H&&ot(et,e,n),b(t);var r=h(e);return b(n),l(tt,r)?(n.enumerable?(l(t,z)&&t[z][r]&&(t[z][r]=!1),n=g(n,{enumerable:m(0,!1)})):(l(t,z)||K(t,z,m(1,{})),t[z][r]=!0),at(t,r,n)):K(t,r,n)},ct=function(t,e){b(t);var n=p(e),r=w(n).concat(dt(n));return M(r,(function(e){s&&!i(ut,n,e)||ot(t,e,n[e])})),t},st=function(t,e){return void 0===e?g(t):ct(g(t),e)},ut=function(t){var e=h(t),n=i(X,this,e);return!(this===H&&l(tt,e)&&!l(et,e))&&(!(n||!l(this,e)||!l(tt,e)||l(this,z)&&this[z][e])||n)},ft=function(t,e){var n=p(t),r=h(e);if(n!==H||!l(tt,r)||l(et,r)){var a=B(n,r);return!a||!l(tt,r)||l(n,z)&&n[z][r]||(a.enumerable=!0),a}},lt=function(t){var e=V(p(t)),n=[];return M(e,(function(t){l(tt,t)||l(_,t)||Z(n,t)})),n},dt=function(t){var e=t===H,n=V(e?et:p(t)),r=[];return M(n,(function(t){!l(tt,t)||e&&!l(H,t)||Z(r,tt[t])})),r};u||(U=function(){if(d(W,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,e=D(t),n=function(t){this===H&&i(n,et,t),l(this,z)&&l(this[z],e)&&(this[z][e]=!1),at(this,e,m(1,t))};return s&&rt&&at(H,e,{configurable:!0,set:n}),it(e,t)},W=U[G],I(W,"toString",(function(){return J(this).tag})),I(U,"withoutSetter",(function(t){return it(D(t),t)})),j.f=ut,P.f=ot,C.f=ct,k.f=ft,y.f=x.f=lt,O.f=dt,R.f=function(t){return it(E(t),t)},s&&(K(W,"description",{configurable:!0,get:function(){return J(this).description}}),c||I(H,"propertyIsEnumerable",ut,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),M(w(nt),(function(t){L(t)})),r({target:F,stat:!0,forced:!u},{useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:st,defineProperty:ot,defineProperties:ct,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt}),N(),T(U,F),_[z]=!0},dbb4:function(t,e,n){var r=n("23e7"),a=n("83ab"),i=n("56ef"),o=n("fc6a"),c=n("06cf"),s=n("8418");r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),a=c.f,u=i(r),f={},l=0;while(u.length>l)n=a(r,e=u[l++]),void 0!==n&&s(f,e,n);return f}})},e439:function(t,e,n){var r=n("23e7"),a=n("d039"),i=n("fc6a"),o=n("06cf").f,c=n("83ab"),s=a((function(){o(1)})),u=!c||s;r({target:"Object",stat:!0,forced:u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return o(i(t),e)}})},e538:function(t,e,n){var r=n("b622");e.f=r}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-02699ff0"],{"057f":function(t,e,n){var r=n("c6b6"),a=n("fc6a"),i=n("241c").f,o=n("4dae"),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return o(c)}};t.exports.f=function(t){return c&&"Window"==r(t)?s(t):i(a(t))}},"0cb2":function(t,e,n){var r=n("e330"),a=n("7b0b"),i=Math.floor,o=r("".charAt),c=r("".replace),s=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,l,d){var b=n+t.length,p=r.length,h=f;return void 0!==l&&(l=a(l),h=u),c(d,h,(function(a,c){var u;switch(o(c,0)){case"$":return"$";case"&":return t;case"`":return s(e,0,n);case"'":return s(e,b);case"<":u=l[s(c,1,-1)];break;default:var f=+c;if(0===f)return a;if(f>p){var d=i(f/10);return 0===d?a:d<=p?void 0===r[d-1]?o(c,1):r[d-1]+o(c,1):a}u=r[f-1]}return void 0===u?"":u}))}},"159b":function(t,e,n){var r=n("da84"),a=n("fdbc"),i=n("785a"),o=n("17c2"),c=n("9112"),s=function(t){if(t&&t.forEach!==o)try{c(t,"forEach",o)}catch(e){t.forEach=o}};for(var u in a)a[u]&&s(r[u]&&r[u].prototype);s(i)},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,a=n("a640"),i=a("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"393a":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"box"},[t._m(0),r("div",{staticClass:"content"},[r("div",{staticClass:"content-cell"},[t._m(1),t.list&&t.list.length?r("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.loadData,expression:"loadData"}],staticClass:"infinite-list",style:{height:t.windowHeight-50-20-34-10+"px"}},t._l(t.list,(function(e){return r("div",{key:e,staticClass:"reward-item-box"},[r("div",{staticClass:"reward-item",on:{click:function(n){return t.toRewardDetail(e)}}},[r("div",{staticClass:"reward-img-box"},[r("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),r("div",{staticClass:"reward-info"},[r("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),r("div",{staticClass:"reward-condition"},[t._v(t._s(e.prizeDesc||""))]),r("div",{staticClass:"reward-time"},[t._v(t._s(t._f("formatDate")(e.prizeTime)))])])])])})),0):t.haveLoad?r("div",{staticClass:"empty-box",style:{height:t.windowHeight-50-20-34-10+"px"}},[r("img",{staticClass:"empty-img",attrs:{src:n("736f"),mode:"widthFix"}}),r("div",{staticClass:"title"},[t._v("这里空空如也")]),r("div",{staticClass:"subtitle"},[t._v(" 还没有获得任何奖品哦~赶紧拆盲盒赢取好礼吧! ")]),r("div",{staticClass:"play-btn",on:{click:t.toPlay}},[t._v("去拆盲盒")])]):t._e()])])])},a=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"page-bg"},[r("img",{staticClass:"bg-img",attrs:{src:n("4de3"),mode:"widthFix"}})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cell-top"},[n("div",{staticClass:"iconfont icon-duobianxing"}),n("div",{staticClass:"title"},[t._v("我的奖品")]),n("div",{staticClass:"iconfont icon-duobianxing"})])}],i=n("5530"),o=n("1da1"),c=(n("96cf"),n("99af"),n("ac1f"),n("5319"),n("2934")),s=n("b843"),u=c["a"].getMyReward,f={components:{},data:function(){return{list:[],pageSize:20,currentPage:1,totalCount:0}},created:function(){document.title="我的奖品",this.manager=new s["a"](this),this.windowHeight=window.innerHeight,this.reloadData()},methods:{reloadData:function(){this.currentPage=1,this.totalCount=0,this.loadData()},loadData:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t.list.length>=t.totalCount&&0!=t.totalCount)){e.next=2;break}return e.abrupt("return");case 2:return n=t.$route.query,e.next=5,u(Object(i["a"])(Object(i["a"])({},n),{},{currentPage:t.currentPage,pageSize:t.pageSize}));case 5:r=e.sent,t.haveLoad=!0,t.totalCount=r.totalCount,a=t.list||[],a=1==t.currentPage?r.result||[]:a.concat(r.result||[]),t.currentPage++,t.list=a;case 12:case"end":return e.stop()}}),e)})))()},toRewardDetail:function(t){switch(+t.prizeType){case 0:break;case 1:this.manager.toIntegralDetail();break;case 2:this.manager.toCouponList();break;case 3:break;default:break}},toPlay:function(){this.$router.replace({path:"/",query:this.$route.query})}},filters:{formatDate:function(t){if(!t)return"--";var e=new Date(t);return e.getFullYear()+"年"+(e.getMonth()+1)+"月"+e.getDate()+"日"}}},l=f,d=(n("87c5"),n("2877")),b=Object(d["a"])(l,r,a,!1,null,"3f57141c",null);e["default"]=b.exports},"3d87":function(t,e,n){var r=n("4930");t.exports=r&&!!Symbol["for"]&&!!Symbol.keyFor},"428f":function(t,e,n){var r=n("da84");t.exports=r},"4dae":function(t,e,n){var r=n("da84"),a=n("23cb"),i=n("07fa"),o=n("8418"),c=r.Array,s=Math.max;t.exports=function(t,e,n){for(var r=i(t),u=a(e,r),f=a(void 0===n?r:n,r),l=c(s(f-u,0)),d=0;u<f;u++,d++)o(l,d,t[u]);return l.length=d,l}},"4de3":function(t,e,n){t.exports=n.p+"img/rulebg.c076f3ae.png"},"4de4":function(t,e,n){"use strict";var r=n("23e7"),a=n("b727").filter,i=n("1dde"),o=i("filter");r({target:"Array",proto:!0,forced:!o},{filter:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},5319:function(t,e,n){"use strict";var r=n("2ba4"),a=n("c65b"),i=n("e330"),o=n("d784"),c=n("d039"),s=n("825a"),u=n("1626"),f=n("5926"),l=n("50c4"),d=n("577e"),b=n("1d80"),p=n("8aa5"),h=n("dc4a"),v=n("0cb2"),m=n("14c3"),g=n("b622"),w=g("replace"),y=Math.max,x=Math.min,O=i([].concat),k=i([].push),P=i("".indexOf),C=i("".slice),j=function(t){return void 0===t?t:String(t)},I=function(){return"$0"==="a".replace(/./,"$0")}(),S=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),$=!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));o("replace",(function(t,e,n){var i=S?"$":"$0";return[function(t,n){var r=b(this),i=void 0==t?void 0:h(t,w);return i?a(i,t,r,n):a(e,d(r),t,n)},function(t,a){var o=s(this),c=d(t);if("string"==typeof a&&-1===P(a,i)&&-1===P(a,"$<")){var b=n(e,o,c,a);if(b.done)return b.value}var h=u(a);h||(a=d(a));var g=o.global;if(g){var w=o.unicode;o.lastIndex=0}var I=[];while(1){var S=m(o,c);if(null===S)break;if(k(I,S),!g)break;var $=d(S[0]);""===$&&(o.lastIndex=p(c,l(o.lastIndex),w))}for(var _="",D=0,E=0;E<I.length;E++){S=I[E];for(var R=d(S[0]),L=y(x(f(S.index),c.length),0),N=[],T=1;T<S.length;T++)k(N,j(S[T]));var q=S.groups;if(h){var M=O([R],N,L,c);void 0!==q&&k(M,q);var z=d(r(a,void 0,M))}else z=v(R,c,L,N,q,a);L>=D&&(_+=C(c,D,L)+z,D=L+R.length)}return _+C(c,D)}]}),!$||!I||S)},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n("b64b"),n("a4d3"),n("4de4"),n("d3b7"),n("e439"),n("159b"),n("dbb4");function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},"57b9":function(t,e,n){var r=n("c65b"),a=n("d066"),i=n("b622"),o=n("cb2d");t.exports=function(){var t=a("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,c=i("toPrimitive");e&&!e[c]&&o(e,c,(function(t){return r(n,this)}),{arity:1})}},"5a47":function(t,e,n){var r=n("23e7"),a=n("4930"),i=n("d039"),o=n("7418"),c=n("7b0b"),s=!a||i((function(){o.f(1)}));r({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(t){var e=o.f;return e?e(c(t)):[]}})},"736f":function(t,e,n){t.exports=n.p+"img/mould_01_fail_pic.c6ecf7b9.png"},"746f":function(t,e,n){var r=n("428f"),a=n("1a2d"),i=n("e538"),o=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});a(e,t)||o(e,t,{value:i.f(t)})}},"87c5":function(t,e,n){"use strict";n("b84c")},"99af":function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("d039"),o=n("e8b5"),c=n("861d"),s=n("7b0b"),u=n("07fa"),f=n("8418"),l=n("65f0"),d=n("1dde"),b=n("b622"),p=n("2d00"),h=b("isConcatSpreadable"),v=9007199254740991,m="Maximum allowed index exceeded",g=a.TypeError,w=p>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),y=d("concat"),x=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:o(t)},O=!w||!y;r({target:"Array",proto:!0,arity:1,forced:O},{concat:function(t){var e,n,r,a,i,o=s(this),c=l(o,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(i=-1===e?o:arguments[e],x(i)){if(a=u(i),d+a>v)throw g(m);for(n=0;n<a;n++,d++)n in i&&f(c,d,i[n])}else{if(d>=v)throw g(m);f(c,d++,i)}return c.length=d,c}})},a4d3:function(t,e,n){n("d9f5"),n("b4f8"),n("c513"),n("e9c4"),n("5a47")},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},b4f8:function(t,e,n){var r=n("23e7"),a=n("d066"),i=n("1a2d"),o=n("577e"),c=n("5692"),s=n("3d87"),u=c("string-to-symbol-registry"),f=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=o(t);if(i(u,e))return u[e];var n=a("Symbol")(e);return u[e]=n,f[n]=e,n}})},b64b:function(t,e,n){var r=n("23e7"),a=n("7b0b"),i=n("df75"),o=n("d039"),c=o((function(){i(1)}));r({target:"Object",stat:!0,forced:c},{keys:function(t){return i(a(t))}})},b843:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n("1da1"),a=(n("96cf"),n("d3b7"),n("99af"),n("e9c4"),n("d81d"),n("2934")),i=a["a"].validGame,o=a["a"].getGameRule,c=a["a"].gamePlay,s=a["a"].getGameNumberPolling,u="/pages/member-center/member-center/member-center-index",f="/pages/game/game-h5",l="/pages/open-card/open-card/open-card",d="/pages/access-2-h5/h5-share/h5-share",b="/pages/points-mall/points-detail/points-detail",p="/pages/member-center/coupon/coupon-list/coupon-list";function h(t){var e,n=this;t&&(e=t),this.init=function(t){e=t};var a=function(t){e.alertOptions=t},h=function(){e.alertOptions={}},v=function(){return new Promise((function(t,n){var r=e.$route.query;+r.isAttest?t():(n(),a({show:!0,content:"成为会员才可参与游戏哦~\n快认证成为会员赢好礼吧!",buttonList:[{text:"立即认证",click:function(){h(),x()}}],cancel:function(){h()}}))}))},m=function(){return new Promise((function(t,n){var r=e.game,i="无法参与游戏";switch(+r.status){case 0:i="游戏还没开始,请耐心等待,\n去其他地方先逛逛吧~";break;case 1:return void t();case 2:i="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 3:i="来晚一步,游戏已下架,\n去其它地方看看吧~";break;default:break}n(),a({show:!0,content:i,buttonList:[{text:"前往会员中心",click:function(){h(),O()}}],cancel:function(){h()}})}))},g=function(){return new Promise((function(t){i(e.$route.query).then(t).catch((function(){a({show:!0,title:"很遗憾",content:"您暂无权限参加本次游戏,详情请查看游戏规则",buttonList:[{text:"查看规则",click:function(){h(),n.toGameRule()}}],cancel:function(){h()}})}))}))},w=function(){return new Promise((function(t,n){c(e.$route.query).then(t).catch((function(t){n(t);var r="",i="",o=[{text:"前往会员中心",click:function(){h(),O()}}];switch(console.log("res-----\x3e",t),+t.code){case 2001:r="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 2002:r="游戏还没开始,请耐心等待,\n去其他地方看看吧~";break;case 2003:i="很遗憾",r="您暂无权限参加本次游戏,\n详情请查看游戏规则",o=[{text:"查看规则",click:function(){h(),e.toGameRule()}}];break;case 2004:r="游戏次数已达上限,\n去其他地方看看吧~";break;case 2005:i="游戏剩余次数已用完",r="每邀请".concat(e.shareConditionObj.inviteNum,"位好友助力即可获得").concat(e.shareConditionObj.value,"次游戏机会哦~"),o=[{text:"分享好友",click:function(){e.shareWx(),h()}},{text:"分享朋友圈",click:function(){e.sharePyq(),h()}}];break;case 2006:r="当前积分不足,\n去先去获取些积分吧~",o=[{text:"立即获取积分",click:function(){h(),window.wx.miniProgram.navigateTo({url:"/"+e.rule.dumpPath})}}];break;case 2007:r="今日免费次数已用完,\n明早继续";break;case 2008:r="免费游戏次数已达上限,\n去其他地方看看吧~";break;default:r=t.message||"系统异常",o=[];break}(i||r)&&a({show:!0,title:i,content:r,buttonList:o,cancel:function(){h()}})}))}))};this.play=function(){return m().then(v).then(g).then((function(){return w()}))},this.checkAttest=v;var y,x=function(){var t=e.$route.query,n=l,r={type:2,data:{path:"".concat(f,"?gameId=").concat(t.gameId,"&enterpriseId=").concat(t.enterpriseId,"&shareMemberId=").concat(t.shareMemberId||"","&isFrom=openCard")}};n+="?intent="+encodeURIComponent(JSON.stringify(r)),window.wx.miniProgram.navigateTo({url:n})},O=function(){window.wx.miniProgram.reLaunch({url:u})};this.shareWx=function(t){var e="".concat(d,"?shareOptions=").concat(encodeURIComponent(JSON.stringify(t)),"&content=邀好友助力加参与游戏次数,赢好礼&confirmText=立即分享");window.wx.miniProgram.navigateTo({url:e})},this.support=Object(r["a"])(regeneratorRuntime.mark((function t(){var n,r,i,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$route.query,2!=e.helpDetail.helpStatus){t.next=4;break}return a({show:!0,content:"您已助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 4:if(n.memberId!=n.shareMemberId){t.next=7;break}return a({show:!0,content:"无法为自己助力,赶快邀请好友助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 7:return t.next=9,o({gameId:n.gameId,enterpriseId:n.enterpriseId});case 9:i=t.sent,c=i.gameRuleConditionList||[],c.map((function(t){var e=JSON.parse(t.conditionJson);11!=+e.type&&12!=+e.type||(r=e)})),11==r.type?+n.isAttest?a({show:!0,content:"很遗憾,您已成为会员,无法助力好友,可立即参与游戏,赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}):a({show:!0,content:"仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼",buttonList:[{text:"立即认证会员",click:function(){h(),x()}}],cancel:function(){h()}}):12==r.type&&e.sharePyq(r);case 13:case"end":return t.stop()}}),t)})));var k=function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$route.query,t.next=3,s({gameId:n.gameId,enterpriseId:n.enterpriseId,memberId:n.memberId});case 3:r=t.sent,e.playNumberObj.playNumber=r;case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return this.startPolling=function(){y=setInterval((function(){k()}),1e4)},this.stopPolling=function(){clearInterval(y)},this.toIntegralDetail=function(){window.wx.miniProgram.navigateTo({url:b})},this.toCouponList=function(){window.wx.miniProgram.navigateTo({url:p})},this}},b84c:function(t,e,n){},c513:function(t,e,n){var r=n("23e7"),a=n("1a2d"),i=n("d9b5"),o=n("0d51"),c=n("5692"),s=n("3d87"),u=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!i(t))throw TypeError(o(t)+" is not a symbol");if(a(u,t))return u[t]}})},d9f5:function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("c65b"),o=n("e330"),c=n("c430"),s=n("83ab"),u=n("4930"),f=n("d039"),l=n("1a2d"),d=n("3a9b"),b=n("825a"),p=n("fc6a"),h=n("a04b"),v=n("577e"),m=n("5c6c"),g=n("7c73"),w=n("df75"),y=n("241c"),x=n("057f"),O=n("7418"),k=n("06cf"),P=n("9bf2"),C=n("37e8"),j=n("d1e7"),I=n("cb2d"),S=n("5692"),$=n("f772"),_=n("d012"),D=n("90e3"),E=n("b622"),R=n("e538"),L=n("746f"),N=n("57b9"),T=n("d44e"),q=n("69f3"),M=n("b727").forEach,z=$("hidden"),F="Symbol",G="prototype",A=q.set,J=q.getterFor(F),H=Object[G],U=a.Symbol,W=U&&U[G],Q=a.TypeError,Y=a.QObject,B=k.f,K=P.f,V=x.f,X=j.f,Z=o([].push),tt=S("symbols"),et=S("op-symbols"),nt=S("wks"),rt=!Y||!Y[G]||!Y[G].findChild,at=s&&f((function(){return 7!=g(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=B(H,e);r&&delete H[e],K(t,e,n),r&&t!==H&&K(H,e,r)}:K,it=function(t,e){var n=tt[t]=g(W);return A(n,{type:F,tag:t,description:e}),s||(n.description=e),n},ot=function(t,e,n){t===H&&ot(et,e,n),b(t);var r=h(e);return b(n),l(tt,r)?(n.enumerable?(l(t,z)&&t[z][r]&&(t[z][r]=!1),n=g(n,{enumerable:m(0,!1)})):(l(t,z)||K(t,z,m(1,{})),t[z][r]=!0),at(t,r,n)):K(t,r,n)},ct=function(t,e){b(t);var n=p(e),r=w(n).concat(dt(n));return M(r,(function(e){s&&!i(ut,n,e)||ot(t,e,n[e])})),t},st=function(t,e){return void 0===e?g(t):ct(g(t),e)},ut=function(t){var e=h(t),n=i(X,this,e);return!(this===H&&l(tt,e)&&!l(et,e))&&(!(n||!l(this,e)||!l(tt,e)||l(this,z)&&this[z][e])||n)},ft=function(t,e){var n=p(t),r=h(e);if(n!==H||!l(tt,r)||l(et,r)){var a=B(n,r);return!a||!l(tt,r)||l(n,z)&&n[z][r]||(a.enumerable=!0),a}},lt=function(t){var e=V(p(t)),n=[];return M(e,(function(t){l(tt,t)||l(_,t)||Z(n,t)})),n},dt=function(t){var e=t===H,n=V(e?et:p(t)),r=[];return M(n,(function(t){!l(tt,t)||e&&!l(H,t)||Z(r,tt[t])})),r};u||(U=function(){if(d(W,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,e=D(t),n=function(t){this===H&&i(n,et,t),l(this,z)&&l(this[z],e)&&(this[z][e]=!1),at(this,e,m(1,t))};return s&&rt&&at(H,e,{configurable:!0,set:n}),it(e,t)},W=U[G],I(W,"toString",(function(){return J(this).tag})),I(U,"withoutSetter",(function(t){return it(D(t),t)})),j.f=ut,P.f=ot,C.f=ct,k.f=ft,y.f=x.f=lt,O.f=dt,R.f=function(t){return it(E(t),t)},s&&(K(W,"description",{configurable:!0,get:function(){return J(this).description}}),c||I(H,"propertyIsEnumerable",ut,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),M(w(nt),(function(t){L(t)})),r({target:F,stat:!0,forced:!u},{useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:st,defineProperty:ot,defineProperties:ct,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt}),N(),T(U,F),_[z]=!0},dbb4:function(t,e,n){var r=n("23e7"),a=n("83ab"),i=n("56ef"),o=n("fc6a"),c=n("06cf"),s=n("8418");r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),a=c.f,u=i(r),f={},l=0;while(u.length>l)n=a(r,e=u[l++]),void 0!==n&&s(f,e,n);return f}})},e439:function(t,e,n){var r=n("23e7"),a=n("d039"),i=n("fc6a"),o=n("06cf").f,c=n("83ab"),s=a((function(){o(1)})),u=!c||s;r({target:"Object",stat:!0,forced:u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return o(i(t),e)}})},e538:function(t,e,n){var r=n("b622");e.f=r}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-02af9ba3"],{"0374":function(t,e,n){"use strict";n("d46a")},"0cb2":function(t,e,n){var a=n("e330"),r=n("7b0b"),i=Math.floor,s=a("".charAt),c=a("".replace),o=a("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,a,d,m){var g=n+t.length,f=a.length,h=l;return void 0!==d&&(d=r(d),h=u),c(m,h,(function(r,c){var u;switch(s(c,0)){case"$":return"$";case"&":return t;case"`":return o(e,0,n);case"'":return o(e,g);case"<":u=d[o(c,1,-1)];break;default:var l=+c;if(0===l)return r;if(l>f){var m=i(l/10);return 0===m?r:m<=f?void 0===a[m-1]?s(c,1):a[m-1]+s(c,1):r}u=a[l-1]}return void 0===u?"":u}))}},"0df4":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show&&(t.title||t.content||t.buttonList&&t.buttonList.length)?n("div",{staticClass:"dialog-bg"},[n("div",{staticClass:"content"},[n("div",{staticClass:"content-detail-bg"},[n("div",{staticClass:"content-detail"},[t.title?n("div",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t.content?n("div",{staticClass:"subtitle"},[t._v(t._s(t.content))]):t._e(),t.buttonList&&t.buttonList.length?n("div",{staticClass:"handle-btn-box"},t._l(t.buttonList,(function(e){return n("div",{key:e,staticClass:"handle-btn",on:{click:function(t){return e.click()}}},[t._v(" "+t._s(e.text)+" ")])})),0):t._e()])]),n("div",{staticClass:"iconfont icon-guanbi",on:{click:t.close}})])]):t._e()},r=[],i={props:{show:Boolean,title:{type:String,default:"提示"},content:{type:String,default:"提示内容"},buttonList:{type:Object,default:function(){return[{text:"btn1",click:function(){console.log("click1")}},{text:"btn1",click:function(){console.log("click2")}}]}},cancel:{type:Function,default:function(){console.log("cancel")}}},data:function(){return{}},methods:{close:function(){this.$emit("update:show",!1),this.options.cancel()}}},s=i,c=(n("d711"),n("2877")),o=Object(c["a"])(s,a,r,!1,null,"63a1d318",null);e["a"]=o.exports},"2b9a":function(t,e,n){},5319:function(t,e,n){"use strict";var a=n("2ba4"),r=n("c65b"),i=n("e330"),s=n("d784"),c=n("d039"),o=n("825a"),u=n("1626"),l=n("5926"),d=n("50c4"),m=n("577e"),g=n("1d80"),f=n("8aa5"),h=n("dc4a"),p=n("0cb2"),v=n("14c3"),b=n("b622"),w=b("replace"),I=Math.max,x=Math.min,C=i([].concat),k=i([].push),y=i("".indexOf),_=i("".slice),$=function(t){return void 0===t?t:String(t)},O=function(){return"$0"==="a".replace(/./,"$0")}(),P=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),R=!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));s("replace",(function(t,e,n){var i=P?"$":"$0";return[function(t,n){var a=g(this),i=void 0==t?void 0:h(t,w);return i?r(i,t,a,n):r(e,m(a),t,n)},function(t,r){var s=o(this),c=m(t);if("string"==typeof r&&-1===y(r,i)&&-1===y(r,"$<")){var g=n(e,s,c,r);if(g.done)return g.value}var h=u(r);h||(r=m(r));var b=s.global;if(b){var w=s.unicode;s.lastIndex=0}var O=[];while(1){var P=v(s,c);if(null===P)break;if(k(O,P),!b)break;var R=m(P[0]);""===R&&(s.lastIndex=f(c,d(s.lastIndex),w))}for(var q="",L=0,D=0;D<O.length;D++){P=O[D];for(var S=m(P[0]),E=I(x(l(P.index),c.length),0),U=[],G=1;G<P.length;G++)k(U,$(P[G]));var M=P.groups;if(h){var j=C([S],U,E,c);void 0!==M&&k(j,M);var A=m(a(r,void 0,j))}else A=p(S,c,E,U,M,r);E>=L&&(q+=_(c,L,E)+A,L=E+S.length)}return q+_(c,L)}]}),!R||!O||P)},"5f60":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"box"},[t.game&&t.game.gameExt&&t.game.gameExt.bgHelpUrl?n("div",{staticClass:"page-bg"},[n("img",{staticClass:"bg-img",attrs:{src:t.game.gameExt.bgHelpUrl,mode:"widthFix"}})]):t._e(),n("div",{staticClass:"content"},[n("div",{staticClass:"content-top"},[t.game&&t.game.gameExt&&t.game.gameExt.bgBannerHelpUrl?n("img",{staticClass:"top-img",attrs:{src:t.game.gameExt.bgBannerHelpUrl,mode:"widthFix"}}):t._e(),t._m(0)]),n("div",{staticClass:"content-cell"},[n("div",{staticClass:"header-img-box"},[n("img",{staticClass:"header-img",attrs:{src:t.helpDetail.shareMemberImage}})]),n("div",{staticClass:"friend-name"},[t._v("你的好友 "+t._s(t.helpDetail.shareMemberName))]),n("div",{staticClass:"tip-text"},[t._v("正在请求您的助力")]),n("div",{staticClass:"handle-btn red",on:{click:t.support}},[t._v("为好友助力")]),n("div",{staticClass:"handle-btn blue",on:{click:t.toPlayGame}},[t._v("我要参加游戏")])]),t.gameReward&&t.gameReward.length?n("div",{staticClass:"content-cell"},[t._m(1),n("div",{staticClass:"reward-box"},t._l(t.gameReward,(function(e){return n("div",{key:e,staticClass:"reward-item-box"},[n("div",{staticClass:"reward-item-detail"},[n("div",{staticClass:"img-box"},[n("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),n("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),n("div",{staticClass:"reward-des"},[t._v(t._s(e.prizeDesc))])])])})),0)]):t._e()]),n("share-img-dialog",t._b({attrs:{show:t.showShareImgDialog},on:{"update:show":function(e){t.showShareImgDialog=e}}},"share-img-dialog",t.pyqOptions,!1)),n("alert-dialog",t._b({},"alert-dialog",t.alertOptions,!1,!0))],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"top-tip-box"},[n("div",{staticClass:"line left"}),n("div",{staticClass:"title"},[t._v("助力好友你也可以参加")]),n("div",{staticClass:"line right"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cell-top"},[n("div",{staticClass:"iconfont icon-duobianxing"}),n("div",{staticClass:"title"},[t._v("游戏奖品")]),n("div",{staticClass:"iconfont icon-duobianxing"})])}],i=n("1da1"),s=(n("ac1f"),n("5319"),n("96cf"),n("2934")),c=n("0df4"),o=n("e76a"),u=n("b843"),l=s["a"].getHelpDetail,d=s["a"].getGameReward,m=s["a"].getGameInfo,g=s["a"].getGameShareQrCodeUrl,f={components:{ShareImgDialog:o["a"],AlertDialog:c["a"]},data:function(){return{alertOptions:{},showShareImgDialog:!1,game:{},helpDetail:{},gameReward:[]}},created:function(){document.title="游戏助力",this.manager=new u["a"](this),this.loadData()},methods:{loadData:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(t.$route.query),n=t.$route.query,e.next=4,l({enterpriseId:n.enterpriseId,shareMemberId:n.shareMemberId,gameId:n.gameId,helpMemberId:n.memberId||""});case 4:return t.helpDetail=e.sent,e.next=7,d({enterpriseId:n.enterpriseId,gameId:n.gameId});case 7:return t.gameReward=e.sent,e.next=10,m({enterpriseId:n.enterpriseId,gameId:n.gameId});case 10:t.game=e.sent;case 11:case"end":return e.stop()}}),e)})))()},toPlayGame:function(){var t=this.$route.query;this.$router.replace({path:"/cmh/2",query:{gameId:t.gameId,memberId:t.memberId||"",enterpriseId:t.enterpriseId,isAttest:t.isAttest}})},support:function(){this.manager.support()},sharePyq:function(t){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function n(){var a,r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=e.$route.query,n.next=3,g({gameId:a.gameId,enterpriseId:a.enterpriseId,memberId:a.shareMemberId||"",shareType:12==t.type?2:1});case 3:r=n.sent,e.pyqOptions={bgImage:t.shareReport,qrcodeUrl:r.qrCodeUrl},e.showShareImgDialog=!0;case 6:case"end":return n.stop()}}),n)})))()}}},h=f,p=(n("bb42"),n("2877")),v=Object(p["a"])(h,a,r,!1,null,"53b72ff3",null);e["default"]=v.exports},"81d5":function(t,e,n){"use strict";var a=n("7b0b"),r=n("23cb"),i=n("07fa");t.exports=function(t){var e=a(this),n=i(e),s=arguments.length,c=r(s>1?arguments[1]:void 0,n),o=s>2?arguments[2]:void 0,u=void 0===o?n:r(o,n);while(u>c)e[c++]=t;return e}},"99af":function(t,e,n){"use strict";var a=n("23e7"),r=n("da84"),i=n("d039"),s=n("e8b5"),c=n("861d"),o=n("7b0b"),u=n("07fa"),l=n("8418"),d=n("65f0"),m=n("1dde"),g=n("b622"),f=n("2d00"),h=g("isConcatSpreadable"),p=9007199254740991,v="Maximum allowed index exceeded",b=r.TypeError,w=f>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),I=m("concat"),x=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:s(t)},C=!w||!I;a({target:"Array",proto:!0,arity:1,forced:C},{concat:function(t){var e,n,a,r,i,s=o(this),c=d(s,0),m=0;for(e=-1,a=arguments.length;e<a;e++)if(i=-1===e?s:arguments[e],x(i)){if(r=u(i),m+r>p)throw b(v);for(n=0;n<r;n++,m++)n in i&&l(c,m,i[n])}else{if(m>=p)throw b(v);l(c,m++,i)}return c.length=m,c}})},b843:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var a=n("1da1"),r=(n("96cf"),n("d3b7"),n("99af"),n("e9c4"),n("d81d"),n("2934")),i=r["a"].validGame,s=r["a"].getGameRule,c=r["a"].gamePlay,o=r["a"].getGameNumberPolling,u="/pages/member-center/member-center/member-center-index",l="/pages/game/game-h5",d="/pages/open-card/open-card/open-card",m="/pages/access-2-h5/h5-share/h5-share",g="/pages/points-mall/points-detail/points-detail",f="/pages/member-center/coupon/coupon-list/coupon-list";function h(t){var e,n=this;t&&(e=t),this.init=function(t){e=t};var r=function(t){e.alertOptions=t},h=function(){e.alertOptions={}},p=function(){return new Promise((function(t,n){var a=e.$route.query;+a.isAttest?t():(n(),r({show:!0,content:"成为会员才可参与游戏哦~\n快认证成为会员赢好礼吧!",buttonList:[{text:"立即认证",click:function(){h(),x()}}],cancel:function(){h()}}))}))},v=function(){return new Promise((function(t,n){var a=e.game,i="无法参与游戏";switch(+a.status){case 0:i="游戏还没开始,请耐心等待,\n去其他地方先逛逛吧~";break;case 1:return void t();case 2:i="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 3:i="来晚一步,游戏已下架,\n去其它地方看看吧~";break;default:break}n(),r({show:!0,content:i,buttonList:[{text:"前往会员中心",click:function(){h(),C()}}],cancel:function(){h()}})}))},b=function(){return new Promise((function(t){i(e.$route.query).then(t).catch((function(){r({show:!0,title:"很遗憾",content:"您暂无权限参加本次游戏,详情请查看游戏规则",buttonList:[{text:"查看规则",click:function(){h(),n.toGameRule()}}],cancel:function(){h()}})}))}))},w=function(){return new Promise((function(t,n){c(e.$route.query).then(t).catch((function(t){n(t);var a="",i="",s=[{text:"前往会员中心",click:function(){h(),C()}}];switch(console.log("res-----\x3e",t),+t.code){case 2001:a="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 2002:a="游戏还没开始,请耐心等待,\n去其他地方看看吧~";break;case 2003:i="很遗憾",a="您暂无权限参加本次游戏,\n详情请查看游戏规则",s=[{text:"查看规则",click:function(){h(),e.toGameRule()}}];break;case 2004:a="游戏次数已达上限,\n去其他地方看看吧~";break;case 2005:i="游戏剩余次数已用完",a="每邀请".concat(e.shareConditionObj.inviteNum,"位好友助力即可获得").concat(e.shareConditionObj.value,"次游戏机会哦~"),s=[{text:"分享好友",click:function(){e.shareWx(),h()}},{text:"分享朋友圈",click:function(){e.sharePyq(),h()}}];break;case 2006:a="当前积分不足,\n去先去获取些积分吧~",s=[{text:"立即获取积分",click:function(){h(),window.wx.miniProgram.navigateTo({url:"/"+e.rule.dumpPath})}}];break;case 2007:a="今日免费次数已用完,\n明早继续";break;case 2008:a="免费游戏次数已达上限,\n去其他地方看看吧~";break;default:a=t.message||"系统异常",s=[];break}(i||a)&&r({show:!0,title:i,content:a,buttonList:s,cancel:function(){h()}})}))}))};this.play=function(){return v().then(p).then(b).then((function(){return w()}))},this.checkAttest=p;var I,x=function(){var t=e.$route.query,n=d,a={type:2,data:{path:"".concat(l,"?gameId=").concat(t.gameId,"&enterpriseId=").concat(t.enterpriseId,"&shareMemberId=").concat(t.shareMemberId||"","&isFrom=openCard")}};n+="?intent="+encodeURIComponent(JSON.stringify(a)),window.wx.miniProgram.navigateTo({url:n})},C=function(){window.wx.miniProgram.reLaunch({url:u})};this.shareWx=function(t){var e="".concat(m,"?shareOptions=").concat(encodeURIComponent(JSON.stringify(t)),"&content=邀好友助力加参与游戏次数,赢好礼&confirmText=立即分享");window.wx.miniProgram.navigateTo({url:e})},this.support=Object(a["a"])(regeneratorRuntime.mark((function t(){var n,a,i,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$route.query,2!=e.helpDetail.helpStatus){t.next=4;break}return r({show:!0,content:"您已助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 4:if(n.memberId!=n.shareMemberId){t.next=7;break}return r({show:!0,content:"无法为自己助力,赶快邀请好友助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 7:return t.next=9,s({gameId:n.gameId,enterpriseId:n.enterpriseId});case 9:i=t.sent,c=i.gameRuleConditionList||[],c.map((function(t){var e=JSON.parse(t.conditionJson);11!=+e.type&&12!=+e.type||(a=e)})),11==a.type?+n.isAttest?r({show:!0,content:"很遗憾,您已成为会员,无法助力好友,可立即参与游戏,赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}):r({show:!0,content:"仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),x()}}],cancel:function(){h()}}):12==a.type&&e.sharePyq(a);case 13:case"end":return t.stop()}}),t)})));var k=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$route.query,t.next=3,o({gameId:n.gameId,enterpriseId:n.enterpriseId,memberId:n.memberId});case 3:a=t.sent,e.playNumberObj.playNumber=a;case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return this.startPolling=function(){I=setInterval((function(){k()}),1e4)},this.stopPolling=function(){clearInterval(I)},this.toIntegralDetail=function(){window.wx.miniProgram.navigateTo({url:g})},this.toCouponList=function(){window.wx.miniProgram.navigateTo({url:f})},this}},bb42:function(t,e,n){"use strict";n("2b9a")},cb29:function(t,e,n){var a=n("23e7"),r=n("81d5"),i=n("44d2");a({target:"Array",proto:!0},{fill:r}),i("fill")},d46a:function(t,e,n){},d711:function(t,e,n){"use strict";n("de0b")},de0b:function(t,e,n){},e76a:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show&&t.bgImage&&t.qrcodeUrl?n("div",{staticClass:"dialog-bg"},[n("canvas",{staticClass:"img-canvas",attrs:{id:"canvas",width:"560",height:"996"}}),n("div",{staticClass:"content"},[n("img",{staticClass:"box-img",attrs:{mode:"widthFix",id:"shareImage"}}),n("div",{staticClass:"tips"},[t._v("长按保存至相册,打开朋友圈选取海报转发")]),n("div",{staticClass:"iconfont icon-guanbi",on:{click:t.close}})])]):t._e()},r=[],i=(n("cb29"),{props:{bgImage:String,qrcodeUrl:String,show:Boolean},data:function(){return{}},created:function(){},methods:{drawImage:function(){var t=this,e=560,n=996,a=document.createElement("canvas");a.width=e,a.height=n;var r=a.getContext("2d");r.rect(0,0,a.width,a.height),r.fillStyle="#fff",r.fill();var i=new Image;i.width=e,i.height=n,i.crossOrigin="Anonymous",i.src=this.bgImage,i.onload=function(){r.drawImage(i,0,0,e,n);var s=new Image;s.src=t.qrcodeUrl,s.width=120,s.height=120,s.crossOrigin="Anonymous",s.onload=function(){r.drawImage(s,400,824,120,120);var t=a.toDataURL("image/png"),e=document.getElementById("shareImage");e.src=t}}},again:function(){this.$emit("again"),this.close()},close:function(){this.$emit("update:show",!1)}},watch:{show:function(t){t&&this.drawImage()}}}),s=i,c=(n("0374"),n("2877")),o=Object(c["a"])(s,a,r,!1,null,"53498be6",null);e["a"]=o.exports}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-02af9ba3"],{"0374":function(t,e,n){"use strict";n("d46a")},"0cb2":function(t,e,n){var a=n("e330"),r=n("7b0b"),i=Math.floor,s=a("".charAt),c=a("".replace),o=a("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,a,d,m){var g=n+t.length,f=a.length,h=l;return void 0!==d&&(d=r(d),h=u),c(m,h,(function(r,c){var u;switch(s(c,0)){case"$":return"$";case"&":return t;case"`":return o(e,0,n);case"'":return o(e,g);case"<":u=d[o(c,1,-1)];break;default:var l=+c;if(0===l)return r;if(l>f){var m=i(l/10);return 0===m?r:m<=f?void 0===a[m-1]?s(c,1):a[m-1]+s(c,1):r}u=a[l-1]}return void 0===u?"":u}))}},"0df4":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show&&(t.title||t.content||t.buttonList&&t.buttonList.length)?n("div",{staticClass:"dialog-bg"},[n("div",{staticClass:"content"},[n("div",{staticClass:"content-detail-bg"},[n("div",{staticClass:"content-detail"},[t.title?n("div",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t.content?n("div",{staticClass:"subtitle"},[t._v(t._s(t.content))]):t._e(),t.buttonList&&t.buttonList.length?n("div",{staticClass:"handle-btn-box"},t._l(t.buttonList,(function(e){return n("div",{key:e,staticClass:"handle-btn",on:{click:function(t){return e.click()}}},[t._v(" "+t._s(e.text)+" ")])})),0):t._e()])]),n("div",{staticClass:"iconfont icon-guanbi",on:{click:t.close}})])]):t._e()},r=[],i={props:{show:Boolean,title:{type:String,default:"提示"},content:{type:String,default:"提示内容"},buttonList:{type:Object,default:function(){return[{text:"btn1",click:function(){console.log("click1")}},{text:"btn1",click:function(){console.log("click2")}}]}},cancel:{type:Function,default:function(){console.log("cancel")}}},data:function(){return{}},methods:{close:function(){this.$emit("update:show",!1),this.options.cancel()}}},s=i,c=(n("d711"),n("2877")),o=Object(c["a"])(s,a,r,!1,null,"63a1d318",null);e["a"]=o.exports},"2b9a":function(t,e,n){},5319:function(t,e,n){"use strict";var a=n("2ba4"),r=n("c65b"),i=n("e330"),s=n("d784"),c=n("d039"),o=n("825a"),u=n("1626"),l=n("5926"),d=n("50c4"),m=n("577e"),g=n("1d80"),f=n("8aa5"),h=n("dc4a"),p=n("0cb2"),v=n("14c3"),b=n("b622"),w=b("replace"),I=Math.max,x=Math.min,C=i([].concat),k=i([].push),y=i("".indexOf),_=i("".slice),$=function(t){return void 0===t?t:String(t)},O=function(){return"$0"==="a".replace(/./,"$0")}(),P=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),R=!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));s("replace",(function(t,e,n){var i=P?"$":"$0";return[function(t,n){var a=g(this),i=void 0==t?void 0:h(t,w);return i?r(i,t,a,n):r(e,m(a),t,n)},function(t,r){var s=o(this),c=m(t);if("string"==typeof r&&-1===y(r,i)&&-1===y(r,"$<")){var g=n(e,s,c,r);if(g.done)return g.value}var h=u(r);h||(r=m(r));var b=s.global;if(b){var w=s.unicode;s.lastIndex=0}var O=[];while(1){var P=v(s,c);if(null===P)break;if(k(O,P),!b)break;var R=m(P[0]);""===R&&(s.lastIndex=f(c,d(s.lastIndex),w))}for(var q="",L=0,D=0;D<O.length;D++){P=O[D];for(var S=m(P[0]),E=I(x(l(P.index),c.length),0),U=[],G=1;G<P.length;G++)k(U,$(P[G]));var M=P.groups;if(h){var j=C([S],U,E,c);void 0!==M&&k(j,M);var A=m(a(r,void 0,j))}else A=p(S,c,E,U,M,r);E>=L&&(q+=_(c,L,E)+A,L=E+S.length)}return q+_(c,L)}]}),!R||!O||P)},"5f60":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"box"},[t.game&&t.game.gameExt&&t.game.gameExt.bgHelpUrl?n("div",{staticClass:"page-bg"},[n("img",{staticClass:"bg-img",attrs:{src:t.game.gameExt.bgHelpUrl,mode:"widthFix"}})]):t._e(),n("div",{staticClass:"content"},[n("div",{staticClass:"content-top"},[t.game&&t.game.gameExt&&t.game.gameExt.bgBannerHelpUrl?n("img",{staticClass:"top-img",attrs:{src:t.game.gameExt.bgBannerHelpUrl,mode:"widthFix"}}):t._e(),t._m(0)]),n("div",{staticClass:"content-cell"},[n("div",{staticClass:"header-img-box"},[n("img",{staticClass:"header-img",attrs:{src:t.helpDetail.shareMemberImage}})]),n("div",{staticClass:"friend-name"},[t._v("你的好友 "+t._s(t.helpDetail.shareMemberName))]),n("div",{staticClass:"tip-text"},[t._v("正在请求您的助力")]),n("div",{staticClass:"handle-btn red",on:{click:t.support}},[t._v("为好友助力")]),n("div",{staticClass:"handle-btn blue",on:{click:t.toPlayGame}},[t._v("我要参加游戏")])]),t.gameReward&&t.gameReward.length?n("div",{staticClass:"content-cell"},[t._m(1),n("div",{staticClass:"reward-box"},t._l(t.gameReward,(function(e){return n("div",{key:e,staticClass:"reward-item-box"},[n("div",{staticClass:"reward-item-detail"},[n("div",{staticClass:"img-box"},[n("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),n("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),n("div",{staticClass:"reward-des"},[t._v(t._s(e.prizeDesc))])])])})),0)]):t._e()]),n("share-img-dialog",t._b({attrs:{show:t.showShareImgDialog},on:{"update:show":function(e){t.showShareImgDialog=e}}},"share-img-dialog",t.pyqOptions,!1)),n("alert-dialog",t._b({},"alert-dialog",t.alertOptions,!1,!0))],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"top-tip-box"},[n("div",{staticClass:"line left"}),n("div",{staticClass:"title"},[t._v("助力好友你也可以参加")]),n("div",{staticClass:"line right"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cell-top"},[n("div",{staticClass:"iconfont icon-duobianxing"}),n("div",{staticClass:"title"},[t._v("游戏奖品")]),n("div",{staticClass:"iconfont icon-duobianxing"})])}],i=n("1da1"),s=(n("ac1f"),n("5319"),n("96cf"),n("2934")),c=n("0df4"),o=n("e76a"),u=n("b843"),l=s["a"].getHelpDetail,d=s["a"].getGameReward,m=s["a"].getGameInfo,g=s["a"].getGameShareQrCodeUrl,f={components:{ShareImgDialog:o["a"],AlertDialog:c["a"]},data:function(){return{alertOptions:{},showShareImgDialog:!1,game:{},helpDetail:{},gameReward:[]}},created:function(){document.title="游戏助力",this.manager=new u["a"](this),this.loadData()},methods:{loadData:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(t.$route.query),n=t.$route.query,e.next=4,l({enterpriseId:n.enterpriseId,shareMemberId:n.shareMemberId,gameId:n.gameId,helpMemberId:n.memberId||""});case 4:return t.helpDetail=e.sent,e.next=7,d({enterpriseId:n.enterpriseId,gameId:n.gameId});case 7:return t.gameReward=e.sent,e.next=10,m({enterpriseId:n.enterpriseId,gameId:n.gameId});case 10:t.game=e.sent;case 11:case"end":return e.stop()}}),e)})))()},toPlayGame:function(){var t=this.$route.query;this.$router.replace({path:"/cmh/2",query:{gameId:t.gameId,memberId:t.memberId||"",enterpriseId:t.enterpriseId,isAttest:t.isAttest}})},support:function(){this.manager.support()},sharePyq:function(t){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function n(){var a,r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=e.$route.query,n.next=3,g({gameId:a.gameId,enterpriseId:a.enterpriseId,memberId:a.shareMemberId||"",shareType:12==t.type?2:1});case 3:r=n.sent,e.pyqOptions={bgImage:t.shareReport,qrcodeUrl:r.qrCodeUrl},e.showShareImgDialog=!0;case 6:case"end":return n.stop()}}),n)})))()}}},h=f,p=(n("bb42"),n("2877")),v=Object(p["a"])(h,a,r,!1,null,"53b72ff3",null);e["default"]=v.exports},"81d5":function(t,e,n){"use strict";var a=n("7b0b"),r=n("23cb"),i=n("07fa");t.exports=function(t){var e=a(this),n=i(e),s=arguments.length,c=r(s>1?arguments[1]:void 0,n),o=s>2?arguments[2]:void 0,u=void 0===o?n:r(o,n);while(u>c)e[c++]=t;return e}},"99af":function(t,e,n){"use strict";var a=n("23e7"),r=n("da84"),i=n("d039"),s=n("e8b5"),c=n("861d"),o=n("7b0b"),u=n("07fa"),l=n("8418"),d=n("65f0"),m=n("1dde"),g=n("b622"),f=n("2d00"),h=g("isConcatSpreadable"),p=9007199254740991,v="Maximum allowed index exceeded",b=r.TypeError,w=f>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),I=m("concat"),x=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:s(t)},C=!w||!I;a({target:"Array",proto:!0,arity:1,forced:C},{concat:function(t){var e,n,a,r,i,s=o(this),c=d(s,0),m=0;for(e=-1,a=arguments.length;e<a;e++)if(i=-1===e?s:arguments[e],x(i)){if(r=u(i),m+r>p)throw b(v);for(n=0;n<r;n++,m++)n in i&&l(c,m,i[n])}else{if(m>=p)throw b(v);l(c,m++,i)}return c.length=m,c}})},b843:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var a=n("1da1"),r=(n("96cf"),n("d3b7"),n("99af"),n("e9c4"),n("d81d"),n("2934")),i=r["a"].validGame,s=r["a"].getGameRule,c=r["a"].gamePlay,o=r["a"].getGameNumberPolling,u="/pages/member-center/member-center/member-center-index",l="/pages/game/game-h5",d="/pages/open-card/open-card/open-card",m="/pages/access-2-h5/h5-share/h5-share",g="/pages/points-mall/points-detail/points-detail",f="/pages/member-center/coupon/coupon-list/coupon-list";function h(t){var e,n=this;t&&(e=t),this.init=function(t){e=t};var r=function(t){e.alertOptions=t},h=function(){e.alertOptions={}},p=function(){return new Promise((function(t,n){var a=e.$route.query;+a.isAttest?t():(n(),r({show:!0,content:"成为会员才可参与游戏哦~\n快认证成为会员赢好礼吧!",buttonList:[{text:"立即认证",click:function(){h(),x()}}],cancel:function(){h()}}))}))},v=function(){return new Promise((function(t,n){var a=e.game,i="无法参与游戏";switch(+a.status){case 0:i="游戏还没开始,请耐心等待,\n去其他地方先逛逛吧~";break;case 1:return void t();case 2:i="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 3:i="来晚一步,游戏已下架,\n去其它地方看看吧~";break;default:break}n(),r({show:!0,content:i,buttonList:[{text:"前往会员中心",click:function(){h(),C()}}],cancel:function(){h()}})}))},b=function(){return new Promise((function(t){i(e.$route.query).then(t).catch((function(){r({show:!0,title:"很遗憾",content:"您暂无权限参加本次游戏,详情请查看游戏规则",buttonList:[{text:"查看规则",click:function(){h(),n.toGameRule()}}],cancel:function(){h()}})}))}))},w=function(){return new Promise((function(t,n){c(e.$route.query).then(t).catch((function(t){n(t);var a="",i="",s=[{text:"前往会员中心",click:function(){h(),C()}}];switch(console.log("res-----\x3e",t),+t.code){case 2001:a="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 2002:a="游戏还没开始,请耐心等待,\n去其他地方看看吧~";break;case 2003:i="很遗憾",a="您暂无权限参加本次游戏,\n详情请查看游戏规则",s=[{text:"查看规则",click:function(){h(),e.toGameRule()}}];break;case 2004:a="游戏次数已达上限,\n去其他地方看看吧~";break;case 2005:i="游戏剩余次数已用完",a="每邀请".concat(e.shareConditionObj.inviteNum,"位好友助力即可获得").concat(e.shareConditionObj.value,"次游戏机会哦~"),s=[{text:"分享好友",click:function(){e.shareWx(),h()}},{text:"分享朋友圈",click:function(){e.sharePyq(),h()}}];break;case 2006:a="当前积分不足,\n去先去获取些积分吧~",s=[{text:"立即获取积分",click:function(){h(),window.wx.miniProgram.navigateTo({url:"/"+e.rule.dumpPath})}}];break;case 2007:a="今日免费次数已用完,\n明早继续";break;case 2008:a="免费游戏次数已达上限,\n去其他地方看看吧~";break;default:a=t.message||"系统异常",s=[];break}(i||a)&&r({show:!0,title:i,content:a,buttonList:s,cancel:function(){h()}})}))}))};this.play=function(){return v().then(p).then(b).then((function(){return w()}))},this.checkAttest=p;var I,x=function(){var t=e.$route.query,n=d,a={type:2,data:{path:"".concat(l,"?gameId=").concat(t.gameId,"&enterpriseId=").concat(t.enterpriseId,"&shareMemberId=").concat(t.shareMemberId||"","&isFrom=openCard")}};n+="?intent="+encodeURIComponent(JSON.stringify(a)),window.wx.miniProgram.navigateTo({url:n})},C=function(){window.wx.miniProgram.reLaunch({url:u})};this.shareWx=function(t){var e="".concat(m,"?shareOptions=").concat(encodeURIComponent(JSON.stringify(t)),"&content=邀好友助力加参与游戏次数,赢好礼&confirmText=立即分享");window.wx.miniProgram.navigateTo({url:e})},this.support=Object(a["a"])(regeneratorRuntime.mark((function t(){var n,a,i,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$route.query,2!=e.helpDetail.helpStatus){t.next=4;break}return r({show:!0,content:"您已助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 4:if(n.memberId!=n.shareMemberId){t.next=7;break}return r({show:!0,content:"无法为自己助力,赶快邀请好友助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 7:return t.next=9,s({gameId:n.gameId,enterpriseId:n.enterpriseId});case 9:i=t.sent,c=i.gameRuleConditionList||[],c.map((function(t){var e=JSON.parse(t.conditionJson);11!=+e.type&&12!=+e.type||(a=e)})),11==a.type?+n.isAttest?r({show:!0,content:"很遗憾,您已成为会员,无法助力好友,可立即参与游戏,赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}):r({show:!0,content:"仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼",buttonList:[{text:"立即认证会员",click:function(){h(),x()}}],cancel:function(){h()}}):12==a.type&&e.sharePyq(a);case 13:case"end":return t.stop()}}),t)})));var k=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$route.query,t.next=3,o({gameId:n.gameId,enterpriseId:n.enterpriseId,memberId:n.memberId});case 3:a=t.sent,e.playNumberObj.playNumber=a;case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return this.startPolling=function(){I=setInterval((function(){k()}),1e4)},this.stopPolling=function(){clearInterval(I)},this.toIntegralDetail=function(){window.wx.miniProgram.navigateTo({url:g})},this.toCouponList=function(){window.wx.miniProgram.navigateTo({url:f})},this}},bb42:function(t,e,n){"use strict";n("2b9a")},cb29:function(t,e,n){var a=n("23e7"),r=n("81d5"),i=n("44d2");a({target:"Array",proto:!0},{fill:r}),i("fill")},d46a:function(t,e,n){},d711:function(t,e,n){"use strict";n("de0b")},de0b:function(t,e,n){},e76a:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show&&t.bgImage&&t.qrcodeUrl?n("div",{staticClass:"dialog-bg"},[n("canvas",{staticClass:"img-canvas",attrs:{id:"canvas",width:"560",height:"996"}}),n("div",{staticClass:"content"},[n("img",{staticClass:"box-img",attrs:{mode:"widthFix",id:"shareImage"}}),n("div",{staticClass:"tips"},[t._v("长按保存至相册,打开朋友圈选取海报转发")]),n("div",{staticClass:"iconfont icon-guanbi",on:{click:t.close}})])]):t._e()},r=[],i=(n("cb29"),{props:{bgImage:String,qrcodeUrl:String,show:Boolean},data:function(){return{}},created:function(){},methods:{drawImage:function(){var t=this,e=560,n=996,a=document.createElement("canvas");a.width=e,a.height=n;var r=a.getContext("2d");r.rect(0,0,a.width,a.height),r.fillStyle="#fff",r.fill();var i=new Image;i.width=e,i.height=n,i.crossOrigin="Anonymous",i.src=this.bgImage,i.onload=function(){r.drawImage(i,0,0,e,n);var s=new Image;s.src=t.qrcodeUrl,s.width=120,s.height=120,s.crossOrigin="Anonymous",s.onload=function(){r.drawImage(s,400,824,120,120);var t=a.toDataURL("image/png"),e=document.getElementById("shareImage");e.src=t}}},again:function(){this.$emit("again"),this.close()},close:function(){this.$emit("update:show",!1)}},watch:{show:function(t){t&&this.drawImage()}}}),s=i,c=(n("0374"),n("2877")),o=Object(c["a"])(s,a,r,!1,null,"53498be6",null);e["a"]=o.exports}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-109d5dec"],{"057f":function(t,e,n){var r=n("c6b6"),a=n("fc6a"),i=n("241c").f,o=n("4dae"),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return o(c)}};t.exports.f=function(t){return c&&"Window"==r(t)?s(t):i(a(t))}},"0cb2":function(t,e,n){var r=n("e330"),a=n("7b0b"),i=Math.floor,o=r("".charAt),c=r("".replace),s=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,l,d){var b=n+t.length,p=r.length,h=f;return void 0!==l&&(l=a(l),h=u),c(d,h,(function(a,c){var u;switch(o(c,0)){case"$":return"$";case"&":return t;case"`":return s(e,0,n);case"'":return s(e,b);case"<":u=l[s(c,1,-1)];break;default:var f=+c;if(0===f)return a;if(f>p){var d=i(f/10);return 0===d?a:d<=p?void 0===r[d-1]?o(c,1):r[d-1]+o(c,1):a}u=r[f-1]}return void 0===u?"":u}))}},"14ab":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"box"},[t._m(0),r("div",{staticClass:"content"},[r("div",{staticClass:"content-cell"},[t._m(1),t.list&&t.list.length?r("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.loadData,expression:"loadData"}],staticClass:"infinite-list",style:{height:t.windowHeight-50-20-34-10+"px"}},t._l(t.list,(function(e){return r("div",{key:e,staticClass:"reward-item-box"},[r("div",{staticClass:"reward-item",on:{click:function(n){return t.toRewardDetail(e)}}},[r("div",{staticClass:"reward-img-box"},[r("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),r("div",{staticClass:"reward-info"},[r("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),r("div",{staticClass:"reward-condition"},[t._v(t._s(e.prizeDesc||""))]),r("div",{staticClass:"reward-time"},[t._v(t._s(t._f("formatDate")(e.prizeTime)))])])])])})),0):t.haveLoad?r("div",{staticClass:"empty-box",style:{height:t.windowHeight-50-20-34-10+"px"}},[r("img",{staticClass:"empty-img",attrs:{src:n("b6c2"),mode:"widthFix"}}),r("div",{staticClass:"title"},[t._v("这里空空如也")]),r("div",{staticClass:"subtitle"},[t._v("还没有获得任何奖品哦~赶紧拆盲盒赢取好礼吧!")]),r("div",{staticClass:"play-btn",on:{click:t.toPlay}},[t._v("去拆盲盒")])]):t._e()])])])},a=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"page-bg"},[r("img",{staticClass:"bg-img",attrs:{src:n("df55"),mode:"widthFix"}})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cell-top"},[n("div",{staticClass:"iconfont icon-duobianxing"}),n("div",{staticClass:"title"},[t._v("我的奖品")]),n("div",{staticClass:"iconfont icon-duobianxing"})])}],i=n("5530"),o=n("1da1"),c=(n("96cf"),n("99af"),n("ac1f"),n("5319"),n("2934")),s=n("b843"),u=c["a"].getMyReward,f={components:{},data:function(){return{list:[],pageSize:20,currentPage:1,totalCount:0}},created:function(){document.title="我的奖品",this.manager=new s["a"](this),this.windowHeight=window.innerHeight,this.reloadData()},methods:{reloadData:function(){this.currentPage=1,this.totalCount=0,this.loadData()},toRewardDetail:function(t){switch(+t.prizeType){case 0:break;case 1:this.manager.toIntegralDetail();break;case 2:this.manager.toCouponList();break;case 3:break;default:break}},loadData:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t.list.length>=t.totalCount&&0!=t.totalCount)){e.next=2;break}return e.abrupt("return");case 2:return n=t.$route.query,e.next=5,u(Object(i["a"])(Object(i["a"])({},n),{},{currentPage:t.currentPage,pageSize:t.pageSize}));case 5:r=e.sent,t.haveLoad=!0,t.totalCount=r.totalCount,a=t.list||[],a=1==t.currentPage?r.result||[]:a.concat(r.result||[]),t.currentPage++,t.list=a;case 12:case"end":return e.stop()}}),e)})))()},toPlay:function(){this.$router.replace({path:"/",query:this.$route.query})}},filters:{formatDate:function(t){if(!t)return"--";var e=new Date(t);return e.getFullYear()+"年"+(e.getMonth()+1)+"月"+e.getDate()+"日"}}},l=f,d=(n("8414"),n("2877")),b=Object(d["a"])(l,r,a,!1,null,"6aa6e834",null);e["default"]=b.exports},"159b":function(t,e,n){var r=n("da84"),a=n("fdbc"),i=n("785a"),o=n("17c2"),c=n("9112"),s=function(t){if(t&&t.forEach!==o)try{c(t,"forEach",o)}catch(e){t.forEach=o}};for(var u in a)a[u]&&s(r[u]&&r[u].prototype);s(i)},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,a=n("a640"),i=a("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"3d87":function(t,e,n){var r=n("4930");t.exports=r&&!!Symbol["for"]&&!!Symbol.keyFor},"428f":function(t,e,n){var r=n("da84");t.exports=r},"4dae":function(t,e,n){var r=n("da84"),a=n("23cb"),i=n("07fa"),o=n("8418"),c=r.Array,s=Math.max;t.exports=function(t,e,n){for(var r=i(t),u=a(e,r),f=a(void 0===n?r:n,r),l=c(s(f-u,0)),d=0;u<f;u++,d++)o(l,d,t[u]);return l.length=d,l}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),a=n("b727").filter,i=n("1dde"),o=i("filter");r({target:"Array",proto:!0,forced:!o},{filter:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},5319:function(t,e,n){"use strict";var r=n("2ba4"),a=n("c65b"),i=n("e330"),o=n("d784"),c=n("d039"),s=n("825a"),u=n("1626"),f=n("5926"),l=n("50c4"),d=n("577e"),b=n("1d80"),p=n("8aa5"),h=n("dc4a"),v=n("0cb2"),m=n("14c3"),g=n("b622"),w=g("replace"),y=Math.max,x=Math.min,O=i([].concat),k=i([].push),P=i("".indexOf),C=i("".slice),j=function(t){return void 0===t?t:String(t)},I=function(){return"$0"==="a".replace(/./,"$0")}(),S=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),$=!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));o("replace",(function(t,e,n){var i=S?"$":"$0";return[function(t,n){var r=b(this),i=void 0==t?void 0:h(t,w);return i?a(i,t,r,n):a(e,d(r),t,n)},function(t,a){var o=s(this),c=d(t);if("string"==typeof a&&-1===P(a,i)&&-1===P(a,"$<")){var b=n(e,o,c,a);if(b.done)return b.value}var h=u(a);h||(a=d(a));var g=o.global;if(g){var w=o.unicode;o.lastIndex=0}var I=[];while(1){var S=m(o,c);if(null===S)break;if(k(I,S),!g)break;var $=d(S[0]);""===$&&(o.lastIndex=p(c,l(o.lastIndex),w))}for(var _="",D=0,E=0;E<I.length;E++){S=I[E];for(var R=d(S[0]),L=y(x(f(S.index),c.length),0),N=[],T=1;T<S.length;T++)k(N,j(S[T]));var q=S.groups;if(h){var M=O([R],N,L,c);void 0!==q&&k(M,q);var z=d(r(a,void 0,M))}else z=v(R,c,L,N,q,a);L>=D&&(_+=C(c,D,L)+z,D=L+R.length)}return _+C(c,D)}]}),!$||!I||S)},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n("b64b"),n("a4d3"),n("4de4"),n("d3b7"),n("e439"),n("159b"),n("dbb4");function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},"57b9":function(t,e,n){var r=n("c65b"),a=n("d066"),i=n("b622"),o=n("cb2d");t.exports=function(){var t=a("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,c=i("toPrimitive");e&&!e[c]&&o(e,c,(function(t){return r(n,this)}),{arity:1})}},"5a47":function(t,e,n){var r=n("23e7"),a=n("4930"),i=n("d039"),o=n("7418"),c=n("7b0b"),s=!a||i((function(){o.f(1)}));r({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(t){var e=o.f;return e?e(c(t)):[]}})},"746f":function(t,e,n){var r=n("428f"),a=n("1a2d"),i=n("e538"),o=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});a(e,t)||o(e,t,{value:i.f(t)})}},8414:function(t,e,n){"use strict";n("c214")},"99af":function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("d039"),o=n("e8b5"),c=n("861d"),s=n("7b0b"),u=n("07fa"),f=n("8418"),l=n("65f0"),d=n("1dde"),b=n("b622"),p=n("2d00"),h=b("isConcatSpreadable"),v=9007199254740991,m="Maximum allowed index exceeded",g=a.TypeError,w=p>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),y=d("concat"),x=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:o(t)},O=!w||!y;r({target:"Array",proto:!0,arity:1,forced:O},{concat:function(t){var e,n,r,a,i,o=s(this),c=l(o,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(i=-1===e?o:arguments[e],x(i)){if(a=u(i),d+a>v)throw g(m);for(n=0;n<a;n++,d++)n in i&&f(c,d,i[n])}else{if(d>=v)throw g(m);f(c,d++,i)}return c.length=d,c}})},a4d3:function(t,e,n){n("d9f5"),n("b4f8"),n("c513"),n("e9c4"),n("5a47")},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},b4f8:function(t,e,n){var r=n("23e7"),a=n("d066"),i=n("1a2d"),o=n("577e"),c=n("5692"),s=n("3d87"),u=c("string-to-symbol-registry"),f=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=o(t);if(i(u,e))return u[e];var n=a("Symbol")(e);return u[e]=n,f[n]=e,n}})},b64b:function(t,e,n){var r=n("23e7"),a=n("7b0b"),i=n("df75"),o=n("d039"),c=o((function(){i(1)}));r({target:"Object",stat:!0,forced:c},{keys:function(t){return i(a(t))}})},b6c2:function(t,e,n){t.exports=n.p+"img/mould_01_fail_pic.c6ecf7b9.png"},b843:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n("1da1"),a=(n("96cf"),n("d3b7"),n("99af"),n("e9c4"),n("d81d"),n("2934")),i=a["a"].validGame,o=a["a"].getGameRule,c=a["a"].gamePlay,s=a["a"].getGameNumberPolling,u="/pages/member-center/member-center/member-center-index",f="/pages/game/game-h5",l="/pages/open-card/open-card/open-card",d="/pages/access-2-h5/h5-share/h5-share",b="/pages/points-mall/points-detail/points-detail",p="/pages/member-center/coupon/coupon-list/coupon-list";function h(t){var e,n=this;t&&(e=t),this.init=function(t){e=t};var a=function(t){e.alertOptions=t},h=function(){e.alertOptions={}},v=function(){return new Promise((function(t,n){var r=e.$route.query;+r.isAttest?t():(n(),a({show:!0,content:"成为会员才可参与游戏哦~\n快认证成为会员赢好礼吧!",buttonList:[{text:"立即认证",click:function(){h(),x()}}],cancel:function(){h()}}))}))},m=function(){return new Promise((function(t,n){var r=e.game,i="无法参与游戏";switch(+r.status){case 0:i="游戏还没开始,请耐心等待,\n去其他地方先逛逛吧~";break;case 1:return void t();case 2:i="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 3:i="来晚一步,游戏已下架,\n去其它地方看看吧~";break;default:break}n(),a({show:!0,content:i,buttonList:[{text:"前往会员中心",click:function(){h(),O()}}],cancel:function(){h()}})}))},g=function(){return new Promise((function(t){i(e.$route.query).then(t).catch((function(){a({show:!0,title:"很遗憾",content:"您暂无权限参加本次游戏,详情请查看游戏规则",buttonList:[{text:"查看规则",click:function(){h(),n.toGameRule()}}],cancel:function(){h()}})}))}))},w=function(){return new Promise((function(t,n){c(e.$route.query).then(t).catch((function(t){n(t);var r="",i="",o=[{text:"前往会员中心",click:function(){h(),O()}}];switch(console.log("res-----\x3e",t),+t.code){case 2001:r="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 2002:r="游戏还没开始,请耐心等待,\n去其他地方看看吧~";break;case 2003:i="很遗憾",r="您暂无权限参加本次游戏,\n详情请查看游戏规则",o=[{text:"查看规则",click:function(){h(),e.toGameRule()}}];break;case 2004:r="游戏次数已达上限,\n去其他地方看看吧~";break;case 2005:i="游戏剩余次数已用完",r="每邀请".concat(e.shareConditionObj.inviteNum,"位好友助力即可获得").concat(e.shareConditionObj.value,"次游戏机会哦~"),o=[{text:"分享好友",click:function(){e.shareWx(),h()}},{text:"分享朋友圈",click:function(){e.sharePyq(),h()}}];break;case 2006:r="当前积分不足,\n去先去获取些积分吧~",o=[{text:"立即获取积分",click:function(){h(),window.wx.miniProgram.navigateTo({url:"/"+e.rule.dumpPath})}}];break;case 2007:r="今日免费次数已用完,\n明早继续";break;case 2008:r="免费游戏次数已达上限,\n去其他地方看看吧~";break;default:r=t.message||"系统异常",o=[];break}(i||r)&&a({show:!0,title:i,content:r,buttonList:o,cancel:function(){h()}})}))}))};this.play=function(){return m().then(v).then(g).then((function(){return w()}))},this.checkAttest=v;var y,x=function(){var t=e.$route.query,n=l,r={type:2,data:{path:"".concat(f,"?gameId=").concat(t.gameId,"&enterpriseId=").concat(t.enterpriseId,"&shareMemberId=").concat(t.shareMemberId||"","&isFrom=openCard")}};n+="?intent="+encodeURIComponent(JSON.stringify(r)),window.wx.miniProgram.navigateTo({url:n})},O=function(){window.wx.miniProgram.reLaunch({url:u})};this.shareWx=function(t){var e="".concat(d,"?shareOptions=").concat(encodeURIComponent(JSON.stringify(t)),"&content=邀好友助力加参与游戏次数,赢好礼&confirmText=立即分享");window.wx.miniProgram.navigateTo({url:e})},this.support=Object(r["a"])(regeneratorRuntime.mark((function t(){var n,r,i,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$route.query,2!=e.helpDetail.helpStatus){t.next=4;break}return a({show:!0,content:"您已助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 4:if(n.memberId!=n.shareMemberId){t.next=7;break}return a({show:!0,content:"无法为自己助力,赶快邀请好友助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 7:return t.next=9,o({gameId:n.gameId,enterpriseId:n.enterpriseId});case 9:i=t.sent,c=i.gameRuleConditionList||[],c.map((function(t){var e=JSON.parse(t.conditionJson);11!=+e.type&&12!=+e.type||(r=e)})),11==r.type?+n.isAttest?a({show:!0,content:"很遗憾,您已成为会员,无法助力好友,可立即参与游戏,赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}):a({show:!0,content:"仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),x()}}],cancel:function(){h()}}):12==r.type&&e.sharePyq(r);case 13:case"end":return t.stop()}}),t)})));var k=function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$route.query,t.next=3,s({gameId:n.gameId,enterpriseId:n.enterpriseId,memberId:n.memberId});case 3:r=t.sent,e.playNumberObj.playNumber=r;case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return this.startPolling=function(){y=setInterval((function(){k()}),1e4)},this.stopPolling=function(){clearInterval(y)},this.toIntegralDetail=function(){window.wx.miniProgram.navigateTo({url:b})},this.toCouponList=function(){window.wx.miniProgram.navigateTo({url:p})},this}},c214:function(t,e,n){},c513:function(t,e,n){var r=n("23e7"),a=n("1a2d"),i=n("d9b5"),o=n("0d51"),c=n("5692"),s=n("3d87"),u=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!i(t))throw TypeError(o(t)+" is not a symbol");if(a(u,t))return u[t]}})},d9f5:function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("c65b"),o=n("e330"),c=n("c430"),s=n("83ab"),u=n("4930"),f=n("d039"),l=n("1a2d"),d=n("3a9b"),b=n("825a"),p=n("fc6a"),h=n("a04b"),v=n("577e"),m=n("5c6c"),g=n("7c73"),w=n("df75"),y=n("241c"),x=n("057f"),O=n("7418"),k=n("06cf"),P=n("9bf2"),C=n("37e8"),j=n("d1e7"),I=n("cb2d"),S=n("5692"),$=n("f772"),_=n("d012"),D=n("90e3"),E=n("b622"),R=n("e538"),L=n("746f"),N=n("57b9"),T=n("d44e"),q=n("69f3"),M=n("b727").forEach,z=$("hidden"),F="Symbol",G="prototype",A=q.set,J=q.getterFor(F),H=Object[G],U=a.Symbol,W=U&&U[G],Q=a.TypeError,Y=a.QObject,B=k.f,K=P.f,V=x.f,X=j.f,Z=o([].push),tt=S("symbols"),et=S("op-symbols"),nt=S("wks"),rt=!Y||!Y[G]||!Y[G].findChild,at=s&&f((function(){return 7!=g(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=B(H,e);r&&delete H[e],K(t,e,n),r&&t!==H&&K(H,e,r)}:K,it=function(t,e){var n=tt[t]=g(W);return A(n,{type:F,tag:t,description:e}),s||(n.description=e),n},ot=function(t,e,n){t===H&&ot(et,e,n),b(t);var r=h(e);return b(n),l(tt,r)?(n.enumerable?(l(t,z)&&t[z][r]&&(t[z][r]=!1),n=g(n,{enumerable:m(0,!1)})):(l(t,z)||K(t,z,m(1,{})),t[z][r]=!0),at(t,r,n)):K(t,r,n)},ct=function(t,e){b(t);var n=p(e),r=w(n).concat(dt(n));return M(r,(function(e){s&&!i(ut,n,e)||ot(t,e,n[e])})),t},st=function(t,e){return void 0===e?g(t):ct(g(t),e)},ut=function(t){var e=h(t),n=i(X,this,e);return!(this===H&&l(tt,e)&&!l(et,e))&&(!(n||!l(this,e)||!l(tt,e)||l(this,z)&&this[z][e])||n)},ft=function(t,e){var n=p(t),r=h(e);if(n!==H||!l(tt,r)||l(et,r)){var a=B(n,r);return!a||!l(tt,r)||l(n,z)&&n[z][r]||(a.enumerable=!0),a}},lt=function(t){var e=V(p(t)),n=[];return M(e,(function(t){l(tt,t)||l(_,t)||Z(n,t)})),n},dt=function(t){var e=t===H,n=V(e?et:p(t)),r=[];return M(n,(function(t){!l(tt,t)||e&&!l(H,t)||Z(r,tt[t])})),r};u||(U=function(){if(d(W,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,e=D(t),n=function(t){this===H&&i(n,et,t),l(this,z)&&l(this[z],e)&&(this[z][e]=!1),at(this,e,m(1,t))};return s&&rt&&at(H,e,{configurable:!0,set:n}),it(e,t)},W=U[G],I(W,"toString",(function(){return J(this).tag})),I(U,"withoutSetter",(function(t){return it(D(t),t)})),j.f=ut,P.f=ot,C.f=ct,k.f=ft,y.f=x.f=lt,O.f=dt,R.f=function(t){return it(E(t),t)},s&&(K(W,"description",{configurable:!0,get:function(){return J(this).description}}),c||I(H,"propertyIsEnumerable",ut,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),M(w(nt),(function(t){L(t)})),r({target:F,stat:!0,forced:!u},{useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:st,defineProperty:ot,defineProperties:ct,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt}),N(),T(U,F),_[z]=!0},dbb4:function(t,e,n){var r=n("23e7"),a=n("83ab"),i=n("56ef"),o=n("fc6a"),c=n("06cf"),s=n("8418");r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),a=c.f,u=i(r),f={},l=0;while(u.length>l)n=a(r,e=u[l++]),void 0!==n&&s(f,e,n);return f}})},df55:function(t,e,n){t.exports=n.p+"img/rulebg.bb315b1e.png"},e439:function(t,e,n){var r=n("23e7"),a=n("d039"),i=n("fc6a"),o=n("06cf").f,c=n("83ab"),s=a((function(){o(1)})),u=!c||s;r({target:"Object",stat:!0,forced:u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return o(i(t),e)}})},e538:function(t,e,n){var r=n("b622");e.f=r}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-109d5dec"],{"057f":function(t,e,n){var r=n("c6b6"),a=n("fc6a"),i=n("241c").f,o=n("4dae"),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return o(c)}};t.exports.f=function(t){return c&&"Window"==r(t)?s(t):i(a(t))}},"0cb2":function(t,e,n){var r=n("e330"),a=n("7b0b"),i=Math.floor,o=r("".charAt),c=r("".replace),s=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,l,d){var b=n+t.length,p=r.length,h=f;return void 0!==l&&(l=a(l),h=u),c(d,h,(function(a,c){var u;switch(o(c,0)){case"$":return"$";case"&":return t;case"`":return s(e,0,n);case"'":return s(e,b);case"<":u=l[s(c,1,-1)];break;default:var f=+c;if(0===f)return a;if(f>p){var d=i(f/10);return 0===d?a:d<=p?void 0===r[d-1]?o(c,1):r[d-1]+o(c,1):a}u=r[f-1]}return void 0===u?"":u}))}},"14ab":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"box"},[t._m(0),r("div",{staticClass:"content"},[r("div",{staticClass:"content-cell"},[t._m(1),t.list&&t.list.length?r("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.loadData,expression:"loadData"}],staticClass:"infinite-list",style:{height:t.windowHeight-50-20-34-10+"px"}},t._l(t.list,(function(e){return r("div",{key:e,staticClass:"reward-item-box"},[r("div",{staticClass:"reward-item",on:{click:function(n){return t.toRewardDetail(e)}}},[r("div",{staticClass:"reward-img-box"},[r("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),r("div",{staticClass:"reward-info"},[r("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),r("div",{staticClass:"reward-condition"},[t._v(t._s(e.prizeDesc||""))]),r("div",{staticClass:"reward-time"},[t._v(t._s(t._f("formatDate")(e.prizeTime)))])])])])})),0):t.haveLoad?r("div",{staticClass:"empty-box",style:{height:t.windowHeight-50-20-34-10+"px"}},[r("img",{staticClass:"empty-img",attrs:{src:n("b6c2"),mode:"widthFix"}}),r("div",{staticClass:"title"},[t._v("这里空空如也")]),r("div",{staticClass:"subtitle"},[t._v("还没有获得任何奖品哦~赶紧拆盲盒赢取好礼吧!")]),r("div",{staticClass:"play-btn",on:{click:t.toPlay}},[t._v("去拆盲盒")])]):t._e()])])])},a=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"page-bg"},[r("img",{staticClass:"bg-img",attrs:{src:n("df55"),mode:"widthFix"}})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cell-top"},[n("div",{staticClass:"iconfont icon-duobianxing"}),n("div",{staticClass:"title"},[t._v("我的奖品")]),n("div",{staticClass:"iconfont icon-duobianxing"})])}],i=n("5530"),o=n("1da1"),c=(n("96cf"),n("99af"),n("ac1f"),n("5319"),n("2934")),s=n("b843"),u=c["a"].getMyReward,f={components:{},data:function(){return{list:[],pageSize:20,currentPage:1,totalCount:0}},created:function(){document.title="我的奖品",this.manager=new s["a"](this),this.windowHeight=window.innerHeight,this.reloadData()},methods:{reloadData:function(){this.currentPage=1,this.totalCount=0,this.loadData()},toRewardDetail:function(t){switch(+t.prizeType){case 0:break;case 1:this.manager.toIntegralDetail();break;case 2:this.manager.toCouponList();break;case 3:break;default:break}},loadData:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t.list.length>=t.totalCount&&0!=t.totalCount)){e.next=2;break}return e.abrupt("return");case 2:return n=t.$route.query,e.next=5,u(Object(i["a"])(Object(i["a"])({},n),{},{currentPage:t.currentPage,pageSize:t.pageSize}));case 5:r=e.sent,t.haveLoad=!0,t.totalCount=r.totalCount,a=t.list||[],a=1==t.currentPage?r.result||[]:a.concat(r.result||[]),t.currentPage++,t.list=a;case 12:case"end":return e.stop()}}),e)})))()},toPlay:function(){this.$router.replace({path:"/",query:this.$route.query})}},filters:{formatDate:function(t){if(!t)return"--";var e=new Date(t);return e.getFullYear()+"年"+(e.getMonth()+1)+"月"+e.getDate()+"日"}}},l=f,d=(n("8414"),n("2877")),b=Object(d["a"])(l,r,a,!1,null,"6aa6e834",null);e["default"]=b.exports},"159b":function(t,e,n){var r=n("da84"),a=n("fdbc"),i=n("785a"),o=n("17c2"),c=n("9112"),s=function(t){if(t&&t.forEach!==o)try{c(t,"forEach",o)}catch(e){t.forEach=o}};for(var u in a)a[u]&&s(r[u]&&r[u].prototype);s(i)},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,a=n("a640"),i=a("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"3d87":function(t,e,n){var r=n("4930");t.exports=r&&!!Symbol["for"]&&!!Symbol.keyFor},"428f":function(t,e,n){var r=n("da84");t.exports=r},"4dae":function(t,e,n){var r=n("da84"),a=n("23cb"),i=n("07fa"),o=n("8418"),c=r.Array,s=Math.max;t.exports=function(t,e,n){for(var r=i(t),u=a(e,r),f=a(void 0===n?r:n,r),l=c(s(f-u,0)),d=0;u<f;u++,d++)o(l,d,t[u]);return l.length=d,l}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),a=n("b727").filter,i=n("1dde"),o=i("filter");r({target:"Array",proto:!0,forced:!o},{filter:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},5319:function(t,e,n){"use strict";var r=n("2ba4"),a=n("c65b"),i=n("e330"),o=n("d784"),c=n("d039"),s=n("825a"),u=n("1626"),f=n("5926"),l=n("50c4"),d=n("577e"),b=n("1d80"),p=n("8aa5"),h=n("dc4a"),v=n("0cb2"),m=n("14c3"),g=n("b622"),w=g("replace"),y=Math.max,x=Math.min,O=i([].concat),k=i([].push),P=i("".indexOf),C=i("".slice),j=function(t){return void 0===t?t:String(t)},I=function(){return"$0"==="a".replace(/./,"$0")}(),S=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),$=!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));o("replace",(function(t,e,n){var i=S?"$":"$0";return[function(t,n){var r=b(this),i=void 0==t?void 0:h(t,w);return i?a(i,t,r,n):a(e,d(r),t,n)},function(t,a){var o=s(this),c=d(t);if("string"==typeof a&&-1===P(a,i)&&-1===P(a,"$<")){var b=n(e,o,c,a);if(b.done)return b.value}var h=u(a);h||(a=d(a));var g=o.global;if(g){var w=o.unicode;o.lastIndex=0}var I=[];while(1){var S=m(o,c);if(null===S)break;if(k(I,S),!g)break;var $=d(S[0]);""===$&&(o.lastIndex=p(c,l(o.lastIndex),w))}for(var _="",D=0,E=0;E<I.length;E++){S=I[E];for(var R=d(S[0]),L=y(x(f(S.index),c.length),0),N=[],T=1;T<S.length;T++)k(N,j(S[T]));var q=S.groups;if(h){var M=O([R],N,L,c);void 0!==q&&k(M,q);var z=d(r(a,void 0,M))}else z=v(R,c,L,N,q,a);L>=D&&(_+=C(c,D,L)+z,D=L+R.length)}return _+C(c,D)}]}),!$||!I||S)},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n("b64b"),n("a4d3"),n("4de4"),n("d3b7"),n("e439"),n("159b"),n("dbb4");function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},"57b9":function(t,e,n){var r=n("c65b"),a=n("d066"),i=n("b622"),o=n("cb2d");t.exports=function(){var t=a("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,c=i("toPrimitive");e&&!e[c]&&o(e,c,(function(t){return r(n,this)}),{arity:1})}},"5a47":function(t,e,n){var r=n("23e7"),a=n("4930"),i=n("d039"),o=n("7418"),c=n("7b0b"),s=!a||i((function(){o.f(1)}));r({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(t){var e=o.f;return e?e(c(t)):[]}})},"746f":function(t,e,n){var r=n("428f"),a=n("1a2d"),i=n("e538"),o=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});a(e,t)||o(e,t,{value:i.f(t)})}},8414:function(t,e,n){"use strict";n("c214")},"99af":function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("d039"),o=n("e8b5"),c=n("861d"),s=n("7b0b"),u=n("07fa"),f=n("8418"),l=n("65f0"),d=n("1dde"),b=n("b622"),p=n("2d00"),h=b("isConcatSpreadable"),v=9007199254740991,m="Maximum allowed index exceeded",g=a.TypeError,w=p>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),y=d("concat"),x=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:o(t)},O=!w||!y;r({target:"Array",proto:!0,arity:1,forced:O},{concat:function(t){var e,n,r,a,i,o=s(this),c=l(o,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(i=-1===e?o:arguments[e],x(i)){if(a=u(i),d+a>v)throw g(m);for(n=0;n<a;n++,d++)n in i&&f(c,d,i[n])}else{if(d>=v)throw g(m);f(c,d++,i)}return c.length=d,c}})},a4d3:function(t,e,n){n("d9f5"),n("b4f8"),n("c513"),n("e9c4"),n("5a47")},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},b4f8:function(t,e,n){var r=n("23e7"),a=n("d066"),i=n("1a2d"),o=n("577e"),c=n("5692"),s=n("3d87"),u=c("string-to-symbol-registry"),f=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=o(t);if(i(u,e))return u[e];var n=a("Symbol")(e);return u[e]=n,f[n]=e,n}})},b64b:function(t,e,n){var r=n("23e7"),a=n("7b0b"),i=n("df75"),o=n("d039"),c=o((function(){i(1)}));r({target:"Object",stat:!0,forced:c},{keys:function(t){return i(a(t))}})},b6c2:function(t,e,n){t.exports=n.p+"img/mould_01_fail_pic.c6ecf7b9.png"},b843:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n("1da1"),a=(n("96cf"),n("d3b7"),n("99af"),n("e9c4"),n("d81d"),n("2934")),i=a["a"].validGame,o=a["a"].getGameRule,c=a["a"].gamePlay,s=a["a"].getGameNumberPolling,u="/pages/member-center/member-center/member-center-index",f="/pages/game/game-h5",l="/pages/open-card/open-card/open-card",d="/pages/access-2-h5/h5-share/h5-share",b="/pages/points-mall/points-detail/points-detail",p="/pages/member-center/coupon/coupon-list/coupon-list";function h(t){var e,n=this;t&&(e=t),this.init=function(t){e=t};var a=function(t){e.alertOptions=t},h=function(){e.alertOptions={}},v=function(){return new Promise((function(t,n){var r=e.$route.query;+r.isAttest?t():(n(),a({show:!0,content:"成为会员才可参与游戏哦~\n快认证成为会员赢好礼吧!",buttonList:[{text:"立即认证",click:function(){h(),x()}}],cancel:function(){h()}}))}))},m=function(){return new Promise((function(t,n){var r=e.game,i="无法参与游戏";switch(+r.status){case 0:i="游戏还没开始,请耐心等待,\n去其他地方先逛逛吧~";break;case 1:return void t();case 2:i="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 3:i="来晚一步,游戏已下架,\n去其它地方看看吧~";break;default:break}n(),a({show:!0,content:i,buttonList:[{text:"前往会员中心",click:function(){h(),O()}}],cancel:function(){h()}})}))},g=function(){return new Promise((function(t){i(e.$route.query).then(t).catch((function(){a({show:!0,title:"很遗憾",content:"您暂无权限参加本次游戏,详情请查看游戏规则",buttonList:[{text:"查看规则",click:function(){h(),n.toGameRule()}}],cancel:function(){h()}})}))}))},w=function(){return new Promise((function(t,n){c(e.$route.query).then(t).catch((function(t){n(t);var r="",i="",o=[{text:"前往会员中心",click:function(){h(),O()}}];switch(console.log("res-----\x3e",t),+t.code){case 2001:r="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 2002:r="游戏还没开始,请耐心等待,\n去其他地方看看吧~";break;case 2003:i="很遗憾",r="您暂无权限参加本次游戏,\n详情请查看游戏规则",o=[{text:"查看规则",click:function(){h(),e.toGameRule()}}];break;case 2004:r="游戏次数已达上限,\n去其他地方看看吧~";break;case 2005:i="游戏剩余次数已用完",r="每邀请".concat(e.shareConditionObj.inviteNum,"位好友助力即可获得").concat(e.shareConditionObj.value,"次游戏机会哦~"),o=[{text:"分享好友",click:function(){e.shareWx(),h()}},{text:"分享朋友圈",click:function(){e.sharePyq(),h()}}];break;case 2006:r="当前积分不足,\n去先去获取些积分吧~",o=[{text:"立即获取积分",click:function(){h(),window.wx.miniProgram.navigateTo({url:"/"+e.rule.dumpPath})}}];break;case 2007:r="今日免费次数已用完,\n明早继续";break;case 2008:r="免费游戏次数已达上限,\n去其他地方看看吧~";break;default:r=t.message||"系统异常",o=[];break}(i||r)&&a({show:!0,title:i,content:r,buttonList:o,cancel:function(){h()}})}))}))};this.play=function(){return m().then(v).then(g).then((function(){return w()}))},this.checkAttest=v;var y,x=function(){var t=e.$route.query,n=l,r={type:2,data:{path:"".concat(f,"?gameId=").concat(t.gameId,"&enterpriseId=").concat(t.enterpriseId,"&shareMemberId=").concat(t.shareMemberId||"","&isFrom=openCard")}};n+="?intent="+encodeURIComponent(JSON.stringify(r)),window.wx.miniProgram.navigateTo({url:n})},O=function(){window.wx.miniProgram.reLaunch({url:u})};this.shareWx=function(t){var e="".concat(d,"?shareOptions=").concat(encodeURIComponent(JSON.stringify(t)),"&content=邀好友助力加参与游戏次数,赢好礼&confirmText=立即分享");window.wx.miniProgram.navigateTo({url:e})},this.support=Object(r["a"])(regeneratorRuntime.mark((function t(){var n,r,i,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$route.query,2!=e.helpDetail.helpStatus){t.next=4;break}return a({show:!0,content:"您已助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 4:if(n.memberId!=n.shareMemberId){t.next=7;break}return a({show:!0,content:"无法为自己助力,赶快邀请好友助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 7:return t.next=9,o({gameId:n.gameId,enterpriseId:n.enterpriseId});case 9:i=t.sent,c=i.gameRuleConditionList||[],c.map((function(t){var e=JSON.parse(t.conditionJson);11!=+e.type&&12!=+e.type||(r=e)})),11==r.type?+n.isAttest?a({show:!0,content:"很遗憾,您已成为会员,无法助力好友,可立即参与游戏,赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}):a({show:!0,content:"仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼",buttonList:[{text:"立即认证会员",click:function(){h(),x()}}],cancel:function(){h()}}):12==r.type&&e.sharePyq(r);case 13:case"end":return t.stop()}}),t)})));var k=function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$route.query,t.next=3,s({gameId:n.gameId,enterpriseId:n.enterpriseId,memberId:n.memberId});case 3:r=t.sent,e.playNumberObj.playNumber=r;case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return this.startPolling=function(){y=setInterval((function(){k()}),1e4)},this.stopPolling=function(){clearInterval(y)},this.toIntegralDetail=function(){window.wx.miniProgram.navigateTo({url:b})},this.toCouponList=function(){window.wx.miniProgram.navigateTo({url:p})},this}},c214:function(t,e,n){},c513:function(t,e,n){var r=n("23e7"),a=n("1a2d"),i=n("d9b5"),o=n("0d51"),c=n("5692"),s=n("3d87"),u=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!i(t))throw TypeError(o(t)+" is not a symbol");if(a(u,t))return u[t]}})},d9f5:function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("c65b"),o=n("e330"),c=n("c430"),s=n("83ab"),u=n("4930"),f=n("d039"),l=n("1a2d"),d=n("3a9b"),b=n("825a"),p=n("fc6a"),h=n("a04b"),v=n("577e"),m=n("5c6c"),g=n("7c73"),w=n("df75"),y=n("241c"),x=n("057f"),O=n("7418"),k=n("06cf"),P=n("9bf2"),C=n("37e8"),j=n("d1e7"),I=n("cb2d"),S=n("5692"),$=n("f772"),_=n("d012"),D=n("90e3"),E=n("b622"),R=n("e538"),L=n("746f"),N=n("57b9"),T=n("d44e"),q=n("69f3"),M=n("b727").forEach,z=$("hidden"),F="Symbol",G="prototype",A=q.set,J=q.getterFor(F),H=Object[G],U=a.Symbol,W=U&&U[G],Q=a.TypeError,Y=a.QObject,B=k.f,K=P.f,V=x.f,X=j.f,Z=o([].push),tt=S("symbols"),et=S("op-symbols"),nt=S("wks"),rt=!Y||!Y[G]||!Y[G].findChild,at=s&&f((function(){return 7!=g(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=B(H,e);r&&delete H[e],K(t,e,n),r&&t!==H&&K(H,e,r)}:K,it=function(t,e){var n=tt[t]=g(W);return A(n,{type:F,tag:t,description:e}),s||(n.description=e),n},ot=function(t,e,n){t===H&&ot(et,e,n),b(t);var r=h(e);return b(n),l(tt,r)?(n.enumerable?(l(t,z)&&t[z][r]&&(t[z][r]=!1),n=g(n,{enumerable:m(0,!1)})):(l(t,z)||K(t,z,m(1,{})),t[z][r]=!0),at(t,r,n)):K(t,r,n)},ct=function(t,e){b(t);var n=p(e),r=w(n).concat(dt(n));return M(r,(function(e){s&&!i(ut,n,e)||ot(t,e,n[e])})),t},st=function(t,e){return void 0===e?g(t):ct(g(t),e)},ut=function(t){var e=h(t),n=i(X,this,e);return!(this===H&&l(tt,e)&&!l(et,e))&&(!(n||!l(this,e)||!l(tt,e)||l(this,z)&&this[z][e])||n)},ft=function(t,e){var n=p(t),r=h(e);if(n!==H||!l(tt,r)||l(et,r)){var a=B(n,r);return!a||!l(tt,r)||l(n,z)&&n[z][r]||(a.enumerable=!0),a}},lt=function(t){var e=V(p(t)),n=[];return M(e,(function(t){l(tt,t)||l(_,t)||Z(n,t)})),n},dt=function(t){var e=t===H,n=V(e?et:p(t)),r=[];return M(n,(function(t){!l(tt,t)||e&&!l(H,t)||Z(r,tt[t])})),r};u||(U=function(){if(d(W,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,e=D(t),n=function(t){this===H&&i(n,et,t),l(this,z)&&l(this[z],e)&&(this[z][e]=!1),at(this,e,m(1,t))};return s&&rt&&at(H,e,{configurable:!0,set:n}),it(e,t)},W=U[G],I(W,"toString",(function(){return J(this).tag})),I(U,"withoutSetter",(function(t){return it(D(t),t)})),j.f=ut,P.f=ot,C.f=ct,k.f=ft,y.f=x.f=lt,O.f=dt,R.f=function(t){return it(E(t),t)},s&&(K(W,"description",{configurable:!0,get:function(){return J(this).description}}),c||I(H,"propertyIsEnumerable",ut,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),M(w(nt),(function(t){L(t)})),r({target:F,stat:!0,forced:!u},{useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:st,defineProperty:ot,defineProperties:ct,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt}),N(),T(U,F),_[z]=!0},dbb4:function(t,e,n){var r=n("23e7"),a=n("83ab"),i=n("56ef"),o=n("fc6a"),c=n("06cf"),s=n("8418");r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),a=c.f,u=i(r),f={},l=0;while(u.length>l)n=a(r,e=u[l++]),void 0!==n&&s(f,e,n);return f}})},df55:function(t,e,n){t.exports=n.p+"img/rulebg.bb315b1e.png"},e439:function(t,e,n){var r=n("23e7"),a=n("d039"),i=n("fc6a"),o=n("06cf").f,c=n("83ab"),s=a((function(){o(1)})),u=!c||s;r({target:"Object",stat:!0,forced:u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return o(i(t),e)}})},e538:function(t,e,n){var r=n("b622");e.f=r}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-27dfcc10"],{"01bb":function(t,e,n){"use strict";n("adc3")},"0cb2":function(t,e,n){var a=n("e330"),r=n("7b0b"),i=Math.floor,c=a("".charAt),s=a("".replace),o=a("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,a,d,m){var g=n+t.length,f=a.length,h=l;return void 0!==d&&(d=r(d),h=u),s(m,h,(function(r,s){var u;switch(c(s,0)){case"$":return"$";case"&":return t;case"`":return o(e,0,n);case"'":return o(e,g);case"<":u=d[o(s,1,-1)];break;default:var l=+s;if(0===l)return r;if(l>f){var m=i(l/10);return 0===m?r:m<=f?void 0===a[m-1]?c(s,1):a[m-1]+c(s,1):r}u=a[l-1]}return void 0===u?"":u}))}},"1f59":function(t,e,n){"use strict";n("7d6e")},5319:function(t,e,n){"use strict";var a=n("2ba4"),r=n("c65b"),i=n("e330"),c=n("d784"),s=n("d039"),o=n("825a"),u=n("1626"),l=n("5926"),d=n("50c4"),m=n("577e"),g=n("1d80"),f=n("8aa5"),h=n("dc4a"),p=n("0cb2"),v=n("14c3"),b=n("b622"),w=b("replace"),I=Math.max,x=Math.min,C=i([].concat),k=i([].push),y=i("".indexOf),_=i("".slice),$=function(t){return void 0===t?t:String(t)},O=function(){return"$0"==="a".replace(/./,"$0")}(),P=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),R=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));c("replace",(function(t,e,n){var i=P?"$":"$0";return[function(t,n){var a=g(this),i=void 0==t?void 0:h(t,w);return i?r(i,t,a,n):r(e,m(a),t,n)},function(t,r){var c=o(this),s=m(t);if("string"==typeof r&&-1===y(r,i)&&-1===y(r,"$<")){var g=n(e,c,s,r);if(g.done)return g.value}var h=u(r);h||(r=m(r));var b=c.global;if(b){var w=c.unicode;c.lastIndex=0}var O=[];while(1){var P=v(c,s);if(null===P)break;if(k(O,P),!b)break;var R=m(P[0]);""===R&&(c.lastIndex=f(s,d(c.lastIndex),w))}for(var q="",L=0,D=0;D<O.length;D++){P=O[D];for(var S=m(P[0]),E=I(x(l(P.index),s.length),0),U=[],G=1;G<P.length;G++)k(U,$(P[G]));var M=P.groups;if(h){var j=C([S],U,E,s);void 0!==M&&k(j,M);var A=m(a(r,void 0,j))}else A=p(S,s,E,U,M,r);E>=L&&(q+=_(s,L,E)+A,L=E+S.length)}return q+_(s,L)}]}),!R||!O||P)},5932:function(t,e,n){"use strict";n("d2dc")},"6da4":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show&&(t.title||t.content||t.buttonList&&t.buttonList.length)?n("div",{staticClass:"dialog-bg"},[n("div",{staticClass:"content"},[n("div",{staticClass:"content-detail-bg"},[n("div",{staticClass:"content-detail"},[t.title?n("div",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t.content?n("div",{staticClass:"subtitle"},[t._v(t._s(t.content))]):t._e(),t.buttonList&&t.buttonList.length?n("div",{staticClass:"handle-btn-box"},t._l(t.buttonList,(function(e){return n("div",{key:e,staticClass:"handle-btn",on:{click:function(t){return e.click()}}},[t._v(" "+t._s(e.text)+" ")])})),0):t._e()])]),n("div",{staticClass:"iconfont icon-guanbi",on:{click:t.close}})])]):t._e()},r=[],i={props:{show:Boolean,title:{type:String,default:"提示"},content:{type:String,default:"提示内容"},buttonList:{type:Object,default:function(){return[{text:"btn1",click:function(){console.log("click1")}},{text:"btn1",click:function(){console.log("click2")}}]}},cancel:{type:Function,default:function(){console.log("cancel")}}},data:function(){return{}},methods:{close:function(){this.$emit("update:show",!1),this.options.cancel()}}},c=i,s=(n("1f59"),n("2877")),o=Object(s["a"])(c,a,r,!1,null,"c3a8763e",null);e["a"]=o.exports},"7d6e":function(t,e,n){},"81d5":function(t,e,n){"use strict";var a=n("7b0b"),r=n("23cb"),i=n("07fa");t.exports=function(t){var e=a(this),n=i(e),c=arguments.length,s=r(c>1?arguments[1]:void 0,n),o=c>2?arguments[2]:void 0,u=void 0===o?n:r(o,n);while(u>s)e[s++]=t;return e}},"99af":function(t,e,n){"use strict";var a=n("23e7"),r=n("da84"),i=n("d039"),c=n("e8b5"),s=n("861d"),o=n("7b0b"),u=n("07fa"),l=n("8418"),d=n("65f0"),m=n("1dde"),g=n("b622"),f=n("2d00"),h=g("isConcatSpreadable"),p=9007199254740991,v="Maximum allowed index exceeded",b=r.TypeError,w=f>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),I=m("concat"),x=function(t){if(!s(t))return!1;var e=t[h];return void 0!==e?!!e:c(t)},C=!w||!I;a({target:"Array",proto:!0,arity:1,forced:C},{concat:function(t){var e,n,a,r,i,c=o(this),s=d(c,0),m=0;for(e=-1,a=arguments.length;e<a;e++)if(i=-1===e?c:arguments[e],x(i)){if(r=u(i),m+r>p)throw b(v);for(n=0;n<r;n++,m++)n in i&&l(s,m,i[n])}else{if(m>=p)throw b(v);l(s,m++,i)}return s.length=m,s}})},a4fa:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"box"},[t.game&&t.game.gameExt&&t.game.gameExt.bgHelpUrl?n("div",{staticClass:"page-bg"},[n("img",{staticClass:"bg-img",attrs:{src:t.game.gameExt.bgHelpUrl,mode:"widthFix"}})]):t._e(),n("div",{staticClass:"content"},[n("div",{staticClass:"content-top"},[t.game&&t.game.gameExt&&t.game.gameExt.bgBannerHelpUrl?n("img",{staticClass:"top-img",attrs:{src:t.game.gameExt.bgBannerHelpUrl,mode:"widthFix"}}):t._e(),t._m(0)]),n("div",{staticClass:"content-cell"},[n("div",{staticClass:"header-img-box"},[n("img",{staticClass:"header-img",attrs:{src:t.helpDetail.shareMemberImage}})]),n("div",{staticClass:"friend-name"},[t._v("你的好友 "+t._s(t.helpDetail.shareMemberName))]),n("div",{staticClass:"tip-text"},[t._v("正在请求您的助力")]),n("div",{staticClass:"handle-btn red",on:{click:t.support}},[t._v("为好友助力")]),n("div",{staticClass:"handle-btn blue",on:{click:t.toPlayGame}},[t._v("我要参加游戏")])]),t.gameReward&&t.gameReward.length?n("div",{staticClass:"content-cell"},[t._m(1),n("div",{staticClass:"reward-box"},t._l(t.gameReward,(function(e){return n("div",{key:e,staticClass:"reward-item-box"},[n("div",{staticClass:"reward-item-detail"},[n("div",{staticClass:"img-box"},[n("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),n("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),n("div",{staticClass:"reward-des"},[t._v(t._s(e.prizeDesc))])])])})),0)]):t._e()]),n("share-img-dialog",t._b({attrs:{show:t.showShareImgDialog},on:{"update:show":function(e){t.showShareImgDialog=e}}},"share-img-dialog",t.pyqOptions,!1)),n("alert-dialog",t._b({},"alert-dialog",t.alertOptions,!1,!0))],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"top-tip-box"},[n("div",{staticClass:"line left"}),n("div",{staticClass:"title"},[t._v("助力好友你也可以参加")]),n("div",{staticClass:"line right"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cell-top"},[n("div",{staticClass:"iconfont icon-duobianxing"}),n("div",{staticClass:"title"},[t._v("游戏奖品")]),n("div",{staticClass:"iconfont icon-duobianxing"})])}],i=n("1da1"),c=(n("ac1f"),n("5319"),n("96cf"),n("2934")),s=n("6da4"),o=n("f657"),u=n("b843"),l=c["a"].getHelpDetail,d=c["a"].getGameReward,m=c["a"].getGameInfo,g=c["a"].getGameShareQrCodeUrl,f={components:{ShareImgDialog:o["a"],AlertDialog:s["a"]},data:function(){return{alertOptions:{},showShareImgDialog:!1,game:{},helpDetail:{},gameReward:[]}},created:function(){document.title="游戏助力",this.manager=new u["a"](this),this.loadData()},methods:{loadData:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(t.$route.query),n=t.$route.query,e.next=4,l({enterpriseId:n.enterpriseId,shareMemberId:n.shareMemberId,gameId:n.gameId,helpMemberId:n.memberId||""});case 4:return t.helpDetail=e.sent,e.next=7,d({enterpriseId:n.enterpriseId,gameId:n.gameId});case 7:return t.gameReward=e.sent,e.next=10,m({enterpriseId:n.enterpriseId,gameId:n.gameId});case 10:t.game=e.sent;case 11:case"end":return e.stop()}}),e)})))()},toPlayGame:function(){var t=this.$route.query;this.$router.replace({path:"/cmh/3",query:{gameId:t.gameId,memberId:t.memberId||"",enterpriseId:t.enterpriseId,isAttest:t.isAttest}})},support:function(){this.manager.support()},sharePyq:function(t){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function n(){var a,r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=e.$route.query,n.next=3,g({gameId:a.gameId,enterpriseId:a.enterpriseId,memberId:a.shareMemberId||"",shareType:12==t.type?2:1});case 3:r=n.sent,e.pyqOptions={bgImage:t.shareReport,qrcodeUrl:r.qrCodeUrl},e.showShareImgDialog=!0;case 6:case"end":return n.stop()}}),n)})))()}}},h=f,p=(n("01bb"),n("2877")),v=Object(p["a"])(h,a,r,!1,null,"63309235",null);e["default"]=v.exports},adc3:function(t,e,n){},b843:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var a=n("1da1"),r=(n("96cf"),n("d3b7"),n("99af"),n("e9c4"),n("d81d"),n("2934")),i=r["a"].validGame,c=r["a"].getGameRule,s=r["a"].gamePlay,o=r["a"].getGameNumberPolling,u="/pages/member-center/member-center/member-center-index",l="/pages/game/game-h5",d="/pages/open-card/open-card/open-card",m="/pages/access-2-h5/h5-share/h5-share",g="/pages/points-mall/points-detail/points-detail",f="/pages/member-center/coupon/coupon-list/coupon-list";function h(t){var e,n=this;t&&(e=t),this.init=function(t){e=t};var r=function(t){e.alertOptions=t},h=function(){e.alertOptions={}},p=function(){return new Promise((function(t,n){var a=e.$route.query;+a.isAttest?t():(n(),r({show:!0,content:"成为会员才可参与游戏哦~\n快认证成为会员赢好礼吧!",buttonList:[{text:"立即认证",click:function(){h(),x()}}],cancel:function(){h()}}))}))},v=function(){return new Promise((function(t,n){var a=e.game,i="无法参与游戏";switch(+a.status){case 0:i="游戏还没开始,请耐心等待,\n去其他地方先逛逛吧~";break;case 1:return void t();case 2:i="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 3:i="来晚一步,游戏已下架,\n去其它地方看看吧~";break;default:break}n(),r({show:!0,content:i,buttonList:[{text:"前往会员中心",click:function(){h(),C()}}],cancel:function(){h()}})}))},b=function(){return new Promise((function(t){i(e.$route.query).then(t).catch((function(){r({show:!0,title:"很遗憾",content:"您暂无权限参加本次游戏,详情请查看游戏规则",buttonList:[{text:"查看规则",click:function(){h(),n.toGameRule()}}],cancel:function(){h()}})}))}))},w=function(){return new Promise((function(t,n){s(e.$route.query).then(t).catch((function(t){n(t);var a="",i="",c=[{text:"前往会员中心",click:function(){h(),C()}}];switch(console.log("res-----\x3e",t),+t.code){case 2001:a="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 2002:a="游戏还没开始,请耐心等待,\n去其他地方看看吧~";break;case 2003:i="很遗憾",a="您暂无权限参加本次游戏,\n详情请查看游戏规则",c=[{text:"查看规则",click:function(){h(),e.toGameRule()}}];break;case 2004:a="游戏次数已达上限,\n去其他地方看看吧~";break;case 2005:i="游戏剩余次数已用完",a="每邀请".concat(e.shareConditionObj.inviteNum,"位好友助力即可获得").concat(e.shareConditionObj.value,"次游戏机会哦~"),c=[{text:"分享好友",click:function(){e.shareWx(),h()}},{text:"分享朋友圈",click:function(){e.sharePyq(),h()}}];break;case 2006:a="当前积分不足,\n去先去获取些积分吧~",c=[{text:"立即获取积分",click:function(){h(),window.wx.miniProgram.navigateTo({url:"/"+e.rule.dumpPath})}}];break;case 2007:a="今日免费次数已用完,\n明早继续";break;case 2008:a="免费游戏次数已达上限,\n去其他地方看看吧~";break;default:a=t.message||"系统异常",c=[];break}(i||a)&&r({show:!0,title:i,content:a,buttonList:c,cancel:function(){h()}})}))}))};this.play=function(){return v().then(p).then(b).then((function(){return w()}))},this.checkAttest=p;var I,x=function(){var t=e.$route.query,n=d,a={type:2,data:{path:"".concat(l,"?gameId=").concat(t.gameId,"&enterpriseId=").concat(t.enterpriseId,"&shareMemberId=").concat(t.shareMemberId||"","&isFrom=openCard")}};n+="?intent="+encodeURIComponent(JSON.stringify(a)),window.wx.miniProgram.navigateTo({url:n})},C=function(){window.wx.miniProgram.reLaunch({url:u})};this.shareWx=function(t){var e="".concat(m,"?shareOptions=").concat(encodeURIComponent(JSON.stringify(t)),"&content=邀好友助力加参与游戏次数,赢好礼&confirmText=立即分享");window.wx.miniProgram.navigateTo({url:e})},this.support=Object(a["a"])(regeneratorRuntime.mark((function t(){var n,a,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$route.query,2!=e.helpDetail.helpStatus){t.next=4;break}return r({show:!0,content:"您已助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 4:if(n.memberId!=n.shareMemberId){t.next=7;break}return r({show:!0,content:"无法为自己助力,赶快邀请好友助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 7:return t.next=9,c({gameId:n.gameId,enterpriseId:n.enterpriseId});case 9:i=t.sent,s=i.gameRuleConditionList||[],s.map((function(t){var e=JSON.parse(t.conditionJson);11!=+e.type&&12!=+e.type||(a=e)})),11==a.type?+n.isAttest?r({show:!0,content:"很遗憾,您已成为会员,无法助力好友,可立即参与游戏,赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}):r({show:!0,content:"仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),x()}}],cancel:function(){h()}}):12==a.type&&e.sharePyq(a);case 13:case"end":return t.stop()}}),t)})));var k=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$route.query,t.next=3,o({gameId:n.gameId,enterpriseId:n.enterpriseId,memberId:n.memberId});case 3:a=t.sent,e.playNumberObj.playNumber=a;case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return this.startPolling=function(){I=setInterval((function(){k()}),1e4)},this.stopPolling=function(){clearInterval(I)},this.toIntegralDetail=function(){window.wx.miniProgram.navigateTo({url:g})},this.toCouponList=function(){window.wx.miniProgram.navigateTo({url:f})},this}},cb29:function(t,e,n){var a=n("23e7"),r=n("81d5"),i=n("44d2");a({target:"Array",proto:!0},{fill:r}),i("fill")},d2dc:function(t,e,n){},f657:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show&&t.bgImage&&t.qrcodeUrl?n("div",{staticClass:"dialog-bg"},[n("canvas",{staticClass:"img-canvas",attrs:{id:"canvas",width:"560",height:"996"}}),n("div",{staticClass:"content"},[n("img",{staticClass:"box-img",attrs:{mode:"widthFix",id:"shareImage"}}),n("div",{staticClass:"tips"},[t._v("长按保存至相册,打开朋友圈选取海报转发")]),n("div",{staticClass:"iconfont icon-guanbi",on:{click:t.close}})])]):t._e()},r=[],i=(n("cb29"),{props:{bgImage:String,qrcodeUrl:String,show:Boolean},data:function(){return{}},created:function(){},methods:{drawImage:function(){var t=this,e=560,n=996,a=document.createElement("canvas");a.width=e,a.height=n;var r=a.getContext("2d");r.rect(0,0,a.width,a.height),r.fillStyle="#fff",r.fill();var i=new Image;i.width=e,i.height=n,i.crossOrigin="Anonymous",i.src=this.bgImage,i.onload=function(){r.drawImage(i,0,0,e,n);var c=new Image;c.src=t.qrcodeUrl,c.width=120,c.height=120,c.crossOrigin="Anonymous",c.onload=function(){r.drawImage(c,400,824,120,120);var t=a.toDataURL("image/png"),e=document.getElementById("shareImage");e.src=t}}},again:function(){this.$emit("again"),this.close()},close:function(){this.$emit("update:show",!1)}},watch:{show:function(t){t&&this.drawImage()}}}),c=i,s=(n("5932"),n("2877")),o=Object(s["a"])(c,a,r,!1,null,"bb921d64",null);e["a"]=o.exports}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-27dfcc10"],{"01bb":function(t,e,n){"use strict";n("adc3")},"0cb2":function(t,e,n){var a=n("e330"),r=n("7b0b"),i=Math.floor,c=a("".charAt),s=a("".replace),o=a("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,a,d,m){var g=n+t.length,f=a.length,h=l;return void 0!==d&&(d=r(d),h=u),s(m,h,(function(r,s){var u;switch(c(s,0)){case"$":return"$";case"&":return t;case"`":return o(e,0,n);case"'":return o(e,g);case"<":u=d[o(s,1,-1)];break;default:var l=+s;if(0===l)return r;if(l>f){var m=i(l/10);return 0===m?r:m<=f?void 0===a[m-1]?c(s,1):a[m-1]+c(s,1):r}u=a[l-1]}return void 0===u?"":u}))}},"1f59":function(t,e,n){"use strict";n("7d6e")},5319:function(t,e,n){"use strict";var a=n("2ba4"),r=n("c65b"),i=n("e330"),c=n("d784"),s=n("d039"),o=n("825a"),u=n("1626"),l=n("5926"),d=n("50c4"),m=n("577e"),g=n("1d80"),f=n("8aa5"),h=n("dc4a"),p=n("0cb2"),v=n("14c3"),b=n("b622"),w=b("replace"),I=Math.max,x=Math.min,C=i([].concat),k=i([].push),y=i("".indexOf),_=i("".slice),$=function(t){return void 0===t?t:String(t)},O=function(){return"$0"==="a".replace(/./,"$0")}(),P=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),R=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));c("replace",(function(t,e,n){var i=P?"$":"$0";return[function(t,n){var a=g(this),i=void 0==t?void 0:h(t,w);return i?r(i,t,a,n):r(e,m(a),t,n)},function(t,r){var c=o(this),s=m(t);if("string"==typeof r&&-1===y(r,i)&&-1===y(r,"$<")){var g=n(e,c,s,r);if(g.done)return g.value}var h=u(r);h||(r=m(r));var b=c.global;if(b){var w=c.unicode;c.lastIndex=0}var O=[];while(1){var P=v(c,s);if(null===P)break;if(k(O,P),!b)break;var R=m(P[0]);""===R&&(c.lastIndex=f(s,d(c.lastIndex),w))}for(var q="",L=0,D=0;D<O.length;D++){P=O[D];for(var S=m(P[0]),E=I(x(l(P.index),s.length),0),U=[],G=1;G<P.length;G++)k(U,$(P[G]));var M=P.groups;if(h){var j=C([S],U,E,s);void 0!==M&&k(j,M);var A=m(a(r,void 0,j))}else A=p(S,s,E,U,M,r);E>=L&&(q+=_(s,L,E)+A,L=E+S.length)}return q+_(s,L)}]}),!R||!O||P)},5932:function(t,e,n){"use strict";n("d2dc")},"6da4":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show&&(t.title||t.content||t.buttonList&&t.buttonList.length)?n("div",{staticClass:"dialog-bg"},[n("div",{staticClass:"content"},[n("div",{staticClass:"content-detail-bg"},[n("div",{staticClass:"content-detail"},[t.title?n("div",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t.content?n("div",{staticClass:"subtitle"},[t._v(t._s(t.content))]):t._e(),t.buttonList&&t.buttonList.length?n("div",{staticClass:"handle-btn-box"},t._l(t.buttonList,(function(e){return n("div",{key:e,staticClass:"handle-btn",on:{click:function(t){return e.click()}}},[t._v(" "+t._s(e.text)+" ")])})),0):t._e()])]),n("div",{staticClass:"iconfont icon-guanbi",on:{click:t.close}})])]):t._e()},r=[],i={props:{show:Boolean,title:{type:String,default:"提示"},content:{type:String,default:"提示内容"},buttonList:{type:Object,default:function(){return[{text:"btn1",click:function(){console.log("click1")}},{text:"btn1",click:function(){console.log("click2")}}]}},cancel:{type:Function,default:function(){console.log("cancel")}}},data:function(){return{}},methods:{close:function(){this.$emit("update:show",!1),this.options.cancel()}}},c=i,s=(n("1f59"),n("2877")),o=Object(s["a"])(c,a,r,!1,null,"c3a8763e",null);e["a"]=o.exports},"7d6e":function(t,e,n){},"81d5":function(t,e,n){"use strict";var a=n("7b0b"),r=n("23cb"),i=n("07fa");t.exports=function(t){var e=a(this),n=i(e),c=arguments.length,s=r(c>1?arguments[1]:void 0,n),o=c>2?arguments[2]:void 0,u=void 0===o?n:r(o,n);while(u>s)e[s++]=t;return e}},"99af":function(t,e,n){"use strict";var a=n("23e7"),r=n("da84"),i=n("d039"),c=n("e8b5"),s=n("861d"),o=n("7b0b"),u=n("07fa"),l=n("8418"),d=n("65f0"),m=n("1dde"),g=n("b622"),f=n("2d00"),h=g("isConcatSpreadable"),p=9007199254740991,v="Maximum allowed index exceeded",b=r.TypeError,w=f>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),I=m("concat"),x=function(t){if(!s(t))return!1;var e=t[h];return void 0!==e?!!e:c(t)},C=!w||!I;a({target:"Array",proto:!0,arity:1,forced:C},{concat:function(t){var e,n,a,r,i,c=o(this),s=d(c,0),m=0;for(e=-1,a=arguments.length;e<a;e++)if(i=-1===e?c:arguments[e],x(i)){if(r=u(i),m+r>p)throw b(v);for(n=0;n<r;n++,m++)n in i&&l(s,m,i[n])}else{if(m>=p)throw b(v);l(s,m++,i)}return s.length=m,s}})},a4fa:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"box"},[t.game&&t.game.gameExt&&t.game.gameExt.bgHelpUrl?n("div",{staticClass:"page-bg"},[n("img",{staticClass:"bg-img",attrs:{src:t.game.gameExt.bgHelpUrl,mode:"widthFix"}})]):t._e(),n("div",{staticClass:"content"},[n("div",{staticClass:"content-top"},[t.game&&t.game.gameExt&&t.game.gameExt.bgBannerHelpUrl?n("img",{staticClass:"top-img",attrs:{src:t.game.gameExt.bgBannerHelpUrl,mode:"widthFix"}}):t._e(),t._m(0)]),n("div",{staticClass:"content-cell"},[n("div",{staticClass:"header-img-box"},[n("img",{staticClass:"header-img",attrs:{src:t.helpDetail.shareMemberImage}})]),n("div",{staticClass:"friend-name"},[t._v("你的好友 "+t._s(t.helpDetail.shareMemberName))]),n("div",{staticClass:"tip-text"},[t._v("正在请求您的助力")]),n("div",{staticClass:"handle-btn red",on:{click:t.support}},[t._v("为好友助力")]),n("div",{staticClass:"handle-btn blue",on:{click:t.toPlayGame}},[t._v("我要参加游戏")])]),t.gameReward&&t.gameReward.length?n("div",{staticClass:"content-cell"},[t._m(1),n("div",{staticClass:"reward-box"},t._l(t.gameReward,(function(e){return n("div",{key:e,staticClass:"reward-item-box"},[n("div",{staticClass:"reward-item-detail"},[n("div",{staticClass:"img-box"},[n("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),n("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),n("div",{staticClass:"reward-des"},[t._v(t._s(e.prizeDesc))])])])})),0)]):t._e()]),n("share-img-dialog",t._b({attrs:{show:t.showShareImgDialog},on:{"update:show":function(e){t.showShareImgDialog=e}}},"share-img-dialog",t.pyqOptions,!1)),n("alert-dialog",t._b({},"alert-dialog",t.alertOptions,!1,!0))],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"top-tip-box"},[n("div",{staticClass:"line left"}),n("div",{staticClass:"title"},[t._v("助力好友你也可以参加")]),n("div",{staticClass:"line right"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cell-top"},[n("div",{staticClass:"iconfont icon-duobianxing"}),n("div",{staticClass:"title"},[t._v("游戏奖品")]),n("div",{staticClass:"iconfont icon-duobianxing"})])}],i=n("1da1"),c=(n("ac1f"),n("5319"),n("96cf"),n("2934")),s=n("6da4"),o=n("f657"),u=n("b843"),l=c["a"].getHelpDetail,d=c["a"].getGameReward,m=c["a"].getGameInfo,g=c["a"].getGameShareQrCodeUrl,f={components:{ShareImgDialog:o["a"],AlertDialog:s["a"]},data:function(){return{alertOptions:{},showShareImgDialog:!1,game:{},helpDetail:{},gameReward:[]}},created:function(){document.title="游戏助力",this.manager=new u["a"](this),this.loadData()},methods:{loadData:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(t.$route.query),n=t.$route.query,e.next=4,l({enterpriseId:n.enterpriseId,shareMemberId:n.shareMemberId,gameId:n.gameId,helpMemberId:n.memberId||""});case 4:return t.helpDetail=e.sent,e.next=7,d({enterpriseId:n.enterpriseId,gameId:n.gameId});case 7:return t.gameReward=e.sent,e.next=10,m({enterpriseId:n.enterpriseId,gameId:n.gameId});case 10:t.game=e.sent;case 11:case"end":return e.stop()}}),e)})))()},toPlayGame:function(){var t=this.$route.query;this.$router.replace({path:"/cmh/3",query:{gameId:t.gameId,memberId:t.memberId||"",enterpriseId:t.enterpriseId,isAttest:t.isAttest}})},support:function(){this.manager.support()},sharePyq:function(t){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function n(){var a,r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=e.$route.query,n.next=3,g({gameId:a.gameId,enterpriseId:a.enterpriseId,memberId:a.shareMemberId||"",shareType:12==t.type?2:1});case 3:r=n.sent,e.pyqOptions={bgImage:t.shareReport,qrcodeUrl:r.qrCodeUrl},e.showShareImgDialog=!0;case 6:case"end":return n.stop()}}),n)})))()}}},h=f,p=(n("01bb"),n("2877")),v=Object(p["a"])(h,a,r,!1,null,"63309235",null);e["default"]=v.exports},adc3:function(t,e,n){},b843:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var a=n("1da1"),r=(n("96cf"),n("d3b7"),n("99af"),n("e9c4"),n("d81d"),n("2934")),i=r["a"].validGame,c=r["a"].getGameRule,s=r["a"].gamePlay,o=r["a"].getGameNumberPolling,u="/pages/member-center/member-center/member-center-index",l="/pages/game/game-h5",d="/pages/open-card/open-card/open-card",m="/pages/access-2-h5/h5-share/h5-share",g="/pages/points-mall/points-detail/points-detail",f="/pages/member-center/coupon/coupon-list/coupon-list";function h(t){var e,n=this;t&&(e=t),this.init=function(t){e=t};var r=function(t){e.alertOptions=t},h=function(){e.alertOptions={}},p=function(){return new Promise((function(t,n){var a=e.$route.query;+a.isAttest?t():(n(),r({show:!0,content:"成为会员才可参与游戏哦~\n快认证成为会员赢好礼吧!",buttonList:[{text:"立即认证",click:function(){h(),x()}}],cancel:function(){h()}}))}))},v=function(){return new Promise((function(t,n){var a=e.game,i="无法参与游戏";switch(+a.status){case 0:i="游戏还没开始,请耐心等待,\n去其他地方先逛逛吧~";break;case 1:return void t();case 2:i="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 3:i="来晚一步,游戏已下架,\n去其它地方看看吧~";break;default:break}n(),r({show:!0,content:i,buttonList:[{text:"前往会员中心",click:function(){h(),C()}}],cancel:function(){h()}})}))},b=function(){return new Promise((function(t){i(e.$route.query).then(t).catch((function(){r({show:!0,title:"很遗憾",content:"您暂无权限参加本次游戏,详情请查看游戏规则",buttonList:[{text:"查看规则",click:function(){h(),n.toGameRule()}}],cancel:function(){h()}})}))}))},w=function(){return new Promise((function(t,n){s(e.$route.query).then(t).catch((function(t){n(t);var a="",i="",c=[{text:"前往会员中心",click:function(){h(),C()}}];switch(console.log("res-----\x3e",t),+t.code){case 2001:a="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 2002:a="游戏还没开始,请耐心等待,\n去其他地方看看吧~";break;case 2003:i="很遗憾",a="您暂无权限参加本次游戏,\n详情请查看游戏规则",c=[{text:"查看规则",click:function(){h(),e.toGameRule()}}];break;case 2004:a="游戏次数已达上限,\n去其他地方看看吧~";break;case 2005:i="游戏剩余次数已用完",a="每邀请".concat(e.shareConditionObj.inviteNum,"位好友助力即可获得").concat(e.shareConditionObj.value,"次游戏机会哦~"),c=[{text:"分享好友",click:function(){e.shareWx(),h()}},{text:"分享朋友圈",click:function(){e.sharePyq(),h()}}];break;case 2006:a="当前积分不足,\n去先去获取些积分吧~",c=[{text:"立即获取积分",click:function(){h(),window.wx.miniProgram.navigateTo({url:"/"+e.rule.dumpPath})}}];break;case 2007:a="今日免费次数已用完,\n明早继续";break;case 2008:a="免费游戏次数已达上限,\n去其他地方看看吧~";break;default:a=t.message||"系统异常",c=[];break}(i||a)&&r({show:!0,title:i,content:a,buttonList:c,cancel:function(){h()}})}))}))};this.play=function(){return v().then(p).then(b).then((function(){return w()}))},this.checkAttest=p;var I,x=function(){var t=e.$route.query,n=d,a={type:2,data:{path:"".concat(l,"?gameId=").concat(t.gameId,"&enterpriseId=").concat(t.enterpriseId,"&shareMemberId=").concat(t.shareMemberId||"","&isFrom=openCard")}};n+="?intent="+encodeURIComponent(JSON.stringify(a)),window.wx.miniProgram.navigateTo({url:n})},C=function(){window.wx.miniProgram.reLaunch({url:u})};this.shareWx=function(t){var e="".concat(m,"?shareOptions=").concat(encodeURIComponent(JSON.stringify(t)),"&content=邀好友助力加参与游戏次数,赢好礼&confirmText=立即分享");window.wx.miniProgram.navigateTo({url:e})},this.support=Object(a["a"])(regeneratorRuntime.mark((function t(){var n,a,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$route.query,2!=e.helpDetail.helpStatus){t.next=4;break}return r({show:!0,content:"您已助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 4:if(n.memberId!=n.shareMemberId){t.next=7;break}return r({show:!0,content:"无法为自己助力,赶快邀请好友助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 7:return t.next=9,c({gameId:n.gameId,enterpriseId:n.enterpriseId});case 9:i=t.sent,s=i.gameRuleConditionList||[],s.map((function(t){var e=JSON.parse(t.conditionJson);11!=+e.type&&12!=+e.type||(a=e)})),11==a.type?+n.isAttest?r({show:!0,content:"很遗憾,您已成为会员,无法助力好友,可立即参与游戏,赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}):r({show:!0,content:"仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼",buttonList:[{text:"立即认证会员",click:function(){h(),x()}}],cancel:function(){h()}}):12==a.type&&e.sharePyq(a);case 13:case"end":return t.stop()}}),t)})));var k=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$route.query,t.next=3,o({gameId:n.gameId,enterpriseId:n.enterpriseId,memberId:n.memberId});case 3:a=t.sent,e.playNumberObj.playNumber=a;case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return this.startPolling=function(){I=setInterval((function(){k()}),1e4)},this.stopPolling=function(){clearInterval(I)},this.toIntegralDetail=function(){window.wx.miniProgram.navigateTo({url:g})},this.toCouponList=function(){window.wx.miniProgram.navigateTo({url:f})},this}},cb29:function(t,e,n){var a=n("23e7"),r=n("81d5"),i=n("44d2");a({target:"Array",proto:!0},{fill:r}),i("fill")},d2dc:function(t,e,n){},f657:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show&&t.bgImage&&t.qrcodeUrl?n("div",{staticClass:"dialog-bg"},[n("canvas",{staticClass:"img-canvas",attrs:{id:"canvas",width:"560",height:"996"}}),n("div",{staticClass:"content"},[n("img",{staticClass:"box-img",attrs:{mode:"widthFix",id:"shareImage"}}),n("div",{staticClass:"tips"},[t._v("长按保存至相册,打开朋友圈选取海报转发")]),n("div",{staticClass:"iconfont icon-guanbi",on:{click:t.close}})])]):t._e()},r=[],i=(n("cb29"),{props:{bgImage:String,qrcodeUrl:String,show:Boolean},data:function(){return{}},created:function(){},methods:{drawImage:function(){var t=this,e=560,n=996,a=document.createElement("canvas");a.width=e,a.height=n;var r=a.getContext("2d");r.rect(0,0,a.width,a.height),r.fillStyle="#fff",r.fill();var i=new Image;i.width=e,i.height=n,i.crossOrigin="Anonymous",i.src=this.bgImage,i.onload=function(){r.drawImage(i,0,0,e,n);var c=new Image;c.src=t.qrcodeUrl,c.width=120,c.height=120,c.crossOrigin="Anonymous",c.onload=function(){r.drawImage(c,400,824,120,120);var t=a.toDataURL("image/png"),e=document.getElementById("shareImage");e.src=t}}},again:function(){this.$emit("again"),this.close()},close:function(){this.$emit("update:show",!1)}},watch:{show:function(t){t&&this.drawImage()}}}),c=i,s=(n("5932"),n("2877")),o=Object(s["a"])(c,a,r,!1,null,"bb921d64",null);e["a"]=o.exports}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3566c97c"],{"0b42":function(e,r,t){var n=t("da84"),a=t("e8b5"),o=t("68ee"),i=t("861d"),c=t("b622"),l=c("species"),u=n.Array;e.exports=function(e){var r;return a(e)&&(r=e.constructor,o(r)&&(r===u||a(r.prototype))?r=void 0:i(r)&&(r=r[l],null===r&&(r=void 0))),void 0===r?u:r}},"107c":function(e,r,t){var n=t("d039"),a=t("da84"),o=a.RegExp;e.exports=n((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},"14c3":function(e,r,t){var n=t("da84"),a=t("c65b"),o=t("825a"),i=t("1626"),c=t("c6b6"),l=t("9263"),u=n.TypeError;e.exports=function(e,r){var t=e.exec;if(i(t)){var n=a(t,e,r);return null!==n&&o(n),n}if("RegExp"===c(e))return a(l,e,r);throw u("RegExp#exec called on incompatible receiver")}},"1dde":function(e,r,t){var n=t("d039"),a=t("b622"),o=t("2d00"),i=a("species");e.exports=function(e){return o>=51||!n((function(){var r=[],t=r.constructor={};return t[i]=function(){return{foo:1}},1!==r[e](Boolean).foo}))}},2934:function(e,r,t){"use strict";t.d(r,"a",(function(){return d}));t("d3b7"),t("ac1f"),t("466d");var n=t("cebe"),a=t.n(n),o=t("4328"),i=t.n(o),c=a.a.create();function l(e){var r={headers:{"Content-Type":"application/json"},params:{},data:{}};return null===e.url.match(/requestProject/)&&(e.url=e.url+"?"),e=Object.assign(r,e),e.useForm&&(e.headers["Content-Type"]="application/x-www-form-urlencoded",e.data=i.a.stringify(e.data)),c(e)}function u(e,r){return l({method:"get",url:e,params:r})}function s(e,r){return l({method:"post",url:e,data:r})}function p(e){var r={},t=function(){var t="",a=u;"string"==typeof e[n]?t=e[n]:"get"==e[n].type?t=e[n].url:"post"==e[n].type&&(t=e[n].url,a=s),r[n]=function(e){return a(t,e)}};for(var n in e)t();return r}c.defaults.timeout=3e4,c.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),c.interceptors.response.use((function(e){var r=e.data,t=r.errorCode,n=r.code;return 0==t||0==n?r.result:Promise.reject(r)}),(function(e){var r=e.response.status;switch(r){case 400:e.message="请求错误";break;case 401:e.message="未授权,请登录";break;case 403:e.message="拒绝访问";break;case 404:e.message="请求地址出错: ".concat(e.response.config.url);break;case 408:e.message="请求超时";break;case 500:e.message="服务器内部错误";break;case 501:e.message="服务未实现";break;case 502:e.message="网关错误";break;case 503:e.message="服务不可用";break;case 504:e.message="网关超时";break;case 505:e.message="HTTP版本不受支持";break;default:break}return Promise.reject(e)}));var f={getGameInfo:"/gic-wx-app/game",getGameRule:"/gic-wx-app/game/rule",getGamePlayNumber:"/gic-wx-app/game/play_number",getGamePlayBarrage:"/gic-wx-app/game/play/barrage",getGameReward:"/gic-wx-app/game/prize",getMyReward:"/gic-wx-app/game/member/prize",getGameRuleCondition:"/gic-wx-app/game/rule_condition",getReportRecord:"/gic-wx-app/game/help",getGameNumberPolling:"/gic-wx-app/game/play_number/polling",gamePlay:{type:"post",url:"/gic-wx-app/game/play"},validGame:"/gic-wx-app/game/valid",getPlayCount:"/gic-wx-app/game/play_count",getIntegral:"/gic-wx-app/common/integral",getGameShareQrCodeUrl:{type:"post",url:"/gic-wx-app/game/share"},getHelpDetail:"/gic-wx-app/game/help_detail",shareEvent:"/api-bury-point/share-event"},d=p(f)},4127:function(e,r,t){"use strict";var n=t("d233"),a=t("b313"),o={brackets:function(e){return e+"[]"},indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},i=Array.isArray,c=Array.prototype.push,l=function(e,r){c.apply(e,i(r)?r:[r])},u=Date.prototype.toISOString,s={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(r,t,a,o,c,u,p,f,d,g,y,b){var m=r;if("function"===typeof p?m=p(t,m):m instanceof Date&&(m=g(m)),null===m){if(o)return u&&!b?u(t,s.encoder):t;m=""}if("string"===typeof m||"number"===typeof m||"boolean"===typeof m||n.isBuffer(m)){if(u){var v=b?t:u(t,s.encoder);return[y(v)+"="+y(u(m,s.encoder))]}return[y(t)+"="+y(String(m))]}var x,h=[];if("undefined"===typeof m)return h;if(i(p))x=p;else{var w=Object.keys(m);x=f?w.sort(f):w}for(var j=0;j<x.length;++j){var O=x[j];c&&null===m[O]||(i(m)?l(h,e(m[O],a(t,O),a,o,c,u,p,f,d,g,y,b)):l(h,e(m[O],t+(d?"."+O:"["+O+"]"),a,o,c,u,p,f,d,g,y,b)))}return h};e.exports=function(e,r){var t=e,c=r?n.assign({},r):{};if(null!==c.encoder&&"undefined"!==typeof c.encoder&&"function"!==typeof c.encoder)throw new TypeError("Encoder has to be a function.");var u="undefined"===typeof c.delimiter?s.delimiter:c.delimiter,f="boolean"===typeof c.strictNullHandling?c.strictNullHandling:s.strictNullHandling,d="boolean"===typeof c.skipNulls?c.skipNulls:s.skipNulls,g="boolean"===typeof c.encode?c.encode:s.encode,y="function"===typeof c.encoder?c.encoder:s.encoder,b="function"===typeof c.sort?c.sort:null,m="undefined"!==typeof c.allowDots&&c.allowDots,v="function"===typeof c.serializeDate?c.serializeDate:s.serializeDate,x="boolean"===typeof c.encodeValuesOnly?c.encodeValuesOnly:s.encodeValuesOnly;if("undefined"===typeof c.format)c.format=a["default"];else if(!Object.prototype.hasOwnProperty.call(a.formatters,c.format))throw new TypeError("Unknown format option provided.");var h,w,j=a.formatters[c.format];"function"===typeof c.filter?(w=c.filter,t=w("",t)):i(c.filter)&&(w=c.filter,h=w);var O,A=[];if("object"!==typeof t||null===t)return"";O=c.arrayFormat in o?c.arrayFormat:"indices"in c?c.indices?"indices":"repeat":"indices";var R=o[O];h||(h=Object.keys(t)),b&&h.sort(b);for(var k=0;k<h.length;++k){var E=h[k];d&&null===t[E]||l(A,p(t[E],E,R,f,d,g?y:null,w,b,m,v,j,x))}var I=A.join(u),P=!0===c.addQueryPrefix?"?":"";return I.length>0?P+I:""}},4328:function(e,r,t){"use strict";var n=t("4127"),a=t("9e6a"),o=t("b313");e.exports={formats:o,parse:a,stringify:n}},"466d":function(e,r,t){"use strict";var n=t("c65b"),a=t("d784"),o=t("825a"),i=t("50c4"),c=t("577e"),l=t("1d80"),u=t("dc4a"),s=t("8aa5"),p=t("14c3");a("match",(function(e,r,t){return[function(r){var t=l(this),a=void 0==r?void 0:u(r,e);return a?n(a,r,t):new RegExp(r)[e](c(t))},function(e){var n=o(this),a=c(e),l=t(r,n,a);if(l.done)return l.value;if(!n.global)return p(n,a);var u=n.unicode;n.lastIndex=0;var f,d=[],g=0;while(null!==(f=p(n,a))){var y=c(f[0]);d[g]=y,""===y&&(n.lastIndex=s(a,i(n.lastIndex),u)),g++}return 0===g?null:d}]}))},"65f0":function(e,r,t){var n=t("0b42");e.exports=function(e,r){return new(n(e))(0===r?0:r)}},8418:function(e,r,t){"use strict";var n=t("a04b"),a=t("9bf2"),o=t("5c6c");e.exports=function(e,r,t){var i=n(r);i in e?a.f(e,i,o(0,t)):e[i]=t}},"8aa5":function(e,r,t){"use strict";var n=t("6547").charAt;e.exports=function(e,r,t){return r+(t?n(e,r).length:1)}},9263:function(e,r,t){"use strict";var n=t("c65b"),a=t("e330"),o=t("577e"),i=t("ad6d"),c=t("9f7f"),l=t("5692"),u=t("7c73"),s=t("69f3").get,p=t("fce3"),f=t("107c"),d=l("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,y=g,b=a("".charAt),m=a("".indexOf),v=a("".replace),x=a("".slice),h=function(){var e=/a/,r=/b*/g;return n(g,e,"a"),n(g,r,"a"),0!==e.lastIndex||0!==r.lastIndex}(),w=c.BROKEN_CARET,j=void 0!==/()??/.exec("")[1],O=h||j||w||p||f;O&&(y=function(e){var r,t,a,c,l,p,f,O=this,A=s(O),R=o(e),k=A.raw;if(k)return k.lastIndex=O.lastIndex,r=n(y,k,R),O.lastIndex=k.lastIndex,r;var E=A.groups,I=w&&O.sticky,P=n(i,O),C=O.source,N=0,D=R;if(I&&(P=v(P,"y",""),-1===m(P,"g")&&(P+="g"),D=x(R,O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&"\n"!==b(R,O.lastIndex-1))&&(C="(?: "+C+")",D=" "+D,N++),t=new RegExp("^(?:"+C+")",P)),j&&(t=new RegExp("^"+C+"$(?!\\s)",P)),h&&(a=O.lastIndex),c=n(g,I?t:O,D),I?c?(c.input=x(c.input,N),c[0]=x(c[0],N),c.index=O.lastIndex,O.lastIndex+=c[0].length):O.lastIndex=0:h&&c&&(O.lastIndex=O.global?c.index+c[0].length:a),j&&c&&c.length>1&&n(d,c[0],t,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(c[l]=void 0)})),c&&E)for(c.groups=p=u(null),l=0;l<E.length;l++)f=E[l],p[f[0]]=c[f[1]];return c}),e.exports=y},"9e6a":function(e,r,t){"use strict";var n=t("d233"),a=Object.prototype.hasOwnProperty,o={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},i=function(e,r){for(var t={},n=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=r.parameterLimit===1/0?void 0:r.parameterLimit,c=n.split(r.delimiter,i),l=0;l<c.length;++l){var u,s,p=c[l],f=p.indexOf("]="),d=-1===f?p.indexOf("="):f+1;-1===d?(u=r.decoder(p,o.decoder),s=r.strictNullHandling?null:""):(u=r.decoder(p.slice(0,d),o.decoder),s=r.decoder(p.slice(d+1),o.decoder)),a.call(t,u)?t[u]=[].concat(t[u]).concat(s):t[u]=s}return t},c=function(e,r,t){for(var n=r,a=e.length-1;a>=0;--a){var o,i=e[a];if("[]"===i&&t.parseArrays)o=[].concat(n);else{o=t.plainObjects?Object.create(null):{};var c="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,l=parseInt(c,10);t.parseArrays||""!==c?!isNaN(l)&&i!==c&&String(l)===c&&l>=0&&t.parseArrays&&l<=t.arrayLimit?(o=[],o[l]=n):"__proto__"!==c&&(o[c]=n):o={0:n}}n=o}return n},l=function(e,r,t){if(e){var n=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,l=o.exec(n),u=l?n.slice(0,l.index):n,s=[];if(u){if(!t.plainObjects&&a.call(Object.prototype,u)&&!t.allowPrototypes)return;s.push(u)}var p=0;while(null!==(l=i.exec(n))&&p<t.depth){if(p+=1,!t.plainObjects&&a.call(Object.prototype,l[1].slice(1,-1))&&!t.allowPrototypes)return;s.push(l[1])}return l&&s.push("["+n.slice(l.index)+"]"),c(s,r,t)}};e.exports=function(e,r){var t=r?n.assign({},r):{};if(null!==t.decoder&&void 0!==t.decoder&&"function"!==typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(t.ignoreQueryPrefix=!0===t.ignoreQueryPrefix,t.delimiter="string"===typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:o.delimiter,t.depth="number"===typeof t.depth?t.depth:o.depth,t.arrayLimit="number"===typeof t.arrayLimit?t.arrayLimit:o.arrayLimit,t.parseArrays=!1!==t.parseArrays,t.decoder="function"===typeof t.decoder?t.decoder:o.decoder,t.allowDots="boolean"===typeof t.allowDots?t.allowDots:o.allowDots,t.plainObjects="boolean"===typeof t.plainObjects?t.plainObjects:o.plainObjects,t.allowPrototypes="boolean"===typeof t.allowPrototypes?t.allowPrototypes:o.allowPrototypes,t.parameterLimit="number"===typeof t.parameterLimit?t.parameterLimit:o.parameterLimit,t.strictNullHandling="boolean"===typeof t.strictNullHandling?t.strictNullHandling:o.strictNullHandling,""===e||null===e||"undefined"===typeof e)return t.plainObjects?Object.create(null):{};for(var a="string"===typeof e?i(e,t):e,c=t.plainObjects?Object.create(null):{},u=Object.keys(a),s=0;s<u.length;++s){var p=u[s],f=l(p,a[p],t);c=n.merge(c,f,t)}return n.compact(c)}},"9f7f":function(e,r,t){var n=t("d039"),a=t("da84"),o=a.RegExp,i=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),c=i||n((function(){return!o("a","y").sticky})),l=i||n((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:c,UNSUPPORTED_Y:i}},ac1f:function(e,r,t){"use strict";var n=t("23e7"),a=t("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},ad6d:function(e,r,t){"use strict";var n=t("825a");e.exports=function(){var e=n(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.sticky&&(r+="y"),r}},b313:function(e,r,t){"use strict";var n=String.prototype.replace,a=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return n.call(e,a,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},d233:function(e,r,t){"use strict";var n=Object.prototype.hasOwnProperty,a=function(){for(var e=[],r=0;r<256;++r)e.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return e}(),o=function(e){var r;while(e.length){var t=e.pop();if(r=t.obj[t.prop],Array.isArray(r)){for(var n=[],a=0;a<r.length;++a)"undefined"!==typeof r[a]&&n.push(r[a]);t.obj[t.prop]=n}}return r},i=function(e,r){for(var t=r&&r.plainObjects?Object.create(null):{},n=0;n<e.length;++n)"undefined"!==typeof e[n]&&(t[n]=e[n]);return t},c=function e(r,t,a){if(!t)return r;if("object"!==typeof t){if(Array.isArray(r))r.push(t);else{if(!r||"object"!==typeof r)return[r,t];(a&&(a.plainObjects||a.allowPrototypes)||!n.call(Object.prototype,t))&&(r[t]=!0)}return r}if(!r||"object"!==typeof r)return[r].concat(t);var o=r;return Array.isArray(r)&&!Array.isArray(t)&&(o=i(r,a)),Array.isArray(r)&&Array.isArray(t)?(t.forEach((function(t,o){if(n.call(r,o)){var i=r[o];i&&"object"===typeof i&&t&&"object"===typeof t?r[o]=e(i,t,a):r.push(t)}else r[o]=t})),r):Object.keys(t).reduce((function(r,o){var i=t[o];return n.call(r,o)?r[o]=e(r[o],i,a):r[o]=i,r}),o)},l=function(e,r){return Object.keys(r).reduce((function(e,t){return e[t]=r[t],e}),e)},u=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(r){return e}},s=function(e){if(0===e.length)return e;for(var r="string"===typeof e?e:String(e),t="",n=0;n<r.length;++n){var o=r.charCodeAt(n);45===o||46===o||95===o||126===o||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?t+=r.charAt(n):o<128?t+=a[o]:o<2048?t+=a[192|o>>6]+a[128|63&o]:o<55296||o>=57344?t+=a[224|o>>12]+a[128|o>>6&63]+a[128|63&o]:(n+=1,o=65536+((1023&o)<<10|1023&r.charCodeAt(n)),t+=a[240|o>>18]+a[128|o>>12&63]+a[128|o>>6&63]+a[128|63&o])}return t},p=function(e){for(var r=[{obj:{o:e},prop:"o"}],t=[],n=0;n<r.length;++n)for(var a=r[n],i=a.obj[a.prop],c=Object.keys(i),l=0;l<c.length;++l){var u=c[l],s=i[u];"object"===typeof s&&null!==s&&-1===t.indexOf(s)&&(r.push({obj:i,prop:u}),t.push(s))}return o(r)},f=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},d=function(e){return null!==e&&"undefined"!==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))};e.exports={arrayToObject:i,assign:l,compact:p,decode:u,encode:s,isBuffer:d,isRegExp:f,merge:c}},d784:function(e,r,t){"use strict";t("ac1f");var n=t("e330"),a=t("cb2d"),o=t("9263"),i=t("d039"),c=t("b622"),l=t("9112"),u=c("species"),s=RegExp.prototype;e.exports=function(e,r,t,p){var f=c(e),d=!i((function(){var r={};return r[f]=function(){return 7},7!=""[e](r)})),g=d&&!i((function(){var r=!1,t=/a/;return"split"===e&&(t={},t.constructor={},t.constructor[u]=function(){return t},t.flags="",t[f]=/./[f]),t.exec=function(){return r=!0,null},t[f](""),!r}));if(!d||!g||t){var y=n(/./[f]),b=r(f,""[e],(function(e,r,t,a,i){var c=n(e),l=r.exec;return l===o||l===s.exec?d&&!i?{done:!0,value:y(r,t,a)}:{done:!0,value:c(t,r,a)}:{done:!1}}));a(String.prototype,e,b[0]),a(s,f,b[1])}p&&l(s[f],"sham",!0)}},e8b5:function(e,r,t){var n=t("c6b6");e.exports=Array.isArray||function(e){return"Array"==n(e)}},fce3:function(e,r,t){var n=t("d039"),a=t("da84"),o=a.RegExp;e.exports=n((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3566c97c"],{"0b42":function(e,r,t){var n=t("da84"),a=t("e8b5"),o=t("68ee"),i=t("861d"),c=t("b622"),l=c("species"),u=n.Array;e.exports=function(e){var r;return a(e)&&(r=e.constructor,o(r)&&(r===u||a(r.prototype))?r=void 0:i(r)&&(r=r[l],null===r&&(r=void 0))),void 0===r?u:r}},"107c":function(e,r,t){var n=t("d039"),a=t("da84"),o=a.RegExp;e.exports=n((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},"14c3":function(e,r,t){var n=t("da84"),a=t("c65b"),o=t("825a"),i=t("1626"),c=t("c6b6"),l=t("9263"),u=n.TypeError;e.exports=function(e,r){var t=e.exec;if(i(t)){var n=a(t,e,r);return null!==n&&o(n),n}if("RegExp"===c(e))return a(l,e,r);throw u("RegExp#exec called on incompatible receiver")}},"1dde":function(e,r,t){var n=t("d039"),a=t("b622"),o=t("2d00"),i=a("species");e.exports=function(e){return o>=51||!n((function(){var r=[],t=r.constructor={};return t[i]=function(){return{foo:1}},1!==r[e](Boolean).foo}))}},2934:function(e,r,t){"use strict";t.d(r,"a",(function(){return d}));t("d3b7"),t("ac1f"),t("466d");var n=t("cebe"),a=t.n(n),o=t("4328"),i=t.n(o),c=a.a.create();function l(e){var r={headers:{"Content-Type":"application/json"},params:{},data:{}};return null===e.url.match(/requestProject/)&&(e.url=e.url+"?"),e=Object.assign(r,e),e.useForm&&(e.headers["Content-Type"]="application/x-www-form-urlencoded",e.data=i.a.stringify(e.data)),c(e)}function u(e,r){return l({method:"get",url:e,params:r})}function s(e,r){return l({method:"post",url:e,data:r})}function p(e){var r={},t=function(){var t="",a=u;"string"==typeof e[n]?t=e[n]:"get"==e[n].type?t=e[n].url:"post"==e[n].type&&(t=e[n].url,a=s),r[n]=function(e){return a(t,e)}};for(var n in e)t();return r}c.defaults.timeout=3e4,c.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),c.interceptors.response.use((function(e){var r=e.data,t=r.errorCode,n=r.code;return 0==t||0==n?r.result:Promise.reject(r)}),(function(e){var r=e.response.status;switch(r){case 400:e.message="请求错误";break;case 401:e.message="未授权,请登录";break;case 403:e.message="拒绝访问";break;case 404:e.message="请求地址出错: ".concat(e.response.config.url);break;case 408:e.message="请求超时";break;case 500:e.message="服务器内部错误";break;case 501:e.message="服务未实现";break;case 502:e.message="网关错误";break;case 503:e.message="服务不可用";break;case 504:e.message="网关超时";break;case 505:e.message="HTTP版本不受支持";break;default:break}return Promise.reject(e)}));var f={getGameInfo:"/gic-wx-app/game",getGameRule:"/gic-wx-app/game/rule",getGamePlayNumber:"/gic-wx-app/game/play_number",getGamePlayBarrage:"/gic-wx-app/game/play/barrage",getGameReward:"/gic-wx-app/game/prize",getMyReward:"/gic-wx-app/game/member/prize",getGameRuleCondition:"/gic-wx-app/game/rule_condition",getReportRecord:"/gic-wx-app/game/help",getGameNumberPolling:"/gic-wx-app/game/play_number/polling",gamePlay:{type:"post",url:"/gic-wx-app/game/play"},validGame:"/gic-wx-app/game/valid",getPlayCount:"/gic-wx-app/game/play_count",getIntegral:"/gic-wx-app/common/integral",getGameShareQrCodeUrl:{type:"post",url:"/gic-wx-app/game/share"},getHelpDetail:"/gic-wx-app/game/help_detail"},d=p(f)},4127:function(e,r,t){"use strict";var n=t("d233"),a=t("b313"),o={brackets:function(e){return e+"[]"},indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},i=Array.isArray,c=Array.prototype.push,l=function(e,r){c.apply(e,i(r)?r:[r])},u=Date.prototype.toISOString,s={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(r,t,a,o,c,u,p,f,d,g,y,m){var b=r;if("function"===typeof p?b=p(t,b):b instanceof Date&&(b=g(b)),null===b){if(o)return u&&!m?u(t,s.encoder):t;b=""}if("string"===typeof b||"number"===typeof b||"boolean"===typeof b||n.isBuffer(b)){if(u){var v=m?t:u(t,s.encoder);return[y(v)+"="+y(u(b,s.encoder))]}return[y(t)+"="+y(String(b))]}var x,h=[];if("undefined"===typeof b)return h;if(i(p))x=p;else{var w=Object.keys(b);x=f?w.sort(f):w}for(var j=0;j<x.length;++j){var O=x[j];c&&null===b[O]||(i(b)?l(h,e(b[O],a(t,O),a,o,c,u,p,f,d,g,y,m)):l(h,e(b[O],t+(d?"."+O:"["+O+"]"),a,o,c,u,p,f,d,g,y,m)))}return h};e.exports=function(e,r){var t=e,c=r?n.assign({},r):{};if(null!==c.encoder&&"undefined"!==typeof c.encoder&&"function"!==typeof c.encoder)throw new TypeError("Encoder has to be a function.");var u="undefined"===typeof c.delimiter?s.delimiter:c.delimiter,f="boolean"===typeof c.strictNullHandling?c.strictNullHandling:s.strictNullHandling,d="boolean"===typeof c.skipNulls?c.skipNulls:s.skipNulls,g="boolean"===typeof c.encode?c.encode:s.encode,y="function"===typeof c.encoder?c.encoder:s.encoder,m="function"===typeof c.sort?c.sort:null,b="undefined"!==typeof c.allowDots&&c.allowDots,v="function"===typeof c.serializeDate?c.serializeDate:s.serializeDate,x="boolean"===typeof c.encodeValuesOnly?c.encodeValuesOnly:s.encodeValuesOnly;if("undefined"===typeof c.format)c.format=a["default"];else if(!Object.prototype.hasOwnProperty.call(a.formatters,c.format))throw new TypeError("Unknown format option provided.");var h,w,j=a.formatters[c.format];"function"===typeof c.filter?(w=c.filter,t=w("",t)):i(c.filter)&&(w=c.filter,h=w);var O,A=[];if("object"!==typeof t||null===t)return"";O=c.arrayFormat in o?c.arrayFormat:"indices"in c?c.indices?"indices":"repeat":"indices";var R=o[O];h||(h=Object.keys(t)),m&&h.sort(m);for(var k=0;k<h.length;++k){var I=h[k];d&&null===t[I]||l(A,p(t[I],I,R,f,d,g?y:null,w,m,b,v,j,x))}var P=A.join(u),E=!0===c.addQueryPrefix?"?":"";return P.length>0?E+P:""}},4328:function(e,r,t){"use strict";var n=t("4127"),a=t("9e6a"),o=t("b313");e.exports={formats:o,parse:a,stringify:n}},"466d":function(e,r,t){"use strict";var n=t("c65b"),a=t("d784"),o=t("825a"),i=t("50c4"),c=t("577e"),l=t("1d80"),u=t("dc4a"),s=t("8aa5"),p=t("14c3");a("match",(function(e,r,t){return[function(r){var t=l(this),a=void 0==r?void 0:u(r,e);return a?n(a,r,t):new RegExp(r)[e](c(t))},function(e){var n=o(this),a=c(e),l=t(r,n,a);if(l.done)return l.value;if(!n.global)return p(n,a);var u=n.unicode;n.lastIndex=0;var f,d=[],g=0;while(null!==(f=p(n,a))){var y=c(f[0]);d[g]=y,""===y&&(n.lastIndex=s(a,i(n.lastIndex),u)),g++}return 0===g?null:d}]}))},"65f0":function(e,r,t){var n=t("0b42");e.exports=function(e,r){return new(n(e))(0===r?0:r)}},8418:function(e,r,t){"use strict";var n=t("a04b"),a=t("9bf2"),o=t("5c6c");e.exports=function(e,r,t){var i=n(r);i in e?a.f(e,i,o(0,t)):e[i]=t}},"8aa5":function(e,r,t){"use strict";var n=t("6547").charAt;e.exports=function(e,r,t){return r+(t?n(e,r).length:1)}},9263:function(e,r,t){"use strict";var n=t("c65b"),a=t("e330"),o=t("577e"),i=t("ad6d"),c=t("9f7f"),l=t("5692"),u=t("7c73"),s=t("69f3").get,p=t("fce3"),f=t("107c"),d=l("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,y=g,m=a("".charAt),b=a("".indexOf),v=a("".replace),x=a("".slice),h=function(){var e=/a/,r=/b*/g;return n(g,e,"a"),n(g,r,"a"),0!==e.lastIndex||0!==r.lastIndex}(),w=c.BROKEN_CARET,j=void 0!==/()??/.exec("")[1],O=h||j||w||p||f;O&&(y=function(e){var r,t,a,c,l,p,f,O=this,A=s(O),R=o(e),k=A.raw;if(k)return k.lastIndex=O.lastIndex,r=n(y,k,R),O.lastIndex=k.lastIndex,r;var I=A.groups,P=w&&O.sticky,E=n(i,O),C=O.source,N=0,D=R;if(P&&(E=v(E,"y",""),-1===b(E,"g")&&(E+="g"),D=x(R,O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&"\n"!==m(R,O.lastIndex-1))&&(C="(?: "+C+")",D=" "+D,N++),t=new RegExp("^(?:"+C+")",E)),j&&(t=new RegExp("^"+C+"$(?!\\s)",E)),h&&(a=O.lastIndex),c=n(g,P?t:O,D),P?c?(c.input=x(c.input,N),c[0]=x(c[0],N),c.index=O.lastIndex,O.lastIndex+=c[0].length):O.lastIndex=0:h&&c&&(O.lastIndex=O.global?c.index+c[0].length:a),j&&c&&c.length>1&&n(d,c[0],t,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(c[l]=void 0)})),c&&I)for(c.groups=p=u(null),l=0;l<I.length;l++)f=I[l],p[f[0]]=c[f[1]];return c}),e.exports=y},"9e6a":function(e,r,t){"use strict";var n=t("d233"),a=Object.prototype.hasOwnProperty,o={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},i=function(e,r){for(var t={},n=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=r.parameterLimit===1/0?void 0:r.parameterLimit,c=n.split(r.delimiter,i),l=0;l<c.length;++l){var u,s,p=c[l],f=p.indexOf("]="),d=-1===f?p.indexOf("="):f+1;-1===d?(u=r.decoder(p,o.decoder),s=r.strictNullHandling?null:""):(u=r.decoder(p.slice(0,d),o.decoder),s=r.decoder(p.slice(d+1),o.decoder)),a.call(t,u)?t[u]=[].concat(t[u]).concat(s):t[u]=s}return t},c=function(e,r,t){for(var n=r,a=e.length-1;a>=0;--a){var o,i=e[a];if("[]"===i&&t.parseArrays)o=[].concat(n);else{o=t.plainObjects?Object.create(null):{};var c="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,l=parseInt(c,10);t.parseArrays||""!==c?!isNaN(l)&&i!==c&&String(l)===c&&l>=0&&t.parseArrays&&l<=t.arrayLimit?(o=[],o[l]=n):"__proto__"!==c&&(o[c]=n):o={0:n}}n=o}return n},l=function(e,r,t){if(e){var n=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,l=o.exec(n),u=l?n.slice(0,l.index):n,s=[];if(u){if(!t.plainObjects&&a.call(Object.prototype,u)&&!t.allowPrototypes)return;s.push(u)}var p=0;while(null!==(l=i.exec(n))&&p<t.depth){if(p+=1,!t.plainObjects&&a.call(Object.prototype,l[1].slice(1,-1))&&!t.allowPrototypes)return;s.push(l[1])}return l&&s.push("["+n.slice(l.index)+"]"),c(s,r,t)}};e.exports=function(e,r){var t=r?n.assign({},r):{};if(null!==t.decoder&&void 0!==t.decoder&&"function"!==typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(t.ignoreQueryPrefix=!0===t.ignoreQueryPrefix,t.delimiter="string"===typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:o.delimiter,t.depth="number"===typeof t.depth?t.depth:o.depth,t.arrayLimit="number"===typeof t.arrayLimit?t.arrayLimit:o.arrayLimit,t.parseArrays=!1!==t.parseArrays,t.decoder="function"===typeof t.decoder?t.decoder:o.decoder,t.allowDots="boolean"===typeof t.allowDots?t.allowDots:o.allowDots,t.plainObjects="boolean"===typeof t.plainObjects?t.plainObjects:o.plainObjects,t.allowPrototypes="boolean"===typeof t.allowPrototypes?t.allowPrototypes:o.allowPrototypes,t.parameterLimit="number"===typeof t.parameterLimit?t.parameterLimit:o.parameterLimit,t.strictNullHandling="boolean"===typeof t.strictNullHandling?t.strictNullHandling:o.strictNullHandling,""===e||null===e||"undefined"===typeof e)return t.plainObjects?Object.create(null):{};for(var a="string"===typeof e?i(e,t):e,c=t.plainObjects?Object.create(null):{},u=Object.keys(a),s=0;s<u.length;++s){var p=u[s],f=l(p,a[p],t);c=n.merge(c,f,t)}return n.compact(c)}},"9f7f":function(e,r,t){var n=t("d039"),a=t("da84"),o=a.RegExp,i=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),c=i||n((function(){return!o("a","y").sticky})),l=i||n((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:c,UNSUPPORTED_Y:i}},ac1f:function(e,r,t){"use strict";var n=t("23e7"),a=t("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},ad6d:function(e,r,t){"use strict";var n=t("825a");e.exports=function(){var e=n(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.sticky&&(r+="y"),r}},b313:function(e,r,t){"use strict";var n=String.prototype.replace,a=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return n.call(e,a,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},d233:function(e,r,t){"use strict";var n=Object.prototype.hasOwnProperty,a=function(){for(var e=[],r=0;r<256;++r)e.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return e}(),o=function(e){var r;while(e.length){var t=e.pop();if(r=t.obj[t.prop],Array.isArray(r)){for(var n=[],a=0;a<r.length;++a)"undefined"!==typeof r[a]&&n.push(r[a]);t.obj[t.prop]=n}}return r},i=function(e,r){for(var t=r&&r.plainObjects?Object.create(null):{},n=0;n<e.length;++n)"undefined"!==typeof e[n]&&(t[n]=e[n]);return t},c=function e(r,t,a){if(!t)return r;if("object"!==typeof t){if(Array.isArray(r))r.push(t);else{if(!r||"object"!==typeof r)return[r,t];(a&&(a.plainObjects||a.allowPrototypes)||!n.call(Object.prototype,t))&&(r[t]=!0)}return r}if(!r||"object"!==typeof r)return[r].concat(t);var o=r;return Array.isArray(r)&&!Array.isArray(t)&&(o=i(r,a)),Array.isArray(r)&&Array.isArray(t)?(t.forEach((function(t,o){if(n.call(r,o)){var i=r[o];i&&"object"===typeof i&&t&&"object"===typeof t?r[o]=e(i,t,a):r.push(t)}else r[o]=t})),r):Object.keys(t).reduce((function(r,o){var i=t[o];return n.call(r,o)?r[o]=e(r[o],i,a):r[o]=i,r}),o)},l=function(e,r){return Object.keys(r).reduce((function(e,t){return e[t]=r[t],e}),e)},u=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(r){return e}},s=function(e){if(0===e.length)return e;for(var r="string"===typeof e?e:String(e),t="",n=0;n<r.length;++n){var o=r.charCodeAt(n);45===o||46===o||95===o||126===o||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?t+=r.charAt(n):o<128?t+=a[o]:o<2048?t+=a[192|o>>6]+a[128|63&o]:o<55296||o>=57344?t+=a[224|o>>12]+a[128|o>>6&63]+a[128|63&o]:(n+=1,o=65536+((1023&o)<<10|1023&r.charCodeAt(n)),t+=a[240|o>>18]+a[128|o>>12&63]+a[128|o>>6&63]+a[128|63&o])}return t},p=function(e){for(var r=[{obj:{o:e},prop:"o"}],t=[],n=0;n<r.length;++n)for(var a=r[n],i=a.obj[a.prop],c=Object.keys(i),l=0;l<c.length;++l){var u=c[l],s=i[u];"object"===typeof s&&null!==s&&-1===t.indexOf(s)&&(r.push({obj:i,prop:u}),t.push(s))}return o(r)},f=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},d=function(e){return null!==e&&"undefined"!==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))};e.exports={arrayToObject:i,assign:l,compact:p,decode:u,encode:s,isBuffer:d,isRegExp:f,merge:c}},d784:function(e,r,t){"use strict";t("ac1f");var n=t("e330"),a=t("cb2d"),o=t("9263"),i=t("d039"),c=t("b622"),l=t("9112"),u=c("species"),s=RegExp.prototype;e.exports=function(e,r,t,p){var f=c(e),d=!i((function(){var r={};return r[f]=function(){return 7},7!=""[e](r)})),g=d&&!i((function(){var r=!1,t=/a/;return"split"===e&&(t={},t.constructor={},t.constructor[u]=function(){return t},t.flags="",t[f]=/./[f]),t.exec=function(){return r=!0,null},t[f](""),!r}));if(!d||!g||t){var y=n(/./[f]),m=r(f,""[e],(function(e,r,t,a,i){var c=n(e),l=r.exec;return l===o||l===s.exec?d&&!i?{done:!0,value:y(r,t,a)}:{done:!0,value:c(t,r,a)}:{done:!1}}));a(String.prototype,e,m[0]),a(s,f,m[1])}p&&l(s[f],"sham",!0)}},e8b5:function(e,r,t){var n=t("c6b6");e.exports=Array.isArray||function(e){return"Array"==n(e)}},fce3:function(e,r,t){var n=t("d039"),a=t("da84"),o=a.RegExp;e.exports=n((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3608022b"],{"0cb2":function(t,e,n){var a=n("e330"),r=n("7b0b"),i=Math.floor,c=a("".charAt),s=a("".replace),o=a("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,a,d,m){var g=n+t.length,f=a.length,h=l;return void 0!==d&&(d=r(d),h=u),s(m,h,(function(r,s){var u;switch(c(s,0)){case"$":return"$";case"&":return t;case"`":return o(e,0,n);case"'":return o(e,g);case"<":u=d[o(s,1,-1)];break;default:var l=+s;if(0===l)return r;if(l>f){var m=i(l/10);return 0===m?r:m<=f?void 0===a[m-1]?c(s,1):a[m-1]+c(s,1):r}u=a[l-1]}return void 0===u?"":u}))}},"0f9e":function(t,e,n){},2924:function(t,e,n){"use strict";n("4d7d")},4402:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show&&(t.title||t.content||t.buttonList&&t.buttonList.length)?n("div",{staticClass:"dialog-bg"},[n("div",{staticClass:"content"},[n("div",{staticClass:"content-detail-bg"},[n("div",{staticClass:"content-detail"},[t.title?n("div",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t.content?n("div",{staticClass:"subtitle"},[t._v(t._s(t.content))]):t._e(),t.buttonList&&t.buttonList.length?n("div",{staticClass:"handle-btn-box"},t._l(t.buttonList,(function(e){return n("div",{key:e,staticClass:"handle-btn",on:{click:function(t){return e.click()}}},[t._v(" "+t._s(e.text)+" ")])})),0):t._e()])]),n("div",{staticClass:"iconfont icon-guanbi",on:{click:t.close}})])]):t._e()},r=[],i={props:{show:Boolean,title:{type:String,default:"提示"},content:{type:String,default:"提示内容"},buttonList:{type:Object,default:function(){return[{text:"btn1",click:function(){console.log("click1")}},{text:"btn1",click:function(){console.log("click2")}}]}},cancel:{type:Function,default:function(){console.log("cancel")}}},data:function(){return{}},methods:{close:function(){this.$emit("update:show",!1),this.options.cancel()}}},c=i,s=(n("2924"),n("2877")),o=Object(s["a"])(c,a,r,!1,null,"4c4563e9",null);e["a"]=o.exports},"455d":function(t,e,n){"use strict";n("0f9e")},"4d7d":function(t,e,n){},"4d7f":function(t,e,n){"use strict";n("d02c")},5319:function(t,e,n){"use strict";var a=n("2ba4"),r=n("c65b"),i=n("e330"),c=n("d784"),s=n("d039"),o=n("825a"),u=n("1626"),l=n("5926"),d=n("50c4"),m=n("577e"),g=n("1d80"),f=n("8aa5"),h=n("dc4a"),p=n("0cb2"),v=n("14c3"),b=n("b622"),w=b("replace"),I=Math.max,x=Math.min,C=i([].concat),k=i([].push),y=i("".indexOf),_=i("".slice),$=function(t){return void 0===t?t:String(t)},O=function(){return"$0"==="a".replace(/./,"$0")}(),P=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),R=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));c("replace",(function(t,e,n){var i=P?"$":"$0";return[function(t,n){var a=g(this),i=void 0==t?void 0:h(t,w);return i?r(i,t,a,n):r(e,m(a),t,n)},function(t,r){var c=o(this),s=m(t);if("string"==typeof r&&-1===y(r,i)&&-1===y(r,"$<")){var g=n(e,c,s,r);if(g.done)return g.value}var h=u(r);h||(r=m(r));var b=c.global;if(b){var w=c.unicode;c.lastIndex=0}var O=[];while(1){var P=v(c,s);if(null===P)break;if(k(O,P),!b)break;var R=m(P[0]);""===R&&(c.lastIndex=f(s,d(c.lastIndex),w))}for(var q="",L=0,D=0;D<O.length;D++){P=O[D];for(var S=m(P[0]),E=I(x(l(P.index),s.length),0),U=[],G=1;G<P.length;G++)k(U,$(P[G]));var M=P.groups;if(h){var j=C([S],U,E,s);void 0!==M&&k(j,M);var A=m(a(r,void 0,j))}else A=p(S,s,E,U,M,r);E>=L&&(q+=_(s,L,E)+A,L=E+S.length)}return q+_(s,L)}]}),!R||!O||P)},"81d5":function(t,e,n){"use strict";var a=n("7b0b"),r=n("23cb"),i=n("07fa");t.exports=function(t){var e=a(this),n=i(e),c=arguments.length,s=r(c>1?arguments[1]:void 0,n),o=c>2?arguments[2]:void 0,u=void 0===o?n:r(o,n);while(u>s)e[s++]=t;return e}},"95c8":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"box"},[t.game&&t.game.gameExt&&t.game.gameExt.bgHelpUrl?n("div",{staticClass:"page-bg"},[n("img",{staticClass:"bg-img",attrs:{src:t.game.gameExt.bgHelpUrl,mode:"widthFix"}})]):t._e(),n("div",{staticClass:"content"},[n("div",{staticClass:"content-top"},[t.game&&t.game.gameExt&&t.game.gameExt.bgBannerHelpUrl?n("img",{staticClass:"top-img",attrs:{src:t.game.gameExt.bgBannerHelpUrl,mode:"widthFix"}}):t._e(),t._m(0)]),n("div",{staticClass:"content-cell"},[n("div",{staticClass:"header-img-box"},[n("img",{staticClass:"header-img",attrs:{src:t.helpDetail.shareMemberImage}})]),n("div",{staticClass:"friend-name"},[t._v("你的好友 "+t._s(t.helpDetail.shareMemberName))]),n("div",{staticClass:"tip-text"},[t._v("正在请求您的助力")]),n("div",{staticClass:"handle-btn red",on:{click:t.support}},[t._v("为好友助力")]),n("div",{staticClass:"handle-btn blue",on:{click:t.toPlayGame}},[t._v("我要参加游戏")])]),t.gameReward&&t.gameReward.length?n("div",{staticClass:"content-cell"},[t._m(1),n("div",{staticClass:"reward-box"},t._l(t.gameReward,(function(e){return n("div",{key:e,staticClass:"reward-item-box"},[n("div",{staticClass:"reward-item-detail"},[n("div",{staticClass:"img-box"},[n("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),n("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),n("div",{staticClass:"reward-des"},[t._v(t._s(e.prizeDesc))])])])})),0)]):t._e()]),n("share-img-dialog",t._b({attrs:{show:t.showShareImgDialog},on:{"update:show":function(e){t.showShareImgDialog=e}}},"share-img-dialog",t.pyqOptions,!1)),n("alert-dialog",t._b({},"alert-dialog",t.alertOptions,!1,!0))],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"top-tip-box"},[n("div",{staticClass:"line left"}),n("div",{staticClass:"title"},[t._v("助力好友你也可以参加")]),n("div",{staticClass:"line right"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cell-top"},[n("div",{staticClass:"iconfont icon-duobianxing"}),n("div",{staticClass:"title"},[t._v("游戏奖品")]),n("div",{staticClass:"iconfont icon-duobianxing"})])}],i=n("1da1"),c=(n("ac1f"),n("5319"),n("96cf"),n("2934")),s=n("4402"),o=n("a8c8"),u=n("b843"),l=c["a"].getHelpDetail,d=c["a"].getGameReward,m=c["a"].getGameInfo,g=c["a"].getGameShareQrCodeUrl,f={components:{ShareImgDialog:o["a"],AlertDialog:s["a"]},data:function(){return{alertOptions:{},showShareImgDialog:!1,game:{},helpDetail:{},gameReward:[]}},created:function(){document.title="游戏助力",this.manager=new u["a"](this),this.loadData()},methods:{loadData:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(t.$route.query),n=t.$route.query,e.next=4,l({enterpriseId:n.enterpriseId,shareMemberId:n.shareMemberId,gameId:n.gameId,helpMemberId:n.memberId||""});case 4:return t.helpDetail=e.sent,e.next=7,d({enterpriseId:n.enterpriseId,gameId:n.gameId});case 7:return t.gameReward=e.sent,e.next=10,m({enterpriseId:n.enterpriseId,gameId:n.gameId});case 10:t.game=e.sent;case 11:case"end":return e.stop()}}),e)})))()},toPlayGame:function(){var t=this.$route.query;this.$router.replace({path:"/cmh/1",query:{gameId:t.gameId,memberId:t.memberId||"",enterpriseId:t.enterpriseId,isAttest:t.isAttest}})},support:function(){this.manager.support()},sharePyq:function(t){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function n(){var a,r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=e.$route.query,n.next=3,g({gameId:a.gameId,enterpriseId:a.enterpriseId,memberId:a.shareMemberId||"",shareType:12==t.type?2:1});case 3:r=n.sent,e.pyqOptions={bgImage:t.shareReport,qrcodeUrl:r.qrCodeUrl},e.showShareImgDialog=!0;case 6:case"end":return n.stop()}}),n)})))()}}},h=f,p=(n("455d"),n("2877")),v=Object(p["a"])(h,a,r,!1,null,"443dcdb1",null);e["default"]=v.exports},"99af":function(t,e,n){"use strict";var a=n("23e7"),r=n("da84"),i=n("d039"),c=n("e8b5"),s=n("861d"),o=n("7b0b"),u=n("07fa"),l=n("8418"),d=n("65f0"),m=n("1dde"),g=n("b622"),f=n("2d00"),h=g("isConcatSpreadable"),p=9007199254740991,v="Maximum allowed index exceeded",b=r.TypeError,w=f>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),I=m("concat"),x=function(t){if(!s(t))return!1;var e=t[h];return void 0!==e?!!e:c(t)},C=!w||!I;a({target:"Array",proto:!0,arity:1,forced:C},{concat:function(t){var e,n,a,r,i,c=o(this),s=d(c,0),m=0;for(e=-1,a=arguments.length;e<a;e++)if(i=-1===e?c:arguments[e],x(i)){if(r=u(i),m+r>p)throw b(v);for(n=0;n<r;n++,m++)n in i&&l(s,m,i[n])}else{if(m>=p)throw b(v);l(s,m++,i)}return s.length=m,s}})},a8c8:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show&&t.bgImage&&t.qrcodeUrl?n("div",{staticClass:"dialog-bg"},[n("canvas",{staticClass:"img-canvas",attrs:{id:"canvas",width:"560",height:"996"}}),n("div",{staticClass:"content"},[n("img",{staticClass:"box-img",attrs:{mode:"widthFix",id:"shareImage"}}),n("div",{staticClass:"tips"},[t._v("长按保存至相册,打开朋友圈选取海报转发")]),n("div",{staticClass:"iconfont icon-guanbi",on:{click:t.close}})])]):t._e()},r=[],i=(n("cb29"),{props:{bgImage:String,qrcodeUrl:String,show:Boolean},data:function(){return{}},created:function(){},methods:{drawImage:function(){var t=this,e=560,n=996,a=document.createElement("canvas");a.width=e,a.height=n;var r=a.getContext("2d");r.rect(0,0,a.width,a.height),r.fillStyle="#fff",r.fill();var i=new Image;i.width=e,i.height=n,i.crossOrigin="Anonymous",i.src=this.bgImage,i.onload=function(){r.drawImage(i,0,0,e,n);var c=new Image;c.src=t.qrcodeUrl,c.width=120,c.height=120,c.crossOrigin="Anonymous",c.onload=function(){r.drawImage(c,400,824,120,120);var t=a.toDataURL("image/png"),e=document.getElementById("shareImage");e.src=t}}},again:function(){this.$emit("again"),this.close()},close:function(){this.$emit("update:show",!1)}},watch:{show:function(t){t&&this.drawImage()}}}),c=i,s=(n("4d7f"),n("2877")),o=Object(s["a"])(c,a,r,!1,null,"0a7f82cc",null);e["a"]=o.exports},b843:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var a=n("1da1"),r=(n("96cf"),n("d3b7"),n("99af"),n("e9c4"),n("d81d"),n("2934")),i=r["a"].validGame,c=r["a"].getGameRule,s=r["a"].gamePlay,o=r["a"].getGameNumberPolling,u="/pages/member-center/member-center/member-center-index",l="/pages/game/game-h5",d="/pages/open-card/open-card/open-card",m="/pages/access-2-h5/h5-share/h5-share",g="/pages/points-mall/points-detail/points-detail",f="/pages/member-center/coupon/coupon-list/coupon-list";function h(t){var e,n=this;t&&(e=t),this.init=function(t){e=t};var r=function(t){e.alertOptions=t},h=function(){e.alertOptions={}},p=function(){return new Promise((function(t,n){var a=e.$route.query;+a.isAttest?t():(n(),r({show:!0,content:"成为会员才可参与游戏哦~\n快认证成为会员赢好礼吧!",buttonList:[{text:"立即认证",click:function(){h(),x()}}],cancel:function(){h()}}))}))},v=function(){return new Promise((function(t,n){var a=e.game,i="无法参与游戏";switch(+a.status){case 0:i="游戏还没开始,请耐心等待,\n去其他地方先逛逛吧~";break;case 1:return void t();case 2:i="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 3:i="来晚一步,游戏已下架,\n去其它地方看看吧~";break;default:break}n(),r({show:!0,content:i,buttonList:[{text:"前往会员中心",click:function(){h(),C()}}],cancel:function(){h()}})}))},b=function(){return new Promise((function(t){i(e.$route.query).then(t).catch((function(){r({show:!0,title:"很遗憾",content:"您暂无权限参加本次游戏,详情请查看游戏规则",buttonList:[{text:"查看规则",click:function(){h(),n.toGameRule()}}],cancel:function(){h()}})}))}))},w=function(){return new Promise((function(t,n){s(e.$route.query).then(t).catch((function(t){n(t);var a="",i="",c=[{text:"前往会员中心",click:function(){h(),C()}}];switch(console.log("res-----\x3e",t),+t.code){case 2001:a="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 2002:a="游戏还没开始,请耐心等待,\n去其他地方看看吧~";break;case 2003:i="很遗憾",a="您暂无权限参加本次游戏,\n详情请查看游戏规则",c=[{text:"查看规则",click:function(){h(),e.toGameRule()}}];break;case 2004:a="游戏次数已达上限,\n去其他地方看看吧~";break;case 2005:i="游戏剩余次数已用完",a="每邀请".concat(e.shareConditionObj.inviteNum,"位好友助力即可获得").concat(e.shareConditionObj.value,"次游戏机会哦~"),c=[{text:"分享好友",click:function(){e.shareWx(),h()}},{text:"分享朋友圈",click:function(){e.sharePyq(),h()}}];break;case 2006:a="当前积分不足,\n去先去获取些积分吧~",c=[{text:"立即获取积分",click:function(){h(),window.wx.miniProgram.navigateTo({url:"/"+e.rule.dumpPath})}}];break;case 2007:a="今日免费次数已用完,\n明早继续";break;case 2008:a="免费游戏次数已达上限,\n去其他地方看看吧~";break;default:a=t.message||"系统异常",c=[];break}(i||a)&&r({show:!0,title:i,content:a,buttonList:c,cancel:function(){h()}})}))}))};this.play=function(){return v().then(p).then(b).then((function(){return w()}))},this.checkAttest=p;var I,x=function(){var t=e.$route.query,n=d,a={type:2,data:{path:"".concat(l,"?gameId=").concat(t.gameId,"&enterpriseId=").concat(t.enterpriseId,"&shareMemberId=").concat(t.shareMemberId||"","&isFrom=openCard")}};n+="?intent="+encodeURIComponent(JSON.stringify(a)),window.wx.miniProgram.navigateTo({url:n})},C=function(){window.wx.miniProgram.reLaunch({url:u})};this.shareWx=function(t){var e="".concat(m,"?shareOptions=").concat(encodeURIComponent(JSON.stringify(t)),"&content=邀好友助力加参与游戏次数,赢好礼&confirmText=立即分享");window.wx.miniProgram.navigateTo({url:e})},this.support=Object(a["a"])(regeneratorRuntime.mark((function t(){var n,a,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$route.query,2!=e.helpDetail.helpStatus){t.next=4;break}return r({show:!0,content:"您已助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 4:if(n.memberId!=n.shareMemberId){t.next=7;break}return r({show:!0,content:"无法为自己助力,赶快邀请好友助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 7:return t.next=9,c({gameId:n.gameId,enterpriseId:n.enterpriseId});case 9:i=t.sent,s=i.gameRuleConditionList||[],s.map((function(t){var e=JSON.parse(t.conditionJson);11!=+e.type&&12!=+e.type||(a=e)})),11==a.type?+n.isAttest?r({show:!0,content:"很遗憾,您已成为会员,无法助力好友,可立即参与游戏,赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}):r({show:!0,content:"仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),x()}}],cancel:function(){h()}}):12==a.type&&e.sharePyq(a);case 13:case"end":return t.stop()}}),t)})));var k=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$route.query,t.next=3,o({gameId:n.gameId,enterpriseId:n.enterpriseId,memberId:n.memberId});case 3:a=t.sent,e.playNumberObj.playNumber=a;case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return this.startPolling=function(){I=setInterval((function(){k()}),1e4)},this.stopPolling=function(){clearInterval(I)},this.toIntegralDetail=function(){window.wx.miniProgram.navigateTo({url:g})},this.toCouponList=function(){window.wx.miniProgram.navigateTo({url:f})},this}},cb29:function(t,e,n){var a=n("23e7"),r=n("81d5"),i=n("44d2");a({target:"Array",proto:!0},{fill:r}),i("fill")},d02c:function(t,e,n){}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3608022b"],{"0cb2":function(t,e,n){var a=n("e330"),r=n("7b0b"),i=Math.floor,c=a("".charAt),s=a("".replace),o=a("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,a,d,m){var g=n+t.length,f=a.length,h=l;return void 0!==d&&(d=r(d),h=u),s(m,h,(function(r,s){var u;switch(c(s,0)){case"$":return"$";case"&":return t;case"`":return o(e,0,n);case"'":return o(e,g);case"<":u=d[o(s,1,-1)];break;default:var l=+s;if(0===l)return r;if(l>f){var m=i(l/10);return 0===m?r:m<=f?void 0===a[m-1]?c(s,1):a[m-1]+c(s,1):r}u=a[l-1]}return void 0===u?"":u}))}},"0f9e":function(t,e,n){},2924:function(t,e,n){"use strict";n("4d7d")},4402:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show&&(t.title||t.content||t.buttonList&&t.buttonList.length)?n("div",{staticClass:"dialog-bg"},[n("div",{staticClass:"content"},[n("div",{staticClass:"content-detail-bg"},[n("div",{staticClass:"content-detail"},[t.title?n("div",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t.content?n("div",{staticClass:"subtitle"},[t._v(t._s(t.content))]):t._e(),t.buttonList&&t.buttonList.length?n("div",{staticClass:"handle-btn-box"},t._l(t.buttonList,(function(e){return n("div",{key:e,staticClass:"handle-btn",on:{click:function(t){return e.click()}}},[t._v(" "+t._s(e.text)+" ")])})),0):t._e()])]),n("div",{staticClass:"iconfont icon-guanbi",on:{click:t.close}})])]):t._e()},r=[],i={props:{show:Boolean,title:{type:String,default:"提示"},content:{type:String,default:"提示内容"},buttonList:{type:Object,default:function(){return[{text:"btn1",click:function(){console.log("click1")}},{text:"btn1",click:function(){console.log("click2")}}]}},cancel:{type:Function,default:function(){console.log("cancel")}}},data:function(){return{}},methods:{close:function(){this.$emit("update:show",!1),this.options.cancel()}}},c=i,s=(n("2924"),n("2877")),o=Object(s["a"])(c,a,r,!1,null,"4c4563e9",null);e["a"]=o.exports},"455d":function(t,e,n){"use strict";n("0f9e")},"4d7d":function(t,e,n){},"4d7f":function(t,e,n){"use strict";n("d02c")},5319:function(t,e,n){"use strict";var a=n("2ba4"),r=n("c65b"),i=n("e330"),c=n("d784"),s=n("d039"),o=n("825a"),u=n("1626"),l=n("5926"),d=n("50c4"),m=n("577e"),g=n("1d80"),f=n("8aa5"),h=n("dc4a"),p=n("0cb2"),v=n("14c3"),b=n("b622"),w=b("replace"),I=Math.max,x=Math.min,C=i([].concat),k=i([].push),y=i("".indexOf),_=i("".slice),$=function(t){return void 0===t?t:String(t)},O=function(){return"$0"==="a".replace(/./,"$0")}(),P=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),R=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));c("replace",(function(t,e,n){var i=P?"$":"$0";return[function(t,n){var a=g(this),i=void 0==t?void 0:h(t,w);return i?r(i,t,a,n):r(e,m(a),t,n)},function(t,r){var c=o(this),s=m(t);if("string"==typeof r&&-1===y(r,i)&&-1===y(r,"$<")){var g=n(e,c,s,r);if(g.done)return g.value}var h=u(r);h||(r=m(r));var b=c.global;if(b){var w=c.unicode;c.lastIndex=0}var O=[];while(1){var P=v(c,s);if(null===P)break;if(k(O,P),!b)break;var R=m(P[0]);""===R&&(c.lastIndex=f(s,d(c.lastIndex),w))}for(var q="",L=0,D=0;D<O.length;D++){P=O[D];for(var S=m(P[0]),E=I(x(l(P.index),s.length),0),U=[],G=1;G<P.length;G++)k(U,$(P[G]));var M=P.groups;if(h){var j=C([S],U,E,s);void 0!==M&&k(j,M);var A=m(a(r,void 0,j))}else A=p(S,s,E,U,M,r);E>=L&&(q+=_(s,L,E)+A,L=E+S.length)}return q+_(s,L)}]}),!R||!O||P)},"81d5":function(t,e,n){"use strict";var a=n("7b0b"),r=n("23cb"),i=n("07fa");t.exports=function(t){var e=a(this),n=i(e),c=arguments.length,s=r(c>1?arguments[1]:void 0,n),o=c>2?arguments[2]:void 0,u=void 0===o?n:r(o,n);while(u>s)e[s++]=t;return e}},"95c8":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"box"},[t.game&&t.game.gameExt&&t.game.gameExt.bgHelpUrl?n("div",{staticClass:"page-bg"},[n("img",{staticClass:"bg-img",attrs:{src:t.game.gameExt.bgHelpUrl,mode:"widthFix"}})]):t._e(),n("div",{staticClass:"content"},[n("div",{staticClass:"content-top"},[t.game&&t.game.gameExt&&t.game.gameExt.bgBannerHelpUrl?n("img",{staticClass:"top-img",attrs:{src:t.game.gameExt.bgBannerHelpUrl,mode:"widthFix"}}):t._e(),t._m(0)]),n("div",{staticClass:"content-cell"},[n("div",{staticClass:"header-img-box"},[n("img",{staticClass:"header-img",attrs:{src:t.helpDetail.shareMemberImage}})]),n("div",{staticClass:"friend-name"},[t._v("你的好友 "+t._s(t.helpDetail.shareMemberName))]),n("div",{staticClass:"tip-text"},[t._v("正在请求您的助力")]),n("div",{staticClass:"handle-btn red",on:{click:t.support}},[t._v("为好友助力")]),n("div",{staticClass:"handle-btn blue",on:{click:t.toPlayGame}},[t._v("我要参加游戏")])]),t.gameReward&&t.gameReward.length?n("div",{staticClass:"content-cell"},[t._m(1),n("div",{staticClass:"reward-box"},t._l(t.gameReward,(function(e){return n("div",{key:e,staticClass:"reward-item-box"},[n("div",{staticClass:"reward-item-detail"},[n("div",{staticClass:"img-box"},[n("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),n("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),n("div",{staticClass:"reward-des"},[t._v(t._s(e.prizeDesc))])])])})),0)]):t._e()]),n("share-img-dialog",t._b({attrs:{show:t.showShareImgDialog},on:{"update:show":function(e){t.showShareImgDialog=e}}},"share-img-dialog",t.pyqOptions,!1)),n("alert-dialog",t._b({},"alert-dialog",t.alertOptions,!1,!0))],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"top-tip-box"},[n("div",{staticClass:"line left"}),n("div",{staticClass:"title"},[t._v("助力好友你也可以参加")]),n("div",{staticClass:"line right"})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cell-top"},[n("div",{staticClass:"iconfont icon-duobianxing"}),n("div",{staticClass:"title"},[t._v("游戏奖品")]),n("div",{staticClass:"iconfont icon-duobianxing"})])}],i=n("1da1"),c=(n("ac1f"),n("5319"),n("96cf"),n("2934")),s=n("4402"),o=n("a8c8"),u=n("b843"),l=c["a"].getHelpDetail,d=c["a"].getGameReward,m=c["a"].getGameInfo,g=c["a"].getGameShareQrCodeUrl,f={components:{ShareImgDialog:o["a"],AlertDialog:s["a"]},data:function(){return{alertOptions:{},showShareImgDialog:!1,game:{},helpDetail:{},gameReward:[]}},created:function(){document.title="游戏助力",this.manager=new u["a"](this),this.loadData()},methods:{loadData:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log(t.$route.query),n=t.$route.query,e.next=4,l({enterpriseId:n.enterpriseId,shareMemberId:n.shareMemberId,gameId:n.gameId,helpMemberId:n.memberId||""});case 4:return t.helpDetail=e.sent,e.next=7,d({enterpriseId:n.enterpriseId,gameId:n.gameId});case 7:return t.gameReward=e.sent,e.next=10,m({enterpriseId:n.enterpriseId,gameId:n.gameId});case 10:t.game=e.sent;case 11:case"end":return e.stop()}}),e)})))()},toPlayGame:function(){var t=this.$route.query;this.$router.replace({path:"/cmh/1",query:{gameId:t.gameId,memberId:t.memberId||"",enterpriseId:t.enterpriseId,isAttest:t.isAttest}})},support:function(){this.manager.support()},sharePyq:function(t){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function n(){var a,r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=e.$route.query,n.next=3,g({gameId:a.gameId,enterpriseId:a.enterpriseId,memberId:a.shareMemberId||"",shareType:12==t.type?2:1});case 3:r=n.sent,e.pyqOptions={bgImage:t.shareReport,qrcodeUrl:r.qrCodeUrl},e.showShareImgDialog=!0;case 6:case"end":return n.stop()}}),n)})))()}}},h=f,p=(n("455d"),n("2877")),v=Object(p["a"])(h,a,r,!1,null,"443dcdb1",null);e["default"]=v.exports},"99af":function(t,e,n){"use strict";var a=n("23e7"),r=n("da84"),i=n("d039"),c=n("e8b5"),s=n("861d"),o=n("7b0b"),u=n("07fa"),l=n("8418"),d=n("65f0"),m=n("1dde"),g=n("b622"),f=n("2d00"),h=g("isConcatSpreadable"),p=9007199254740991,v="Maximum allowed index exceeded",b=r.TypeError,w=f>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),I=m("concat"),x=function(t){if(!s(t))return!1;var e=t[h];return void 0!==e?!!e:c(t)},C=!w||!I;a({target:"Array",proto:!0,arity:1,forced:C},{concat:function(t){var e,n,a,r,i,c=o(this),s=d(c,0),m=0;for(e=-1,a=arguments.length;e<a;e++)if(i=-1===e?c:arguments[e],x(i)){if(r=u(i),m+r>p)throw b(v);for(n=0;n<r;n++,m++)n in i&&l(s,m,i[n])}else{if(m>=p)throw b(v);l(s,m++,i)}return s.length=m,s}})},a8c8:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show&&t.bgImage&&t.qrcodeUrl?n("div",{staticClass:"dialog-bg"},[n("canvas",{staticClass:"img-canvas",attrs:{id:"canvas",width:"560",height:"996"}}),n("div",{staticClass:"content"},[n("img",{staticClass:"box-img",attrs:{mode:"widthFix",id:"shareImage"}}),n("div",{staticClass:"tips"},[t._v("长按保存至相册,打开朋友圈选取海报转发")]),n("div",{staticClass:"iconfont icon-guanbi",on:{click:t.close}})])]):t._e()},r=[],i=(n("cb29"),{props:{bgImage:String,qrcodeUrl:String,show:Boolean},data:function(){return{}},created:function(){},methods:{drawImage:function(){var t=this,e=560,n=996,a=document.createElement("canvas");a.width=e,a.height=n;var r=a.getContext("2d");r.rect(0,0,a.width,a.height),r.fillStyle="#fff",r.fill();var i=new Image;i.width=e,i.height=n,i.crossOrigin="Anonymous",i.src=this.bgImage,i.onload=function(){r.drawImage(i,0,0,e,n);var c=new Image;c.src=t.qrcodeUrl,c.width=120,c.height=120,c.crossOrigin="Anonymous",c.onload=function(){r.drawImage(c,400,824,120,120);var t=a.toDataURL("image/png"),e=document.getElementById("shareImage");e.src=t}}},again:function(){this.$emit("again"),this.close()},close:function(){this.$emit("update:show",!1)}},watch:{show:function(t){t&&this.drawImage()}}}),c=i,s=(n("4d7f"),n("2877")),o=Object(s["a"])(c,a,r,!1,null,"0a7f82cc",null);e["a"]=o.exports},b843:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var a=n("1da1"),r=(n("96cf"),n("d3b7"),n("99af"),n("e9c4"),n("d81d"),n("2934")),i=r["a"].validGame,c=r["a"].getGameRule,s=r["a"].gamePlay,o=r["a"].getGameNumberPolling,u="/pages/member-center/member-center/member-center-index",l="/pages/game/game-h5",d="/pages/open-card/open-card/open-card",m="/pages/access-2-h5/h5-share/h5-share",g="/pages/points-mall/points-detail/points-detail",f="/pages/member-center/coupon/coupon-list/coupon-list";function h(t){var e,n=this;t&&(e=t),this.init=function(t){e=t};var r=function(t){e.alertOptions=t},h=function(){e.alertOptions={}},p=function(){return new Promise((function(t,n){var a=e.$route.query;+a.isAttest?t():(n(),r({show:!0,content:"成为会员才可参与游戏哦~\n快认证成为会员赢好礼吧!",buttonList:[{text:"立即认证",click:function(){h(),x()}}],cancel:function(){h()}}))}))},v=function(){return new Promise((function(t,n){var a=e.game,i="无法参与游戏";switch(+a.status){case 0:i="游戏还没开始,请耐心等待,\n去其他地方先逛逛吧~";break;case 1:return void t();case 2:i="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 3:i="来晚一步,游戏已下架,\n去其它地方看看吧~";break;default:break}n(),r({show:!0,content:i,buttonList:[{text:"前往会员中心",click:function(){h(),C()}}],cancel:function(){h()}})}))},b=function(){return new Promise((function(t){i(e.$route.query).then(t).catch((function(){r({show:!0,title:"很遗憾",content:"您暂无权限参加本次游戏,详情请查看游戏规则",buttonList:[{text:"查看规则",click:function(){h(),n.toGameRule()}}],cancel:function(){h()}})}))}))},w=function(){return new Promise((function(t,n){s(e.$route.query).then(t).catch((function(t){n(t);var a="",i="",c=[{text:"前往会员中心",click:function(){h(),C()}}];switch(console.log("res-----\x3e",t),+t.code){case 2001:a="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 2002:a="游戏还没开始,请耐心等待,\n去其他地方看看吧~";break;case 2003:i="很遗憾",a="您暂无权限参加本次游戏,\n详情请查看游戏规则",c=[{text:"查看规则",click:function(){h(),e.toGameRule()}}];break;case 2004:a="游戏次数已达上限,\n去其他地方看看吧~";break;case 2005:i="游戏剩余次数已用完",a="每邀请".concat(e.shareConditionObj.inviteNum,"位好友助力即可获得").concat(e.shareConditionObj.value,"次游戏机会哦~"),c=[{text:"分享好友",click:function(){e.shareWx(),h()}},{text:"分享朋友圈",click:function(){e.sharePyq(),h()}}];break;case 2006:a="当前积分不足,\n去先去获取些积分吧~",c=[{text:"立即获取积分",click:function(){h(),window.wx.miniProgram.navigateTo({url:"/"+e.rule.dumpPath})}}];break;case 2007:a="今日免费次数已用完,\n明早继续";break;case 2008:a="免费游戏次数已达上限,\n去其他地方看看吧~";break;default:a=t.message||"系统异常",c=[];break}(i||a)&&r({show:!0,title:i,content:a,buttonList:c,cancel:function(){h()}})}))}))};this.play=function(){return v().then(p).then(b).then((function(){return w()}))},this.checkAttest=p;var I,x=function(){var t=e.$route.query,n=d,a={type:2,data:{path:"".concat(l,"?gameId=").concat(t.gameId,"&enterpriseId=").concat(t.enterpriseId,"&shareMemberId=").concat(t.shareMemberId||"","&isFrom=openCard")}};n+="?intent="+encodeURIComponent(JSON.stringify(a)),window.wx.miniProgram.navigateTo({url:n})},C=function(){window.wx.miniProgram.reLaunch({url:u})};this.shareWx=function(t){var e="".concat(m,"?shareOptions=").concat(encodeURIComponent(JSON.stringify(t)),"&content=邀好友助力加参与游戏次数,赢好礼&confirmText=立即分享");window.wx.miniProgram.navigateTo({url:e})},this.support=Object(a["a"])(regeneratorRuntime.mark((function t(){var n,a,i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$route.query,2!=e.helpDetail.helpStatus){t.next=4;break}return r({show:!0,content:"您已助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 4:if(n.memberId!=n.shareMemberId){t.next=7;break}return r({show:!0,content:"无法为自己助力,赶快邀请好友助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 7:return t.next=9,c({gameId:n.gameId,enterpriseId:n.enterpriseId});case 9:i=t.sent,s=i.gameRuleConditionList||[],s.map((function(t){var e=JSON.parse(t.conditionJson);11!=+e.type&&12!=+e.type||(a=e)})),11==a.type?+n.isAttest?r({show:!0,content:"很遗憾,您已成为会员,无法助力好友,可立即参与游戏,赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}):r({show:!0,content:"仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼",buttonList:[{text:"立即认证会员",click:function(){h(),x()}}],cancel:function(){h()}}):12==a.type&&e.sharePyq(a);case 13:case"end":return t.stop()}}),t)})));var k=function(){var t=Object(a["a"])(regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$route.query,t.next=3,o({gameId:n.gameId,enterpriseId:n.enterpriseId,memberId:n.memberId});case 3:a=t.sent,e.playNumberObj.playNumber=a;case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return this.startPolling=function(){I=setInterval((function(){k()}),1e4)},this.stopPolling=function(){clearInterval(I)},this.toIntegralDetail=function(){window.wx.miniProgram.navigateTo({url:g})},this.toCouponList=function(){window.wx.miniProgram.navigateTo({url:f})},this}},cb29:function(t,e,n){var a=n("23e7"),r=n("81d5"),i=n("44d2");a({target:"Array",proto:!0},{fill:r}),i("fill")},d02c:function(t,e,n){}}]);
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5a091a97"],{"057f":function(t,e,n){var r=n("c6b6"),a=n("fc6a"),i=n("241c").f,o=n("4dae"),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return o(c)}};t.exports.f=function(t){return c&&"Window"==r(t)?s(t):i(a(t))}},"0cb2":function(t,e,n){var r=n("e330"),a=n("7b0b"),i=Math.floor,o=r("".charAt),c=r("".replace),s=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,l,d){var b=n+t.length,p=r.length,h=f;return void 0!==l&&(l=a(l),h=u),c(d,h,(function(a,c){var u;switch(o(c,0)){case"$":return"$";case"&":return t;case"`":return s(e,0,n);case"'":return s(e,b);case"<":u=l[s(c,1,-1)];break;default:var f=+c;if(0===f)return a;if(f>p){var d=i(f/10);return 0===d?a:d<=p?void 0===r[d-1]?o(c,1):r[d-1]+o(c,1):a}u=r[f-1]}return void 0===u?"":u}))}},"159b":function(t,e,n){var r=n("da84"),a=n("fdbc"),i=n("785a"),o=n("17c2"),c=n("9112"),s=function(t){if(t&&t.forEach!==o)try{c(t,"forEach",o)}catch(e){t.forEach=o}};for(var u in a)a[u]&&s(r[u]&&r[u].prototype);s(i)},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,a=n("a640"),i=a("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"3d87":function(t,e,n){var r=n("4930");t.exports=r&&!!Symbol["for"]&&!!Symbol.keyFor},"415c":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"box"},[t._m(0),r("div",{staticClass:"content"},[r("div",{staticClass:"content-cell"},[t._m(1),t.list&&t.list.length?r("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.loadData,expression:"loadData"}],staticClass:"infinite-list",style:{height:t.windowHeight-50-20-34-10+"px"}},t._l(t.list,(function(e){return r("div",{key:e,staticClass:"reward-item-box"},[r("div",{staticClass:"reward-item",on:{click:function(n){return t.toRewardDetail(e)}}},[r("div",{staticClass:"reward-img-box"},[r("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),r("div",{staticClass:"reward-info"},[r("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),r("div",{staticClass:"reward-condition"},[t._v(t._s(e.prizeDesc||""))]),r("div",{staticClass:"reward-time"},[t._v(t._s(t._f("formatDate")(e.prizeTime)))])])])])})),0):t.haveLoad?r("div",{staticClass:"empty-box",style:{height:t.windowHeight-50-20-34-10+"px"}},[r("img",{staticClass:"empty-img",attrs:{src:n("51cf"),mode:"widthFix"}}),r("div",{staticClass:"title"},[t._v("这里空空如也")]),r("div",{staticClass:"subtitle"},[t._v("还没有获得任何奖品哦~赶紧拆盲盒赢取好礼吧!")]),r("div",{staticClass:"play-btn",on:{click:t.toPlay}},[t._v("去拆盲盒")])]):t._e()])])])},a=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"page-bg"},[r("img",{staticClass:"bg-img",attrs:{src:n("93c4"),mode:"widthFix"}})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cell-top"},[n("div",{staticClass:"iconfont icon-duobianxing"}),n("div",{staticClass:"title"},[t._v("我的奖品")]),n("div",{staticClass:"iconfont icon-duobianxing"})])}],i=n("5530"),o=n("1da1"),c=(n("96cf"),n("99af"),n("ac1f"),n("5319"),n("2934")),s=n("b843"),u=c["a"].getMyReward,f={components:{},data:function(){return{list:[],pageSize:20,currentPage:1,totalCount:0}},created:function(){document.title="我的奖品",this.manager=new s["a"](this),this.windowHeight=window.innerHeight,this.reloadData()},methods:{reloadData:function(){this.currentPage=1,this.totalCount=0,this.loadData()},loadData:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t.list.length>=t.totalCount&&0!=t.totalCount)){e.next=2;break}return e.abrupt("return");case 2:return n=t.$route.query,e.next=5,u(Object(i["a"])(Object(i["a"])({},n),{},{currentPage:t.currentPage,pageSize:t.pageSize}));case 5:r=e.sent,t.haveLoad=!0,t.totalCount=r.totalCount,a=t.list||[],a=1==t.currentPage?r.result||[]:a.concat(r.result||[]),t.currentPage++,t.list=a;case 12:case"end":return e.stop()}}),e)})))()},toRewardDetail:function(t){switch(+t.prizeType){case 0:break;case 1:this.manager.toIntegralDetail();break;case 2:this.manager.toCouponList();break;case 3:break;default:break}},toPlay:function(){this.$router.replace({path:"/",query:this.$route.query})}},filters:{formatDate:function(t){if(!t)return"--";var e=new Date(t);return e.getFullYear()+"年"+(e.getMonth()+1)+"月"+e.getDate()+"日"}}},l=f,d=(n("510b"),n("2877")),b=Object(d["a"])(l,r,a,!1,null,"2392b7da",null);e["default"]=b.exports},"428f":function(t,e,n){var r=n("da84");t.exports=r},"4dae":function(t,e,n){var r=n("da84"),a=n("23cb"),i=n("07fa"),o=n("8418"),c=r.Array,s=Math.max;t.exports=function(t,e,n){for(var r=i(t),u=a(e,r),f=a(void 0===n?r:n,r),l=c(s(f-u,0)),d=0;u<f;u++,d++)o(l,d,t[u]);return l.length=d,l}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),a=n("b727").filter,i=n("1dde"),o=i("filter");r({target:"Array",proto:!0,forced:!o},{filter:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},"510b":function(t,e,n){"use strict";n("5418")},"51cf":function(t,e,n){t.exports=n.p+"img/mould_01_fail_pic.c6ecf7b9.png"},5319:function(t,e,n){"use strict";var r=n("2ba4"),a=n("c65b"),i=n("e330"),o=n("d784"),c=n("d039"),s=n("825a"),u=n("1626"),f=n("5926"),l=n("50c4"),d=n("577e"),b=n("1d80"),p=n("8aa5"),h=n("dc4a"),v=n("0cb2"),m=n("14c3"),g=n("b622"),w=g("replace"),y=Math.max,x=Math.min,O=i([].concat),k=i([].push),P=i("".indexOf),C=i("".slice),j=function(t){return void 0===t?t:String(t)},I=function(){return"$0"==="a".replace(/./,"$0")}(),S=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),$=!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));o("replace",(function(t,e,n){var i=S?"$":"$0";return[function(t,n){var r=b(this),i=void 0==t?void 0:h(t,w);return i?a(i,t,r,n):a(e,d(r),t,n)},function(t,a){var o=s(this),c=d(t);if("string"==typeof a&&-1===P(a,i)&&-1===P(a,"$<")){var b=n(e,o,c,a);if(b.done)return b.value}var h=u(a);h||(a=d(a));var g=o.global;if(g){var w=o.unicode;o.lastIndex=0}var I=[];while(1){var S=m(o,c);if(null===S)break;if(k(I,S),!g)break;var $=d(S[0]);""===$&&(o.lastIndex=p(c,l(o.lastIndex),w))}for(var _="",D=0,E=0;E<I.length;E++){S=I[E];for(var R=d(S[0]),L=y(x(f(S.index),c.length),0),N=[],T=1;T<S.length;T++)k(N,j(S[T]));var q=S.groups;if(h){var M=O([R],N,L,c);void 0!==q&&k(M,q);var z=d(r(a,void 0,M))}else z=v(R,c,L,N,q,a);L>=D&&(_+=C(c,D,L)+z,D=L+R.length)}return _+C(c,D)}]}),!$||!I||S)},5418:function(t,e,n){},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n("b64b"),n("a4d3"),n("4de4"),n("d3b7"),n("e439"),n("159b"),n("dbb4");function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},"57b9":function(t,e,n){var r=n("c65b"),a=n("d066"),i=n("b622"),o=n("cb2d");t.exports=function(){var t=a("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,c=i("toPrimitive");e&&!e[c]&&o(e,c,(function(t){return r(n,this)}),{arity:1})}},"5a47":function(t,e,n){var r=n("23e7"),a=n("4930"),i=n("d039"),o=n("7418"),c=n("7b0b"),s=!a||i((function(){o.f(1)}));r({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(t){var e=o.f;return e?e(c(t)):[]}})},"746f":function(t,e,n){var r=n("428f"),a=n("1a2d"),i=n("e538"),o=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});a(e,t)||o(e,t,{value:i.f(t)})}},"93c4":function(t,e,n){t.exports=n.p+"img/rulebg.66e4432e.png"},"99af":function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("d039"),o=n("e8b5"),c=n("861d"),s=n("7b0b"),u=n("07fa"),f=n("8418"),l=n("65f0"),d=n("1dde"),b=n("b622"),p=n("2d00"),h=b("isConcatSpreadable"),v=9007199254740991,m="Maximum allowed index exceeded",g=a.TypeError,w=p>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),y=d("concat"),x=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:o(t)},O=!w||!y;r({target:"Array",proto:!0,arity:1,forced:O},{concat:function(t){var e,n,r,a,i,o=s(this),c=l(o,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(i=-1===e?o:arguments[e],x(i)){if(a=u(i),d+a>v)throw g(m);for(n=0;n<a;n++,d++)n in i&&f(c,d,i[n])}else{if(d>=v)throw g(m);f(c,d++,i)}return c.length=d,c}})},a4d3:function(t,e,n){n("d9f5"),n("b4f8"),n("c513"),n("e9c4"),n("5a47")},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},b4f8:function(t,e,n){var r=n("23e7"),a=n("d066"),i=n("1a2d"),o=n("577e"),c=n("5692"),s=n("3d87"),u=c("string-to-symbol-registry"),f=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=o(t);if(i(u,e))return u[e];var n=a("Symbol")(e);return u[e]=n,f[n]=e,n}})},b64b:function(t,e,n){var r=n("23e7"),a=n("7b0b"),i=n("df75"),o=n("d039"),c=o((function(){i(1)}));r({target:"Object",stat:!0,forced:c},{keys:function(t){return i(a(t))}})},b843:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n("1da1"),a=(n("96cf"),n("d3b7"),n("99af"),n("e9c4"),n("d81d"),n("2934")),i=a["a"].validGame,o=a["a"].getGameRule,c=a["a"].gamePlay,s=a["a"].getGameNumberPolling,u="/pages/member-center/member-center/member-center-index",f="/pages/game/game-h5",l="/pages/open-card/open-card/open-card",d="/pages/access-2-h5/h5-share/h5-share",b="/pages/points-mall/points-detail/points-detail",p="/pages/member-center/coupon/coupon-list/coupon-list";function h(t){var e,n=this;t&&(e=t),this.init=function(t){e=t};var a=function(t){e.alertOptions=t},h=function(){e.alertOptions={}},v=function(){return new Promise((function(t,n){var r=e.$route.query;+r.isAttest?t():(n(),a({show:!0,content:"成为会员才可参与游戏哦~\n快认证成为会员赢好礼吧!",buttonList:[{text:"立即认证",click:function(){h(),x()}}],cancel:function(){h()}}))}))},m=function(){return new Promise((function(t,n){var r=e.game,i="无法参与游戏";switch(+r.status){case 0:i="游戏还没开始,请耐心等待,\n去其他地方先逛逛吧~";break;case 1:return void t();case 2:i="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 3:i="来晚一步,游戏已下架,\n去其它地方看看吧~";break;default:break}n(),a({show:!0,content:i,buttonList:[{text:"前往会员中心",click:function(){h(),O()}}],cancel:function(){h()}})}))},g=function(){return new Promise((function(t){i(e.$route.query).then(t).catch((function(){a({show:!0,title:"很遗憾",content:"您暂无权限参加本次游戏,详情请查看游戏规则",buttonList:[{text:"查看规则",click:function(){h(),n.toGameRule()}}],cancel:function(){h()}})}))}))},w=function(){return new Promise((function(t,n){c(e.$route.query).then(t).catch((function(t){n(t);var r="",i="",o=[{text:"前往会员中心",click:function(){h(),O()}}];switch(console.log("res-----\x3e",t),+t.code){case 2001:r="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 2002:r="游戏还没开始,请耐心等待,\n去其他地方看看吧~";break;case 2003:i="很遗憾",r="您暂无权限参加本次游戏,\n详情请查看游戏规则",o=[{text:"查看规则",click:function(){h(),e.toGameRule()}}];break;case 2004:r="游戏次数已达上限,\n去其他地方看看吧~";break;case 2005:i="游戏剩余次数已用完",r="每邀请".concat(e.shareConditionObj.inviteNum,"位好友助力即可获得").concat(e.shareConditionObj.value,"次游戏机会哦~"),o=[{text:"分享好友",click:function(){e.shareWx(),h()}},{text:"分享朋友圈",click:function(){e.sharePyq(),h()}}];break;case 2006:r="当前积分不足,\n去先去获取些积分吧~",o=[{text:"立即获取积分",click:function(){h(),window.wx.miniProgram.navigateTo({url:"/"+e.rule.dumpPath})}}];break;case 2007:r="今日免费次数已用完,\n明早继续";break;case 2008:r="免费游戏次数已达上限,\n去其他地方看看吧~";break;default:r=t.message||"系统异常",o=[];break}(i||r)&&a({show:!0,title:i,content:r,buttonList:o,cancel:function(){h()}})}))}))};this.play=function(){return m().then(v).then(g).then((function(){return w()}))},this.checkAttest=v;var y,x=function(){var t=e.$route.query,n=l,r={type:2,data:{path:"".concat(f,"?gameId=").concat(t.gameId,"&enterpriseId=").concat(t.enterpriseId,"&shareMemberId=").concat(t.shareMemberId||"","&isFrom=openCard")}};n+="?intent="+encodeURIComponent(JSON.stringify(r)),window.wx.miniProgram.navigateTo({url:n})},O=function(){window.wx.miniProgram.reLaunch({url:u})};this.shareWx=function(t){var e="".concat(d,"?shareOptions=").concat(encodeURIComponent(JSON.stringify(t)),"&content=邀好友助力加参与游戏次数,赢好礼&confirmText=立即分享");window.wx.miniProgram.navigateTo({url:e})},this.support=Object(r["a"])(regeneratorRuntime.mark((function t(){var n,r,i,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$route.query,2!=e.helpDetail.helpStatus){t.next=4;break}return a({show:!0,content:"您已助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 4:if(n.memberId!=n.shareMemberId){t.next=7;break}return a({show:!0,content:"无法为自己助力,赶快邀请好友助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 7:return t.next=9,o({gameId:n.gameId,enterpriseId:n.enterpriseId});case 9:i=t.sent,c=i.gameRuleConditionList||[],c.map((function(t){var e=JSON.parse(t.conditionJson);11!=+e.type&&12!=+e.type||(r=e)})),11==r.type?+n.isAttest?a({show:!0,content:"很遗憾,您已成为会员,无法助力好友,可立即参与游戏,赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}):a({show:!0,content:"仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),x()}}],cancel:function(){h()}}):12==r.type&&e.sharePyq(r);case 13:case"end":return t.stop()}}),t)})));var k=function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$route.query,t.next=3,s({gameId:n.gameId,enterpriseId:n.enterpriseId,memberId:n.memberId});case 3:r=t.sent,e.playNumberObj.playNumber=r;case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return this.startPolling=function(){y=setInterval((function(){k()}),1e4)},this.stopPolling=function(){clearInterval(y)},this.toIntegralDetail=function(){window.wx.miniProgram.navigateTo({url:b})},this.toCouponList=function(){window.wx.miniProgram.navigateTo({url:p})},this}},c513:function(t,e,n){var r=n("23e7"),a=n("1a2d"),i=n("d9b5"),o=n("0d51"),c=n("5692"),s=n("3d87"),u=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!i(t))throw TypeError(o(t)+" is not a symbol");if(a(u,t))return u[t]}})},d9f5:function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("c65b"),o=n("e330"),c=n("c430"),s=n("83ab"),u=n("4930"),f=n("d039"),l=n("1a2d"),d=n("3a9b"),b=n("825a"),p=n("fc6a"),h=n("a04b"),v=n("577e"),m=n("5c6c"),g=n("7c73"),w=n("df75"),y=n("241c"),x=n("057f"),O=n("7418"),k=n("06cf"),P=n("9bf2"),C=n("37e8"),j=n("d1e7"),I=n("cb2d"),S=n("5692"),$=n("f772"),_=n("d012"),D=n("90e3"),E=n("b622"),R=n("e538"),L=n("746f"),N=n("57b9"),T=n("d44e"),q=n("69f3"),M=n("b727").forEach,z=$("hidden"),F="Symbol",G="prototype",A=q.set,J=q.getterFor(F),H=Object[G],U=a.Symbol,W=U&&U[G],Q=a.TypeError,Y=a.QObject,B=k.f,K=P.f,V=x.f,X=j.f,Z=o([].push),tt=S("symbols"),et=S("op-symbols"),nt=S("wks"),rt=!Y||!Y[G]||!Y[G].findChild,at=s&&f((function(){return 7!=g(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=B(H,e);r&&delete H[e],K(t,e,n),r&&t!==H&&K(H,e,r)}:K,it=function(t,e){var n=tt[t]=g(W);return A(n,{type:F,tag:t,description:e}),s||(n.description=e),n},ot=function(t,e,n){t===H&&ot(et,e,n),b(t);var r=h(e);return b(n),l(tt,r)?(n.enumerable?(l(t,z)&&t[z][r]&&(t[z][r]=!1),n=g(n,{enumerable:m(0,!1)})):(l(t,z)||K(t,z,m(1,{})),t[z][r]=!0),at(t,r,n)):K(t,r,n)},ct=function(t,e){b(t);var n=p(e),r=w(n).concat(dt(n));return M(r,(function(e){s&&!i(ut,n,e)||ot(t,e,n[e])})),t},st=function(t,e){return void 0===e?g(t):ct(g(t),e)},ut=function(t){var e=h(t),n=i(X,this,e);return!(this===H&&l(tt,e)&&!l(et,e))&&(!(n||!l(this,e)||!l(tt,e)||l(this,z)&&this[z][e])||n)},ft=function(t,e){var n=p(t),r=h(e);if(n!==H||!l(tt,r)||l(et,r)){var a=B(n,r);return!a||!l(tt,r)||l(n,z)&&n[z][r]||(a.enumerable=!0),a}},lt=function(t){var e=V(p(t)),n=[];return M(e,(function(t){l(tt,t)||l(_,t)||Z(n,t)})),n},dt=function(t){var e=t===H,n=V(e?et:p(t)),r=[];return M(n,(function(t){!l(tt,t)||e&&!l(H,t)||Z(r,tt[t])})),r};u||(U=function(){if(d(W,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,e=D(t),n=function(t){this===H&&i(n,et,t),l(this,z)&&l(this[z],e)&&(this[z][e]=!1),at(this,e,m(1,t))};return s&&rt&&at(H,e,{configurable:!0,set:n}),it(e,t)},W=U[G],I(W,"toString",(function(){return J(this).tag})),I(U,"withoutSetter",(function(t){return it(D(t),t)})),j.f=ut,P.f=ot,C.f=ct,k.f=ft,y.f=x.f=lt,O.f=dt,R.f=function(t){return it(E(t),t)},s&&(K(W,"description",{configurable:!0,get:function(){return J(this).description}}),c||I(H,"propertyIsEnumerable",ut,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),M(w(nt),(function(t){L(t)})),r({target:F,stat:!0,forced:!u},{useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:st,defineProperty:ot,defineProperties:ct,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt}),N(),T(U,F),_[z]=!0},dbb4:function(t,e,n){var r=n("23e7"),a=n("83ab"),i=n("56ef"),o=n("fc6a"),c=n("06cf"),s=n("8418");r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),a=c.f,u=i(r),f={},l=0;while(u.length>l)n=a(r,e=u[l++]),void 0!==n&&s(f,e,n);return f}})},e439:function(t,e,n){var r=n("23e7"),a=n("d039"),i=n("fc6a"),o=n("06cf").f,c=n("83ab"),s=a((function(){o(1)})),u=!c||s;r({target:"Object",stat:!0,forced:u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return o(i(t),e)}})},e538:function(t,e,n){var r=n("b622");e.f=r}}]); (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5a091a97"],{"057f":function(t,e,n){var r=n("c6b6"),a=n("fc6a"),i=n("241c").f,o=n("4dae"),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return o(c)}};t.exports.f=function(t){return c&&"Window"==r(t)?s(t):i(a(t))}},"0cb2":function(t,e,n){var r=n("e330"),a=n("7b0b"),i=Math.floor,o=r("".charAt),c=r("".replace),s=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,l,d){var b=n+t.length,p=r.length,h=f;return void 0!==l&&(l=a(l),h=u),c(d,h,(function(a,c){var u;switch(o(c,0)){case"$":return"$";case"&":return t;case"`":return s(e,0,n);case"'":return s(e,b);case"<":u=l[s(c,1,-1)];break;default:var f=+c;if(0===f)return a;if(f>p){var d=i(f/10);return 0===d?a:d<=p?void 0===r[d-1]?o(c,1):r[d-1]+o(c,1):a}u=r[f-1]}return void 0===u?"":u}))}},"159b":function(t,e,n){var r=n("da84"),a=n("fdbc"),i=n("785a"),o=n("17c2"),c=n("9112"),s=function(t){if(t&&t.forEach!==o)try{c(t,"forEach",o)}catch(e){t.forEach=o}};for(var u in a)a[u]&&s(r[u]&&r[u].prototype);s(i)},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,a=n("a640"),i=a("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"3d87":function(t,e,n){var r=n("4930");t.exports=r&&!!Symbol["for"]&&!!Symbol.keyFor},"415c":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"box"},[t._m(0),r("div",{staticClass:"content"},[r("div",{staticClass:"content-cell"},[t._m(1),t.list&&t.list.length?r("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.loadData,expression:"loadData"}],staticClass:"infinite-list",style:{height:t.windowHeight-50-20-34-10+"px"}},t._l(t.list,(function(e){return r("div",{key:e,staticClass:"reward-item-box"},[r("div",{staticClass:"reward-item",on:{click:function(n){return t.toRewardDetail(e)}}},[r("div",{staticClass:"reward-img-box"},[r("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),r("div",{staticClass:"reward-info"},[r("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),r("div",{staticClass:"reward-condition"},[t._v(t._s(e.prizeDesc||""))]),r("div",{staticClass:"reward-time"},[t._v(t._s(t._f("formatDate")(e.prizeTime)))])])])])})),0):t.haveLoad?r("div",{staticClass:"empty-box",style:{height:t.windowHeight-50-20-34-10+"px"}},[r("img",{staticClass:"empty-img",attrs:{src:n("51cf"),mode:"widthFix"}}),r("div",{staticClass:"title"},[t._v("这里空空如也")]),r("div",{staticClass:"subtitle"},[t._v("还没有获得任何奖品哦~赶紧拆盲盒赢取好礼吧!")]),r("div",{staticClass:"play-btn",on:{click:t.toPlay}},[t._v("去拆盲盒")])]):t._e()])])])},a=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"page-bg"},[r("img",{staticClass:"bg-img",attrs:{src:n("93c4"),mode:"widthFix"}})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cell-top"},[n("div",{staticClass:"iconfont icon-duobianxing"}),n("div",{staticClass:"title"},[t._v("我的奖品")]),n("div",{staticClass:"iconfont icon-duobianxing"})])}],i=n("5530"),o=n("1da1"),c=(n("96cf"),n("99af"),n("ac1f"),n("5319"),n("2934")),s=n("b843"),u=c["a"].getMyReward,f={components:{},data:function(){return{list:[],pageSize:20,currentPage:1,totalCount:0}},created:function(){document.title="我的奖品",this.manager=new s["a"](this),this.windowHeight=window.innerHeight,this.reloadData()},methods:{reloadData:function(){this.currentPage=1,this.totalCount=0,this.loadData()},loadData:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){var n,r,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(t.list.length>=t.totalCount&&0!=t.totalCount)){e.next=2;break}return e.abrupt("return");case 2:return n=t.$route.query,e.next=5,u(Object(i["a"])(Object(i["a"])({},n),{},{currentPage:t.currentPage,pageSize:t.pageSize}));case 5:r=e.sent,t.haveLoad=!0,t.totalCount=r.totalCount,a=t.list||[],a=1==t.currentPage?r.result||[]:a.concat(r.result||[]),t.currentPage++,t.list=a;case 12:case"end":return e.stop()}}),e)})))()},toRewardDetail:function(t){switch(+t.prizeType){case 0:break;case 1:this.manager.toIntegralDetail();break;case 2:this.manager.toCouponList();break;case 3:break;default:break}},toPlay:function(){this.$router.replace({path:"/",query:this.$route.query})}},filters:{formatDate:function(t){if(!t)return"--";var e=new Date(t);return e.getFullYear()+"年"+(e.getMonth()+1)+"月"+e.getDate()+"日"}}},l=f,d=(n("510b"),n("2877")),b=Object(d["a"])(l,r,a,!1,null,"2392b7da",null);e["default"]=b.exports},"428f":function(t,e,n){var r=n("da84");t.exports=r},"4dae":function(t,e,n){var r=n("da84"),a=n("23cb"),i=n("07fa"),o=n("8418"),c=r.Array,s=Math.max;t.exports=function(t,e,n){for(var r=i(t),u=a(e,r),f=a(void 0===n?r:n,r),l=c(s(f-u,0)),d=0;u<f;u++,d++)o(l,d,t[u]);return l.length=d,l}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),a=n("b727").filter,i=n("1dde"),o=i("filter");r({target:"Array",proto:!0,forced:!o},{filter:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},"510b":function(t,e,n){"use strict";n("5418")},"51cf":function(t,e,n){t.exports=n.p+"img/mould_01_fail_pic.c6ecf7b9.png"},5319:function(t,e,n){"use strict";var r=n("2ba4"),a=n("c65b"),i=n("e330"),o=n("d784"),c=n("d039"),s=n("825a"),u=n("1626"),f=n("5926"),l=n("50c4"),d=n("577e"),b=n("1d80"),p=n("8aa5"),h=n("dc4a"),v=n("0cb2"),m=n("14c3"),g=n("b622"),w=g("replace"),y=Math.max,x=Math.min,O=i([].concat),k=i([].push),P=i("".indexOf),C=i("".slice),j=function(t){return void 0===t?t:String(t)},I=function(){return"$0"==="a".replace(/./,"$0")}(),S=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),$=!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));o("replace",(function(t,e,n){var i=S?"$":"$0";return[function(t,n){var r=b(this),i=void 0==t?void 0:h(t,w);return i?a(i,t,r,n):a(e,d(r),t,n)},function(t,a){var o=s(this),c=d(t);if("string"==typeof a&&-1===P(a,i)&&-1===P(a,"$<")){var b=n(e,o,c,a);if(b.done)return b.value}var h=u(a);h||(a=d(a));var g=o.global;if(g){var w=o.unicode;o.lastIndex=0}var I=[];while(1){var S=m(o,c);if(null===S)break;if(k(I,S),!g)break;var $=d(S[0]);""===$&&(o.lastIndex=p(c,l(o.lastIndex),w))}for(var _="",D=0,E=0;E<I.length;E++){S=I[E];for(var R=d(S[0]),L=y(x(f(S.index),c.length),0),N=[],T=1;T<S.length;T++)k(N,j(S[T]));var q=S.groups;if(h){var M=O([R],N,L,c);void 0!==q&&k(M,q);var z=d(r(a,void 0,M))}else z=v(R,c,L,N,q,a);L>=D&&(_+=C(c,D,L)+z,D=L+R.length)}return _+C(c,D)}]}),!$||!I||S)},5418:function(t,e,n){},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n("b64b"),n("a4d3"),n("4de4"),n("d3b7"),n("e439"),n("159b"),n("dbb4");function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},"57b9":function(t,e,n){var r=n("c65b"),a=n("d066"),i=n("b622"),o=n("cb2d");t.exports=function(){var t=a("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,c=i("toPrimitive");e&&!e[c]&&o(e,c,(function(t){return r(n,this)}),{arity:1})}},"5a47":function(t,e,n){var r=n("23e7"),a=n("4930"),i=n("d039"),o=n("7418"),c=n("7b0b"),s=!a||i((function(){o.f(1)}));r({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(t){var e=o.f;return e?e(c(t)):[]}})},"746f":function(t,e,n){var r=n("428f"),a=n("1a2d"),i=n("e538"),o=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});a(e,t)||o(e,t,{value:i.f(t)})}},"93c4":function(t,e,n){t.exports=n.p+"img/rulebg.66e4432e.png"},"99af":function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("d039"),o=n("e8b5"),c=n("861d"),s=n("7b0b"),u=n("07fa"),f=n("8418"),l=n("65f0"),d=n("1dde"),b=n("b622"),p=n("2d00"),h=b("isConcatSpreadable"),v=9007199254740991,m="Maximum allowed index exceeded",g=a.TypeError,w=p>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),y=d("concat"),x=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:o(t)},O=!w||!y;r({target:"Array",proto:!0,arity:1,forced:O},{concat:function(t){var e,n,r,a,i,o=s(this),c=l(o,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(i=-1===e?o:arguments[e],x(i)){if(a=u(i),d+a>v)throw g(m);for(n=0;n<a;n++,d++)n in i&&f(c,d,i[n])}else{if(d>=v)throw g(m);f(c,d++,i)}return c.length=d,c}})},a4d3:function(t,e,n){n("d9f5"),n("b4f8"),n("c513"),n("e9c4"),n("5a47")},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},b4f8:function(t,e,n){var r=n("23e7"),a=n("d066"),i=n("1a2d"),o=n("577e"),c=n("5692"),s=n("3d87"),u=c("string-to-symbol-registry"),f=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=o(t);if(i(u,e))return u[e];var n=a("Symbol")(e);return u[e]=n,f[n]=e,n}})},b64b:function(t,e,n){var r=n("23e7"),a=n("7b0b"),i=n("df75"),o=n("d039"),c=o((function(){i(1)}));r({target:"Object",stat:!0,forced:c},{keys:function(t){return i(a(t))}})},b843:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n("1da1"),a=(n("96cf"),n("d3b7"),n("99af"),n("e9c4"),n("d81d"),n("2934")),i=a["a"].validGame,o=a["a"].getGameRule,c=a["a"].gamePlay,s=a["a"].getGameNumberPolling,u="/pages/member-center/member-center/member-center-index",f="/pages/game/game-h5",l="/pages/open-card/open-card/open-card",d="/pages/access-2-h5/h5-share/h5-share",b="/pages/points-mall/points-detail/points-detail",p="/pages/member-center/coupon/coupon-list/coupon-list";function h(t){var e,n=this;t&&(e=t),this.init=function(t){e=t};var a=function(t){e.alertOptions=t},h=function(){e.alertOptions={}},v=function(){return new Promise((function(t,n){var r=e.$route.query;+r.isAttest?t():(n(),a({show:!0,content:"成为会员才可参与游戏哦~\n快认证成为会员赢好礼吧!",buttonList:[{text:"立即认证",click:function(){h(),x()}}],cancel:function(){h()}}))}))},m=function(){return new Promise((function(t,n){var r=e.game,i="无法参与游戏";switch(+r.status){case 0:i="游戏还没开始,请耐心等待,\n去其他地方先逛逛吧~";break;case 1:return void t();case 2:i="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 3:i="来晚一步,游戏已下架,\n去其它地方看看吧~";break;default:break}n(),a({show:!0,content:i,buttonList:[{text:"前往会员中心",click:function(){h(),O()}}],cancel:function(){h()}})}))},g=function(){return new Promise((function(t){i(e.$route.query).then(t).catch((function(){a({show:!0,title:"很遗憾",content:"您暂无权限参加本次游戏,详情请查看游戏规则",buttonList:[{text:"查看规则",click:function(){h(),n.toGameRule()}}],cancel:function(){h()}})}))}))},w=function(){return new Promise((function(t,n){c(e.$route.query).then(t).catch((function(t){n(t);var r="",i="",o=[{text:"前往会员中心",click:function(){h(),O()}}];switch(console.log("res-----\x3e",t),+t.code){case 2001:r="来晚一步,游戏已结束,\n去其他地方看看吧~";break;case 2002:r="游戏还没开始,请耐心等待,\n去其他地方看看吧~";break;case 2003:i="很遗憾",r="您暂无权限参加本次游戏,\n详情请查看游戏规则",o=[{text:"查看规则",click:function(){h(),e.toGameRule()}}];break;case 2004:r="游戏次数已达上限,\n去其他地方看看吧~";break;case 2005:i="游戏剩余次数已用完",r="每邀请".concat(e.shareConditionObj.inviteNum,"位好友助力即可获得").concat(e.shareConditionObj.value,"次游戏机会哦~"),o=[{text:"分享好友",click:function(){e.shareWx(),h()}},{text:"分享朋友圈",click:function(){e.sharePyq(),h()}}];break;case 2006:r="当前积分不足,\n去先去获取些积分吧~",o=[{text:"立即获取积分",click:function(){h(),window.wx.miniProgram.navigateTo({url:"/"+e.rule.dumpPath})}}];break;case 2007:r="今日免费次数已用完,\n明早继续";break;case 2008:r="免费游戏次数已达上限,\n去其他地方看看吧~";break;default:r=t.message||"系统异常",o=[];break}(i||r)&&a({show:!0,title:i,content:r,buttonList:o,cancel:function(){h()}})}))}))};this.play=function(){return m().then(v).then(g).then((function(){return w()}))},this.checkAttest=v;var y,x=function(){var t=e.$route.query,n=l,r={type:2,data:{path:"".concat(f,"?gameId=").concat(t.gameId,"&enterpriseId=").concat(t.enterpriseId,"&shareMemberId=").concat(t.shareMemberId||"","&isFrom=openCard")}};n+="?intent="+encodeURIComponent(JSON.stringify(r)),window.wx.miniProgram.navigateTo({url:n})},O=function(){window.wx.miniProgram.reLaunch({url:u})};this.shareWx=function(t){var e="".concat(d,"?shareOptions=").concat(encodeURIComponent(JSON.stringify(t)),"&content=邀好友助力加参与游戏次数,赢好礼&confirmText=立即分享");window.wx.miniProgram.navigateTo({url:e})},this.support=Object(r["a"])(regeneratorRuntime.mark((function t(){var n,r,i,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$route.query,2!=e.helpDetail.helpStatus){t.next=4;break}return a({show:!0,content:"您已助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 4:if(n.memberId!=n.shareMemberId){t.next=7;break}return a({show:!0,content:"无法为自己助力,赶快邀请好友助力",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}),t.abrupt("return");case 7:return t.next=9,o({gameId:n.gameId,enterpriseId:n.enterpriseId});case 9:i=t.sent,c=i.gameRuleConditionList||[],c.map((function(t){var e=JSON.parse(t.conditionJson);11!=+e.type&&12!=+e.type||(r=e)})),11==r.type?+n.isAttest?a({show:!0,content:"很遗憾,您已成为会员,无法助力好友,可立即参与游戏,赢取好礼",buttonList:[{text:"参与游戏赢好礼",click:function(){h(),e.toPlayGame()}}],cancel:function(){h()}}):a({show:!0,content:"仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼",buttonList:[{text:"立即认证会员",click:function(){h(),x()}}],cancel:function(){h()}}):12==r.type&&e.sharePyq(r);case 13:case"end":return t.stop()}}),t)})));var k=function(){var t=Object(r["a"])(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.$route.query,t.next=3,s({gameId:n.gameId,enterpriseId:n.enterpriseId,memberId:n.memberId});case 3:r=t.sent,e.playNumberObj.playNumber=r;case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return this.startPolling=function(){y=setInterval((function(){k()}),1e4)},this.stopPolling=function(){clearInterval(y)},this.toIntegralDetail=function(){window.wx.miniProgram.navigateTo({url:b})},this.toCouponList=function(){window.wx.miniProgram.navigateTo({url:p})},this}},c513:function(t,e,n){var r=n("23e7"),a=n("1a2d"),i=n("d9b5"),o=n("0d51"),c=n("5692"),s=n("3d87"),u=c("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!i(t))throw TypeError(o(t)+" is not a symbol");if(a(u,t))return u[t]}})},d9f5:function(t,e,n){"use strict";var r=n("23e7"),a=n("da84"),i=n("c65b"),o=n("e330"),c=n("c430"),s=n("83ab"),u=n("4930"),f=n("d039"),l=n("1a2d"),d=n("3a9b"),b=n("825a"),p=n("fc6a"),h=n("a04b"),v=n("577e"),m=n("5c6c"),g=n("7c73"),w=n("df75"),y=n("241c"),x=n("057f"),O=n("7418"),k=n("06cf"),P=n("9bf2"),C=n("37e8"),j=n("d1e7"),I=n("cb2d"),S=n("5692"),$=n("f772"),_=n("d012"),D=n("90e3"),E=n("b622"),R=n("e538"),L=n("746f"),N=n("57b9"),T=n("d44e"),q=n("69f3"),M=n("b727").forEach,z=$("hidden"),F="Symbol",G="prototype",A=q.set,J=q.getterFor(F),H=Object[G],U=a.Symbol,W=U&&U[G],Q=a.TypeError,Y=a.QObject,B=k.f,K=P.f,V=x.f,X=j.f,Z=o([].push),tt=S("symbols"),et=S("op-symbols"),nt=S("wks"),rt=!Y||!Y[G]||!Y[G].findChild,at=s&&f((function(){return 7!=g(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=B(H,e);r&&delete H[e],K(t,e,n),r&&t!==H&&K(H,e,r)}:K,it=function(t,e){var n=tt[t]=g(W);return A(n,{type:F,tag:t,description:e}),s||(n.description=e),n},ot=function(t,e,n){t===H&&ot(et,e,n),b(t);var r=h(e);return b(n),l(tt,r)?(n.enumerable?(l(t,z)&&t[z][r]&&(t[z][r]=!1),n=g(n,{enumerable:m(0,!1)})):(l(t,z)||K(t,z,m(1,{})),t[z][r]=!0),at(t,r,n)):K(t,r,n)},ct=function(t,e){b(t);var n=p(e),r=w(n).concat(dt(n));return M(r,(function(e){s&&!i(ut,n,e)||ot(t,e,n[e])})),t},st=function(t,e){return void 0===e?g(t):ct(g(t),e)},ut=function(t){var e=h(t),n=i(X,this,e);return!(this===H&&l(tt,e)&&!l(et,e))&&(!(n||!l(this,e)||!l(tt,e)||l(this,z)&&this[z][e])||n)},ft=function(t,e){var n=p(t),r=h(e);if(n!==H||!l(tt,r)||l(et,r)){var a=B(n,r);return!a||!l(tt,r)||l(n,z)&&n[z][r]||(a.enumerable=!0),a}},lt=function(t){var e=V(p(t)),n=[];return M(e,(function(t){l(tt,t)||l(_,t)||Z(n,t)})),n},dt=function(t){var e=t===H,n=V(e?et:p(t)),r=[];return M(n,(function(t){!l(tt,t)||e&&!l(H,t)||Z(r,tt[t])})),r};u||(U=function(){if(d(W,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,e=D(t),n=function(t){this===H&&i(n,et,t),l(this,z)&&l(this[z],e)&&(this[z][e]=!1),at(this,e,m(1,t))};return s&&rt&&at(H,e,{configurable:!0,set:n}),it(e,t)},W=U[G],I(W,"toString",(function(){return J(this).tag})),I(U,"withoutSetter",(function(t){return it(D(t),t)})),j.f=ut,P.f=ot,C.f=ct,k.f=ft,y.f=x.f=lt,O.f=dt,R.f=function(t){return it(E(t),t)},s&&(K(W,"description",{configurable:!0,get:function(){return J(this).description}}),c||I(H,"propertyIsEnumerable",ut,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),M(w(nt),(function(t){L(t)})),r({target:F,stat:!0,forced:!u},{useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:st,defineProperty:ot,defineProperties:ct,getOwnPropertyDescriptor:ft}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt}),N(),T(U,F),_[z]=!0},dbb4:function(t,e,n){var r=n("23e7"),a=n("83ab"),i=n("56ef"),o=n("fc6a"),c=n("06cf"),s=n("8418");r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),a=c.f,u=i(r),f={},l=0;while(u.length>l)n=a(r,e=u[l++]),void 0!==n&&s(f,e,n);return f}})},e439:function(t,e,n){var r=n("23e7"),a=n("d039"),i=n("fc6a"),o=n("06cf").f,c=n("83ab"),s=a((function(){o(1)})),u=!c||s;r({target:"Object",stat:!0,forced:u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return o(i(t),e)}})},e538:function(t,e,n){var r=n("b622");e.f=r}}]);
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -61,5 +61,9 @@ const gameApiMap = { ...@@ -61,5 +61,9 @@ const gameApiMap = {
// 获取助力详情 // 获取助力详情
getHelpDetail: '/gic-wx-app/game/help_detail', getHelpDetail: '/gic-wx-app/game/help_detail',
// 浏览埋点
shareEvent: '/api-bury-point/share-event',
} }
export const gameRequestApi = getExport(gameApiMap) export const gameRequestApi = getExport(gameApiMap)
\ No newline at end of file
...@@ -402,7 +402,7 @@ export function Manager(component) { ...@@ -402,7 +402,7 @@ export function Manager(component) {
content: "仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼", content: "仅差一步,您当前还不是会员,无法助力,立即认证成为会员,助力赢取好礼",
buttonList: [ buttonList: [
{ {
text: "参与游戏赢好礼", text: "立即认证会员",
click: () => { click: () => {
hiddenAlert(); hiddenAlert();
// window.wx.miniProgram // window.wx.miniProgram
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment