优化跑马提示

This commit is contained in:
2026-04-11 23:46:05 +08:00
parent f4a632a9c1
commit 9b4b0ab5f3
2 changed files with 7 additions and 6 deletions
+5 -1
View File
@@ -75,7 +75,11 @@ class OpenHorseRaceJob implements ShouldQueue
fn ($h) => "{$h['emoji']}{$h['name']}",
$horses
));
$content = "🐎 【赛马】第 #{$race->id} 场开始!押注时间 {$betSeconds} 秒,参赛马匹:{$horseList}。押注范围 ".number_format($minBet).'~'.number_format($maxBet).' 金币!';
$quickOpenButton = '<button type="button" '
.'onclick="event.preventDefault(); Alpine.$data(document.getElementById(\'horse-race-panel\')).openFromHall();" '
.'style="margin-left:8px; padding:2px 8px; border:1px solid #d97706; border-radius:999px; background:#fff7ed; color:#b45309; font-size:12px; font-weight:bold; cursor:pointer;">'
.'快速参与赌马</button>';
$content = "🐎 【赛马】第 #{$race->id} 场开始!押注时间 {$betSeconds} 秒,参赛马匹:{$horseList}。押注范围 ".number_format($minBet).'~'.number_format($maxBet).' 金币!'.$quickOpenButton;
$msg = [
'id' => $chatState->nextMessageId(1),