This commit is contained in:
Putoo
2026-07-04 18:07:37 +08:00
parent ea32e7046e
commit fa00fc5d66
26 changed files with 871 additions and 69 deletions

View File

@@ -6,7 +6,9 @@
<Abar href="/task/">任务</Abar>
<Abar href="/user/message/">消息{{ messageCount > 0 ? "(" + messageCount + ")" : "" }}</Abar>
</div>
<div class="content" v-if="gameTips != ''" style="color: red;font-size: 16px;">
{{ gameTips }}
</div>
<div class="notification">
<GameChat :data="chatData" :show-time="0"></GameChat>
</div>
@@ -127,6 +129,7 @@ const mapRes = ref<Array<any>>([]);
const monster = ref<Array<any>>([]);
const messageCount = ref(0);
const broadcast = ref<Array<any>>([]);
const gameTips = ref('');
// 城内地图显示
const showCity = ref(false);
@@ -159,6 +162,7 @@ const BindData = async (map: string): Promise<void> => {
broadcast.value = result.data.broadcast;
MapVent(result.data.mapInfo.near);
onMap.value = mapInfo.value.mapId;
gameTips.value = result.data.gameTips;
console.log(result)
}
else if (result.code == 103) {