# XCX-Luckdraw **Repository Path**: hongfeifly/XCX-Luckdraw ## Basic Information - **Project Name**: XCX-Luckdraw - **Description**: 很简单的一个小程序游戏大转盘抽奖(小程序) - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2020-04-27 - **Last Updated**: 2022-06-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # XCX-Luckdraw # 100 行代码轻松搞定转盘游戏 # 很简单的一个小程序游戏大转盘实现 # 通过后台调取API接口,获取用户抽奖权限,如获得的抽奖次数(luckDrawCount)奖品数据 # 然后调取相应的API接口抽奖,抽奖结果返回,开启转盘动画,将转盘的rotateZ转到已经设置好奖项的位置 # 弹出modal显示抽奖结果 # 理论支撑微信小程序和支付宝小程序,只需做些许修改) # 可以根据自己的业务需求更改奖品数据样式更换 ![Image text](https://raw.githubusercontent.com/chenxianqi/XCX-Luckdraw/master/1534818664542.jpg) ![Image text](https://raw.githubusercontent.com/chenxianqi/XCX-Luckdraw/master/1534818687969.jpg)