fix:1、修复bug。2、添加跳转亚马逊。
This commit is contained in:
@@ -10,6 +10,7 @@ namespace FGUI.tixian
|
||||
public GTextField text_title;
|
||||
public GButton btn_close1;
|
||||
public GTextField lab_mn2;
|
||||
public GTextField text_rate;
|
||||
public GTextField lab_ticket;
|
||||
public GTextField lab_code;
|
||||
public btn_code btn_copy;
|
||||
@@ -29,6 +30,7 @@ namespace FGUI.tixian
|
||||
text_title = (GTextField)GetChildAt(1);
|
||||
btn_close1 = (GButton)GetChildAt(2);
|
||||
lab_mn2 = (GTextField)GetChildAt(6);
|
||||
text_rate = (GTextField)GetChildAt(9);
|
||||
lab_ticket = (GTextField)GetChildAt(14);
|
||||
lab_code = (GTextField)GetChildAt(16);
|
||||
btn_copy = (btn_code)GetChildAt(17);
|
||||
|
||||
@@ -601,7 +601,7 @@ namespace ChillConnect
|
||||
ch = (decimal)exchangeRateVo.Multi * ch;
|
||||
if (GameHelper.isRDExchangeMode()&&GameHelper.IsGiftSwitch())
|
||||
{
|
||||
string str = "<img src='ui://o9974uc5qbo98'/>";
|
||||
string str = "<img src='ui://o9974uc5qbo98' scale=0.75/>";
|
||||
return str + $"{exchangeRateVo.Payicon}{ch:N}";
|
||||
}
|
||||
else
|
||||
|
||||
@@ -123,42 +123,36 @@ namespace ChillConnect
|
||||
|
||||
|
||||
private void OpenWb(object obj) {
|
||||
return;
|
||||
if (obj is not SDKOpenConfig openConfig) return;
|
||||
|
||||
|
||||
Debug.Log($"open wb normal==={openConfig.normal} url==={openConfig.url}");
|
||||
SetCameraVisible(false);
|
||||
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.H5UI_Open);
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.H5UI_Open, openConfig);
|
||||
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.hideBroadCast);
|
||||
|
||||
if (UIManager.Instance.IsExistUI(UIConst.GameLoginUI))
|
||||
{
|
||||
Debug.Log($"gamelogin ui is exist ");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void SetCameraVisible(bool visible)
|
||||
{
|
||||
// // 只在首次调用时查找
|
||||
// if (_gameCamera == null)
|
||||
// {
|
||||
// // 使用 FindWithTag 确保能找到非激活对象
|
||||
//
|
||||
// _gameCamera = GameObject.Find("GameCamera").GetComponent<Camera>();
|
||||
//
|
||||
// }
|
||||
// if (_gameCamera != null)
|
||||
// {
|
||||
// _gameCamera.enabled = visible;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Debug.LogError("GameCamera reference not found!");
|
||||
// }
|
||||
if (_gameCamera == null)
|
||||
{
|
||||
// 使用 FindWithTag 确保能找到非激活对象
|
||||
|
||||
_gameCamera = GameObject.Find("GameCamera").GetComponent<Camera>();
|
||||
|
||||
}
|
||||
if (_gameCamera != null)
|
||||
{
|
||||
_gameCamera.enabled = visible;
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("GameCamera reference not found!");
|
||||
}
|
||||
|
||||
GameHelper.ShowSheepPlayUI(visible);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user