| | |
| | | [SerializeField] TextEx m_Score;//评分
|
| | | [SerializeField] GameObject m_StateIcon;//上升剪头
|
| | | [SerializeField] GameObject m_DeclineIcon;//下降剪头
|
| | | [SerializeField] GameObject m_BiddingTextObj;//竞价中
|
| | | [SerializeField] TextEx m_BiddingText;//竞价中
|
| | | [SerializeField] GameObject m_HighestPriceImage;//最高价
|
| | | [SerializeField] TextEx m_JadeNumber;//当前价格
|
| | | [SerializeField] TextEx m_TimeText;//时间
|
| | |
| | | return;
|
| | | }
|
| | | m_NeedImage.SetActive(false);
|
| | | m_ParticipateImage.SetActive(false);
|
| | | m_BiddingTextObj.SetActive(false);
|
| | | m_ParticipateImage.SetActive(false); |
| | | m_HighestPriceImage.SetActive(false);
|
| | | m_EquipmentScoreObj.SetActive(false);
|
| | | AuctionItemClass myAuction = new AuctionItemClass();
|
| | |
| | | {
|
| | | m_HighestPriceImage.SetActive(true);
|
| | | }
|
| | | else
|
| | | {
|
| | | m_HighestPriceImage.SetActive(false);
|
| | | m_BiddingText.text = Language.Get("PMH_06");
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | m_BiddingText.text = Language.Get("PMH_05");
|
| | | }
|
| | | ItemCellModel cellModel = new ItemCellModel(myAuction.ItemID, true, (ulong)myAuction.ItemCount);
|
| | | m_ItemCell.Init(cellModel);
|
| | |
| | | {
|
| | | m_BiddingButton.interactable = false;
|
| | | m_BiddingImage.gray = true;
|
| | | }
|
| | | if (!m_BiddingTextObj.activeSelf)
|
| | | {
|
| | | m_BiddingTextObj.SetActive(true);
|
| | | }
|
| | | int seconds = AuctionItem.FamilySaleMinutes * 60 - ((int)timeSpan.TotalSeconds - AuctionItem.NoticeSaleMinutes * 60);
|
| | | m_TimeText.text = Language.Get("PMH_04", TimeUtility.SecondsToHMS(seconds));
|