Giter Site home page Giter Site logo

hanshan-lottery's Introduction

hanshan-lottery

特点

  • 原创开发
  • **风十足
  • 绿色应用,开箱即用,暂时没有那么多花里胡哨的项目架构

运行

$ git clone https://github.com/hanxiansen/hanshan-lottery.git
$ cd hanshan-lottery
$ npm install
$ npm start

或者直接clone下来,双击打开index.html就可以了

抽奖

  1. 运行项目
  2. 一、二、三、纪念奖对应1、2、3、4按键,抽奖前选择对应的奖项
  3. 点击开始抽奖按钮(或space空格键) —> 按钮显示可以抽奖了 —> 再点击抽奖按钮(或space空格键) —> 显示中奖人员

注意

  1. logo上的文字所用字体为【文鼎习字体】

后记

项目是在2016年年底给公司做的年会抽奖项目,自豪的采用jquery和原生js开发,用时一个月独立开发而成,想当年,那时我还没在项目中使用MVVM框架开发,而是稳妥的采用了jquery这个老朋友,最后在公司年会上因为我们技术部抽的奖比较多而被质疑(虽然项目全都运行在客户端,但是还是敌不过技术原罪,orz...)。这不又快到年关了,莫名的想起了当年开发的这个年会项目,想想应该会有些朋友需要吧,就拿出来给各位老铁抛下砖,希望能有所为,当时开发时还是很用心的,虽然项目代码质量一般,但在产品设计和ui打造方面可是倾注了我很多心血滴,所以希望各位江湖朋友看到写的烂的地方时请理性指正,还望不要喷人。 最后还希望各位能多提点意见,多多star、fork,如果star的人比较多,我会继续完善和升级这个项目,你的关注是我前进的动力,哈哈哈哈。

hanshan-lottery's People

Watchers

 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.