| | |
| | | [SerializeField] Text m_TypeTipText;
|
| | | List<AuctionItemClass> FullServiceAuctionListSort = new List<AuctionItemClass>();//全服拍品列表
|
| | | AuctionInquiryModel model { get { return ModelCenter.Instance.GetModel<AuctionInquiryModel>(); } }
|
| | | AuctionHelpModel auctionHelpModel { get { return ModelCenter.Instance.GetModel<AuctionHelpModel>(); } } |
| | | AuctionHelpModel auctionHelpModel { get { return ModelCenter.Instance.GetModel<AuctionHelpModel>(); } }
|
| | |
|
| | | private bool IsSendBool = true;
|
| | | protected override void BindController() |
| | | {
|
| | | m_ScrollerController.OnRefreshCell += OnRefreshGridCell; |
| | |
| | | } |
| | | |
| | | protected override void OnPreOpen() |
| | | { |
| | | {
|
| | | IsSendBool = true; |
| | | model.FullServiceAuctionUpdate += FullServiceAuctionUpdate;//数据请求刷新 |
| | | model.RefreshAuctionItemUpdate += RefreshAuctionItemUpdate;//刷新 |
| | | model.ClearAuctionUpdate += ClearAuctionUpdate;//清除 |
| | | model.BiddingItemInfoUpdate += BiddingItemInfoUpdate;//竞价物品信息刷新 |
| | | model.BiddingItemInfoUpdate += BiddingItemInfoUpdate;//竞价物品信息刷新
|
| | | GlobalTimeEvent.Instance.secondEvent += secondEvent; |
| | | Reset(); |
| | | CloseTip();
|
| | | ListSort(); |
| | |
| | | model.FullServiceAuctionUpdate -= FullServiceAuctionUpdate;
|
| | | model.RefreshAuctionItemUpdate -= RefreshAuctionItemUpdate; |
| | | model.ClearAuctionUpdate -= ClearAuctionUpdate;
|
| | | model.BiddingItemInfoUpdate -= BiddingItemInfoUpdate;//竞价物品信息刷新 |
| | | } |
| | | model.BiddingItemInfoUpdate -= BiddingItemInfoUpdate;//竞价物品信息刷新
|
| | | GlobalTimeEvent.Instance.secondEvent -= secondEvent; |
| | | }
|
| | | |
| | | protected override void OnAfterClose() |
| | | { |
| | | }
|
| | | #endregion |
| | | |
| | | private void secondEvent()
|
| | | {
|
| | | if (IsSendBool)
|
| | | {
|
| | | IsSendBool = false;
|
| | | Reset();
|
| | | }
|
| | | } |
| | | private void FullServiceAuctionUpdate()
|
| | | {
|
| | | OnCreateGridLineCellItem(m_ScrollerControllerItem);
|
| | |
| | | {
|
| | | CloseTip();
|
| | | auctionHelpModel.SelectedGenreNow = fullServiceAuction.Id;
|
| | | Reset();
|
| | | IsSendBool = true;
|
| | | m_ScrollerController.m_Scorller.RefreshActiveCellViews();//刷新可见
|
| | | OnCreateGridLineCellJob(m_ScrollerControllerJob);
|
| | | OnCreateGridLineCellType(m_ScrollerControllerType);
|
| | |
| | | if (index != config.JobEntry)
|
| | | {
|
| | | auctionHelpModel.FullServiceAuctionDic[selectedGenreNow].JobEntry = index;
|
| | | Reset(); |
| | | IsSendBool = true; |
| | | SetTipText();
|
| | | }
|
| | | });
|
| | |
| | | if (index != config.TypeEntry)
|
| | | {
|
| | | auctionHelpModel.FullServiceAuctionDic[selectedGenreNow].TypeEntry = index;
|
| | | Reset(); |
| | | IsSendBool=true; |
| | | SetTipText();
|
| | | }
|
| | | });
|