优化:全站金币图标由 🪙(银灰色)统一替换为 💰(金黄色)
🪙 在多数平台/字体上渲染为银灰色,与「金币」语义不符; 💰 各平台均渲染为金黄色,更直观传达金币概念。 涉及文件(43处): - app/Jobs:百家乐、赛马结算广播 - app/Http/Controllers:管理员命令、红包、老虎机、神秘箱子 - app/Listeners - resources/views:聊天室各游戏面板、商店、toolbar、后台页面等
This commit is contained in:
@@ -168,13 +168,13 @@ class CloseBaccaratRoundJob implements ShouldQueue
|
||||
};
|
||||
|
||||
$payoutText = $round->total_payout > 0
|
||||
? '共派发 🪙'.number_format($round->total_payout).' 金币'
|
||||
? '共派发 💰'.number_format($round->total_payout).' 金币'
|
||||
: '本局无人获奖';
|
||||
|
||||
// 拼接用户输赢明细(最多显示 10 人,防止消息过长)
|
||||
$detailParts = [];
|
||||
if ($winners) {
|
||||
$detailParts[] = '🏆 中奖:'.implode('、', array_slice($winners, 0, 10)).' 🪙';
|
||||
$detailParts[] = '🏆 中奖:'.implode('、', array_slice($winners, 0, 10)).' 💰';
|
||||
}
|
||||
if ($losers) {
|
||||
$detailParts[] = '😔 未中:'.implode('、', array_slice($losers, 0, 10));
|
||||
|
||||
@@ -148,7 +148,7 @@ class CloseHorseRaceJob implements ShouldQueue
|
||||
}
|
||||
|
||||
$payoutText = $totalPayout > 0
|
||||
? '共派发 🪙'.number_format($totalPayout).' 金币'
|
||||
? '共派发 💰'.number_format($totalPayout).' 金币'
|
||||
: '本场无人获奖';
|
||||
|
||||
$content = "🏆 【赛马】第 #{$race->id} 场结束!冠军:{$winnerName}!{$payoutText}。";
|
||||
|
||||
@@ -213,7 +213,7 @@ class TriggerHolidayEventJob implements ShouldQueue
|
||||
private function pushSystemMessage(HolidayEvent $event, int $claimCount, ChatStateService $chatState): void
|
||||
{
|
||||
$typeLabel = $event->distribute_type === 'fixed' ? "每人固定 {$event->fixed_amount} 金币" : '随机分配';
|
||||
$content = "🎊 【{$event->name}】节日福利开始啦!总奖池 🪙".number_format($event->total_amount)
|
||||
$content = "🎊 【{$event->name}】节日福利开始啦!总奖池 💰".number_format($event->total_amount)
|
||||
." 金币,{$typeLabel},共 {$claimCount} 名在线用户可领取!点击弹窗按钮立即领取!";
|
||||
|
||||
$msg = [
|
||||
|
||||
Reference in New Issue
Block a user