feat(game): 添加连续奖励表格和银行选项图标
- 在游戏规则模态框中添加连续奖励表格组件 - 更新英文和印尼语的游戏规则文本内容 - 添加银行选项的图标显示功能,支持自定义logo或默认地标图标 - 实现连续奖励数据类型和接口定义 - 在游戏会话存储中添加连续奖励行数据管理 - 集成银行选择下拉菜单中的图标展示 - 更新WithdrawField组件以支持银行图标显示
This commit is contained in:
@@ -3,6 +3,7 @@ import lengthBlueBtn from '@/assets/system/length-blue-btn.webp'
|
||||
import { CenterModal } from '@/components/center-modal.tsx'
|
||||
import RulesMarkdownContent from '@/components/rules-markdown-content.tsx'
|
||||
import { SmartBackground } from '@/components/smart-background.tsx'
|
||||
import StreakRewardTable from '@/components/streak-reward-table.tsx'
|
||||
import { useModalStore } from '@/store'
|
||||
|
||||
function DesktopRulesModal() {
|
||||
@@ -29,7 +30,9 @@ function DesktopRulesModal() {
|
||||
>
|
||||
<div className="flex h-full flex-col gap-design-24 px-design-28 pb-design-30 pt-design-10">
|
||||
<div className="flex-1 overflow-y-auto rounded-[12px] bg-black/35 p-design-20 text-design-18 text-[#B9E7EA]">
|
||||
<RulesMarkdownContent content={t('game.modals.rules.content')} />
|
||||
<RulesMarkdownContent content={t('game.modals.rules.content')}>
|
||||
<StreakRewardTable />
|
||||
</RulesMarkdownContent>
|
||||
</div>
|
||||
|
||||
<div className="flex justify-center">
|
||||
|
||||
@@ -3,6 +3,7 @@ import lengthBlueBtn from '@/assets/system/length-blue-btn.webp'
|
||||
import { MobileCenterModal } from '@/components/mobile-center-modal.tsx'
|
||||
import RulesMarkdownContent from '@/components/rules-markdown-content.tsx'
|
||||
import { SmartBackground } from '@/components/smart-background.tsx'
|
||||
import StreakRewardTable from '@/components/streak-reward-table.tsx'
|
||||
import { useModalStore } from '@/store'
|
||||
|
||||
function MobileRulesModal() {
|
||||
@@ -32,7 +33,9 @@ function MobileRulesModal() {
|
||||
<RulesMarkdownContent
|
||||
compact
|
||||
content={t('game.modals.rules.content')}
|
||||
/>
|
||||
>
|
||||
<StreakRewardTable compact />
|
||||
</RulesMarkdownContent>
|
||||
</div>
|
||||
|
||||
<div className="flex shrink-0 justify-center">
|
||||
|
||||
Reference in New Issue
Block a user