Commit f0bcf283 by 曾经

no message

parent 13d66ada
<!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-61d8d301.92cca16d.css" rel="prefetch"><link href="css/chunk-65c6312e.7c0cab91.css" rel="prefetch"><link href="css/chunk-7992ee5a.66102855.css" rel="prefetch"><link href="css/chunk-b538c240.cf8101e3.css" rel="prefetch"><link href="js/chunk-0a6bc2c3.adccd8f6.js" rel="prefetch"><link href="js/chunk-0b8f2f23.0efc6225.js" rel="prefetch"><link href="js/chunk-61d8d301.4bc21ba0.js" rel="prefetch"><link href="js/chunk-65c6312e.76ce6720.js" rel="prefetch"><link href="js/chunk-7992ee5a.18aee457.js" rel="prefetch"><link href="js/chunk-b538c240.ccb698e4.js" rel="prefetch"><link href="js/chunk-cf6f0d08.46122fa1.js" rel="prefetch"><link href="js/app.61394d11.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.61394d11.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-09d6eb1c.55ff55bc.css" rel="prefetch"><link href="css/chunk-77326763.92cca16d.css" rel="prefetch"><link href="css/chunk-853436b6.7c0cab91.css" rel="prefetch"><link href="css/chunk-b538c240.cf8101e3.css" rel="prefetch"><link href="js/chunk-0985bb32.992f02b5.js" rel="prefetch"><link href="js/chunk-09d6eb1c.8b338bc6.js" rel="prefetch"><link href="js/chunk-11fab6c6.f698eb6d.js" rel="prefetch"><link href="js/chunk-6532123b.b4cec906.js" rel="prefetch"><link href="js/chunk-77326763.d4c5d4b3.js" rel="prefetch"><link href="js/chunk-853436b6.b59e7dc4.js" rel="prefetch"><link href="js/chunk-b538c240.e09488f5.js" rel="prefetch"><link href="js/app.34b798b5.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.34b798b5.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(e){function n(n){for(var r,o,a=n[0],i=n[1],l=n[2],f=0,h=[];f<a.length;f++)o=a[f],Object.prototype.hasOwnProperty.call(c,o)&&c[o]&&h.push(c[o][0]),c[o]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);s&&s(n);while(h.length)h.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,n=0;n<u.length;n++){for(var t=u[n],r=!0,o=1;o<t.length;o++){var a=t[o];0!==c[a]&&(r=!1)}r&&(u.splice(n--,1),e=i(i.s=t[0]))}return e}var r={},o={app:0},c={app:0},u=[];function a(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-0985bb32":"992f02b5","chunk-11fab6c6":"f698eb6d","chunk-6532123b":"b4cec906","chunk-09d6eb1c":"8b338bc6","chunk-77326763":"d4c5d4b3","chunk-853436b6":"b59e7dc4","chunk-b538c240":"e09488f5"}[e]+".js"}function i(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-09d6eb1c":1,"chunk-77326763":1,"chunk-853436b6":1,"chunk-b538c240":1};o[e]?n.push(o[e]):0!==o[e]&&t[e]&&n.push(o[e]=new Promise((function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-0985bb32":"31d6cfe0","chunk-11fab6c6":"31d6cfe0","chunk-6532123b":"31d6cfe0","chunk-09d6eb1c":"55ff55bc","chunk-77326763":"92cca16d","chunk-853436b6":"7c0cab91","chunk-b538c240":"cf8101e3"}[e]+".css",c=i.p+r,u=document.getElementsByTagName("link"),a=0;a<u.length;a++){var l=u[a],f=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(f===r||f===c))return n()}var h=document.getElementsByTagName("style");for(a=0;a<h.length;a++){l=h[a],f=l.getAttribute("data-href");if(f===r||f===c)return n()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=n,s.onerror=function(n){var r=n&&n.target&&n.target.src||c,u=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=r,delete o[e],s.parentNode.removeChild(s),t(u)},s.href=c;var p=document.getElementsByTagName("head")[0];p.appendChild(s)})).then((function(){o[e]=0})));var r=c[e];if(0!==r)if(r)n.push(r[2]);else{var u=new Promise((function(n,t){r=c[e]=[n,t]}));n.push(r[2]=u);var l,f=document.createElement("script");f.charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.src=a(e);var h=new Error;l=function(n){f.onerror=f.onload=null,clearTimeout(s);var t=c[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;h.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",h.name="ChunkLoadError",h.type=r,h.request=o,t[1](h)}c[e]=void 0}};var s=setTimeout((function(){l({type:"timeout",target:f})}),12e4);f.onerror=f.onload=l,document.head.appendChild(f)}return Promise.all(n)},i.m=e,i.c=r,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)i.d(t,r,function(n){return e[n]}.bind(null,r));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i.oe=function(e){throw console.error(e),e};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],f=l.push.bind(l);l.push=n,l=l.slice();for(var h=0;h<l.length;h++)n(l[h]);var s=f;u.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"56d7":function(e,n,t){"use strict";t.r(n);t("e260"),t("e6cf"),t("cca6"),t("a79d");var r=t("8bbf"),o=t.n(r),c=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},u=[],a={name:"App"},i=a,l=t("2877"),f=Object(l["a"])(i,c,u,!1,null,null,null),h=f.exports,s=t("cebe"),p=t.n(s),b=(t("d3b7"),t("3ca3"),t("ddb0"),t("6389")),d=t.n(b);o.a.use(d.a);var m=[{path:"/",component:function(){return Promise.all([t.e("chunk-0985bb32"),t.e("chunk-11fab6c6")]).then(t.bind(null,"6e78"))}},{path:"/cmh",name:"猜盲盒",component:function(){return Promise.all([t.e("chunk-0985bb32"),t.e("chunk-6532123b"),t.e("chunk-09d6eb1c")]).then(t.bind(null,"c740"))}},{path:"/cmh/rule",component:function(){return Promise.all([t.e("chunk-0985bb32"),t.e("chunk-6532123b"),t.e("chunk-77326763")]).then(t.bind(null,"b157"))},name:"游戏规则"},{path:"/cmh/my-reward",component:function(){return Promise.all([t.e("chunk-0985bb32"),t.e("chunk-6532123b"),t.e("chunk-853436b6")]).then(t.bind(null,"75f8"))},name:"我的奖品"},{path:"/cmh/support",component:function(){return t.e("chunk-b538c240").then(t.bind(null,"a8a1"))},name:"助力拆盲盒"}],k=new d.a({base:"/",routes:m}),v=k;o.a.config.productionTip=!1,o.a.prototype.axios=p.a,o.a.prototype.axios.defaults.withCredentials=!0,new o.a({router:v,render:function(e){return e(h)}}).$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
(function(e){function n(n){for(var r,c,a=n[0],i=n[1],f=n[2],l=0,d=[];l<a.length;l++)c=a[l],Object.prototype.hasOwnProperty.call(o,c)&&o[c]&&d.push(o[c][0]),o[c]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);s&&s(n);while(d.length)d.shift()();return u.push.apply(u,f||[]),t()}function t(){for(var e,n=0;n<u.length;n++){for(var t=u[n],r=!0,c=1;c<t.length;c++){var a=t[c];0!==o[a]&&(r=!1)}r&&(u.splice(n--,1),e=i(i.s=t[0]))}return e}var r={},c={app:0},o={app:0},u=[];function a(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-b538c240":"ccb698e4","chunk-cf6f0d08":"46122fa1","chunk-0a6bc2c3":"adccd8f6","chunk-61d8d301":"4bc21ba0","chunk-65c6312e":"76ce6720","chunk-0b8f2f23":"0efc6225","chunk-7992ee5a":"18aee457"}[e]+".js"}function i(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var n=[],t={"chunk-b538c240":1,"chunk-61d8d301":1,"chunk-65c6312e":1,"chunk-7992ee5a":1};c[e]?n.push(c[e]):0!==c[e]&&t[e]&&n.push(c[e]=new Promise((function(n,t){for(var r="css/"+({}[e]||e)+"."+{"chunk-b538c240":"cf8101e3","chunk-cf6f0d08":"31d6cfe0","chunk-0a6bc2c3":"31d6cfe0","chunk-61d8d301":"92cca16d","chunk-65c6312e":"7c0cab91","chunk-0b8f2f23":"31d6cfe0","chunk-7992ee5a":"66102855"}[e]+".css",o=i.p+r,u=document.getElementsByTagName("link"),a=0;a<u.length;a++){var f=u[a],l=f.getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(l===r||l===o))return n()}var d=document.getElementsByTagName("style");for(a=0;a<d.length;a++){f=d[a],l=f.getAttribute("data-href");if(l===r||l===o)return n()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=n,s.onerror=function(n){var r=n&&n.target&&n.target.src||o,u=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=r,delete c[e],s.parentNode.removeChild(s),t(u)},s.href=o;var h=document.getElementsByTagName("head")[0];h.appendChild(s)})).then((function(){c[e]=0})));var r=o[e];if(0!==r)if(r)n.push(r[2]);else{var u=new Promise((function(n,t){r=o[e]=[n,t]}));n.push(r[2]=u);var f,l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=a(e);var d=new Error;f=function(n){l.onerror=l.onload=null,clearTimeout(s);var t=o[e];if(0!==t){if(t){var r=n&&("load"===n.type?"missing":n.type),c=n&&n.target&&n.target.src;d.message="Loading chunk "+e+" failed.\n("+r+": "+c+")",d.name="ChunkLoadError",d.type=r,d.request=c,t[1](d)}o[e]=void 0}};var s=setTimeout((function(){f({type:"timeout",target:l})}),12e4);l.onerror=l.onload=f,document.head.appendChild(l)}return Promise.all(n)},i.m=e,i.c=r,i.d=function(e,n,t){i.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,n){if(1&n&&(e=i(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)i.d(t,r,function(n){return e[n]}.bind(null,r));return t},i.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(n,"a",n),n},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.p="",i.oe=function(e){throw console.error(e),e};var f=window["webpackJsonp"]=window["webpackJsonp"]||[],l=f.push.bind(f);f.push=n,f=f.slice();for(var d=0;d<f.length;d++)n(f[d]);var s=l;u.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("56d7")},"56d7":function(e,n,t){"use strict";t.r(n);t("e260"),t("e6cf"),t("cca6"),t("a79d");var r=t("8bbf"),c=t.n(r),o=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},u=[],a={name:"App"},i=a,f=t("2877"),l=Object(f["a"])(i,o,u,!1,null,null,null),d=l.exports,s=t("cebe"),h=t.n(s),p=(t("d3b7"),t("3ca3"),t("ddb0"),t("6389")),b=t.n(p);c.a.use(b.a);var m=[{path:"/",component:function(){return Promise.all([t.e("chunk-cf6f0d08"),t.e("chunk-0b8f2f23")]).then(t.bind(null,"6e78"))}},{path:"/cmh",name:"猜盲盒",component:function(){return Promise.all([t.e("chunk-cf6f0d08"),t.e("chunk-7992ee5a")]).then(t.bind(null,"c740"))}},{path:"/cmh/rule",component:function(){return Promise.all([t.e("chunk-cf6f0d08"),t.e("chunk-0a6bc2c3"),t.e("chunk-61d8d301")]).then(t.bind(null,"b157"))},name:"游戏规则"},{path:"/cmh/my-reward",component:function(){return Promise.all([t.e("chunk-cf6f0d08"),t.e("chunk-0a6bc2c3"),t.e("chunk-65c6312e")]).then(t.bind(null,"75f8"))},name:"我的奖品"},{path:"/cmh/support",component:function(){return t.e("chunk-b538c240").then(t.bind(null,"a8a1"))},name:"助力拆盲盒"}],k=new b.a({base:"/",routes:m}),v=k;c.a.config.productionTip=!1,c.a.prototype.axios=h.a,c.a.prototype.axios.defaults.withCredentials=!0,new c.a({router:v,render:function(e){return e(d)}}).$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
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0b8f2f23"],{"0cb2":function(e,r,t){var a=t("e330"),n=t("7b0b"),c=Math.floor,i=a("".charAt),u=a("".replace),o=a("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,r,t,a,l,d){var v=t+e.length,h=a.length,p=f;return void 0!==l&&(l=n(l),p=s),u(d,p,(function(n,u){var s;switch(i(u,0)){case"$":return"$";case"&":return e;case"`":return o(r,0,t);case"'":return o(r,v);case"<":s=l[o(u,1,-1)];break;default:var f=+u;if(0===f)return n;if(f>h){var d=c(f/10);return 0===d?n:d<=h?void 0===a[d-1]?i(u,1):a[d-1]+i(u,1):n}s=a[f-1]}return void 0===s?"":s}))}},5319:function(e,r,t){"use strict";var a=t("2ba4"),n=t("c65b"),c=t("e330"),i=t("d784"),u=t("d039"),o=t("825a"),s=t("1626"),f=t("5926"),l=t("50c4"),d=t("577e"),v=t("1d80"),h=t("8aa5"),p=t("dc4a"),b=t("0cb2"),g=t("14c3"),$=t("b622"),m=$("replace"),x=Math.max,k=Math.min,w=c([].concat),I=c([].push),y=c("".indexOf),M=c("".slice),q=function(e){return void 0===e?e:String(e)},D=function(){return"$0"==="a".replace(/./,"$0")}(),J=function(){return!!/./[m]&&""===/./[m]("a","$0")}(),O=!u((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));i("replace",(function(e,r,t){var c=J?"$":"$0";return[function(e,t){var a=v(this),c=void 0==e?void 0:p(e,m);return c?n(c,e,a,t):n(r,d(a),e,t)},function(e,n){var i=o(this),u=d(e);if("string"==typeof n&&-1===y(n,c)&&-1===y(n,"$<")){var v=t(r,i,u,n);if(v.done)return v.value}var p=s(n);p||(n=d(n));var $=i.global;if($){var m=i.unicode;i.lastIndex=0}var D=[];while(1){var J=g(i,u);if(null===J)break;if(I(D,J),!$)break;var O=d(J[0]);""===O&&(i.lastIndex=h(u,l(i.lastIndex),m))}for(var _="",j=0,A=0;A<D.length;A++){J=D[A];for(var C=d(J[0]),E=x(k(f(J.index),u.length),0),G=[],S=1;S<J.length;S++)I(G,q(J[S]));var T=J.groups;if(p){var z=w([C],G,E,u);void 0!==T&&I(z,T);var B=d(a(n,void 0,z))}else B=b(C,u,E,G,T,n);E>=j&&(_+=M(u,j,E)+B,j=E+C.length)}return _+M(u,j)}]}),!O||!D||J)},"6e78":function(e,r,t){"use strict";t.r(r);var a=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"box"})},n=[],c=(t("ac1f"),t("5319"),t("99af"),t("2934")),i=c["a"].getGameInfo,u={components:{},data:function(){return{}},created:function(){document.title="游戏",this.loadData()},methods:{loadData:function(){var e=this,r=this.$route.query;i({gameId:r.gameId,enterpriseId:r.enterpriseId}).then((function(t){var a="";switch(+t.templateType){case 1:a="cmh";break;case 2:break;default:break}e.$router.replace({path:"/".concat(a).concat(r.shareMemberId?"/support":""),query:r})}))}}},o=u,s=t("2877"),f=Object(s["a"])(o,a,n,!1,null,"0e4ea195",null);r["default"]=f.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-11fab6c6"],{"0cb2":function(e,r,t){var a=t("e330"),n=t("7b0b"),c=Math.floor,i=a("".charAt),o=a("".replace),u=a("".slice),f=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,r,t,a,s,l){var v=t+e.length,h=a.length,p=d;return void 0!==s&&(s=n(s),p=f),o(l,p,(function(n,o){var f;switch(i(o,0)){case"$":return"$";case"&":return e;case"`":return u(r,0,t);case"'":return u(r,v);case"<":f=s[u(o,1,-1)];break;default:var d=+o;if(0===d)return n;if(d>h){var l=c(d/10);return 0===l?n:l<=h?void 0===a[l-1]?i(o,1):a[l-1]+i(o,1):n}f=a[d-1]}return void 0===f?"":f}))}},5319:function(e,r,t){"use strict";var a=t("2ba4"),n=t("c65b"),c=t("e330"),i=t("d784"),o=t("d039"),u=t("825a"),f=t("1626"),d=t("5926"),s=t("50c4"),l=t("577e"),v=t("1d80"),h=t("8aa5"),p=t("dc4a"),b=t("0cb2"),g=t("14c3"),$=t("b622"),m=$("replace"),x=Math.max,w=Math.min,k=c([].concat),I=c([].push),y=c("".indexOf),M=c("".slice),q=function(e){return void 0===e?e:String(e)},A=function(){return"$0"==="a".replace(/./,"$0")}(),C=function(){return!!/./[m]&&""===/./[m]("a","$0")}(),D=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));i("replace",(function(e,r,t){var c=C?"$":"$0";return[function(e,t){var a=v(this),c=void 0==e?void 0:p(e,m);return c?n(c,e,a,t):n(r,l(a),e,t)},function(e,n){var i=u(this),o=l(e);if("string"==typeof n&&-1===y(n,c)&&-1===y(n,"$<")){var v=t(r,i,o,n);if(v.done)return v.value}var p=f(n);p||(n=l(n));var $=i.global;if($){var m=i.unicode;i.lastIndex=0}var A=[];while(1){var C=g(i,o);if(null===C)break;if(I(A,C),!$)break;var D=l(C[0]);""===D&&(i.lastIndex=h(o,s(i.lastIndex),m))}for(var E="",J=0,O=0;O<A.length;O++){C=A[O];for(var S=l(C[0]),T=x(w(d(C.index),o.length),0),_=[],j=1;j<C.length;j++)I(_,q(C[j]));var G=C.groups;if(p){var z=k([S],_,T,o);void 0!==G&&I(z,G);var B=l(a(n,void 0,z))}else B=b(S,o,T,_,G,n);T>=J&&(E+=M(o,J,T)+B,J=T+S.length)}return E+M(o,J)}]}),!D||!A||C)},"6e78":function(e,r,t){"use strict";t.r(r);var a=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"box"})},n=[],c=(t("ac1f"),t("5319"),t("99af"),t("2934")),i=c["a"].getGameInfo,o={components:{},data:function(){return{}},created:function(){document.title="游戏",this.loadData()},methods:{loadData:function(){var e=this,r=this.$route.query;i({gameId:r.gameId,enterpriseId:r.enterpriseId}).then((function(t){var a="";switch(+t.templateType){case 1:a="cmh";break;case 2:break;default:break}e.$router.replace({path:"/".concat(a).concat(r.shareMemberId?"/support":""),query:r})}))}}},u=o,f=t("2877"),d=Object(f["a"])(u,a,n,!1,null,"59c81732",null);r["default"]=d.exports},"99af":function(e,r,t){"use strict";var a=t("23e7"),n=t("da84"),c=t("d039"),i=t("e8b5"),o=t("861d"),u=t("7b0b"),f=t("07fa"),d=t("8418"),s=t("65f0"),l=t("1dde"),v=t("b622"),h=t("2d00"),p=v("isConcatSpreadable"),b=9007199254740991,g="Maximum allowed index exceeded",$=n.TypeError,m=h>=51||!c((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),x=l("concat"),w=function(e){if(!o(e))return!1;var r=e[p];return void 0!==r?!!r:i(e)},k=!m||!x;a({target:"Array",proto:!0,arity:1,forced:k},{concat:function(e){var r,t,a,n,c,i=u(this),o=s(i,0),l=0;for(r=-1,a=arguments.length;r<a;r++)if(c=-1===r?i:arguments[r],w(c)){if(n=f(c),l+n>b)throw $(g);for(t=0;t<n;t++,l++)t in c&&d(o,l,c[t])}else{if(l>=b)throw $(g);d(o,l++,c)}return o.length=l,o}})}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-61d8d301"],{"856d":function(t,e,i){"use strict";i("86df")},"86df":function(t,e,i){},b157:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"box"},[t._m(0),i("div",{staticClass:"content"},[t.rule&&t.rule.gameId?i("div",{staticClass:"content-cell"},[t._m(1),i("div",{staticClass:"rule-box"},[i("div",{staticClass:"rule-item"},[i("div",{staticClass:"title"},[t._v("游戏时间")]),i("div",{staticClass:"value"},[t._v(t._s(t._f("formatDate")(t.rule.startDate))+"-"+t._s(t._f("formatDate")(t.rule.endDate)))])]),t.rule.playConditionFlag?i("div",{staticClass:"rule-item"},[i("div",{staticClass:"title"},[t._v("参与门槛")]),t._l(t.rule.gameRuleConditionList,(function(e){return i("div",{key:e,staticClass:"value point"},[21==e.conditionObj.type?i("div",[t._v("每天增加 "+t._s(e.conditionObj.value)+" 次免费游戏机会")]):22==e.conditionObj.type?i("div",[t._v("赠送 "+t._s(e.conditionObj.value)+" 次免费游戏机会")]):1==e.conditionObj.type?i("div",[t._v("每参加 1 次游戏消耗 "+t._s(e.conditionObj.value)+" 积分")]):11==e.conditionObj.type?i("div",[t._v("每邀请 "+t._s(e.conditionObj.inviteNum)+" 位用户认证,增加 "+t._s(e.conditionObj.value)+" 次游戏机会")]):12==e.conditionObj.type?i("div",[t._v("每邀请 "+t._s(e.conditionObj.inviteNum)+" 位用户关注服务号,增加 "+t._s(e.conditionObj.value)+" 次游戏机会")]):t._e()])}))],2):t._e(),t.rule.playTimes?i("div",{staticClass:"rule-item"},[i("div",{staticClass:"title"},[t._v("游戏参与次数")]),i("div",{staticClass:"value"},[t._v("每人"+t._s(t.rule.playTimes)+"次")])]):t._e(),i("div",{staticClass:"rule-item"},[i("div",{staticClass:"title"},[t._v("适用人群")]),i("div",{staticClass:"value"},[t._v(t._s(t.rule.memberDesc))])]),i("div",{staticClass:"rule-item"},[i("div",{staticClass:"title"},[t._v("游戏说明")]),i("div",{staticClass:"value point",domProps:{innerHTML:t._s(t.rule.gameRule)}})])])]):t._e(),t.rewardList&&t.rewardList.length?i("div",{staticClass:"content-cell"},[t._m(2),i("div",{staticClass:"reward-box"},t._l(t.rewardList,(function(e){return i("div",{key:e,staticClass:"reward-item-box"},[i("div",{staticClass:"reward-item-detail"},[i("div",{staticClass:"img-box"},[i("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),i("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),i("div",{staticClass:"reward-des"},[t._v(t._s(e.prizeDesc))])])])})),0)]):t._e()])])},s=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"page-bg"},[i("img",{staticClass:"bg-img",attrs:{src:"https://pic01-10001430.cos.ap-shanghai.myqcloud.com/game/template1/mould_01_rulebg.png",mode:"widthFix"}})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cell-top"},[i("div",{staticClass:"iconfont icon-duobianxing"}),i("div",{staticClass:"title"},[t._v("游戏规则")]),i("div",{staticClass:"iconfont icon-duobianxing"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cell-top"},[i("div",{staticClass:"iconfont icon-duobianxing"}),i("div",{staticClass:"title"},[t._v("游戏奖品")]),i("div",{staticClass:"iconfont icon-duobianxing"})])}],n=i("5530"),r=i("1da1"),c=(i("96cf"),i("d81d"),i("2934")),l=c["a"].getGameRule,o=c["a"].getGameReward,d={components:{},data:function(){return{rule:{},rewardList:[]}},created:function(){document.title="游戏规则",this.loadData()},methods:{loadData:function(){this.getGameRule(),this.getGameReward()},getGameRule:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l(Object(n["a"])({},t.$route.query));case 2:i=e.sent,i.gameRuleConditionList&&i.gameRuleConditionList.map((function(t){t.conditionObj=JSON.parse(t.conditionJson)})),t.rule=i;case 5:case"end":return e.stop()}}),e)})))()},getGameReward:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o(Object(n["a"])({},t.$route.query));case 2:i=e.sent,t.rewardList=i;case 4:case"end":return e.stop()}}),e)})))()}},filters:{formatDate:function(t){if(!t)return"--";var e=new Date(t);return e.getFullYear()+"年"+(e.getMonth()+1)+"月"+e.getDate()+"日"}}},u=d,v=(i("856d"),i("2877")),m=Object(v["a"])(u,a,s,!1,null,"21bd19b3",null);e["default"]=m.exports},d81d:function(t,e,i){"use strict";var a=i("23e7"),s=i("b727").map,n=i("1dde"),r=n("map");a({target:"Array",proto:!0,forced:!r},{map:function(t){return s(this,t,arguments.length>1?arguments[1]:void 0)}})}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6532123b"],{"1da1":function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));e("d3b7");function n(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(f){return void e(f)}c.done?r(u):Promise.resolve(u).then(n,o)}function o(t){return function(){var r=this,e=arguments;return new Promise((function(o,i){var a=t.apply(r,e);function c(t){n(a,o,i,c,u,"next",t)}function u(t){n(a,o,i,c,u,"throw",t)}c(void 0)}))}}},"96cf":function(t,r,e){var n=function(t){"use strict";var r,e=Object.prototype,n=e.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{u({},"")}catch(P){u=function(t,r,e){return t[r]=e}}function f(t,r,e,n){var o=r&&r.prototype instanceof d?r:d,i=Object.create(o.prototype),a=new N(n||[]);return i._invoke=_(t,e,a),i}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(P){return{type:"throw",arg:P}}}t.wrap=f;var s="suspendedStart",l="suspendedYield",p="executing",y="completed",v={};function d(){}function g(){}function w(){}var m={};u(m,i,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(S([])));x&&x!==e&&n.call(x,i)&&(m=x);var L=w.prototype=d.prototype=Object.create(m);function E(t){["next","throw","return"].forEach((function(r){u(t,r,(function(t){return this._invoke(r,t)}))}))}function O(t,r){function e(o,i,a,c){var u=h(t[o],t,i);if("throw"!==u.type){var f=u.arg,s=f.value;return s&&"object"===typeof s&&n.call(s,"__await")?r.resolve(s.__await).then((function(t){e("next",t,a,c)}),(function(t){e("throw",t,a,c)})):r.resolve(s).then((function(t){f.value=t,a(f)}),(function(t){return e("throw",t,a,c)}))}c(u.arg)}var o;function i(t,n){function i(){return new r((function(r,o){e(t,n,r,o)}))}return o=o?o.then(i,i):i()}this._invoke=i}function _(t,r,e){var n=s;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw i;return G()}e.method=o,e.arg=i;while(1){var a=e.delegate;if(a){var c=j(a,e);if(c){if(c===v)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===s)throw n=y,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=p;var u=h(t,r,e);if("normal"===u.type){if(n=e.done?y:l,u.arg===v)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n=y,e.method="throw",e.arg=u.arg)}}}function j(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator["return"]&&(e.method="return",e.arg=r,j(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=h(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function F(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function k(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function e(){while(++o<t.length)if(n.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=r,e.done=!0,e};return a.next=a}}return{next:G}}function G(){return{value:r,done:!0}}return g.prototype=w,u(L,"constructor",w),u(w,"constructor",g),g.displayName=u(w,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"===typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,u(t,c,"GeneratorFunction")),t.prototype=Object.create(L),t},t.awrap=function(t){return{__await:t}},E(O.prototype),u(O.prototype,a,(function(){return this})),t.AsyncIterator=O,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new O(f(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(L),u(L,c,"Generator"),u(L,i,(function(){return this})),u(L,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){while(r.length){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=S,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(k),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0],r=t.completion;if("throw"===r.type)throw r.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),f=n.call(a,"finallyLoc");if(u&&f){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),v},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),k(e),v}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;k(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),v}},t}(t.exports);try{regeneratorRuntime=n}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},b727:function(t,r,e){var n=e("0366"),o=e("e330"),i=e("44ad"),a=e("7b0b"),c=e("07fa"),u=e("65f0"),f=o([].push),h=function(t){var r=1==t,e=2==t,o=3==t,h=4==t,s=6==t,l=7==t,p=5==t||s;return function(y,v,d,g){for(var w,m,b=a(y),x=i(b),L=n(v,d),E=c(x),O=0,_=g||u,j=r?_(y,E):e||l?_(y,0):void 0;E>O;O++)if((p||O in x)&&(w=x[O],m=L(w,O,b),t))if(r)j[O]=m;else if(m)switch(t){case 3:return!0;case 5:return w;case 6:return O;case 2:f(j,w)}else switch(t){case 4:return!1;case 7:f(j,w)}return s?-1:o||h?h:j}};t.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterReject:h(7)}},e9c4:function(t,r,e){var n=e("23e7"),o=e("d066"),i=e("2ba4"),a=e("c65b"),c=e("e330"),u=e("d039"),f=e("e8b5"),h=e("1626"),s=e("861d"),l=e("d9b5"),p=e("f36a"),y=e("4930"),v=o("JSON","stringify"),d=c(/./.exec),g=c("".charAt),w=c("".charCodeAt),m=c("".replace),b=c(1..toString),x=/[\uD800-\uDFFF]/g,L=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,O=!y||u((function(){var t=o("Symbol")();return"[null]"!=v([t])||"{}"!=v({a:t})||"{}"!=v(Object(t))})),_=u((function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")})),j=function(t,r){var e=p(arguments),n=r;if((s(r)||void 0!==t)&&!l(t))return f(r)||(r=function(t,r){if(h(n)&&(r=a(n,this,t,r)),!l(r))return r}),e[1]=r,i(v,null,e)},F=function(t,r,e){var n=g(e,r-1),o=g(e,r+1);return d(L,t)&&!d(E,o)||d(E,t)&&!d(L,n)?"\\u"+b(w(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:O||_},{stringify:function(t,r,e){var n=p(arguments),o=i(O?j:v,null,n);return _&&"string"==typeof o?m(o,x,F):o}})}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-65c6312e"],{"0cb2":function(t,e,a){var i=a("e330"),r=a("7b0b"),n=Math.floor,s=i("".charAt),c=i("".replace),o=i("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,a,i,d,v){var f=a+t.length,g=i.length,h=u;return void 0!==d&&(d=r(d),h=l),c(v,h,(function(r,c){var l;switch(s(c,0)){case"$":return"$";case"&":return t;case"`":return o(e,0,a);case"'":return o(e,f);case"<":l=d[o(c,1,-1)];break;default:var u=+c;if(0===u)return r;if(u>g){var v=n(u/10);return 0===v?r:v<=g?void 0===i[v-1]?s(c,1):i[v-1]+s(c,1):r}l=i[u-1]}return void 0===l?"":l}))}},1172:function(t,e,a){t.exports=a.p+"img/mould_01_fail_pic.c6ecf7b9.png"},"3a42":function(t,e,a){},5319:function(t,e,a){"use strict";var i=a("2ba4"),r=a("c65b"),n=a("e330"),s=a("d784"),c=a("d039"),o=a("825a"),l=a("1626"),u=a("5926"),d=a("50c4"),v=a("577e"),f=a("1d80"),g=a("8aa5"),h=a("dc4a"),p=a("0cb2"),m=a("14c3"),w=a("b622"),b=w("replace"),C=Math.max,_=Math.min,x=n([].concat),$=n([].push),y=n("".indexOf),D=n("".slice),k=function(t){return void 0===t?t:String(t)},P=function(){return"$0"==="a".replace(/./,"$0")}(),z=function(){return!!/./[b]&&""===/./[b]("a","$0")}(),M=!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,a){var n=z?"$":"$0";return[function(t,a){var i=f(this),n=void 0==t?void 0:h(t,b);return n?r(n,t,i,a):r(e,v(i),t,a)},function(t,r){var s=o(this),c=v(t);if("string"==typeof r&&-1===y(r,n)&&-1===y(r,"$<")){var f=a(e,s,c,r);if(f.done)return f.value}var h=l(r);h||(r=v(r));var w=s.global;if(w){var b=s.unicode;s.lastIndex=0}var P=[];while(1){var z=m(s,c);if(null===z)break;if($(P,z),!w)break;var M=v(z[0]);""===M&&(s.lastIndex=g(c,d(s.lastIndex),b))}for(var O="",j=0,F=0;F<P.length;F++){z=P[F];for(var H=v(z[0]),I=C(_(u(z.index),c.length),0),S=[],q=1;q<z.length;q++)$(S,k(z[q]));var E=z.groups;if(h){var R=x([H],S,I,c);void 0!==E&&$(R,E);var J=v(i(r,void 0,R))}else J=p(H,c,I,S,E,r);I>=j&&(O+=D(c,j,I)+J,j=I+H.length)}return O+D(c,j)}]}),!M||!P||z)},"75f8":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"box"},[t._m(0),i("div",{staticClass:"content"},[i("div",{staticClass:"content-cell"},[t._m(1),t.list&&t.list.length?i("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 i("div",{key:e,staticClass:"reward-item-box"},[i("div",{staticClass:"reward-item"},[i("div",{staticClass:"reward-img-box"},[i("img",{staticClass:"reward-img",attrs:{src:e.prizeImageUrl,mode:"scaleToFit"}})]),i("div",{staticClass:"reward-info"},[i("div",{staticClass:"reward-name"},[t._v(t._s(e.prizeName))]),i("div",{staticClass:"reward-condition"},[t._v(t._s(e.prizeDesc||""))]),i("div",{staticClass:"reward-time"},[t._v(t._s(t._f("formatDate")(e.prizeTime)))])])])])})),0):t.haveLoad?i("div",{staticClass:"empty-box",style:{height:t.windowHeight-50-20-34-10+"px"}},[i("img",{staticClass:"empty-img",attrs:{src:a("1172"),mode:"widthFix"}}),i("div",{staticClass:"title"},[t._v("这里空空如也")]),i("div",{staticClass:"subtitle"},[t._v("还没有获得任何奖品哦~赶紧拆盲盒赢取好礼吧!")]),i("div",{staticClass:"play-btn",on:{click:t.toPlay}},[t._v("去拆盲盒")])]):t._e()])])])},r=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"page-bg"},[i("img",{staticClass:"bg-img",attrs:{src:a("7669"),mode:"widthFix"}})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"cell-top"},[a("div",{staticClass:"iconfont icon-duobianxing"}),a("div",{staticClass:"title"},[t._v("我的奖品")]),a("div",{staticClass:"iconfont icon-duobianxing"})])}],n=a("5530"),s=a("1da1"),c=(a("96cf"),a("99af"),a("ac1f"),a("5319"),a("2934")),o=c["a"].getMyReward,l={components:{},data:function(){return{list:[],pageSize:20,currentPage:1,totalCount:0}},created:function(){document.title="我的奖品",this.windowHeight=window.innerHeight,this.reloadData()},methods:{reloadData:function(){this.currentPage=1,this.totalCount=0,this.loadData()},loadData:function(){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function e(){var a,i,r;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 a=t.$route.query,e.next=5,o(Object(n["a"])(Object(n["a"])({},a),{},{currentPage:t.currentPage,pageSize:t.pageSize}));case 5:i=e.sent,t.haveLoad=!0,t.totalCount=i.totalCount,r=[],r=1==t.currentPage?i.result||[]:r.concat(i.result||[]),t.currentPage++,t.list=r;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()+"日"}}},u=l,d=(a("e80a"),a("2877")),v=Object(d["a"])(u,i,r,!1,null,"34971f2a",null);e["default"]=v.exports},7669:function(t,e,a){t.exports=a.p+"img/mould_01_rulebg.c076f3ae.png"},e80a:function(t,e,a){"use strict";a("3a42")}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -52,5 +52,11 @@ const gameApiMap = { ...@@ -52,5 +52,11 @@ const gameApiMap = {
// 获取积分 // 获取积分
getIntegral: '/gic-wx-app/common/integral', getIntegral: '/gic-wx-app/common/integral',
// 获取分享码
getGameShareQrCodeUrl: {
type:"post",
url: '/gic-wx-app/game/share'
}
} }
export const gameRequestApi = getExport(gameApiMap) export const gameRequestApi = getExport(gameApiMap)
\ No newline at end of file
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class="title">恭喜获得</div> <div class="title">恭喜获得</div>
<div class="subtitle">{{ reward.prizeName }}</div> <div class="subtitle">{{ reward.prizeName }}</div>
<div class="reward-box"> <div class="reward-box">
<img :src="reward.prizeImageUrl" class="reward-img" mode="widthFix"/> <img :src="reward.prizeImageUrl" class="reward-img"/>
<div class="reward-log-text"> <div class="reward-log-text">
<span>奖品已放置</span> <span>奖品已放置</span>
<span class="color-text">【我的奖品】</span> <span class="color-text">【我的奖品】</span>
...@@ -63,7 +63,7 @@ export default { ...@@ -63,7 +63,7 @@ export default {
position: absolute; position: absolute;
z-index: 2; z-index: 2;
left: 50%; left: 50%;
top: 45%; top: 49%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
text-align: center; text-align: center;
} }
...@@ -89,11 +89,12 @@ export default { ...@@ -89,11 +89,12 @@ export default {
} }
.dialog-bg .content .reward-img{ .dialog-bg .content .reward-img{
margin: 0 auto; margin: 0 auto;
padding: 54px 0 0; padding: 29px 0 0;
width: 150px; width: 150px;
height: 150px;
} }
.dialog-bg .content .reward-log-text{ .dialog-bg .content .reward-log-text{
padding: 36px 0 14px; padding: 11px 0 14px;
font-size: 12px; font-size: 12px;
color: #27292B; color: #27292B;
} }
......
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
position: absolute; position: absolute;
z-index: 2; z-index: 2;
left: 50%; left: 50%;
top: 45%; top: 49%;
transform: translate(-50%,-50%); transform: translate(-50%,-50%);
text-align: center; text-align: center;
min-width: 224px; min-width: 224px;
...@@ -66,12 +66,12 @@ export default { ...@@ -66,12 +66,12 @@ export default {
} }
.dialog-bg .content .box-img{ .dialog-bg .content .box-img{
width: 300px; width: 180px;
margin: 76px auto 0; margin: 50px auto 0;
} }
.dialog-bg .content .handle-btn{ .dialog-bg .content .handle-btn{
margin: 78px auto 0; margin: 70px auto 0;
width: 180px; width: 180px;
height: 40px; height: 40px;
border-radius: 20px; border-radius: 20px;
......
...@@ -10,14 +10,14 @@ ...@@ -10,14 +10,14 @@
<div class="info"> <div class="info">
<div class="title">分享至微信/朋友圈</div> <div class="title">分享至微信/朋友圈</div>
<div class="subtitle"> <div class="subtitle">
每邀请2位好友助力增加1次,被邀请用户进入分享页会员注册完成助力。 每邀请{{ conditionObj.inviteNum }}位好友助力增加{{ conditionObj.value }}次,被邀请用户进入分享页{{ conditionObj.type == 11 ? '会员注册' : '关注服务号' }}完成助力。
</div> </div>
<div class="share-type-box"> <div class="share-type-box">
<div class="share-type-item"> <div class="share-type-item" @click="shareWx">
<img src="" /> <img src="" />
<div class="share-type-name">微信</div> <div class="share-type-name">微信</div>
</div> </div>
<div class="share-type-item"> <div class="share-type-item" @click="sharePyq">
<img src="" /> <img src="" />
<div class="share-type-name">朋友圈</div> <div class="share-type-name">朋友圈</div>
</div> </div>
...@@ -52,9 +52,11 @@ export default { ...@@ -52,9 +52,11 @@ export default {
enterpriseId: String, enterpriseId: String,
gameId: String, gameId: String,
show: Boolean, show: Boolean,
rule: Object,
}, },
data() { data() {
return { return {
conditionObj: {},
count: 100, count: 100,
pageSize: 20, pageSize: 20,
currentPage: 1, currentPage: 1,
...@@ -104,6 +106,12 @@ export default { ...@@ -104,6 +106,12 @@ export default {
}, 200); }, 200);
}, },
tap() {}, tap() {},
shareWx(){
this.$emit("shareWx",this.conditionObj);
},
sharePyq(){
this.$emit("sharePyq",this.conditionObj);
}
}, },
filters:{ filters:{
formatDate(value){ formatDate(value){
...@@ -111,6 +119,17 @@ export default { ...@@ -111,6 +119,17 @@ export default {
let date = new Date(value); let date = new Date(value);
return date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate() return date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate()
} }
},
watch:{
rule(n){
let gameRuleConditionList = n.gameRuleConditionList || [];
gameRuleConditionList.map((item)=>{
let obj = JSON.parse(item.conditionJson);
if(+obj.type == 11 || +obj.type == 12){
this.conditionObj = obj;
}
})
}
} }
}; };
</script> </script>
......
<template> <template>
<div v-if="game && game.gameExt"> <div v-if="game && game.gameExt">
<img class="bg-image" :src="game.gameExt.backImageUrl" /> <img class="bg-image" :src="game.gameExt.backImageUrl" mode="widthFix" />
<div class="right-btn rule" @click="toGameRule">游戏规则</div> <div class="right-btn rule" @click="toGameRule">游戏规则</div>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<img <img
class="guide-img" class="guide-img"
:src="game.gameExt.guideImageUrl" :src="game.gameExt.noticeImageUrl"
mode="widthFix" mode="widthFix"
/> />
<div> <div>
...@@ -112,9 +112,15 @@ ...@@ -112,9 +112,15 @@
<reward-fail-dialog :show.sync="showRewardFailDialog"></reward-fail-dialog> <reward-fail-dialog :show.sync="showRewardFailDialog"></reward-fail-dialog>
<share-select-dialog <share-select-dialog
:show.sync="showShareSelectDialog" :show.sync="showShareSelectDialog"
v-if="showShareSelectDialog" v-show="showShareSelectDialog"
:rule="rule"
@shareWx="shareWx"
@sharePyq="sharePyq"
></share-select-dialog> ></share-select-dialog>
<share-img-dialog :show.sync="showShareImgDialog"></share-img-dialog> <share-img-dialog
:show.sync="showShareImgDialog"
v-bind="pyqOptions"
></share-img-dialog>
<alert-dialog v-bind.sync="alertOptions"></alert-dialog> <alert-dialog v-bind.sync="alertOptions"></alert-dialog>
</div> </div>
</template> </template>
...@@ -127,6 +133,7 @@ const { ...@@ -127,6 +133,7 @@ const {
getGamePlayBarrage, getGamePlayBarrage,
getIntegral, getIntegral,
getGameRule, getGameRule,
getGameShareQrCodeUrl,
} = gameRequestApi; } = gameRequestApi;
import { Swiper, SwiperSlide } from "vue-awesome-swiper"; import { Swiper, SwiperSlide } from "vue-awesome-swiper";
...@@ -217,9 +224,9 @@ export default { ...@@ -217,9 +224,9 @@ export default {
isPlay: false, isPlay: false,
name: "猜盲盒", name: "猜盲盒",
game: {}, game: {},
gameId: "1", gameId: "",
enterpriseId: "ff8080815dacd3a2015dacd3ef5c0000", enterpriseId: "",
memberId: "ff808081804666e3018049dee09102af", memberId: "",
isAttest: false, isAttest: false,
currentIntegral: "--", currentIntegral: "--",
rule: {}, rule: {},
...@@ -347,6 +354,24 @@ export default { ...@@ -347,6 +354,24 @@ export default {
// this.showShareImgDialog = true; // this.showShareImgDialog = true;
this.showShareSelectDialog = true; this.showShareSelectDialog = true;
}, },
shareWx(options) {
console.log(options);
},
async sharePyq(options) {
let result = getGameShareQrCodeUrl({
gameId: this.gameId,
enterpriseId: this.enterpriseId,
memberId: this.memberId,
shareType: options.type == 12 ? 2 : 1,
});
this.pyqOptions = {
bgImage: options.shareReport,
qrcodeUrl: result.qrCodeUrl,
};
this.showShareSelectDialog = false;
this.showShareImgDialog = true;
},
clickAdImg() { clickAdImg() {
console.log(); console.log();
}, },
...@@ -374,7 +399,6 @@ export default { ...@@ -374,7 +399,6 @@ export default {
left: 0; left: 0;
top: 0; top: 0;
width: 100%; width: 100%;
height: 100%;
} }
.content { .content {
position: relative; position: relative;
...@@ -596,8 +620,8 @@ export default { ...@@ -596,8 +620,8 @@ export default {
.share-box { .share-box {
position: fixed; position: fixed;
z-index: 10; z-index: 10;
right: 20px; right: 10px;
bottom: 40px; bottom: 90px;
padding: 10px; padding: 10px;
} }
.share-box .icon { .share-box .icon {
......
...@@ -5,7 +5,14 @@ const { ...@@ -5,7 +5,14 @@ const {
gamePlay gamePlay
} = gameRequestApi; } = gameRequestApi;
const MemberCenterPath = "/pages/member-center/member-center/member-center-index";
const GameHomePath = "/pages/game/game-h5";
const OpenCardPath = "/pages/open-card/open-card/open-card";
export function Manager(component) { export function Manager(component) {
let _component; let _component;
if (component) { if (component) {
_component = component; _component = component;
...@@ -41,6 +48,7 @@ export function Manager(component) { ...@@ -41,6 +48,7 @@ export function Manager(component) {
click: () => { click: () => {
hiddenAlert(); hiddenAlert();
// TODO // TODO
openCard();
}, },
}, },
], ],
...@@ -84,6 +92,7 @@ export function Manager(component) { ...@@ -84,6 +92,7 @@ export function Manager(component) {
hiddenAlert(); hiddenAlert();
// window.wx.miniProgram // window.wx.miniProgram
// TODO // TODO
toMemberCenter();
}, },
}, },
], ],
...@@ -114,6 +123,7 @@ export function Manager(component) { ...@@ -114,6 +123,7 @@ export function Manager(component) {
click: () => { click: () => {
hiddenAlert(); hiddenAlert();
// TODO // TODO
toMemberCenter();
}, },
}, },
], ],
...@@ -165,6 +175,7 @@ export function Manager(component) { ...@@ -165,6 +175,7 @@ export function Manager(component) {
click: () => { click: () => {
hiddenAlert(); hiddenAlert();
// TODO // TODO
toMemberCenter();
}, },
}, },
]; ];
...@@ -204,6 +215,7 @@ export function Manager(component) { ...@@ -204,6 +215,7 @@ export function Manager(component) {
text: "立即获取积分", text: "立即获取积分",
click: () => { click: () => {
hiddenAlert(); hiddenAlert();
}, },
}]; }];
break; break;
...@@ -220,8 +232,8 @@ export function Manager(component) { ...@@ -220,8 +232,8 @@ export function Manager(component) {
buttonList = []; buttonList = [];
break; break;
} }
console.log(title,content); console.log(title, content);
if(title || content){ if (title || content) {
showAlert({ showAlert({
show: true, show: true,
title: title, title: title,
...@@ -247,5 +259,27 @@ export function Manager(component) { ...@@ -247,5 +259,27 @@ export function Manager(component) {
} }
const openCard = () => {
let query = _component.$route.query;
let path = OpenCardPath;//小程序开卡页面,固定,不可更改
let options = {
type: 2,// 开卡之后要做的事件类型 1,开卡完成打开网页 2,开卡完成打开小程序页面
data: {
path: `${ GameHomePath }?gameId=${ query.gameId }&enterpriseId=${ query.enterpriseId }&shareMemberId=${ query.shareMemberId || '' }`
}
}
path += "?intent=" + encodeURIComponent(JSON.stringify(options));
window.wx.miniProgram.navigateTo({
url: path,
});
}
const toMemberCenter = ()=>{
window.wx.miniProgram.reLaunch({
url: MemberCenterPath,
});
}
return this; return this;
} }
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