完成
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Script
|
||||
private Text _confirmBtnTimeText;
|
||||
private Button _confirmButton;
|
||||
private bool _isCountingDown;
|
||||
private MeetingContacts _meetingContacts;
|
||||
private MeetingContactsController _meetingContactsController;
|
||||
private Transform _messageText;
|
||||
private Transform _nameText;
|
||||
private MainPanel.UsersItem _usersItem;
|
||||
@@ -33,10 +33,10 @@ namespace Script
|
||||
return MainArchitecture.Interface;
|
||||
}
|
||||
|
||||
public void SetData(MainPanel.UsersItem item, MeetingContacts meetingContactsController)
|
||||
public void SetData(MainPanel.UsersItem item, MeetingContactsController meetingContactsControllerController)
|
||||
{
|
||||
_usersItem = item;
|
||||
_meetingContacts = meetingContactsController;
|
||||
_meetingContactsController = meetingContactsControllerController;
|
||||
|
||||
_background = transform.Find("headBackground/image").GetComponent<Image>();
|
||||
_backgroundName = transform.Find("headBackground/Name").GetComponent<Text>();
|
||||
@@ -120,9 +120,9 @@ namespace Script
|
||||
Debug.Log($"点击了联系人: {_usersItem.name}");
|
||||
// 这里可以添加点击联系人后的逻辑,比如打开聊天窗口
|
||||
// 或者发送邀请请求等
|
||||
_meetingContacts.ClickContactEntry(_background.GetComponent<Image>().sprite,
|
||||
_meetingContactsController.ClickContactEntry(_background.GetComponent<Image>().sprite,
|
||||
_backgroundName.GetComponent<Text>().text, _usersItem);
|
||||
_meetingContacts.CurrentEntry = this;
|
||||
_meetingContactsController.CurrentEntry = this;
|
||||
}
|
||||
|
||||
public void StartCountdown()
|
||||
|
||||
Reference in New Issue
Block a user