本项目为基于网页开发的双色球模拟机选工具,用到的主要框架为alpine.js
Alpine.js 通过很低的成本提供了与 Vue 或 React 这类大型框架相近的响应式和声明式特性。 你可以继续操作 DOM,并在需要的时候使用 Alpine.js。
本项目作为一个只需要用很少代码就能实现的小项目,使用alpinejs可以极大提升开发效率以及项目加载效率,感兴趣的朋友可以试试 https://www.alpinejs.cn/
项目功能:
-
自定义机选数量,可选1-10组双色球号码组
-
每间隔30毫秒刷新一次号码,每次号码根据js随机算法生成,无重复号码组
-
可以根据自己的需求选择必选号码以及排除不需要的号码(胆码和杀号)
-
最后便是可以一键复制生成的号码组到剪贴板,方便分享与转发
项目测试地址 双色球在线机选
喜欢的朋友可以给个星星。 源码就在以上网页中,感兴趣的可以自己研究一下。