1. Use thinkphp6 framework
2. Read from the database 10:03, every, 13:42 and so on more than one time (this time is not fixed, is an array, can be converted into an integer),
(3) to the adjacent two time, the time to perform a piece of code
4. The timing code such as images of execution A10:03 moves from point B to point C, so from point C to point B, everything moves from point B to point C, now move back to point B, so repeatedly,
Is excuse me do this, use a PHP or a js a large coffee give a suggestion? Thank you very much
CodePudding user response:
Write a timer API return period, web web written judgment between two time display a pictureCodePudding user response:
JS timer to understandCodePudding user response:
Asynchronous methods es6 a promiseCodePudding user response:
Mobile has no animation, the process of this kind of matter to js solved, of course, PHP can do, only responsible for the back-endCodePudding user response:
Thank the teacher's answer above, it seems only use js to achieve, everything from zero beginning, learn good hard, ES6 I watched, cooperate with settimeout should be able to achieve