Revert "兑换界面修改"
This reverts commit 0467627fe8.
parent
57f1a4ee60
commit
acfccff38a
|
|
@ -90,7 +90,7 @@ function ShopBuyPopup:RemoveListener()
|
|||
end
|
||||
|
||||
--界面打开时调用(用于子类重写)
|
||||
function ShopBuyPopup:OnOpen(shopType, shopItemId,isShow)
|
||||
function ShopBuyPopup:OnOpen(shopType, shopItemId)
|
||||
-- 获取数据
|
||||
this.shopType = shopType
|
||||
this.shopItemId = shopItemId
|
||||
|
|
@ -147,11 +147,6 @@ function ShopBuyPopup:OnOpen(shopType, shopItemId,isShow)
|
|||
this.vipTip:SetActive(this.shopItemInfo.RelatedtoVIP == 1)
|
||||
local abcd = this.shopItemInfo.Cost[2]-- 公式常数
|
||||
this.costTip:SetActive(this.shopItemInfo.PremiumType == 2 or abcd[1] > 0 or abcd[2] > 0 or abcd[3] > 0 )
|
||||
if isShow and isShow == 0 then
|
||||
this.costTip:SetActive(false)
|
||||
else
|
||||
this.costTip:SetActive(true)
|
||||
end
|
||||
end
|
||||
|
||||
--- 滑动条值改变回调
|
||||
|
|
|
|||
Loading…
Reference in New Issue