Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Z
zh_zcb-ems
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chen.yiwen
zh_zcb-ems
Commits
a17769b4
Commit
a17769b4
authored
Sep 05, 2022
by
wu.hui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: up
parent
f553889c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
index.js
src/js/index.js
+9
-9
No files found.
src/js/index.js
View file @
a17769b4
...
@@ -485,13 +485,13 @@ window.onload = () => {
...
@@ -485,13 +485,13 @@ window.onload = () => {
createMultiSrollNum
(
beforeNumArr
)
createMultiSrollNum
(
beforeNumArr
)
// 添加动画
// 添加动画
addMultiDigitAnimate
(
beforeNumArr
,
afterNumArr
)
//
addMultiDigitAnimate(beforeNumArr, afterNumArr)
// 测试,点击第一列数字
//
//
测试,点击第一列数字
document
.
getElementsByClassName
(
'scroll-box'
)[
0
].
onclick
=
function
()
{
//
document.getElementsByClassName('scroll-box')[0].onclick = function () {
const
numArr
=
createRandom
()
//
const numArr = createRandom()
beforeNumArr
=
afterNumArr
//
beforeNumArr = afterNumArr
afterNumArr
=
numArr
//
afterNumArr = numArr
addMultiDigitAnimate
(
beforeNumArr
,
afterNumArr
)
//
addMultiDigitAnimate(beforeNumArr, afterNumArr)
}
//
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment