四海试炼上阵界面修改
parent
b3f0022089
commit
06a1b0ea97
File diff suppressed because it is too large
Load Diff
|
@ -653,7 +653,7 @@ function this.OnClickTabBtn(_proId, isTop,isAni)
|
|||
this.SetRoleList(heros, isTop,isAni)
|
||||
|
||||
if this.opView.SetCampIconByCurType then
|
||||
this.opView.SetCampIconByCurType(tabs,this.selectBtn)
|
||||
this.opView.SetCampIconByCurType(tabs,this.selectBtn,this.selectTxt)
|
||||
else
|
||||
for i = 0 , #tabs do
|
||||
Util.SetGray(tabs[i],false)
|
||||
|
|
|
@ -37,7 +37,7 @@ function this.GetFormationIndex()
|
|||
end
|
||||
|
||||
--- 设置阵营
|
||||
function this.SetCampIconByCurType(tabs,selectBtn)
|
||||
function this.SetCampIconByCurType(tabs,selectBtn,selectTxt)
|
||||
for i = 0 , #tabs do
|
||||
tabs[i]:GetComponent("Button").enabled = false
|
||||
if i == curType then
|
||||
|
@ -45,6 +45,7 @@ function this.SetCampIconByCurType(tabs,selectBtn)
|
|||
selectBtn.transform:SetParent(tabs[i].transform)
|
||||
selectBtn.transform:DOAnchorPos(Vector3.zero,0)
|
||||
selectBtn.transform:DOScale(Vector3.one,0)
|
||||
selectTxt.text=PropertyType[curType]
|
||||
Util.SetGray(tabs[i],false)
|
||||
else
|
||||
Util.SetGray(tabs[i],true)
|
||||
|
|
|
@ -77,7 +77,7 @@ function this:OnShow(_parent,...)
|
|||
end
|
||||
--返还比
|
||||
-- local num=tonumber(ConfigManager.GetConfigData(ConfigName.SpecialConfig,34).Value)/100
|
||||
this.bodyText.text = string.format("<color=#00FF66>%s</color>的法宝会重置为<color=#00FF66>1</color>阶\n返还<color=#00FF66>进阶消耗</color>的材料,",heroReadingName)
|
||||
this.bodyText.text = string.format("<color=#00FF66>%s</color>的生命卡会重置为<color=#00FF66>1</color>阶\n返还<color=#00FF66>进阶消耗</color>的材料,",heroReadingName)
|
||||
|
||||
local _data={}
|
||||
for i=1,#dropList do
|
||||
|
|
Loading…
Reference in New Issue