diff --git a/assets/icons/auction.png b/assets/icons/auction.png new file mode 100644 index 0000000..823bb40 Binary files /dev/null and b/assets/icons/auction.png differ diff --git a/assets/icons/calendar.png b/assets/icons/calendar.png new file mode 100644 index 0000000..744d7fd Binary files /dev/null and b/assets/icons/calendar.png differ diff --git a/assets/icons/mail.png b/assets/icons/mail.png new file mode 100644 index 0000000..c7cee77 Binary files /dev/null and b/assets/icons/mail.png differ diff --git a/assets/icons/notice.png b/assets/icons/notice.png new file mode 100644 index 0000000..d7e9c35 Binary files /dev/null and b/assets/icons/notice.png differ diff --git a/assets/icons/rank.png b/assets/icons/rank.png new file mode 100644 index 0000000..79191f9 Binary files /dev/null and b/assets/icons/rank.png differ diff --git a/assets/icons/settings.png b/assets/icons/settings.png new file mode 100644 index 0000000..687eb40 Binary files /dev/null and b/assets/icons/settings.png differ diff --git a/assets/icons/shop.png b/assets/icons/shop.png new file mode 100644 index 0000000..675f805 Binary files /dev/null and b/assets/icons/shop.png differ diff --git a/assets/icons/task.png b/assets/icons/task.png new file mode 100644 index 0000000..b2c342c Binary files /dev/null and b/assets/icons/task.png differ diff --git a/assets/icons/website.png b/assets/icons/website.png new file mode 100644 index 0000000..0951bef Binary files /dev/null and b/assets/icons/website.png differ diff --git a/world.html b/world.html index 4efb5ab..d13306f 100644 --- a/world.html +++ b/world.html @@ -199,6 +199,7 @@ body { background: #0a0e17; overflow: hidden; font-family: 'Microsoft YaHei', sa } .top-icon:hover{background:linear-gradient(135deg, rgba(139,92,246,.28), rgba(74,175,255,.22)); border-color:rgba(139,92,246,.55); color:#fff; transform:translateY(-2px); box-shadow:0 6px 18px rgba(80,120,255,.35);} .top-icon:active{transform:translateY(0);} +.top-icon img{width:62%;height:62%;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.4));pointer-events:none;} .top-icon-badge{ position:absolute; top:-3px; right:-3px; min-width:18px; height:18px; padding:0 5px; font-size:11px; font-weight:800; color:#fff; background:#ef4444; border-radius:999px; @@ -948,15 +949,15 @@ body { background: #0a0e17; overflow: hidden; font-family: 'Microsoft YaHei', sa
- - - - - - - - - + + + + + + + + +
@@ -2352,7 +2353,7 @@ async function openTaskPanel() { await emitTaskEvent('panel_opened'); const body = `
${renderTaskPanel()}
完成主线任务可获经验与金币,推动世界成长。
`; - openAppModal('📜 任务', body); + openAppModal('任务', body); // 绑定领取按钮(setTimeout 等待 modal 注入 DOM) setTimeout(() => { document.querySelectorAll('.task-claim-btn').forEach(btn => { @@ -7674,23 +7675,23 @@ if (typeof fitWorld === 'function') fitWorld(); if (btnTask) btnTask.addEventListener('click', () => { openTaskPanel(); }); const btnMall = document.getElementById('btnMall'); if (btnMall) btnMall.addEventListener('click', () => { - openAppModal('🛒 商城', '
商城系统即将开放

可购买皮肤、道具、加速器与会员服务。
'); + openAppModal('商城', '
商城系统即将开放

可购买皮肤、道具、加速器与会员服务。
'); }); const btnNotice = document.getElementById('btnNotice'); if (btnNotice) btnNotice.addEventListener('click', () => { - openAppModal('📢 公告', '
公告系统即将开放

运营活动、版本更新与维护通知将在此集中展示,重要公告带红点提醒。
'); + openAppModal('公告', '
公告系统即将开放

运营活动、版本更新与维护通知将在此集中展示,重要公告带红点提醒。
'); }); const btnRank = document.getElementById('btnRank'); if (btnRank) btnRank.addEventListener('click', () => { - openAppModal('🏅 排行榜', '
排行榜即将开放

世界等级、财富与成就榜单,激励你冲榜。
'); + openAppModal('排行榜', '
排行榜即将开放

世界等级、财富与成就榜单,激励你冲榜。
'); }); const btnCalendar = document.getElementById('btnCalendar'); if (btnCalendar) btnCalendar.addEventListener('click', () => { - openAppModal('📅 日历', '
世界日历即将开放

限时副本、公会战与世界事件时间一目了然。
'); + openAppModal('日历', '
世界日历即将开放

限时副本、公会战与世界事件时间一目了然。
'); }); const btnAuction = document.getElementById('btnAuction'); if (btnAuction) btnAuction.addEventListener('click', () => { - openAppModal('🔨 拍卖行', '
拍卖行即将开放

玩家之间自由交易道具、材料与稀有素材。
'); + openAppModal('拍卖行', '
拍卖行即将开放

玩家之间自由交易道具、材料与稀有素材。
'); }); // 通用弹窗 @@ -7774,7 +7775,7 @@ if (typeof fitWorld === 'function') fitWorld(); const btnSettings = document.getElementById('btnSettings'); if (btnSettings) btnSettings.addEventListener('click', () => { const bgmEnabled = loadWorldBGMSetting(); - openAppModal('⚙️ 设置', ` + openAppModal('设置', `
背景音乐
音效
通知推送
@@ -7830,7 +7831,7 @@ if (typeof fitWorld === 'function') fitWorld(); // 邮件(从 API.mails() 动态取值) const btnMail = document.getElementById('btnMail'); if (btnMail) btnMail.addEventListener('click', async () => { - openAppModal('✉️ 邮件', '
加载中…
'); + openAppModal('邮件', '
加载中…
'); let mails = []; try { const resp = await API.mails();