Giter Club home page Giter Club logo

raffle-h5's Introduction

抽奖营销

整理一些常用的抽奖类型,持续更新中。

1. Introduction - 简介

  • 常见抽奖形态;
  • 主要内容包括:摇一摇,刮刮卡,老虎机,即时开奖;
  • demo地址演示:

2. Function - 功能说明

2.1 摇一摇 - Shake

通过摇手机触发抽奖功能,增加用户间的互动

2.1.1 效果图

2.1.2 用微信扫描下面二维码查看效果

2.2 刮刮卡 - Scratch

刮开刮奖区覆盖的涂层,展示抽奖结果

2.2.1 效果图

2.2.2 用微信扫描下面二维码查看效果

2.3 老虎机 - Slot

根据展示的图形是否相同,判断是否中奖

2.3.1 效果图

2.3.2 用微信扫描下面二维码查看效果

2.4 即时开奖 - Instant

省去传统抽奖的过程,直接展示是否得奖的结果

2.3.1 效果图

2.3.2 用微信扫描下面二维码查看效果

3. Installation - 安装

3.1 环境安装

...

3.2 安装步骤

# 下载仓库
git clone https://github.com/kafeibei/raffle-h5.git
# 进入项目根目录,安装依赖
npm install
# 项目实例化
gulp init
# 项目服务启动
gulp

3.3 部署步骤

# 测试环境部署
gulp init --test
# 生成环境部署
gulp init --build

raffle-h5's People

Contributors

kafeibei avatar

Stargazers

WenbinAi avatar

Watchers

James Cloos avatar  avatar

Forkers

keyzf

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.