UI调整: 管理员徽章样式改为更节省宽度的将官军功章 (🎖️)
This commit is contained in:
@@ -143,9 +143,8 @@
|
||||
// VIP 图标和管理员标识 (互斥显示:管理员优先)
|
||||
let badges = '';
|
||||
if (user.is_admin) {
|
||||
// 军人专属风格:“最高统帅”红底金字金属铭牌配将星
|
||||
badges +=
|
||||
`<span style="display:inline-block; background: linear-gradient(135deg, #b91c1c, #991b1b, #7f1d1d); color: #fbbf24; padding: 1px 6px; border-radius: 3px; font-size: 10px; font-weight: bold; border: 1px solid #f87171; box-shadow: 0 1px 3px rgba(185,28,28,0.5); margin-left:4px; transform:translateY(-1px);" title="总管大权">★最高统帅★</span>`;
|
||||
// 军人专属风格:由于宽度受限,采用代表最高荣誉与权威的“将官军功章”单字符
|
||||
badges += `<span style="font-size:12px; margin-left:2px;" title="最高统帅">🎖️</span>`;
|
||||
} else if (user.vip_icon) {
|
||||
const vipColor = user.vip_color || '#f59e0b';
|
||||
badges +=
|
||||
|
||||
Reference in New Issue
Block a user