红点修改提交,挂机界面预览修改提交

dev_chengFeng
jiaoyangna 2021-09-27 10:58:41 +08:00
parent d4e3a3294c
commit 4e17b829ba
4 changed files with 12 additions and 8 deletions

View File

@ -109,7 +109,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0.00003435052}
m_AnchoredPosition: {x: 0, y: -0.00006020476}
m_SizeDelta: {x: 925.1, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &2443668873975028990
@ -333,7 +333,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0.000004479818, y: 0.000034399924}
m_AnchoredPosition: {x: 0.000004479818, y: -0.000024262075}
m_SizeDelta: {x: 924.2, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &2775142083553738788
@ -2795,7 +2795,7 @@ MonoBehaviour:
m_Padding:
m_Left: 80
m_Right: 0
m_Top: 20
m_Top: 50
m_Bottom: 60
m_ChildAlignment: 0
m_Spacing: 10

View File

@ -141,10 +141,12 @@ function FightAreaRewardPopup:OnShow()
value = config.Condition[i][2]
end
end
data.content = string.format(config.Name,GetPropertyFormatStrOne(config.IfFloat, value))
data.type = 2
this.PriAdapter(num,data)
num = num + 1
if value - 1 > 0 then
data.content = string.format(config.Name,GetPropertyFormatStrOne(config.IfFloat, value))
data.type = 2
this.PriAdapter(num,data)
num = num + 1
end
end
end

View File

@ -5887,6 +5887,7 @@ function NetManager.HeroUpLikableRequest(heroId,itemId,itemNum,func)
HeroPropManager.SetDirtyByType(v.dynamicId, Hero_Prop_Type.LikeAbility)
end
end
CheckRedPointStatus(RedPointType.LikeabilityRed)
if func then
func()
end

View File

@ -42,7 +42,7 @@ function RoleListPanel:InitComponent()
this.haogandu = Util.GetGameObject(self.gameObject, "haogandu")
this.haoganduLv = Util.GetGameObject(this.haogandu, "lv"):GetComponent("Text")
--this.haogandu.gameObject:SetActive(false)
this.haoganduRed = Util.GetGameObject(this.treeBtn, "redPoint")
this.haoganduRed = Util.GetGameObject(this.haogandu, "redPoint")
if not this.playerInfoView then
this.playerInfoView = SubUIManager.Open(SubUIConfig.PlayerInfoView, this.transform)
@ -120,6 +120,7 @@ function RoleListPanel:BindEvent()
PopupTipPanel.ShowTip(ActTimeCtrlManager.GetFuncTip(FUNCTION_OPEN_TYPE.LikeAbility))
end
end)
CheckRedPointStatus(RedPointType.LikeabilityRed)
BindRedPointObject(RedPointType.LikeabilityRed,this.haoganduRed)
end