少年修仙传客户端代码仓库
client_linchunjie
2018-09-13 7e74b65bd0d3661c97cc26850d743a11c9631af7
System/OpenServerActivity/FlashSaleWin.cs
@@ -80,10 +80,9 @@
                OperationFlashSale operation = operationBase as OperationFlashSale;
                m_OpreationTime.text = StringUtility.Contact(Language.Get("ExpActivity_Text1"), operation.ToDisplayTime());
                m_RefreshGiftTime.gameObject.SetActive(operation.allDay);
                var index = operation.IndexOfFlashSale(TimeUtility.ServerNow);
                if (index != -1 && index < operation.flashShops.Count)
                OperationFlashSale.FlashSale flashSale;
                if (operation.TryGetFlashSale(TimeUtility.ServerNow, out flashSale))
                {
                    var flashSale = operation.flashShops[index];
                    if (flashSale.gifts.Length > 0)
                    {
                        var moneyType = flashSale.gifts[0].moneyType;
@@ -95,7 +94,7 @@
                        if (i < flashSale.gifts.Length)
                        {
                            m_FlashSaleBehaviours[i].gameObject.SetActive(true);
                            m_FlashSaleBehaviours[i].Display(index, flashSale.gifts[i].id);
                            m_FlashSaleBehaviours[i].Display(flashSale.gifts[i]);
                        }
                        else
                        {