Merge branch 'china/dev' into china/dev-c

dev_chengFeng
gaoxin 2021-05-27 10:19:53 +08:00
commit 7a972628c3
1 changed files with 1 additions and 0 deletions

View File

@ -460,6 +460,7 @@ function ShopViewNew:ShopItemAdapter(shopItem, itemData)
-- 限购
limitBg:SetActive(maxLimitCount ~= -1)
limitTimes.text = maxLimitCount
limitTimes.gameObject:SetActive(maxLimitCount ~= -1)
-- 售空 限购次数为-1 表示不限购
local isEmpty = maxLimitCount ~= -1 and curBuyCount >= maxLimitCount
if curBuyCount >= maxLimitCount then