fix:1、添加sdk。2、修复bug
This commit is contained in:
@@ -2,7 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using DG.Tweening;
|
||||
using Dont_Confuse;
|
||||
using IgnoreOPS;
|
||||
using IgnoreOPS;
|
||||
using FairyGUI;
|
||||
using FGUI.Common_01;
|
||||
@@ -54,7 +54,8 @@ namespace ChillConnect
|
||||
HallManager.Instance.UpdateSecondEvent -= updateSpeedCD;
|
||||
HallManager.Instance.UpdateSecondEvent -= Update;
|
||||
closeCallback?.Invoke();
|
||||
WebviewManager.ShezhiACT(true);
|
||||
// WebviewManager.ShezhiACT(true);
|
||||
WebviewManager.Instance.SetDarkThough(true);
|
||||
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.RefreshSaveingPot);
|
||||
|
||||
@@ -76,7 +77,8 @@ namespace ChillConnect
|
||||
ui.group_.y += Screen.safeArea.y;
|
||||
}
|
||||
|
||||
WebviewManager.ShezhiACT(false);
|
||||
// WebviewManager.ShezhiACT(false);
|
||||
WebviewManager.Instance.SetDarkThough(false);
|
||||
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.BuygoldUI_Close);
|
||||
|
||||
@@ -144,7 +146,7 @@ namespace ChillConnect
|
||||
//初始化页面逻辑
|
||||
private void InitView()
|
||||
{
|
||||
Debug.Log(DataMgr.ExchangeAccount);
|
||||
Debug.Log($"DataMgr.ExchangeAccount====={DataMgr.ExchangeAccount.Value}");
|
||||
Makeup_2 makeupVo = ConfigSystem.GetConfig<MakeupModel_2>().GetData(makeupTaskData.tableId);
|
||||
ui.text_ad.text = string.Format(GameHelper.getDesByKey("saving_pot_5"), makeupVo.ADIncrease);
|
||||
string str = string.Format(GameHelper.getDesByKey("saving_pot_2"), makeupVo.PayIncrease);
|
||||
@@ -211,7 +213,7 @@ namespace ChillConnect
|
||||
}
|
||||
else if (makeupTaskData.status == SaveingPotTaskStatus.None)
|
||||
{
|
||||
if (DataMgr.ExchangeAccount == null)
|
||||
if (DataMgr.ExchangeAccount.Value == null)
|
||||
{
|
||||
Debug.Log("enter");
|
||||
OnEnter();
|
||||
@@ -804,7 +806,7 @@ namespace ChillConnect
|
||||
GameHelper.ShowTips("Please enter the correct account information4", true);
|
||||
return;
|
||||
}
|
||||
DataMgr.ExchangeAccount .Value= account;
|
||||
DataMgr.ExchangeAccount.Value= account;
|
||||
DataMgr.ExchangeName .Value= $"{fname} {lname}";
|
||||
DataMgr.short_name = fname;
|
||||
DataMgr.long_name = lname;
|
||||
@@ -825,17 +827,17 @@ namespace ChillConnect
|
||||
|
||||
|
||||
ui.com_pay.text_name.text = DataMgr.ExchangeName .Value;
|
||||
ui.com_pay.text_email.text = DataMgr.ExchangeAccount .Value;
|
||||
ui.com_pay.text_email.text = DataMgr.ExchangeAccount.Value;
|
||||
|
||||
ui.com_pay.btn_change.SetClick(() =>
|
||||
{
|
||||
DataMgr.ExchangeName = null;
|
||||
DataMgr.ExchangeAccount = null;
|
||||
DataMgr.ExchangeAccount.Value = null;
|
||||
OnEnter();
|
||||
|
||||
});
|
||||
|
||||
var avatarId = DataMgr.PlayerAvatarId .Value;
|
||||
var avatarId = DataMgr.PlayerAvatarId.Value;
|
||||
TextureHelper.SetAvatarToLoader(avatarId, ui.com_pay.head.GetChild("load_avatar") as GLoader);
|
||||
ui.btn_confirm.SetClick(() =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user