超值返利提交

dev_chengFeng
jiaoyangna 2022-02-11 15:57:58 +08:00
parent 81660bd819
commit e27c51ee93
2 changed files with 8 additions and 8 deletions

View File

@ -1267,8 +1267,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 25}
m_SizeDelta: {x: 300, y: 100}
m_AnchoredPosition: {x: -0.000011444, y: 25}
m_SizeDelta: {x: 714.7, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8963526475966860363
CanvasRenderer:
@ -2182,8 +2182,8 @@ 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: -48, y: -683}
m_SizeDelta: {x: 700, y: 54}
m_AnchoredPosition: {x: 4.7, y: -683}
m_SizeDelta: {x: 714.7, y: 54}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7805140256559782348
CanvasRenderer:

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},
[2] = {bg1 = "b_baibao_andi",bg2 = "b_baibao_liangdi",text1 = "c_czfl_30yuan",text2 = "c_czfl_30yuan2",showType = 49,actType = ActivityTypeDef.chaozhifanli30,goodsType = GoodsTypeDef.chaozhifanli,redpoint= RedPointType.chaozhifanli30},
[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_30yuan",text2 = "c_czfl_30yuan2",showType = 49,actType = ActivityTypeDef.chaozhifanli30,goodsType = GoodsTypeDef.chaozhifanli,redpoint= RedPointType.chaozhifanli30,price = 30},
}
local curPage = 1
local redList = {}
@ -107,9 +107,9 @@ function PremiumRebatePanel:Refresh(isTop,isAni)
local missionData = ActivityGiftManager.GetActivityInfo(this.actData.activityId,missionConfig.Id)
if missionData.state == 1 or
(missionData.state == 0 and missionData.progress >= activityRewardConfig[missionConfig.Id].Values[1][1]) then
this.leftTime.text = string.format("累计天数:%s/15",this.actData.value + 1)
this.leftTime.text = string.format("每日仅需充值%s 累计天数:%s/15",MoneyUtil.GetMoneyUnitNameWithMoney(BTNS[curPage].price),this.actData.value + 1)
else
this.leftTime.text = string.format("累计天数:%s/15",this.actData.value)
this.leftTime.text = string.format("每日仅需充值%s 累计天数:%s/15",MoneyUtil.GetMoneyUnitNameWithMoney(BTNS[curPage].price),this.actData.value)
end
this:SetRewardShow(isTop,isAni)
this:SetTime()