排序修改提交
parent
fd9f4248b6
commit
8ec0256d78
|
@ -170,7 +170,7 @@ function this.SortData(allData)
|
|||
return
|
||||
end
|
||||
table.sort(allData, function(a,b)
|
||||
return a.Sort < b.Sort
|
||||
return a.Sequence < b.Sequence
|
||||
end)
|
||||
return allData
|
||||
end
|
||||
|
@ -234,6 +234,7 @@ function this:SetScrollPre(root,data)
|
|||
end
|
||||
|
||||
local boughtNum = OperatingManager.GetGoodsBuyTime(GoodsTypeDef.DirectPurchaseGift, data.Id) or 0
|
||||
LogGreen("boughtNum:"..boughtNum)
|
||||
tip.text =Language[10580].. (data.Limit-boughtNum) ..Language[10048]
|
||||
buyNum.text =string.format(MoneyUtil.GetMoneyUnitName(), MoneyUtil.GetMoney(data.Price))--shopItemData.Price..MoneyUtil.GetMoneyUnitName()
|
||||
if data.Limit - boughtNum > 0 then
|
||||
|
|
Loading…
Reference in New Issue