parent
32dc05ef86
commit
bf382d665c
|
@ -330,7 +330,14 @@ end
|
||||||
|
|
||||||
function GiftPre:SetType2()
|
function GiftPre:SetType2()
|
||||||
self.type2.gameObject:SetActive(true)
|
self.type2.gameObject:SetActive(true)
|
||||||
self.type2Text1.text = self.data.data.shows[1][2]
|
--self.type2Text1.text = self.data.data.shows[1][2]/1000
|
||||||
|
if self.data.data.shopItemData and self.data.data.shopItemData.GainCrystals then
|
||||||
|
self.type2Text1.text=self.data.data.shopItemData.GainCrystal[1][2]
|
||||||
|
else
|
||||||
|
self.type2Text1.text = self.data.data.shows[1][2]
|
||||||
|
end
|
||||||
|
|
||||||
|
--LogError("aaaa=="..self.data.data.shows[1][2])
|
||||||
self.type2Text2.text=self.data.data.shopItemData.Rebate
|
self.type2Text2.text=self.data.data.shopItemData.Rebate
|
||||||
if GetCurLanguage() == 0 then
|
if GetCurLanguage() == 0 then
|
||||||
self.type2Text1.gameObject:GetComponent("RectTransform").anchoredPosition = offSetX[0].txt1
|
self.type2Text1.gameObject:GetComponent("RectTransform").anchoredPosition = offSetX[0].txt1
|
||||||
|
|
Loading…
Reference in New Issue