Comments (1)
@aqiusen 确实改成awards[i].color || (i % 2 == 0 ? '#f8d384' : '#f9e3bb')就好了, 你提交代码吧, 我给你合并
from lucky-canvas.
Related Issues (20)
- canvas层级太高,弹窗被遮挡
- 需要支持uniapp 打包app使用哪个版本的?之前找到过一个老版本的,现在找不到了,麻烦帮忙提供一下,谢谢
- uniapp版什么时候支持app端,旧版uni-luck-draw在app端卡顿严重
- 我希望刚开始的时候转盘就是旋转状态,这个有方法吗,我尝试用css写,但是因为中间指针是配置的,一整个canvas,指针也跟着动,不太好
- 转盘背景
- 可以优化下 effect 执行两次的解决方案
- 完整示例代码啥时候上线呀 HOT 1
- 通过html2canvas将大转盘生成图片,内容不显示
- 原生微信小程序老虎机基础例子prizes中的数据全部不展示,切无报错
- 网络图片无法显示 HOT 4
- 如何增加一个停止按钮
- uni 版本,使用lucky-canvas ,需再次下载其他
- uniapp 使用大转盘编译到 微信小程序,点击抽奖按钮,转盘不懂转动,但是开始抽奖函数调用了,结束的时候也回调了
- 大转盘在真机上点击的时候背景图片和奖品图片消失了 HOT 4
- 在谷歌浏览器切换网页标签后再回来,转盘内容都没了
- 老虎机
- Taro+React大转盘奖品图片无法显示 HOT 8
- Taro+Vue3大转盘模拟器调试报错Error: MiniProgramError {"errMsg":"canvasToTempFilePath:fail Cannot read property 'width' of undefined"} HOT 5
- 在不同分辨率下显示不一致问题,canvas获取的宽高不同 HOT 9
- 奖品动画增减的话、默认配置中的offsetDegree不会实时变化、必须刷新页面才行
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lucky-canvas.