Git Product home page Git Product logo

lucky_wheel's Introduction

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浏览器,前端开发者的必备)

赞赏

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

lucky_wheel's People

Contributors

landluck avatar

Stargazers

Ecpanda avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.