INNER CODE UNIT · JavaScript
text
moshang-ax/lottery · product/src/lottery/index.js:512
let text = currentLuckys.map(item => item[1]);
addQipao(
`恭喜${text.join("、")}获得${currentPrize.title}, 新的一年必定旺旺旺。`
);
selectedCardIndex.forEach((cardIndex, index) => {
changeCard(cardIndex, currentLuckys[index]);
var object = threeDCards[cardIndex];
new TWEEN.Tween(object.position)
.to(
{
x: locates[index].x,
y: locates[index].y * Resolution,
z: 2200
},
Math.random() * duration + duration
)
.easing(TWEEN.Easing.Exponential.InOut)