Commit a17769b4 authored by wu.hui's avatar wu.hui

feat: up

parent f553889c
......@@ -485,13 +485,13 @@ window.onload = () => {
createMultiSrollNum(beforeNumArr)
// 添加动画
addMultiDigitAnimate(beforeNumArr, afterNumArr)
// 测试,点击第一列数字
document.getElementsByClassName('scroll-box')[0].onclick = function () {
const numArr = createRandom()
beforeNumArr = afterNumArr
afterNumArr = numArr
addMultiDigitAnimate(beforeNumArr, afterNumArr)
}
// addMultiDigitAnimate(beforeNumArr, afterNumArr)
// // 测试,点击第一列数字
// document.getElementsByClassName('scroll-box')[0].onclick = function () {
// const numArr = createRandom()
// beforeNumArr = afterNumArr
// afterNumArr = numArr
// addMultiDigitAnimate(beforeNumArr, afterNumArr)
// }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment