If the H5 of the mobile phone realizes the effect of rolling lottery, it can control the probability of winning the lottery.

the raffle effect of Xiaomi Task Center is shown in the following figure:

Mar.27,2022

first of all, the effect and probability are separated.
scrolling requires animation. If transition or animation in css can achieve
probability, you can control it yourself. For example, a random number of 0-100, 0-1 is an award 1, 1 is an award, 10 is an award, and an award is 3

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb8beb-5d518.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb8beb-5d518.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?