require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_tool/pages/game/game"],{555:function(t,n,e){"use strict";(function(t,n){var r=e(4);e(26);r(e(25));var i=r(e(556));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e(1)["default"],e(2)["createPage"])},556:function(t,n,e){"use strict";e.r(n);var r=e(557),i=e(559);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);e(561);var o,l=e(34),u=Object(l["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],o);u.options.__file="pages_tool/pages/game/game.vue",n["default"]=u.exports},557:function(t,n,e){"use strict";e.r(n);var r=e(558);e.d(n,"render",(function(){return r["render"]})),e.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(n,"components",(function(){return r["components"]}))},558:function(t,n,e){"use strict";var r;e.r(n),e.d(n,"render",(function(){return i})),e.d(n,"staticRenderFns",(function(){return o})),e.d(n,"recyclableRender",(function(){return a})),e.d(n,"components",(function(){return r}));var i=function(){var t=this,n=t.$createElement;t._self._c},a=!1,o=[];i._withStripped=!0},559:function(t,n,e){"use strict";e.r(n);var r=e(560),i=e.n(r);for(var a in r)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(a);n["default"]=i.a},560:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={data:function(){return{dice:["first","second","third","fourth","fifth","sixth"],buttonType:"primary",buttonValue:"摇一摇",isShow:"hidden",num1:0,num2:0,num3:0,total:0,global:{timer:null,isRand:!1}}},onHide:function(){var t;null!==(t=this.global)&&void 0!==t&&t.timer&&(clearInterval(this.global.timer),this.global.isRand=!1)},onUnload:function(){var t;null!==(t=this.global)&&void 0!==t&&t.timer&&(clearInterval(this.global.timer),this.global.isRand=!1)},methods:{shakeClick:function(){var t=this;this.global.isRand=!this.global.isRand,this.global.isRand?this.global.timer=setInterval((function(){var n=Math.floor(6*Math.random()),e=Math.floor(6*Math.random()),r=Math.floor(6*Math.random());t.num1=n,t.num2=e,t.num3=r,t.total=n+e+r+3}),50):clearInterval(this.global.timer),this.dice=this.dice,this.buttonType=this.global.isRand?"default":"primary",this.buttonValue=this.global.isRand?"停止":"摇一摇",this.isShow=this.global.isRand?"hidden":"visible"}}};n.default=r},561:function(t,n,e){"use strict";e.r(n);var r=e(562),i=e.n(r);for(var a in r)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(a);n["default"]=i.a},562:function(t,n,e){}},[[555,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages_tool/pages/game/game.js.map