(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4f634942"],{2686:function(t,s,a){},"643c":function(t,s,a){t.exports=a.p+"img/yx.072c8020.png"},"868e":function(t,s,a){t.exports=a.p+"img/yx(3).cad729d4.png"},"8d9f":function(t,s,a){t.exports=a.p+"img/yx(11).cad967f8.png"},9354:function(t,s,a){t.exports=a.p+"img/yx(8).e6e6d6fe.png"},"9dee":function(t,s,a){"use strict";a.r(s);var i=function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{attrs:{id:"yx_getaward"}},[i("img",{staticClass:"bk imgBlock absoluteItem",attrs:{src:a("b648")}}),i("div",{staticClass:"main"},[i("img",{staticClass:"top-img bk imgBlock",attrs:{src:a("868e")}}),i("div",{staticClass:"content relativeItem"},[i("img",{staticClass:"item bk imgBlock",attrs:{src:a("8d9f")}}),t.gifts.length>0?i("ul",{staticClass:"gifts flex-box absoluteItem centerX",class:{zhubo:2==t.num,user:3==t.num}},[i("li",[i("p",{staticClass:"name apostrophe"},[t._v(t._s(t.gifts[0].name))]),i("div",{staticClass:"relativeItem"},[i("img",{staticClass:"absoluteItem centerImg imgBlock",attrs:{src:t.gifts[0].image}})])]),i("span",[t._v("+")]),i("li",[i("p",{staticClass:"name apostrophe"},[t._v(t._s(t.gifts[1].name))]),i("div",{staticClass:"relativeItem"},[i("img",{staticClass:"absoluteItem centerImg imgBlock",attrs:{src:t.gifts[1].image}})])]),3==t.num?i("span",[t._v("+")]):t._e(),3==t.num?i("li",[i("p",{staticClass:"name apostrophe"},[t._v(t._s(t.gifts[2].name))]),i("div",{staticClass:"relativeItem"},[i("img",{staticClass:"absoluteItem centerImg imgBlock",attrs:{src:t.gifts[2].image}})])]):t._e()]):t._e(),i("div",{staticClass:"btn absoluteItem centerX"},[0==t.get_gift?i("a",{staticClass:"allA",on:{click:t.get_award}}):t._e(),0==t.get_gift?i("img",{staticClass:"imgBlock noevents-img",attrs:{src:a("9354")}}):i("img",{staticClass:"imgBlock noevents-img",attrs:{src:a("643c")}})])])]),i("img",{staticClass:"bottom-img imgBlock absoluteItem",attrs:{src:a("f91b")}})])},e=[],n=a("e814"),c=a.n(n),g={name:"yx_getaward",data:function(){return{hide_item:!1,num:3,get_gift:0,gifts:[]}},methods:{get_gifts:function(){var t=this;this.$jsonp(this.$apis("yx_award_gift","app"),{type:this.$route.query.type},function(s){t.get_gift=s.data.data.get_gift,t.gifts=s.data.data.data})},get_award:function(){var t=this;this.$jsonp(this.$apis("yx_get_award","app"),{type:this.$route.query.type},function(s){1==s.data.data.status?(t.get_gift=1,t.$tool.tipImg("领取成功","success")):t.$tool.tipImg(s.data.data.msg,"error")})}},mounted:function(){this.$tool.setTitle("欢乐今宵"),this.num=c()(1*this.$route.query.type),1==this.num&&(this.num=3),this.get_gifts()}},o=g,m=(a("d5f72"),a("2877")),r=Object(m["a"])(o,i,e,!1,null,"545c8248",null);s["default"]=r.exports},b648:function(t,s,a){t.exports=a.p+"img/yx(10).874c847a.png"},d5f72:function(t,s,a){"use strict";var i=a("2686"),e=a.n(i);e.a},f91b:function(t,s,a){t.exports=a.p+"img/yx(7).8159c4ca.png"}}]);
//# sourceMappingURL=chunk-4f634942.aaef1f03.js.map