新增文案
This commit is contained in:
parent
7976c1f358
commit
885bc67994
|
|
@ -7,11 +7,11 @@ import com.vididin.real.money.game.R
|
||||||
|
|
||||||
// Record 类型
|
// Record 类型
|
||||||
const val RECORD_CASH_PLUS_GOLD_CONVERT: Int = 1
|
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 = 2
|
||||||
const val RECORD_CASH_PLUS_BOX_TASK: Int = 3
|
const val RECORD_CASH_PLUS_WITHDRAW_ONGOING: Int = 3
|
||||||
const val RECORD_CASH_PLUS_WITHDRAW_FAIL: Int = 4
|
const val RECORD_CASH_PLUS_WITHDRAW_FAIL: Int = 4
|
||||||
const val RECORD_CASH_MINUS_WITHDRAW_SMALL: Int = 5
|
const val RECORD_CASH_MINUS_WITHDRAW_SUCCESS: Int = 5
|
||||||
const val RECORD_CASH_MINUS_WITHDRAW_BIG: Int = 6
|
|
||||||
|
|
||||||
open class RecordCash (var recordType: Int = 0,
|
open class RecordCash (var recordType: Int = 0,
|
||||||
var amountNum: Double = 0.0,
|
var amountNum: Double = 0.0,
|
||||||
|
|
@ -37,41 +37,35 @@ fun RecordCash.toShowBean(): RecordCashShow {
|
||||||
|
|
||||||
when (this@apply.recordType) {
|
when (this@apply.recordType) {
|
||||||
RECORD_CASH_PLUS_GOLD_CONVERT -> {
|
RECORD_CASH_PLUS_GOLD_CONVERT -> {
|
||||||
title = R.string.apply
|
title = R.string.record_cash_title_convert_from_gold
|
||||||
description = R.string.apply
|
description = R.string.record_cash_descr_convert_from_gold
|
||||||
iconRes = R.mipmap.icon_ad
|
|
||||||
}
|
|
||||||
|
|
||||||
RECORD_CASH_PLUS_NEWBIE_GIFT -> {
|
|
||||||
title = R.string.apply
|
|
||||||
description = R.string.apply
|
|
||||||
iconRes = R.mipmap.icon_ad
|
iconRes = R.mipmap.icon_ad
|
||||||
}
|
}
|
||||||
|
|
||||||
RECORD_CASH_PLUS_BOX_TASK -> {
|
RECORD_CASH_PLUS_BOX_TASK -> {
|
||||||
title = R.string.apply
|
title = R.string.record_cash_title_box
|
||||||
description = R.string.apply
|
description = R.string.record_cash_descr_box
|
||||||
iconRes = R.mipmap.icon_ad
|
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 -> {
|
RECORD_CASH_PLUS_WITHDRAW_FAIL -> {
|
||||||
title = R.string.apply
|
title = R.string.record_cash_title_withdraw_failed
|
||||||
description = R.string.apply
|
description = R.string.record_cash_descr_withdraw_failed
|
||||||
iconRes = R.mipmap.icon_ad
|
iconRes = R.mipmap.icon_ad
|
||||||
}
|
}
|
||||||
|
|
||||||
RECORD_CASH_MINUS_WITHDRAW_SMALL -> {
|
RECORD_CASH_MINUS_WITHDRAW_SUCCESS -> {
|
||||||
title = R.string.apply
|
title = R.string.record_cash_title_withdraw_success
|
||||||
description = R.string.apply
|
description = R.string.record_cash_descr_withdraw_success
|
||||||
iconRes = R.mipmap.icon_ad
|
iconRes = R.mipmap.icon_ad
|
||||||
}
|
}
|
||||||
|
|
||||||
RECORD_CASH_MINUS_WITHDRAW_BIG -> {
|
|
||||||
title = R.string.apply
|
|
||||||
description = R.string.apply
|
|
||||||
iconRes = R.mipmap.icon_ad
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -40,64 +40,66 @@ fun RecordGold.toShowBean(): RecordGoldShow {
|
||||||
this@apply.amountNum = this@toShowBean.amountNum
|
this@apply.amountNum = this@toShowBean.amountNum
|
||||||
this@apply.recordType = this@toShowBean.recordType
|
this@apply.recordType = this@toShowBean.recordType
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
when (this@apply.recordType) {
|
when (this@apply.recordType) {
|
||||||
RECORD_GOLD_PLUS_WATCH_VIDEO_BY_TIME_DURATION -> {
|
RECORD_GOLD_PLUS_WATCH_VIDEO_BY_TIME_DURATION -> {
|
||||||
title = R.string.apply
|
title = R.string.record_gold_title_watch_video_time_duration
|
||||||
description = R.string.apply
|
description = R.string.record_gold_descr_watch_video_time_duration
|
||||||
iconRes = R.mipmap.icon_ad
|
iconRes = R.mipmap.icon_ad
|
||||||
}
|
}
|
||||||
|
|
||||||
RECORD_GOLD_PLUS_WATCH_REWARD_AD -> {
|
RECORD_GOLD_PLUS_WATCH_REWARD_AD -> {
|
||||||
title = R.string.apply
|
title = R.string.record_gold_title_watch_reward_ad
|
||||||
description = R.string.apply
|
description = R.string.record_gold_descr_watch_reward_ad
|
||||||
iconRes = R.mipmap.icon_ad
|
iconRes = R.mipmap.icon_ad
|
||||||
}
|
}
|
||||||
|
|
||||||
RECORD_GOLD_PLUS_NEWBIE_GIFT -> {
|
RECORD_GOLD_PLUS_NEWBIE_GIFT -> {
|
||||||
title = R.string.apply
|
title = R.string.record_gold_title_newbie_gift
|
||||||
description = R.string.apply
|
description = R.string.record_gold_descr_newbie_gift
|
||||||
iconRes = R.mipmap.icon_ad
|
iconRes = R.mipmap.icon_ad
|
||||||
}
|
}
|
||||||
|
|
||||||
RECORD_GOLD_PLUS_TASK_ENABLE_NOTIFY -> {
|
RECORD_GOLD_PLUS_TASK_ENABLE_NOTIFY -> {
|
||||||
title = R.string.apply
|
title = R.string.record_gold_title_enable_notify
|
||||||
description = R.string.apply
|
description = R.string.record_gold_descr_enable_notify
|
||||||
iconRes = R.mipmap.icon_ad
|
iconRes = R.mipmap.icon_ad
|
||||||
}
|
}
|
||||||
|
|
||||||
RECORD_GOLD_PLUS_TASK_FIRST_WITHDRAW -> {
|
RECORD_GOLD_PLUS_TASK_FIRST_WITHDRAW -> {
|
||||||
title = R.string.apply
|
title = R.string.record_gold_title_first_withdraw
|
||||||
description = R.string.apply
|
description = R.string.record_gold_descr_first_withdraw
|
||||||
iconRes = R.mipmap.icon_ad
|
iconRes = R.mipmap.icon_ad
|
||||||
}
|
}
|
||||||
|
|
||||||
RECORD_GOLD_PLUS_TASK_JOIN_DISCORD -> {
|
RECORD_GOLD_PLUS_TASK_JOIN_DISCORD -> {
|
||||||
title = R.string.apply
|
title = R.string.record_gold_title_join_discord
|
||||||
description = R.string.apply
|
description = R.string.record_gold_descr_join_discord
|
||||||
iconRes = R.mipmap.icon_ad
|
iconRes = R.mipmap.icon_ad
|
||||||
}
|
}
|
||||||
|
|
||||||
RECORD_GOLD_PLUS_TASK_SIGN -> {
|
RECORD_GOLD_PLUS_TASK_SIGN -> {
|
||||||
title = R.string.apply
|
title = R.string.record_gold_title_sign
|
||||||
description = R.string.apply
|
description = R.string.record_gold_descr_sign
|
||||||
iconRes = R.mipmap.icon_ad
|
iconRes = R.mipmap.icon_ad
|
||||||
}
|
}
|
||||||
|
|
||||||
RECORD_GOLD_PLUS_TASK_DAILY_AD -> {
|
RECORD_GOLD_PLUS_TASK_DAILY_AD -> {
|
||||||
title = R.string.apply
|
title = R.string.record_gold_title_daily_task_ad
|
||||||
description = R.string.apply
|
description = R.string.record_gold_descr_daily_task_ad
|
||||||
iconRes = R.mipmap.icon_ad
|
iconRes = R.mipmap.icon_ad
|
||||||
}
|
}
|
||||||
|
|
||||||
RECORD_GOLD_PLUS_TASK_DAILY_VIDEO -> {
|
RECORD_GOLD_PLUS_TASK_DAILY_VIDEO -> {
|
||||||
title = R.string.apply
|
title = R.string.record_gold_title_daily_task_video
|
||||||
description = R.string.apply
|
description = R.string.record_gold_descr_daily_task_video
|
||||||
iconRes = R.mipmap.icon_ad
|
iconRes = R.mipmap.icon_ad
|
||||||
}
|
}
|
||||||
|
|
||||||
RECORD_GOLD_MINUS_CONVERT_2_CASH -> {
|
RECORD_GOLD_MINUS_CONVERT_2_CASH -> {
|
||||||
title = R.string.apply
|
title = R.string.record_gold_title_convert_2_cash
|
||||||
description = R.string.apply
|
description = R.string.record_gold_descr_convert_2_cash
|
||||||
iconRes = R.mipmap.icon_ad
|
iconRes = R.mipmap.icon_ad
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,35 +27,7 @@ fun RecordZero.toShowBean(): RecordZeroShow {
|
||||||
this@apply.recordType = this@toShowBean.recordType
|
this@apply.recordType = this@toShowBean.recordType
|
||||||
|
|
||||||
when (this@apply.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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,6 @@ import com.ama.core.architecture.util.SpUtil
|
||||||
import com.ama.core.architecture.util.eventbus.NotifyMan
|
import com.ama.core.architecture.util.eventbus.NotifyMan
|
||||||
import com.gamedog.vididin.VidiConst
|
import com.gamedog.vididin.VidiConst
|
||||||
import com.gamedog.vididin.VididinEvents
|
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.RECORD_CASH_PLUS_WITHDRAW_FAIL
|
||||||
import com.gamedog.vididin.beans.RecordCash
|
import com.gamedog.vididin.beans.RecordCash
|
||||||
import com.gamedog.vididin.beans.req.PayInitReq
|
import com.gamedog.vididin.beans.req.PayInitReq
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -164,4 +164,40 @@
|
||||||
<string name="dont_enought_diamond">Diamantes insuficientes</string>
|
<string name="dont_enought_diamond">Diamantes insuficientes</string>
|
||||||
<string name="zero_not_win_title">Festa Grátis</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>
|
</resources>
|
||||||
Loading…
Reference in New Issue