From 1980ff4af04173d9ebb6ed65ea7df0b3743b764e Mon Sep 17 00:00:00 2001 From: zhenhui <1276357500@qq.com> Date: Wed, 3 Jun 2026 17:47:24 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BC=98=E5=8C=96=E6=B5=8B=E8=AF=95=E6=9D=83?= =?UTF-8?q?=E9=87=8D=E8=A1=A8=E5=8D=95=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/locales/langs/en/dice/reward.json | 8 +- .../src/locales/langs/zh/dice/reward.json | 8 +- .../index/modules/weight-test-dialog.vue | 252 ++++++++++-------- 3 files changed, 150 insertions(+), 118 deletions(-) diff --git a/saiadmin-artd/src/locales/langs/en/dice/reward.json b/saiadmin-artd/src/locales/langs/en/dice/reward.json index c2ddc4d..d05dd8a 100644 --- a/saiadmin-artd/src/locales/langs/en/dice/reward.json +++ b/saiadmin-artd/src/locales/langs/en/dice/reward.json @@ -65,12 +65,12 @@ "poolProfitRef": "Reference: default pool profit {profit}, pool config safety line {line}", "killModeOffHint": "When off, all draws follow paid/free settings without kill switching.", "sectionPaid": "Paid draws", - "sectionFreeAfterPlayAgain": "Free draw tier odds (after play-again)", - "tierProbHintFreeChain": "When using custom tier odds: T1–T5 below apply when a free draw runs (tier roll; combined with dice_reward row weights).", + "sectionFreeAfterPlayAgain": "Free draws (play again)", + "tierProbHintFreeChain": "Custom tiers: T1–T5 odds for free draws (combined with dice_reward row weights).", "stepPaid": "Paid ticket", "stepFree": "Free ticket", - "labelLotteryTypePaid": "Test pool type", - "labelLotteryTypeFree": "Test pool type", + "labelLotteryTypePaid": "Paid tier pool", + "labelLotteryTypeFree": "Free tier pool", "labelAnte": "Ante", "placeholderAnte": "Select ante config", "placeholderPaidPool": "Leave empty for custom tier odds below (default: default)", diff --git a/saiadmin-artd/src/locales/langs/zh/dice/reward.json b/saiadmin-artd/src/locales/langs/zh/dice/reward.json index c3d1f8f..efd4bbb 100644 --- a/saiadmin-artd/src/locales/langs/zh/dice/reward.json +++ b/saiadmin-artd/src/locales/langs/zh/dice/reward.json @@ -65,12 +65,12 @@ "poolProfitRef": "参考:当前 default 池盈利 {profit},彩金池配置安全线 {line}", "killModeOffHint": "关闭时全程按付费/免费配置抽档,不模拟杀分切换。", "sectionPaid": "付费抽奖", - "sectionFreeAfterPlayAgain": "免费抽奖(再来一次后的档位概率)", - "tierProbHintFreeChain": "当使用自定义档位时:以下为「免费抽奖」时 T1~T5 的档位概率(仅在有免费局时参与摇档,与 dice_reward 格子权重共同决定结果)。", + "sectionFreeAfterPlayAgain": "免费抽奖(再来一次)", + "tierProbHintFreeChain": "自定义档位时:免费局 T1~T5 档位概率(与 dice_reward 格子权重共同决定结果)。", "stepPaid": "付费抽奖券", "stepFree": "免费抽奖券", - "labelLotteryTypePaid": "测试数据档位类型", - "labelLotteryTypeFree": "测试数据档位类型", + "labelLotteryTypePaid": "付费档位奖池", + "labelLotteryTypeFree": "免费档位奖池", "labelAnte": "底注", "placeholderAnte": "请选择底注配置", "placeholderPaidPool": "不选则下方自定义档位概率(默认 default)", diff --git a/saiadmin-artd/src/views/plugin/dice/reward/index/modules/weight-test-dialog.vue b/saiadmin-artd/src/views/plugin/dice/reward/index/modules/weight-test-dialog.vue index cdb8df6..5e61ce5 100644 --- a/saiadmin-artd/src/views/plugin/dice/reward/index/modules/weight-test-dialog.vue +++ b/saiadmin-artd/src/views/plugin/dice/reward/index/modules/weight-test-dialog.vue @@ -2,7 +2,7 @@
- +
+
{{ $t('page.weightTest.labelTestSafetyLine') }}
- +
{{ $t('page.weightTest.testSafetyLineHint') }}
{{ $t('page.weightTest.poolProfitRef', { @@ -79,108 +75,118 @@
{{ $t('page.weightTest.sectionPaid') }}
- - - - - - - - - - - - - - - - +
{{ $t('page.weightTest.sectionFreeAfterPlayAgain') }}
- - - - - - + + + + + + + +
@@ -513,6 +519,20 @@ :deep(.el-form-item) { margin-bottom: 12px; } + :deep(.el-form-item__label) { + white-space: nowrap; + } + } + + .section-form { + :deep(.el-form-item) { + margin-bottom: 12px; + } + :deep(.el-form-item__label) { + white-space: nowrap; + line-height: 1.4; + padding-bottom: 4px; + } } .kill-mode-panel { @@ -543,11 +563,20 @@ border-top: 1px dashed var(--el-border-color); } - .kill-safety-item { - margin-bottom: 8px; - :deep(.el-form-item__label) { - white-space: nowrap; - } + .kill-mode-field { + max-width: 280px; + } + + .kill-mode-field-label { + font-size: 13px; + color: var(--el-text-color-regular); + line-height: 1.4; + margin-bottom: 6px; + white-space: nowrap; + } + + .kill-mode-field-input { + width: 100%; } .kill-mode-hint, @@ -574,6 +603,9 @@ margin: 0 0 10px; padding-bottom: 4px; border-bottom: 1px solid var(--el-border-color-lighter); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .tier-label {