Skip to content
Projects

landluck/lucky_wheel has 656 GitHub stars and 211 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 14:14 UTC. Last push 2024-03-24.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

vue 实现的抽奖大转盘,奖项个数可配置

Developer Tools

README.md

Original

lucky_wheel

使用 vue 开发的一个简单转盘,支持奖项动态配置

介绍

这个项目是很久以前的一个简单demo,只提供了简单的旋转逻辑和奖项位置的动态计算,样式布局使用的是绝对单位,使用者根据自身情况调整,这里默认采用的是八个奖项的转盘背景,使用者如果需要改变奖项数量,请更换转盘背景图片

预览

线上预览地址

使用


# 克隆到本地
git clone https://github.com/landluck/lucky_wheel.git

# 进入文件夹
cd lucky_wheel

# 安装依赖
npm install

# 开启本地服务器localhost:8088
npm run dev

# 发布环境
npm run build


#然后静待你的浏览器打开一个网页,按F12 进入手机模拟器,查看效果最佳(推荐chrome浏览器,前端开发者的必备)

赞赏

如果这个项目对你有所帮助的话,请点个赞,鼓励一下作者吧