Merge branch 'china/dev-c' of http://60.1.1.230/gaoxin/JL_Client into china/dev-c
commit
208c11555c
File diff suppressed because it is too large
Load Diff
|
|
@ -279,7 +279,11 @@ function this.GetExpertData(indexType,actType)
|
|||
else
|
||||
curData.rewards[i].otherData.state = 3
|
||||
end
|
||||
curData.rewards[i].otherData.info = string.format("剩余:%s",curData.rewards[i].progress)
|
||||
if PlayerManager.level >= curData.rewards[i].otherData.Values then
|
||||
curData.rewards[i].otherData.info = string.format("%s/%s",curData.rewards[i].otherData.Values,curData.rewards[i].otherData.Values)
|
||||
else
|
||||
curData.rewards[i].otherData.info = string.format("%s/%s",PlayerManager.level,curData.rewards[i].otherData.Values)
|
||||
end
|
||||
end
|
||||
else --日累计充值 达人
|
||||
if actType == ActivityTypeDef.AccumulativeRechargeExper or actType == ActivityTypeDef.DynamicAct_recharge then
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ function SurpriseBox:SetViewList()
|
|||
end
|
||||
self.itemViewList[i]:OnOpen(false, reward[i], 0,false,false,false,self.sortingOrder)
|
||||
icon.sprite = SetIcon(self.spLoader,reward[i][1])
|
||||
name.text = string.format("%s×%s",itemConfig[reward[i][1]].Name,reward[i][2])
|
||||
name.text = string.format("%s\n×%s",itemConfig[reward[i][1]].Name,reward[i][2])
|
||||
|
||||
Util.AddOnceClick(icon.gameObject,function ()
|
||||
self.itemViewList[i]:OnBtnCkickEvent(reward[i][1])
|
||||
|
|
|
|||
Loading…
Reference in New Issue