Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

常见问题汇总 #181

Closed
buuing opened this issue Dec 8, 2021 · 9 comments
Closed

常见问题汇总 #181

buuing opened this issue Dec 8, 2021 · 9 comments

Comments

@buuing
Copy link
Owner

buuing commented Dec 8, 2021

老虎机的奖品超过10个在苹果手机下报错

跳转相关issues #258


在vue中页面报错Object(...) is not a function

跳转相关issues #258


小程序里canvas的层级太高了,把弹窗挡住了怎么办

小程序内canvas是原生组件,所以默认就是顶层渲染,对此你可以百度 cover 组件或是查看 小程序文档


微信开发者工具的真机调试有bug

嗯, 他的真机调试就是有bug, 直接跳过去看体验版


微信小程序使用老虎机报错

你必须保持小程序的基准库大于等于 2.17.0, 否则低版本的基准库会报错


微信开发者工具中老虎机的插槽有白色的底色无法去除

image

插槽的滑动轨道本应该是透明的, 但是在微信开发者工具上显示为白色, 这个无需担心, 我在体验版上测试ok, 是透明的, 应该是开发者工具渲染有问题, 等待微信官方后续修复即可


IE11显示 Promise 未定义, 怎么办

把下面的CDN在插件前面引入即可

<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>

@zhouzhangfan
Copy link

弱弱得问一下,微信小程序中可以使用老虎机了吗,我引入的"@lucky-canvas/mini": "0.0.4"里面现在只有lucky-grid和lucky-wheel

@buuing
Copy link
Owner Author

buuing commented Feb 4, 2022

弱弱得问一下,微信小程序中可以使用老虎机了吗,我引入的"@lucky-canvas/mini": "0.0.4"里面现在只有lucky-grid和lucky-wheel

现在最新版可以了

@kratospan
Copy link

kratospan commented Apr 30, 2022

想问一下,因为好像也不是bug,我就在这里问了。
就是,可以开始抽奖之后,但是结束的时候不传index什么的吗??
因为有时候接口会报错,但是我看stop()这个好像必须传一个值,我原本是以为如果什么都不传的话就会停下来。
其实最重要的就是不要变成那种,抽奖成功的效果,就让用户觉得自己已经中奖了。

@buuing
Copy link
Owner Author

buuing commented Apr 30, 2022

试试 init() 方法, 重置抽奖

@kratospan
Copy link

谢了,已经解决了

@yzk214806293
Copy link

小程序里canvas的层级太高了,把弹窗挡住了怎么办

@buuing
Copy link
Owner Author

buuing commented Aug 10, 2022

小程序里canvas的层级太高了,把弹窗挡住了怎么办

上面不是说了吗, 百度 cover 组件如何使用!

@yzk214806293
Copy link

yzk214806293 commented Aug 10, 2022 via email

@buuing
Copy link
Owner Author

buuing commented Aug 10, 2022

@yzk214806293 如果是要写到我的组件里, 我为什么自己不加上呢, 还要让用户去加, 这不符合逻辑! 所以他肯定是要加载你的页面里!

Repository owner locked and limited conversation to collaborators Aug 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants