来几个抽奖的程序

基本步骤

  1. 一个绚丽的前端动态展示所有成员的名字或者头像
  2. 后端随机抽取,去除已经抽取的名字,记录已经抽中的名单
  3. 控制程序:开始/停止/选择本次抽取的人数/重置按钮
  4. 如果纯前端实现的化:就把信息保存到本地存储里,比如 https://github.com/fouber/lottery

https://github.com/hanxiansen/hanshan-lottery
https://github.com/huyinghuan/lottery
https://github.com/fouber/lottery
https://www.vdongchina.com/read/id/2826.html
https://choujiang.51240.com/

猜你喜欢

转载自www.cnblogs.com/shengulong/p/11518253.html