diff --git a/src/App.vue b/src/App.vue index 64ddd86..8af34a5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -125,6 +125,8 @@ onMounted(() => { window.addEventListener('beforeunload', handleBeforeUnload) window.addEventListener('storage', handleStorageChange) + // 监听账号组配置更新事件 + window.addEventListener('config-updated', handleConfigUpdate) loadConfig() @@ -135,6 +137,7 @@ onMounted(() => { onUnmounted(() => { window.removeEventListener('beforeunload', handleBeforeUnload) window.removeEventListener('storage', handleStorageChange) + window.removeEventListener('config-updated', handleConfigUpdate) stopHealthCheck() }) @@ -149,6 +152,12 @@ const handleStorageChange = (e) => { } } +// 处理配置更新事件 +const handleConfigUpdate = () => { + console.log('[App] 收到配置更新事件,重新加载配置') + loadConfig() +} + let healthCheckInterval = null const startHealthCheck = () => { diff --git a/src/assets/pk-mini/Reset.png b/src/assets/pk-mini/Reset.png index ac100f0..cbe8532 100644 Binary files a/src/assets/pk-mini/Reset.png and b/src/assets/pk-mini/Reset.png differ diff --git a/src/assets/pk-mini/Search.png b/src/assets/pk-mini/Search.png index 02027d1..4ed4569 100644 Binary files a/src/assets/pk-mini/Search.png and b/src/assets/pk-mini/Search.png differ diff --git a/src/components/HostListDialog.vue b/src/components/HostListDialog.vue index 9f255f3..2eb2c43 100644 --- a/src/components/HostListDialog.vue +++ b/src/components/HostListDialog.vue @@ -68,7 +68,7 @@
-
选择接收的主播等级(不选则接收全部)
+
选择接收的主播等级(不勾选则过滤掉)
@@ -93,10 +93,16 @@
- +
+ + +
{{ item.country }}
- + 金币: {{ item.coin }}K
- + 场次: {{ item.pkNumber }}场
@@ -66,35 +68,20 @@
- +
- +
- +
@@ -136,13 +123,8 @@
-
+
{{ item.anchorId }}
@@ -167,12 +149,7 @@

置顶后,您的PK信息将在首页优先展示,可以获得更多曝光机会。

- +
取消
确认置顶
@@ -194,7 +171,7 @@