5767 【前端】【1.5】新增8-14天活动功能(制作成7日运营活动的模板)
| | |
| | | bool IsBool = IsDayReward(day, type);
|
| | | if (point >= item.NeedPoint && !IsBool)
|
| | | {
|
| | | return RedPointState.Simple;
|
| | | return RedPointState.GetReward;
|
| | | }
|
| | | }
|
| | | for (int i = 0; i < WeekPartyDay.TemplateList.Length; i++)
|
| | |
| | | SetTextIntegral();
|
| | | OnCreateGridLineCell1(m_ScrollerController1);
|
| | | OnCreateGridLineCell2(m_ScrollerController2); |
| | | if (model.SelectedNow >= 5)
|
| | | {
|
| | | m_ScrollerController1.JumpIndex(5);
|
| | | } |
| | | } |
| | | |
| | | protected override void OnAfterOpen() |
| | |
| | | }
|
| | | foreach (var key in model.RedPointDic.Keys)//红点选择可领取的天
|
| | | {
|
| | | if (model.RedPointDic[key].state == RedPointState.Simple)
|
| | | if (model.RedPointDic[key].state == RedPointState.GetReward)
|
| | | {
|
| | | model.SelectedNow = key;
|
| | | return;
|