新增文案

This commit is contained in:
renhaoting 2025-12-24 19:34:48 +08:00
parent 7976c1f358
commit 885bc67994
6 changed files with 114 additions and 75 deletions

View File

@ -7,11 +7,11 @@ import com.vididin.real.money.game.R
// Record 类型
const val RECORD_CASH_PLUS_GOLD_CONVERT: Int = 1
const val RECORD_CASH_PLUS_NEWBIE_GIFT: Int = 2
const val RECORD_CASH_PLUS_BOX_TASK: Int = 3
const val RECORD_CASH_PLUS_BOX_TASK: Int = 2
const val RECORD_CASH_PLUS_WITHDRAW_ONGOING: Int = 3
const val RECORD_CASH_PLUS_WITHDRAW_FAIL: Int = 4
const val RECORD_CASH_MINUS_WITHDRAW_SMALL: Int = 5
const val RECORD_CASH_MINUS_WITHDRAW_BIG: Int = 6
const val RECORD_CASH_MINUS_WITHDRAW_SUCCESS: Int = 5
open class RecordCash (var recordType: Int = 0,
var amountNum: Double = 0.0,
@ -37,41 +37,35 @@ fun RecordCash.toShowBean(): RecordCashShow {
when (this@apply.recordType) {
RECORD_CASH_PLUS_GOLD_CONVERT -> {
title = R.string.apply
description = R.string.apply
iconRes = R.mipmap.icon_ad
}
RECORD_CASH_PLUS_NEWBIE_GIFT -> {
title = R.string.apply
description = R.string.apply
title = R.string.record_cash_title_convert_from_gold
description = R.string.record_cash_descr_convert_from_gold
iconRes = R.mipmap.icon_ad
}
RECORD_CASH_PLUS_BOX_TASK -> {
title = R.string.apply
description = R.string.apply
title = R.string.record_cash_title_box
description = R.string.record_cash_descr_box
iconRes = R.mipmap.icon_ad
}
RECORD_CASH_PLUS_WITHDRAW_ONGOING -> {
title = R.string.record_cash_title_withdraw_ongoing
description = R.string.record_cash_descr_withdraw_onging
iconRes = R.mipmap.icon_ad
}
RECORD_CASH_PLUS_WITHDRAW_FAIL -> {
title = R.string.apply
description = R.string.apply
title = R.string.record_cash_title_withdraw_failed
description = R.string.record_cash_descr_withdraw_failed
iconRes = R.mipmap.icon_ad
}
RECORD_CASH_MINUS_WITHDRAW_SMALL -> {
title = R.string.apply
description = R.string.apply
RECORD_CASH_MINUS_WITHDRAW_SUCCESS -> {
title = R.string.record_cash_title_withdraw_success
description = R.string.record_cash_descr_withdraw_success
iconRes = R.mipmap.icon_ad
}
RECORD_CASH_MINUS_WITHDRAW_BIG -> {
title = R.string.apply
description = R.string.apply
iconRes = R.mipmap.icon_ad
}
}
}
}

View File

@ -40,64 +40,66 @@ fun RecordGold.toShowBean(): RecordGoldShow {
this@apply.amountNum = this@toShowBean.amountNum
this@apply.recordType = this@toShowBean.recordType
when (this@apply.recordType) {
RECORD_GOLD_PLUS_WATCH_VIDEO_BY_TIME_DURATION -> {
title = R.string.apply
description = R.string.apply
title = R.string.record_gold_title_watch_video_time_duration
description = R.string.record_gold_descr_watch_video_time_duration
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_WATCH_REWARD_AD -> {
title = R.string.apply
description = R.string.apply
title = R.string.record_gold_title_watch_reward_ad
description = R.string.record_gold_descr_watch_reward_ad
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_NEWBIE_GIFT -> {
title = R.string.apply
description = R.string.apply
title = R.string.record_gold_title_newbie_gift
description = R.string.record_gold_descr_newbie_gift
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_TASK_ENABLE_NOTIFY -> {
title = R.string.apply
description = R.string.apply
title = R.string.record_gold_title_enable_notify
description = R.string.record_gold_descr_enable_notify
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_TASK_FIRST_WITHDRAW -> {
title = R.string.apply
description = R.string.apply
title = R.string.record_gold_title_first_withdraw
description = R.string.record_gold_descr_first_withdraw
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_TASK_JOIN_DISCORD -> {
title = R.string.apply
description = R.string.apply
title = R.string.record_gold_title_join_discord
description = R.string.record_gold_descr_join_discord
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_TASK_SIGN -> {
title = R.string.apply
description = R.string.apply
title = R.string.record_gold_title_sign
description = R.string.record_gold_descr_sign
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_TASK_DAILY_AD -> {
title = R.string.apply
description = R.string.apply
title = R.string.record_gold_title_daily_task_ad
description = R.string.record_gold_descr_daily_task_ad
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_PLUS_TASK_DAILY_VIDEO -> {
title = R.string.apply
description = R.string.apply
title = R.string.record_gold_title_daily_task_video
description = R.string.record_gold_descr_daily_task_video
iconRes = R.mipmap.icon_ad
}
RECORD_GOLD_MINUS_CONVERT_2_CASH -> {
title = R.string.apply
description = R.string.apply
title = R.string.record_gold_title_convert_2_cash
description = R.string.record_gold_descr_convert_2_cash
iconRes = R.mipmap.icon_ad
}
}

View File

@ -27,35 +27,7 @@ fun RecordZero.toShowBean(): RecordZeroShow {
this@apply.recordType = this@toShowBean.recordType
when (this@apply.recordType) {
RECORD_CASH_PLUS_GOLD_CONVERT -> {
title = R.string.apply
description = R.string.apply
iconRes = R.mipmap.icon_ad
}
RECORD_CASH_PLUS_NEWBIE_GIFT -> {
title = R.string.apply
description = R.string.apply
iconRes = R.mipmap.icon_ad
}
RECORD_CASH_PLUS_BOX_TASK -> {
title = R.string.apply
description = R.string.apply
iconRes = R.mipmap.icon_ad
}
RECORD_CASH_MINUS_WITHDRAW_SMALL -> {
title = R.string.apply
description = R.string.apply
iconRes = R.mipmap.icon_ad
}
RECORD_CASH_MINUS_WITHDRAW_BIG -> {
title = R.string.apply
description = R.string.apply
iconRes = R.mipmap.icon_ad
}
}
}
}

View File

@ -9,9 +9,6 @@ import com.ama.core.architecture.util.SpUtil
import com.ama.core.architecture.util.eventbus.NotifyMan
import com.gamedog.vididin.VidiConst
import com.gamedog.vididin.VididinEvents
import com.gamedog.vididin.beans.RECORD_CASH_MINUS_WITHDRAW_BIG
import com.gamedog.vididin.beans.RECORD_CASH_MINUS_WITHDRAW_SMALL
import com.gamedog.vididin.beans.RECORD_CASH_PLUS_BOX_TASK
import com.gamedog.vididin.beans.RECORD_CASH_PLUS_WITHDRAW_FAIL
import com.gamedog.vididin.beans.RecordCash
import com.gamedog.vididin.beans.req.PayInitReq

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- 金币 现金记录相关文案 -->
<string name="record_cash_title_convert_from_gold">Conversão</string>
<string name="record_cash_descr_convert_from_gold">xxx</string>
<string name="record_cash_title_box">Baú de Bônus</string>
<string name="record_cash_descr_box">xxx</string>
<string name="record_cash_title_withdraw_ongoing">Processamento...</string>
<string name="record_cash_descr_withdraw_onging">xxx</string>
<string name="record_cash_title_withdraw_success">Sucesso</string>
<string name="record_cash_descr_withdraw_success">xxx</string>
<string name="record_cash_title_withdraw_failed">Falhou</string>
<string name="record_cash_descr_withdraw_failed">xxx</string>
<string name="record_gold_title_watch_video_time_duration">xxx</string>
<string name="record_gold_descr_watch_video_time_duration">xxx</string>
<string name="record_gold_title_watch_reward_ad">xxx</string>
<string name="record_gold_descr_watch_reward_ad">xxx</string>
<string name="record_gold_title_newbie_gift">xxx</string>
<string name="record_gold_descr_newbie_gift">xxx</string>
<string name="record_gold_title_enable_notify">xxx</string>
<string name="record_gold_descr_enable_notify">xxx</string>
<string name="record_gold_title_first_withdraw">xxx</string>
<string name="record_gold_descr_first_withdraw">xxx</string>
<string name="record_gold_title_join_discord">xxx</string>
<string name="record_gold_descr_join_discord">xxx</string>
<string name="record_gold_title_sign">xxx</string>
<string name="record_gold_descr_sign">xxx</string>
<string name="record_gold_title_daily_task_ad">xxx</string>
<string name="record_gold_descr_daily_task_ad">xxx</string>
<string name="record_gold_title_daily_task_video">xxx</string>
<string name="record_gold_descr_daily_task_video">xxx</string>
<string name="record_gold_title_convert_2_cash">xxx</string>
<string name="record_gold_descr_convert_2_cash">xxx</string>
</resources>

View File

@ -164,4 +164,40 @@
<string name="dont_enought_diamond">Diamantes insuficientes</string>
<string name="zero_not_win_title">Festa Grátis</string>
<!-- 金币 现金记录相关文案 -->
<string name="record_cash_title_convert_from_gold">Conversion</string>
<string name="record_cash_descr_convert_from_gold">xxx</string>
<string name="record_cash_title_box">Bonus Chest</string>
<string name="record_cash_descr_box">xxx</string>
<string name="record_cash_title_withdraw_ongoing">Processing...</string>
<string name="record_cash_descr_withdraw_onging">xxx</string>
<string name="record_cash_title_withdraw_success">Success</string>
<string name="record_cash_descr_withdraw_success">xxx</string>
<string name="record_cash_title_withdraw_failed">Failed</string>
<string name="record_cash_descr_withdraw_failed">xxx</string>
<string name="record_gold_title_watch_video_time_duration">xxx</string>
<string name="record_gold_descr_watch_video_time_duration">xxx</string>
<string name="record_gold_title_watch_reward_ad">xxx</string>
<string name="record_gold_descr_watch_reward_ad">xxx</string>
<string name="record_gold_title_newbie_gift">xxx</string>
<string name="record_gold_descr_newbie_gift">xxx</string>
<string name="record_gold_title_enable_notify">xxx</string>
<string name="record_gold_descr_enable_notify">xxx</string>
<string name="record_gold_title_first_withdraw">xxx</string>
<string name="record_gold_descr_first_withdraw">xxx</string>
<string name="record_gold_title_join_discord">xxx</string>
<string name="record_gold_descr_join_discord">xxx</string>
<string name="record_gold_title_sign">xxx</string>
<string name="record_gold_descr_sign">xxx</string>
<string name="record_gold_title_daily_task_ad">xxx</string>
<string name="record_gold_descr_daily_task_ad">xxx</string>
<string name="record_gold_title_daily_task_video">xxx</string>
<string name="record_gold_descr_daily_task_video">xxx</string>
<string name="record_gold_title_convert_2_cash">xxx</string>
<string name="record_gold_descr_convert_2_cash">xxx</string>
</resources>