(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/gift/components/receive/receive-content"],{"1a9b":function(t,n,i){"use strict";i.r(n);var e=i("92ae"),a=i("e517");for(var o in a)"default"!==o&&function(t){i.d(n,t,(function(){return a[t]}))}(o);i("a29a");var s,r=i("f0c5"),c=Object(r["a"])(a["default"],e["b"],e["c"],!1,null,"bd17bb78",null,!1,e["a"],s);n["default"]=c.exports},"67da":function(t,n,i){},"92ae":function(t,n,i){"use strict";var e;i.d(n,"b",(function(){return a})),i.d(n,"c",(function(){return o})),i.d(n,"a",(function(){return e}));var a=function(){var t=this,n=t.$createElement,i=(t._self._c,t._f("getPicUrl")(t.is_big_gift,t.goods_info,t.cover_pic,t.big_gift_pic));t._isMounted||(t.e0=function(n){t.shareBool=!0}),t.$mp.data=Object.assign({},{$root:{f0:i}})},o=[]},a29a:function(t,n,i){"use strict";var e=i("67da"),a=i.n(e);a.a},e517:function(t,n,i){"use strict";i.r(n);var e=i("f688"),a=i.n(e);for(var o in e)"default"!==o&&function(t){i.d(n,t,(function(){return e[t]}))}(o);n["default"]=a.a},f688:function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=function(){i.e("plugins/gift/components/receive/gift-over").then(function(){return resolve(i("4de7"))}.bind(null,i)).catch(i.oe)},a=function(){i.e("plugins/gift/components/receive/participant").then(function(){return resolve(i("3671"))}.bind(null,i)).catch(i.oe)},o=function(){i.e("components/page-component/app-share-qr-code-poster/app-share-qr-code-poster").then(function(){return resolve(i("b12d"))}.bind(null,i)).catch(i.oe)},s={name:"gift-content",data:function(){return{shareBool:!1,animationData1:null,animationData2:null,animationStatus:!1}},props:["theme","avatar","nickname","bless_word","is_big_gift","cover_pic","name","status","type","num","userOrder","open_type","open_status","winUser","gift_status","gift_id","win_goods_status","small","is_status","win_time","goods_info","big_gift_pic","address_status","user_id","bless_music","is_play"],methods:{share:function(){this.$emit("share")},routeGo:function(){t.navigateTo({url:"/plugins/gift/index/index"})},routeAddress:function(){for(var n=0,i=0;i<this.userOrder.length;i++)this.userOrder[i].user_id==this.user_id&&(n=this.userOrder[i].id);var e=0;"num_open"===this.type||"time_open"===this.type?e=2:"direct_open"===this.type&&(e=1),t.navigateTo({url:"/plugins/gift/address/address?status=".concat(e,"&id=").concat(n)})},play:function(){this.is_play?this.$emit("play",!1):(this.start(),this.$emit("play",!0,this.bless_music))},animationFun:function(n){if(this.animationStatus){var i=t.createAnimation({duration:1e3});i.opacity(0).scale(1.5,1.5).step(),this[n]=i.export()}},animationEnd:function(n){var i=t.createAnimation({duration:0});i.opacity(1).scale(1,1).step(),this[n]=i.export()},recodeEnd:function(){var n=t.createAnimation({duration:0});n.opacity(1).scale(1,1).step();var i=t.createAnimation({duration:0});i.opacity(1).scale(1,1).step(),this.animationData1=n.export(),this.animationData2=i.export(),this.animationStatus=!1},recodeClick:function(){var t=this;this.animationStatus=!0,this.animationFun("animationData1"),setTimeout((function(){t.animationFun("animationData2")}),500),setTimeout((function(){t.animationRest()}),1e3)},animationRest:function(){var t=this;this.animationEnd("animationData1"),setTimeout((function(){t.animationEnd("animationData2")}),500),setTimeout((function(){t.animationStatus&&t.recodeClick()}),100)},start:function(){this.recodeClick()},end:function(){this.recodeEnd()}},computed:{url:function(){return"".concat(this.$api.gift.poster,"&gift_id=").concat(this.gift_id)}},filters:{getPicUrl:function(t,n,i,e){if(0===t){var a=JSON.parse(n).goods_attr;return a.pic_url?a.pic_url:i}return e}},components:{"gift-over":e,participant:a,"app-share-qr-code-poster":o},watch:{is_play:{handler:function(t){t||this.end()}}}};n.default=s}).call(this,i("543d")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'plugins/gift/components/receive/receive-content-create-component',
    {
        'plugins/gift/components/receive/receive-content-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("1a9b"))
        })
    },
    [['plugins/gift/components/receive/receive-content-create-component']]
]);
