【特惠商城】提交
parent
034aff624f
commit
0377b2b642
|
@ -4958,7 +4958,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: -52}
|
||||
m_AnchoredPosition: {x: 10, y: -50}
|
||||
m_SizeDelta: {x: 700, y: 125}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &6449646568492193447
|
||||
|
@ -5463,7 +5463,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 75}
|
||||
m_AnchoredPosition: {x: 0, y: 87}
|
||||
m_SizeDelta: {x: 400, y: 30}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &1997933028730248696
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -198,7 +198,7 @@ function EveryDayGiftNew:RefreshReward(Data)
|
|||
if DynamicActivityManager.Index < 2 then
|
||||
num = growData[2].data.shopItemData.BuyRule[2]
|
||||
elseif DynamicActivityManager.Index + 1 > #growData then
|
||||
text = DynamicActivityManager.Index
|
||||
text = #growData
|
||||
num = growData[#growData].data.shopItemData.BuyRule[2]
|
||||
else
|
||||
text = DynamicActivityManager.Index-1
|
||||
|
@ -214,6 +214,7 @@ function EveryDayGiftNew:RefreshReward(Data)
|
|||
|
||||
local size = rechargeNum/num
|
||||
size = size > 1 and 1 or size
|
||||
-- LogRed(DynamicActivityManager.Index.." #growData:"..tostring(#growData).." text:"..tostring(text))
|
||||
self.icon.sprite = self.spLoader:LoadSprite("t_tequan_vip"..text)
|
||||
self.progress:GetComponent("RectTransform").sizeDelta = Vector3.New(483*size,12,0)
|
||||
self.value.text = string.format("%s/%s",rechargeNum,num)
|
||||
|
|
|
@ -122,7 +122,7 @@ function RechargeViewNew:RefreshReward(Data)
|
|||
if DynamicActivityManager.Index < 2 then
|
||||
num = growData[2].data.shopItemData.BuyRule[2]
|
||||
elseif DynamicActivityManager.Index + 1 > #growData then
|
||||
text = DynamicActivityManager.Index
|
||||
text = #growData
|
||||
num = growData[#growData].data.shopItemData.BuyRule[2]
|
||||
else
|
||||
text = DynamicActivityManager.Index-1
|
||||
|
|
Loading…
Reference in New Issue