徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
1.2 KiB

3 months ago
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/common/vendor"],{bf77:function(t,e,n){"use strict";var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.getLotteryData=function(t){return i.default.get("v2/lottery/info/".concat(t))},e.getLotteryList=function(t){return i.default.get("v2/lottery/record",t)},e.receiveLottery=function(t){return i.default.post("v2/lottery/receive",t)},e.startLottery=function(t){return i.default.post("v2/lottery",t)};var i=o(n("a8e8"))},d8f7:function(t,e){function n(t,e){this.timer=null,this.startIndex=t.startIndex-1||0,this.count=0,this.winingIndex=t.winingIndex||0,this.totalCount=t.totalCount||6,this.speed=t.speed||100,this.domData=t.domData,this.rollFn(),this.callback=e}n.prototype={rollFn:function(){var t=this;this.startIndex++,this.startIndex>=this.domData.length-1&&(this.startIndex=0,this.count++),this.count>=this.totalCount&&this.startIndex===this.winingIndex?("function"===typeof this.callback&&setTimeout((function(){t.callback(t.startIndex,t.count)}),400),clearInterval(this.timer)):(this.count>=this.totalCount-1&&(this.speed+=30),this.timer=setTimeout((function(){t.callback(t.startIndex,t.count),t.rollFn()}),this.speed))}},t.exports=n}}]);