【超值连冲】=======显示6元页签及6元红点

dev_chengFeng
wangzhenxing 2022-06-17 16:08:13 +08:00
parent d796a106bc
commit 5885d46076
2 changed files with 6 additions and 6 deletions

View File

@ -7,8 +7,8 @@ local artResourcesConfig = ConfigManager.GetConfig(ConfigName.ArtResourcesConfig
local activityRewardConfig = ConfigManager.GetConfig(ConfigName.ActivityRewardConfig)
local TabBox = require("Modules/Common/TabBox")
local BTNS = {
--[1] = {bg1 = "b_baibao_andi",bg2 = "b_baibao_liangdi",text1 = "c_czfl_6yuan",text2 = "c_czfl_6yuan2",showType = 48,actType = ActivityTypeDef.chaozhifanli,goodsType = GoodsTypeDef.chaozhifanli,redpoint= RedPointType.chaozhifanli6,price = 6},
[1] = {bg1 = "b_baibao_andi",bg2 = "b_baibao_liangdi",text1 = "c_czfl_18yuan",text2 = "c_czfl_18yuan",showType = 49,actType = ActivityTypeDef.chaozhifanli30,goodsType = GoodsTypeDef.chaozhifanli,redpoint= RedPointType.chaozhifanli30,price = 18},
[1] = {bg1 = "b_baibao_andi",bg2 = "b_baibao_liangdi",text1 = "c_czfl_6yuan",text2 = "c_czfl_6yuan2",showType = 48,actType = ActivityTypeDef.chaozhifanli,goodsType = GoodsTypeDef.chaozhifanli,redpoint= RedPointType.chaozhifanli6,price = 6},
[2] = {bg1 = "b_baibao_andi",bg2 = "b_baibao_liangdi",text1 = "c_czfl_18yuan",text2 = "c_czfl_18yuan",showType = 49,actType = ActivityTypeDef.chaozhifanli30,goodsType = GoodsTypeDef.chaozhifanli,redpoint= RedPointType.chaozhifanli30,price = 18},
}
local curPage = 1
local redList = {}

View File

@ -851,11 +851,11 @@ function this.CheckRedPointPremium()
if PlayerPrefs.GetInt("chaozhifanli"..PlayerManager.uid) ~= day then
return true
else
-- if this.CheckRedPointPremiumSingle(ActivityTypeDef.chaozhifanli) then
-- return true
--else
if this.CheckRedPointPremiumSingle(ActivityTypeDef.chaozhifanli) then
return true
else
return this.CheckRedPointPremiumSingle(ActivityTypeDef.chaozhifanli30)
--end
end
end
end
return false