Merge branch 'abp-dev' of https://gitee.com/ccnetcore/Yi into abp-dev

This commit is contained in:
陈淳
2024-02-27 10:00:14 +08:00
2 changed files with 6 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ namespace Yi.Framework.Bbs.Application.Services.Integral
[Authorize]
public async Task<int> PostWheel()
{
int[] values=new int[10] { 0,10,30,50,80,100,150,200,300,666};
int[] values=new int[10] { 0,10,30,50,60,80,90,100,200,666};
var index = GetWheelIndex();
var value = values[index]-50;
@@ -30,7 +30,7 @@ namespace Yi.Framework.Bbs.Application.Services.Integral
private int GetWheelIndex()
{
int[] probabilities = { 10, 15, 10, 20, 10, 5, 5, 3, 2, 1 };
int[] probabilities = { 30, 40, 30, 20, 5, 3, 2, 2, 2, 1 };
int total = 0;
foreach (var prob in probabilities)

View File

@@ -32,11 +32,11 @@ const prizes = [
{ fonts: [{ text: '10', top: '10%' }], background: '#b8c5f2' },
{ fonts: [{ text: '30', top: '10%' }], background: '#e9e8fe' },
{ fonts: [{ text: '50', top: '10%' }], background: '#b8c5f2' },
{ fonts: [{ text: '80', top: '10%' }], background: '#e9e8fe' },
{ fonts: [{ text: '60', top: '10%' }], background: '#e9e8fe' },
{ fonts: [{ text: '80', top: '10%' }], background: '#b8c5f2' },
{ fonts: [{ text: '90', top: '10%' }], background: '#e9e8fe' },
{ fonts: [{ text: '100', top: '10%' }], background: '#b8c5f2' },
{ fonts: [{ text: '150', top: '10%' }], background: '#e9e8fe' },
{ fonts: [{ text: '200', top: '10%' }], background: '#b8c5f2' },
{ fonts: [{ text: '300', top: '10%' }], background: '#e9e8fe' },
{ fonts: [{ text: '200', top: '10%' }], background: '#e9e8fe' },
{ fonts: [{ text: '666', top: '10%' }], background: '#FAD400' }
];
const buttons = [{