| 12345678910 |
- ;my.defineComponent || (my.defineComponent = Component);(my["webpackJsonp"]=my["webpackJsonp"]||[]).push([["components/show-result"],{"0eaa":function(t,n,e){"use strict";e.r(n);var a=e("a637"),r=e.n(a);for(var u in a)"default"!==u&&function(t){e.d(n,t,(function(){return a[t]}))}(u);n["default"]=r.a},"1eaf":function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return a}));var a,r=function(){},u=[]},"63f2":function(t,n,e){"use strict";e.r(n);var a=e("1eaf"),r=e("0eaa");for(var u in r)"default"!==u&&function(t){e.d(n,t,(function(){return r[t]}))}(u);e("a1b9");var i,o=e("f0c5"),c=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);n["default"]=c.exports},a1b9:function(t,n,e){"use strict";var a=e("c049"),r=e.n(a);r.a},a637:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"show-result",props:{num:Number,type:{type:Number,default:0}},data:function(){return{prizedata:[],scale:!1,openLoading:!0}},computed:{mode:function(){switch(this.num){case 5:return 1;case 9:return 2}return 0},currPrizedata:function(){return this.prizedata?!this.prizedata.prizeInfo||this.prizedata.length<1?null:this.prizedata.prizeInfo[0]:null},tag:function(){return this.tagFun(this.currPrizedata)},tagText:function(){return this.tagTextFun(this.currPrizedata)},tagImg:function(){return this.tagImgFun(this.currPrizedata)}},methods:{open:function(n){var e=this;this.$refs.prize.open(),this.openLoading=!0,this.prizedata=n,setTimeout((function(){if(e.openLoading=!1,"normal"!=e.tag){try{t.vibrate({success:function(){console.log("震动")}})}catch(n){console.log(n)}e.scale=!0,setTimeout((function(){e.scale=!1}),1e3)}}),3e3)},close:function(){this.$refs.prize.close()},tagFun:function(t){return t?t.tag:null},tagTextFun:function(t){return t?"normal"==t.tag?"普通":"rare"==t.tag?"欧皇":"supreme"==t.tag?"超神":void 0:null},tagImgFun:function(t){return t?"normal"==t.tag?"/h5/pagesA/static/tag-1.png":"rare"==t.tag?"/h5/pagesA/static/tag-2.png":"supreme"==t.tag?"/h5/pagesA/static/tag-3.png":void 0:null}}};n.default=e}).call(this,e("c11b")["default"])},c049:function(t,n,e){}}]);
- ;(my["webpackJsonp"] = my["webpackJsonp"] || []).push([
- 'components/show-result-create-component',
- {
- 'components/show-result-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('c11b')['createComponent'](__webpack_require__("63f2"))
- })
- },
- [['components/show-result-create-component']]
- ]);
|