require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/components/lottery/index"],{2324:function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(n("9523")),a=r(n("c641"));function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var u={data:function(){return{current_index:-1,lotteryBtn:!0}},props:{prizeData:{type:Array,default:function(){return[]}},lotteryNum:{type:Number|String,default:0}},onLoad:function(){},methods:{luck_draw:function(t){if(Number(this.lotteryNum)<=0)return this.$util.Tips({title:this.$t("剩余抽奖次数为0")});if(this.lotteryBtn){this.lotteryBtn=!1;var e=t.currentTarget.dataset.index,n=this;8==e&&this.$emit("get_winingIndex",(function(t){var e=t;new a.default(function(t){for(var e=1;e