Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev
commit
021de51a59
|
@ -66,7 +66,16 @@ function this.SingleDataShow(_go,_rewardData,_index)
|
|||
local index = _index - 1
|
||||
local reward = RewardGroup[_rewardData].ShowItem
|
||||
local condition = fightLevelData.config.ConditionValue or {}
|
||||
local des = condition and HardStageCondition[condition[index]].Describe or ""
|
||||
local des = ""
|
||||
if index == 0 then
|
||||
des = HardStageCondition[100].Describe
|
||||
else
|
||||
if condition and condition[index] and HardStageCondition[condition[index]] then
|
||||
des = HardStageCondition[condition[index]].Describe
|
||||
else
|
||||
des = ""
|
||||
end
|
||||
end
|
||||
Util.GetGameObject(_go, "titleImage/titleText"):GetComponent("Text").text = index == 0 and "首通奖励" or des
|
||||
Util.GetGameObject(_go, "titleImage/Text"):GetComponent("Text").text = index
|
||||
Util.GetGameObject(_go, "okButton"):GetComponent("Image").sprite = this.spLoader:LoadSprite("g_ghhb_yidacheng_zh")
|
||||
|
|
Loading…
Reference in New Issue