Git Product home page Git Product logo

lotterys's Introduction

lotterys 现场抽奖系统


应公司需求,加上最近在学习seajs和angularjs,便将seajs示例中的lucky程序修改为现场抽奖系统。结合网站开放的数据,将生命绿州网站的注册并有头像的会员,全部调出来作为抽奖人员。由空隔键和手标控制是否开奖。


使用说明

看示例

seajs.use('uutan/lotterys/1.0.0/lottery',function(main){
	main.init();
});
<div class="ctrl_nav">
    <button id="go" data-text-start="开始抽奖" data-text-stop="停止抽奖" data-action="start" class="ui-button ui-button-lorange">开始抽奖</button>
</div>

<div class="member_content">
	
	<ul id="member_show" class="member_list" style="display:none;">
		<li ng-repeat="member in members" id="li_{{member.id}}">
		<img ng-src="{{member.face}}" width="180" height="180">
		<div ng-bind="member.realname||member.username"></div>
		</li>
	</ul>


	<ul id="member_lottery" class="member_list">
	</ul>
</div>
    

<div class="lucky_member_content">
	<ul class="lucky_member_list">
	</ul>
</div>

API

lotterys's People

Contributors

uutan avatar

Watchers

 avatar  avatar  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.